Fix cexpl when compiled with latest GCC
[glibc.git] / ChangeLog
blob0a366fac72515dbc8f703dfcbb3e1ade2b4a8546
1 2017-07-21  Steve Ellcey  <sellcey@cavium.com>
3         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Call
4         math_force_eval.
6 2017-07-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Fix argument
11         passing to syscall exit.
13 2017-07-19  DJ Delorie  <dj@delorie.com>
15         * grp/grp-merge.c (libc_hidden_def): Fix cast-after-dereference.
17 2017-07-19  H.J. Lu  <hongjiu.lu@intel.com>
19         [BZ #21741]
20         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c
21         (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
22         in libc.so.
24 2017-07-19  H.J. Lu  <hongjiu.lu@intel.com>
26         [BZ #21740]
27         * debug/Makefile (elide-routines.o): New.
29 2017-07-19  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c:
32         (_dl_aarch64_cap_flags): Update.
33         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
34         (_DL_HWCAP_COUNT, _DL_HWCAP_LAST): Update.
36 2017-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
38         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (_dl_procinfo): Revert.
39         (_dl_hwcap_string): Check range.
41 2017-07-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43         [BZ #21707]
44         * csu/libc-start.c (LIBC_START_MAIN): Perform IREL{,A}
45         relocations before or after initializing the TCB on statically
46         linked executables.  That's a per-architecture definition.
47         * elf/rtld.c (dl_main): Add a comment about thread-local
48         variables initialization.
49         * sysdeps/generic/libc-start.h: New file.  Define
50         ARCH_APPLY_IREL and ARCH_SETUP_IREL.
51         * sysdeps/powerpc/Makefile:
52         [$(subdir) = elf && $(multi-arch) != no] (tests-static-internal): Add
53         tst-tlsifunc-static.
54         [$(subdir) = elf && $(multi-arch) != no && $(build-shared) == yes]
55         (tests-internal): Add tst-tlsifunc.
56         * sysdeps/powerpc/tst-tlsifunc.c: New file.
57         * sysdeps/powerpc/tst-tlsifunc-static.c: Likewise.
58         * sysdeps/powerpc/powerpc64le/Makefile (f128-loader-link): New
59         variable.
60         [$(subdir) = math] (test-float128% test-ifloat128%): Force
61         linking to the loader after linking to libgcc.
62         [$(subdir) = wcsmbs || $(subdir) = stdlib] (bug-strtod bug-strtod2)
63         (bug-strtod2 tst-strtod-round tst-wcstod-round tst-strtod6 tst-strrom)
64         (tst-strfrom-locale strfrom-skeleton): Likewise.
65         * sysdeps/unix/sysv/linux/powerpc/libc-start.h: New file.  Define
66         ARCH_APPLY_IREL and ARCH_SETUP_IREL.
68 2017-07-17  DJ Delorie  <dj@redhat.com>
70         * nss/nss_test.h: New.
71         * nss/nss_test1.h: Rewrite to use test-provided data.  Add group
72         tests.  Parameterize to allow multiple instances.
73         * nss/nss_test2.h: New.  Second instance.
74         * nss/nss_test.ver: New.
75         * nss/nss_test1.c: Update to use new framework.
76         * nss/nss_test2.c: New.
77         * nss/nss_test3.c: New.
78         * nss/nss_test4.c: New.
79         * nss/nss_test5.c: New.
80         * nss/Makefile: Build new tests.
81         * shlib-versions: Add libnss_test2.
83 2017-07-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
85         [BZ #21512]
86         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Fix argument
87         passing to syscall exit.
89 2017-07-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
91         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_FCMA): New macro.
92         (HWCAP_JSCVT, HWCAP_LRCPC): Likewise.
94 2017-07-16  John David Anglin  <danglin@gcc.gnu.org>
96         * sysdeps/hppa/dl-trampoline.S (_dl_runtime_resolve): Return to caller
97         if _dl_fixup fails.
99         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Add .cfi annotation.
100         * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Likewise.
101         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S (__vfork): Likewise.
102         * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
104         * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Fix stack
105         offset for r19 load.
107         * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Return 0.
109         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Fix CFA offset.
110         Use .cfi_def_cfa_offset instead of .cfi_offset.  Don't record stack
111         pointer offset.  Correct PIC register offset.  Don't mention frame
112         related instructions in epilogue.
113         (PUSHARGS_1): Correct offset.
114         (PUSHARGS_2): Likewise.
115         (PUSHARGS_3): Likewise.
116         (PUSHARGS_4): Likewise.
117         (PUSHARGS_5): Likewise.
118         (PUSHARGS_6): Likewise.
119         (POPARGS_1): Don't mention register restore.
120         (POPARGS_2): Likewise.
121         (POPARGS_3): Likewise.
122         (POPARGS_4): Likewise.
123         (POPARGS_5): Likewise.
124         (POPARGS_6): Likewise.
125         * sysdeps/unix/sysv/linux/hppa/sysdep.h (SAVE_PIC): Don't mention
126         copy of PIC register.
127         (LOAD_PIC): Likewise don't mention restore.
128         (DO_CALL): Fix CFA offset.  Use .cfi_def_cfa_offset instead of
129         .cfi_offset.  Don't record stack pointer offset.  Correct PIC register
130         offset.  Don't mention frame related instructions in epilogue.
132         * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove _exit entry.
134         * sysdeps/hppa/__longjmp.c (__longjmp): Remove extra braces.
136         [BZ 20098]
137         * sysdeps/hppa/dl-fptr.c (_dl_read_access_allowed): New.
138         (_dl_lookup_address): Return address if it is not consistent with
139         being a linker defined function pointer.  Likewise, return address
140         if address and function descriptor addresses are not accessible.
142 2017-07-16  Siddhesh Poyarekar  <siddhesh@sourceware.org>
144         * po/libc.pot: Regenerate.
146 2017-07-15  John David Anglin  <danglin@gcc.gnu.org>
148         [BZ locale/19838]
149         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHMLBA): Set to page size.
151         * nptl/allocatestack.c (allocate_stack): Align old and new guard
152         addresses to page boundaries when the stack grows up.
154         * sysdeps/hppa/math-tests.h: New.
156 2017-07-14  DJ Delorie  <dj@redhat.com>
158         [BZ #21654]
159         * grp/grp_merge.c (__copy_grp): Align char** to minimum pointer
160         alignment not char alignment.
161         (__merge_grp): Likewise.
163 2017-07-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
164             Florian Weimer  <fweimer@redhat.com>
166         * libio/memstream.c (__open_memstream): Set _IO_FLAGS2_NEED_LOCK.
167         * libio/wmemstream.c (open_wmemstream): Likewise.
168         * nptl/tst-memstream.c: New.
170 2017-07-12  Jiong Wang  <jiong.wang@arm.com>
172         * sysdeps/arm/dl-machine.h (elf_machine_load_address):  Also strip bit 0
173         of pcrel_address under Thumb mode.
175 2017-07-12  Akhilesh Kumar <akhilesh.k@samsung.com>
177         [BZ #21207]
178         * locale/iso-639.def: Add Fiji Hindi (hif).
180 2017-07-12  John David Anglin  <danglin@gcc.gnu.org>
182         * sysdeps/hppa/dl-machine.h (elf_machine_rela): Fix typo.
184 2017-07-12  H.J. Lu  <hongjiu.lu@intel.com>
186         * debug/Makefile (CFLAGS-tst-ssp-1.c): Set to
187         -fstack-protector-all.
189 2017-07-11  Chris Leonard <cjl@sugarlabs.org>
191         [BZ #20496]
192         * locale/iso-639.def: Add AwajĂșn / Aguaruna (agr).
194 2017-07-11  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
196         * sysdeps/powerpc/powerpc64le/Makefile: Use $(all-object-suffixes)
197         to iterate over all possible object suffixes.  Add a comment
198         explaining the use of sysdep-CFLAGS instead of CFLAGS.
200 2017-07-11  H.J. Lu  <hongjiu.lu@intel.com>
202         [BZ #12189]
203         * debug/Makefile (CFLAGS-tst-ssp-1.c): New.
204         (tests): Add tst-ssp-1 if -fstack-protector works.
205         * debug/fortify_fail.c: Include <stdbool.h>.
206         (_fortify_fail_abort): New function.
207         (__fortify_fail): Call _fortify_fail_abort.
208         (__fortify_fail_abort): Add a hidden definition.
209         * debug/stack_chk_fail.c: Include <stdbool.h>.
210         (__stack_chk_fail): Call __fortify_fail_abort, instead of
211         __fortify_fail.
212         * debug/tst-ssp-1.c: New file.
213         * include/stdio.h (__libc_message_action): New enum.
214         (__libc_message): Replace int with enum __libc_message_action.
215         (__fortify_fail_abort): New hidden prototype.
216         * malloc/malloc.c (malloc_printerr): Update __libc_message calls.
217         * sysdeps/posix/libc_fatal.c (__libc_message): Replace int
218         with enum __libc_message_action.  Call BEFORE_ABORT only if
219         action includes do_backtrace.
220         (__libc_fatal): Update __libc_message call.
222 2017-07-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
224         [BZ #21738]
225         * manual/llio.texi (RWF_NOWAIT): New item.
226         * misc/tst-preadvwritev2-common.c (do_test_with_invalid_flags):
227         Add RWF_NOWAIT check.
228         * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_NOWAIT): New flag.
230 2017-07-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
232         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
233         Support running on kernels without PTRACE_SINGLEBLOCK.
235 2017-07-10  H.J. Lu  <hongjiu.lu@intel.com>
237         [BZ #21742]
238         * elf/Makefile (dl-routines): Move dl-conflict to ...
239         (rtld-routines): Here.
241 2017-07-10  H.J. Lu  <hongjiu.lu@intel.com>
243         [BZ #21741]
244         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
245         (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
246         in libc.so.
248 2017-07-09  John David Anglin  <danglin@gcc.gnu.org>
250         * sysdeps/hppa/fpu/libm-test-ulps: Update.
252         [BZ #21016]
253         * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
254         Fix typo.
255         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include
256         bits/types/struct_timespec.h.
257         (PTHREAD_MUTEX_INITIALIZER): Revise define.
258         (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): Likewise.
259         (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Likewise.
260         (PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Likewise.
261         (PTHREAD_RWLOCK_INITIALIZER): Likewise.
262         (PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): Likewise.
263         (PTHREAD_COND_INITIALIZER): Likewise.
264         Remove old definitions.
265         * sysdeps/unix/sysv/linux/hppa/internaltypes.h: Delete.
266         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: Delete.
267         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: Delete.
268         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: Delete.
269         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: Delete.
270         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: Delete.
272 2017-07-09  H.J. Lu  <hongjiu.lu@intel.com>
274         * sysdeps/x86_64/multiarch/memcmp.c: Update comments.
275         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
276         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
277         * sysdeps/x86_64/multiarch/memset.c: Likewise.
278         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
279         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
280         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
281         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
282         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
283         * sysdeps/x86_64/multiarch/wcscpy.c: Likewise.
284         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
285         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
286         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
287         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
288         * sysdeps/x86_64/multiarch/wmemset.c: Likewise.
289         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
291 2017-07-09  H.J. Lu  <hongjiu.lu@intel.com>
293         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update comments.
295 2017-07-09  Helge Deller  <deller@gmx.de>
297         [BZ #21049]
298         * sysdeps/hppa/__longjmp.c (__longjmp): Move call to CHECK_SP
299         up to avoid clobbering r26.
301 2017-07-08  Andreas Schwab  <schwab@linux-m68k.org>
303         * scripts/build-many-glibcs.py (Glibc.build_glibc): Also build
304         profiled objects.
306 2017-07-06  DJ Delorie  <dj@redhat.com>
308         * manual/tunables.texi: Add missing @end deftp.
310 2017-07-06  Florian Weimer  <fw@deneb.enyo.de>
312         * resolv/tst-resolv-basic.c (test_bug_21295): New function.
313         (do_test): Call it.
315 2017-07-06  DJ Delorie  <dj@redhat.com>
317         * config.make.in: Enable experimental malloc option.
318         * configure.ac: Likewise.
319         * configure: Regenerate.
320         * manual/install.texi: Document it.
321         * INSTALL: Regenerate.
322         * malloc/Makefile: Likewise.
323         * malloc/malloc.c: Add per-thread cache (tcache).
324         (tcache_put): New.
325         (tcache_get): New.
326         (tcache_thread_freeres): New.
327         (tcache_init): New.
328         (__libc_malloc): Use cached chunks if available.
329         (__libc_free): Initialize tcache if needed.
330         (__libc_realloc): Likewise.
331         (__libc_calloc): Likewise.
332         (_int_malloc): Prefill tcache when appropriate.
333         (_int_free): Likewise.
334         (do_set_tcache_max): New.
335         (do_set_tcache_count): New.
336         (do_set_tcache_unsorted_limit): New.
337         * manual/probes.texi: Document new probes.
338         * malloc/arena.c: Add new tcache tunables.
339         * elf/dl-tunables.list: Likewise.
340         * manual/tunables.texi: Document them.
341         * NEWS: Mention the per-thread cache.
343 2017-07-06  Joseph Myers  <joseph@codesourcery.com>
345         * iconvdata/tst-loading.c (TIMEOUT): Define to 30.
346         * misc/tst-tsearch.c (TIMEOUT): Remove.
347         * nptl/tst-create-detached.c (TIMEOUT): Define to 100.
348         * nptl/tst-robust-fork.c (TIMEOUT): Likewise.
349         * nptl/tst-rwlock19.c (TIMEOUT): Likewise.
350         * string/tst-cmp.c (TIMEOUT): Define to 600.
352 2017-07-06  Matthew Krupcale  <mkrupcale@matthewkrupcale.com>
354         [BZ #21715]
355         * sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo
356         on definition.
358 2017-07-06  Florian Weimer  <fweimer@redhat.com>
359             H.J. Lu  <hongjiu.lu@intel.com>
361         [BZ #21609]
362         * sysdeps/x86_64/Makefile (sysdep-dl-routines): Add tls_get_addr.
363         (gen-as-const-headers): Add rtld-offsets.sym.
364         * sysdeps/x86_64/dl-tls.c: New file.
365         * sysdeps/x86_64/rtld-offsets.sym: Likwise.
366         * sysdeps/x86_64/tls_get_addr.S: Likewise.
367         * sysdeps/x86_64/dl-tls.h: Add multiple inclusion guards.
368         * sysdeps/x86_64/tlsdesc.sym (TI_MODULE_OFFSET): New.
369         (TI_OFFSET_OFFSET): Likwise.
371 2017-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
373         [BZ# 21697]
374         * sysdeps/posix/spawni.c (__spawni_child): Fix return value.
376 2017-07-05  Florian Weimer  <fweimer@redhat.com>
378         * resolv/Makefile (tests-internal): Add tst-resolv-threads.
379         (tst-resolv-threads): Link with -ldl, -lresolv, -lpthread.
380         * resolv/tst-resolv-threads.c: New file.
382 2017-07-05  Florian Weimer  <fweimer@redhat.com>
384         support: Add resolver testing mode which does not patch _res.
385         * support/resolv_test.h (struct resolv_redirect_config): Add
386         disable_redirect, server_address_overrides.
387         * support/resolv_test.c (make_server_sockets_for_address): New
388         function.
389         (resolv_test_start): Call it.
391 2017-07-05  Florian Weimer  <fweimer@redhat.com>
393         * support/namespace.h (struct support_chroot_configuration)
394         (struct support_chroot): Define.
395         (support_chroot_create, support_chroot_free): New functions.
396         * support/support_chroot.c: New file.
397         * support/Makefile (libsupport-routines): Add support_chroot.
398         * resolv/tst-resolv-res_init-skeleton.c (path_chroot)
399         (path_resolv_conf): Remove definitions.
400         (chroot_env): New variable.
401         (prepare): Call support_chroot_create.
402         (check_chroot_working, setup_nss_dns_and_chroot, run_res_init)
403         (special_test_callback, do_test): Likewise.
405 2017-07-05  Florian Weimer  <fweimer@redhat.com>
407         Add subtest to check isolation of multiple loopback addresses.
408         * support/tst-support-namespace.c (test_localhost_bind): New function.
409         (do_test): Call it.
411 2017-07-04  Szabolcs Nagy  <szabolcs.nagy@arm.com>
413         * libio/libio.h (_IO_FLAGS2_NEED_LOCK, _IO_need_lock): Define.
414         * libio/libioP.h (_IO_enable_locks): Declare.
415         * libio/Versions (_IO_enable_locks): New symbol.
416         * libio/genops.c (_IO_enable_locks): Define.
417         (_IO_old_init): Initialize flags2.
418         * libio/feof.c.c (_IO_feof): Avoid locking when not needed.
419         * libio/ferror.c (_IO_ferror): Likewise.
420         * libio/fputc.c (fputc): Likewise.
421         * libio/putc.c (_IO_putc): Likewise.
422         * libio/getc.c (_IO_getc): Likewise.
423         * libio/getchar.c (getchar): Likewise.
424         * libio/ioungetc.c (_IO_ungetc): Likewise.
425         * nptl/pthread_create.c (__pthread_create_2_1): Enable stdio locks.
426         * libio/iofopncook.c (_IO_fopencookie): Enable locking for the file.
427         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
429 2017-07-04  Florian Weimer  <fweimer@redhat.com>
431         [BZ #21542]
432         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to
433         two if no accurate information is available.
434         * posix/tst-sysconf-empty-chroot.c: New file.
435         * posix/Makefile (tests): Add it.
437 2017-07-04  Florian Weimer  <fweimer@redhat.com>
439         * resolv/resolv_conf.c (resolv_conf_matches): Tighten check for name
440         server and sort list counts.  Fix improper check for empty search
441         path (completely missing domain name) leading to assertion failure
442         in update_from_conf.
443         * resolv/tst-resolv-res_init-skeleton.c (struct test_case): Add
444         hostname member.
445         (run_res_init): Set host name if requested.
446         (test_cases): Update.
448 2017-07-04  Joseph Myers  <joseph@codesourcery.com>
450         * scripts/build-many-glibcs.py (Context.checkout): Default
451         binutils version to 2.29 branch, GMP version to 6.1.2 and Linux
452         kernel version to 4.12.
454 2017-07-04  Florian Weimer  <fweimer@redhat.com>
456         * resolv/resolv_conf.c (struct resolv_conf_global): Clarify free
457         list management and the role of free_list_start.
458         (decrement_at_index): Put zero at the end of the free list.
459         (__resolv_conf_attach): Fix bogus assert.
460         * resolv/Makefile (tests): Add tst-resolv-res_init-multi.
461         (tst-resolv-res_init-multi): Link with -lresolv, -lpthread.
463 2017-07-03  Florian Weimer  <fweimer@redhat.com>
465         resolv: Introduce free list for resolv_conf index slosts.
466         * resolv/resolv_conf.c (struct resolv_conf_array): Change element
467         type to uintptr_t.
468         (struct resolv_conf_global): Add free_list_start member.
469         (resolv_conf_get_1): Check for free list entry.
470         (decrement_at_index): Put freed slot on the free list.
471         (__resolv_conf_attach): Obtain new slot from the free list.
472         * resolv/tst-resolv-res_ninit.c: New file.
473         * resolv/Makefile (tests-internal): Add tst-resolv-res_ninit.
474         (tests-special): Add mtrace-tst-resolv-res_ninit.out.
475         (generated): Add mtrace-tst-resolv-res_ninit.out,
476         tst-resolv-res_ninit.mtrace.
477         (mtrace-tst-resolv-res_ninit.out): Add target.
479 2017-06-30  Florian Weimer  <fweimer@redhat.com>
481         [BZ #984]
482         Reload /etc/resolv.conf if has been changed on disk.
483         * resolv/resolv_conf.h (resolv_conf): Remove initstamp member.
484         (__resolv_conf_load, __resolv_conf_get_current): Declare.
485         * resolv/resolv_conf.c (struct resolv_conf_global): Add
486         conf_current, conf_mtime, conf_ctime, conf_size, conf_ino members.
487         (__resolv_conf_get_current): New function.
488         (__resolv_conf_allocate): Do not initialize initstamp.
489         (freeres): Deallocate global->conf_current.
490         * resolv/resolv.h (RES_NORELOAD): Define.
491         * resolv/res_debug.c (p_option): Add RES_NORELOAD.
492         * resolv/resolv-internal.h (__res_initstamp): Remove declaration.
493         * resolv/resolv_context.c (replicated_configuration_matches): New.
494         (maybe_init): Call it.  Use __resolv_conf_get_current to obtain
495         the current configration.
496         * resolv/res_init.c (__res_initstamp): Remove variable definition.
497         (has_preinit_values): New function.
498         (__resolv_conf_load): Renamed from __res_vinit.  Drop res_state
499         parameter and do not call __resolv_conf_attach.
500         (__res_vinit): Reimplement based __resolv_conf_load.
501         (res_options): Handle no-reload.
502         * resolv/res_libc.c (atomicinclock, atomicincunlock, atomicinc)
503         (lock): Remove.
504         (res_int): Do not update __res_initstamp.
505         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Handle
506         RES_NORELOAD.
507         (test_cases): Test no-reload.
508         (special_test_call_res_init): Remove.
509         (special_test_callback): Rely on automated reloading.  Add tests
510         for no-reload.
512 2017-06-30  Florian Weimer  <fweimer@redhat.com>
514         Mirror the entire resolver configuration in struct resolv_conf.
515         * resolv/resolv_context.h (__resolv_context_nameserver_count)
516         (__resolv_context_nameserver): New functions.
517         (__resolv_context_sort_count, __resolv_context_sort_entry):
518         Likewise.
519         * resolv/nss_dns/dns-host.c (getanswer_r): Add struct
520         resolv_context parameter.
521         (gethostbyname3_context, _nss_dns_gethostbyaddr2_r): Adjust.
522         (addrsort): Switch to struct resolv_context.
523         * resolv/resolv_conf.h (struct resolv_sortlist_entry): Define.
524         (struct resolv_conf): Add nameserver_list, nameserver_list_size,
525         sort_list, sort_list_size, options, retrans, retry, ndots members.
526         * resolv/resolv_conf.c (same_address_v4, same_address_v6)
527         (same_address): New functions.
528         (resolv_conf_matches): Compare the new array members.
529         (__resolv_conf_allocate): Allocate and copy the new array members.
530         (update_from_conf): Copy the entire configuration.
531         * resolv/res_init.c (struct nameserver_list, struct sort_list):
532         Define using dynarray.
533         (struct resolv_conf_parser): Add nameserver_list, sort_list,
534         template members.
535         (resolv_conf_parser_init): Add preinit argument.  Initialize the
536         new members.
537         (resolv_conf_parser_free): Deallocate the new arrays.
538         (allocate_address_v4): New function.
539         (res_setoptions): Switch to struct resolv_conf_parser * parameter.
540         (res_vinit_1): Drop res_state parameter.  Write all parsed date to
541         the parser object instead.  Use allocate_address_v4 to allocate
542         IPv4 addresses.
543         (__res_vinit): Adjust.
544         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print the
545         extended name server list.
546         (test_cases): Adjust.
548 2017-06-30  Florian Weimer  <fweimer@redhat.com>
550         [BZ #19569]
551         [BZ #21475]
552         Support an arbitrary number of search domains.
553         * resolv/resolv_context.h (__resolv_context_search_list): New.
554         * resolv/resolv_conf.h (struct resolv_conf): Add search_list,
555         search_list_size members.
556         * resolv/resolv_conf.c (resolv_conf_matches): Compare search list.
557         (__resolv_conf_allocate): Allocate and and copy search list.
558         (update_from_conf): Copy the search list.
559         * resolv/res_init.c (struct search_list): Define using dynarray.
560         (struct resolv_conf_parser): Define.
561         (resolv_conf_parser_init, resolv_conf_parser_free)
562         (domain_from_hostname): New functions.
563         (res_vinit_1): Add struct resolv_conf_parser * parameter.  Use
564         struct search_list to collect search list entries.  Call
565         domain_from_hostname to obtain the fallback domain name.
566         (__res_vinit): Create and destroy parser object.  Pass search list
567         to __resolv_conf_allocate.
568         * resolv/res_query.c (__res_context_search): Use
569         __resolv_context_search_list to obtain search list entries.
570         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print data
571         from extended resolver context.
572         (test_cases): Update.
574 2017-06-30  Florian Weimer  <fweimer@redhat.com>
576         Add extended resolver state/configuration (struct resolv_conf).
577         * resolv/resolv_conf.h, resolv/resolv_conf.c: New files.
578         * resolv/res-close.c (__res_iclose): Call __resolv_conf_detach.
579         * resolv/res_init.c (res_vinit_1): Do not initialize initstamp.
580         (__res_vinit): Call __resolv_conf_allocate and
581         __resolv_conf_attach.
582         * resolv/resolv_context.h (struct resolv_context): Add conf member
583         of type struct resolv_conf.
584         * resolv/resolv_context.c (maybe_init): Get initstamp from struct
585         resolv_conf.  Update conf member after initialization.
586         * resolv/Makefile (routines): Add resolv_conf.
587         * resolv/bits/types/res_state.h [_LIBC] (struct __res_state):
588         Rename _u._ext.initstamp to _u._ext.__glibc_extension_index.
589         [!_LIBC] (struct __res_state): Rename _u._ext._initstamp to
590         _u._ext.__glibc_reserved.
592 2017-06-30  Florian Weimer  <fweimer@redhat.com>
594         [BZ #21668]
595         Introduce temporary resolver contexts (struct resolv_conf).
596         * resolv/resolv-internal.h (__res_context_mkquery)
597         (__res_context_searchl __res_context_query, __res_context_send)
598         (__res_context_hostalias): Declare.
599         (__res_nopt): Switch to struct resolv_context.
600         * resolv/res_use_inet6.h: New file.
601         * resolv/resolv_context.h: Likewise.
602         * resolv/resolv_context.c: Likewise.
603         * resolv/compat-gethnamaddr.c (res_gethostbyname2_context):
604         Renamed from res_gethostbyname2.  Use struct resolv_context.
605         (res_gethostbyname2): New function.  Implement using
606         res_gethostbyname2_context.
607         (res_gethostbyaddr_context): Renamed from res_gethostbyaddr.  Use
608         struct resolv_context.
609         (res_gethostbyaddr): New function.  Implement using
610         res_gethostbyaddr_context.
611         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use struct
612         resolv_context.
613         * resolv/nss_dns/dns-host.c (gethostbyname3_context): Renamed from
614         _nss_dns_gethostbyname3_r.  Use struct resolv_context.
615         (_nss_dns_gethostbyname3_r): Implement using gethostbyname3_context.
616         (_nss_dns_gethostbyname_r, _nss_dns_gethostbyname4_r): Likewise.
617         (_nss_dns_gethostbyaddr2_r): Use struct resolv_context.
618         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r)
619         (_nss_dns_getnetbyaddr_r): Likewise.
620         * resolv/res-close.c (res_thread_freeres): Call
621         __resolv_context_freeres.
622         * resolv/res_libc.c (__res_maybe_init): Remove function.  Moved to
623         maybe_init in resolv/resolv_context.c.
624         * resolv/res_mkquery.c (__res_context_mkquery): Rename from
625         res_nmkquery.  Use struct resolv_context.
626         (context_mkquery_common): New function.
627         (res_nmkquery, res_mkquery): Use it.
628         (res_nopt): Switch to struct resolv_context.
629         * resolv/res_query.c (__res_context_querydomain): Renamed from
630         __libc_res_nquerydomain.  Use struct resolv_context.
631         (__res_context_query): Renamed from __libc_res_nquery.  Use struct
632         resolv_context.
633         (context_query_common): New function.
634         (res_nquery, res_query): Use it.
635         (__res_context_search): Renamed from __libc_res_nsearch.  Use
636         struct resolv_context.
637         (context_search_common): New function.
638         (res_nsearch, res_search): Use it.
639         (__res_context_querydomain): Rename from __libc_res_nquerydomain.
640         Use struct resolv_context.
641         (context_querydomain_common): New function.
642         (res_nquerydomain, res_querydomain): Use it.
643         (__res_context_hostalias): Rename from res_hostalias.  Use struct
644         resolv_context.
645         (context_hostalias_common): New function.
646         (res_hostalias, hostalias): Use it.
647         * resolv/res_send.c (__res_context_send): Renamed from
648         __libc_res_nsend.  Use struct resolv_context.
649         (context_send_common): New function.
650         (res_nsend, res_send): Use it.
651         * resolv/Makefile (routines): Add resolv_context.
652         * resolv/Versions (libc): Export __resolv_context_get,
653         __resolv_context_get_preinit, __resolv_context_get_override,
654         __resolv_context_put.  Remove __res_maybe_init.
655         (libresolv): Export __res_context_query, __res_context_search,
656         __res_context_hostalias.  Remove __libc_res_nquery,
657         __libc_res_nsearch.
658         * include/resolv.h (__res_maybe_init, __libc_res_nquery)
659         (__libc_res_nsearch, __libc_res_nsend): Remove declaration.
660         (__hostalias, __res_nmkquery, __res_nquery, __res_nquerydomain)
661         (__res_hostalias, __res_nsearch, __res_nsend): Remove hidden
662         prototypes.
663         * nss/nsswitch.h (__nss_hostname_digits_dots_context): Declare.
664         * nss/digits_dots.c (__nss_hostname_digits_dots_context): Renamed
665         from __nss_hostname_digits_dots.  Use struct resolv_context.
666         (__nss_hostname_digits_dots): New function.
667         * nss/getXXbyYY.c [HANDLE_DIGITS_DOTS] (FUNCTION_NAME): Acquire
668         struct resolv_context object.  Call new function
669         __nss_hostname_digits_dots_context.
670         * nss/getXXbyYY_r.c (REENTRANT_NAME): Use struct resolv_context.
671         * nss/getnssent_r.c (__nss_setent): Likewise.
672         * nscd/aicache.c (addhstaiX): Use struct resolv_context,
673         __resolv_context_disable_inet6 and __resolv_context_enable_inet6
674         instead of direct _res manipulation.
675         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Likewise.
677 2017-07-03  Florian Weimer  <fweimer@redhat.com>
679         * resolv/tst-resolv-res_init-skeleton.c
680         (special_tests_count, special_test_call_res_init)
681         (special_test_callback, special_test_thread_func)
682         (run_special_test_on_thread, special_test): Define.
683         (do_test): call special_test.
684         (test_init_names): Fix typo.
686 2017-07-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
688         * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code.
689         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
691 2017-07-01  Florian Weimer  <fweimer@redhat.com>
692             H.J. Lu  <hongjiu.lu@intel.com>
694         [BZ #21696]
695         * posix/sched_cpucount.c: Don't include <limits.h>.
696         (__sched_cpucount): Use __builtin_popcount.
698 2017-07-01  Ramana Radhakrishnan  <ramana.gcc@googlemail.com>
700         * sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features):
701         Fix typo.
703 2017-06-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
705         * include/math.h (__signbitf128): Define as hidden.
706         * sysdeps/ieee754/float128/s_signbitf128.c (__signbitf128):
707         Reimplement without builtins.
708         * sysdeps/ia64/bits/floatn.h [!__GNUC_PREREQ (6, 0)]
709         (__builtin_signbitf128): Define to __signbitf128.
710         * sysdeps/powerpc/bits/floatn.h: Likewise.
711         * sysdeps/x86/bits/floatn.h: Likewise.
713 2017-06-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
715         * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file.
716         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
717         * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise.
718         * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
719         * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise.
720         * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise.
721         * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise.
722         * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise.
724         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise.
725         * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise.
726         * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise.
727         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to
728         fcntl_common and add check for F_GETOWN.
729         (__libc_fcntl): Use SYSCALL_CANCEL macro.
730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to
731         use default implementation.
733 2017-06-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
735         * elf/dl-tunables.h (tunable_is_name): Move from...
736         * elf/dl-tunables.c (is_name): ... here.
737         (parse_tunables, __tunables_init): Adjust.
738         * manual/tunables.texi: Document glibc.tune.cpu.
739         * sysdeps/aarch64/dl-tunables.list: New file.
740         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct
741         cpu_list): New type.
742         (cpu_list): New list of CPU names and their MIDR.
743         (get_midr_from_mcpu): New function.
744         (init_cpu_features): Override MIDR if necessary.
746         * sysdeps/aarch64/multiarch/ifunc-impl-list.c
747         (__libc_ifunc_impl_list): Unconditionally select thunderx
748         routine for testing.
750 2017-06-30  H.J. Lu  <hongjiu.lu@intel.com>
752         [BZ #21120]
753         * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
754         * sysdeps/generic/malloc-alignment.h: Here.  New file.
755         * sysdeps/i386/malloc-alignment.h: Likewise.
756         * sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
758 2017-06-30  Florian Weimer  <fweimer@redhat.com>
760         * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New
761         variable.
762         (test_file_contents): Use it.
764 2017-06-30  Florian Weimer  <fweimer@redhat.com>
766         * resolv/res_init.c (res_setoptions): Remove source argument.
767         (res_vinit_1): Adjust.
769 2017-06-30  Florian Weimer  <fweimer@redhat.com>
771         * resolv/res_query.c (DEBUG): Remove preprocessor conditional.
773 2017-06-30  Florian Weimer  <fweimer@redhat.com>
775         * resolv/res_data.c: Reformat to GNU style.
776         (res_close): Update comments.
778 2017-06-30  Florian Weimer  <fweimer@redhat.com>
780         * resolv/res_data.c (res_query, res_search, res_querydomain)
781         (hostalias): Move to ...
782         * resolv/res_Send.c (res_query, res_search, res_querydomain)
783         (hostalias): here.
785 2017-06-30  Florian Weimer  <fweimer@redhat.com>
787         * resolv/res_data.c (res_isourserver, res_send): Move to ...
788         * resolv/res_send.c (res_isourserver, res_send): here.
790 2017-06-30  Florian Weimer  <fweimer@redhat.com>
792         * resolv/res_debug.c (_res_opcodes): Rename ...
793         (res_opcodes): ... as compatibility symbol.
794         (fp_nquery): Use res_opcodes.
795         * include/resolv.h (_res_opcodes): Remove declaration.
797 2017-06-30  Florian Weimer  <fweimer@redhat.com>
799         * include/resolv.h (res_pquery): Remove declaration.
800         * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove
801         functions.
802         (_res_opcodes): Remove variable.
803         * resolv/res_debug.c (do_section): Receive pfcode instead of
804         statp.
805         (res_pquery): Rename ...
806         (fp_nquery): to this function.  Skip unnecessary _res
807         initialization.
808         (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c.
810 2017-06-30  Florian Weimer  <fweimer@redhat.com>
812         * resolv/res_debug.h: Remove file.
813         * resolv/README: Adjust.
815 2017-06-30  Florian Weimer  <fweimer@redhat.com>
817         * resolv/res_end.c (DEBUG): Remove macro and preprocessor
818         conditionals.
819         (Aerror, Perror): Remove function definitions.
821 2017-06-30  Florian Weimer  <fweimer@redhat.com>
823         * resolv/res_data.c (res_mkquery): Move ...
824         * resolv/res_mkquery.c (res_mkquery): to here.
826 2017-06-30  Florian Weimer  <fweimer@redhat.com>
828         * resolv/res_mkquery.c: Reformat to GNU style.
829         (T_OPT): Remove definition.  It is present in the header file.
831 2017-06-30  Florian Weimer  <fweimer@redhat.com>
833         * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor
834         conditionals.
836 2017-06-30  Florian Weimer  <fweimer@redhat.com>
838         * support/support_capture_subprocess_check.c
839         (support_capture_subprocess_check): Report actual exit status.
841 2017-06-30  Florian Weimer  <fweimer@redhat.com>
843         [BZ #19570]
844         * resolv/res_send.c (nameserver_offset): New function.
845         (__libc_res_nsend): Use it to implement RES_ROTATE.
846         (get_nsaddr): Add assert with name server
847         range check.
848         * resolv/Makefile (xtests): Add tst-resolv-rotate.
849         (tst-resolv-rotate): Link against libpthread.
850         * resolv/tst-resolv-rotate.c: New file.
852 2017-06-29  Joseph Myers  <joseph@codesourcery.com>
854         [BZ #21457]
855         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
856         [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
857         [__WORDSIZE == 64] (MC_PC): Likewise.
858         [__WORDSIZE == 64] (MC_NPC): Likewise.
859         [__WORDSIZE == 64] (MC_Y): Likewise.
860         [__WORDSIZE == 64] (MC_G1): Likewise.
861         [__WORDSIZE == 64] (MC_G2): Likewise.
862         [__WORDSIZE == 64] (MC_G3): Likewise.
863         [__WORDSIZE == 64] (MC_G4): Likewise.
864         [__WORDSIZE == 64] (MC_G5): Likewise.
865         [__WORDSIZE == 64] (MC_G6): Likewise.
866         [__WORDSIZE == 64] (MC_G7): Likewise.
867         [__WORDSIZE == 64] (MC_O0): Likewise.
868         [__WORDSIZE == 64] (MC_O1): Likewise.
869         [__WORDSIZE == 64] (MC_O2): Likewise.
870         [__WORDSIZE == 64] (MC_O3): Likewise.
871         [__WORDSIZE == 64] (MC_O4): Likewise.
872         [__WORDSIZE == 64] (MC_O5): Likewise.
873         [__WORDSIZE == 64] (MC_O6): Likewise.
874         [__WORDSIZE == 64] (MC_O7): Likewise.
875         [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
876         __MC_NGREG if [__USE_MISC].
877         [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
878         [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
879         [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
880         Define fields using __ctx.
881         [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag.  Define fields
882         using __ctx.
883         [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
884         (REG_PSR): Define only for [__USE_MISC].
885         (REG_PC): Likewise.
886         (REG_nPC): Likewise.
887         (REG_Y): Likewise.
888         (REG_G1): Likewise.
889         (REG_G2): Likewise.
890         (REG_G3): Likewise.
891         (REG_G4): Likewise.
892         (REG_G5): Likewise.
893         (REG_G6): Likewise.
894         (REG_G7): Likewise.
895         (REG_O0): Likewise.
896         (REG_O1): Likewise.
897         (REG_O2): Likewise.
898         (REG_O3): Likewise.
899         (REG_O4): Likewise.
900         (REG_O5): Likewise.
901         (REG_O6): Likewise.
902         (REG_O7): Likewise.
903         [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
904         [__WORDSIZE == 64] (REG_FPRS): Likewise.
905         (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
906         (gregset_t): Define using __NGREG.
907         (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
908         __SPARC_MAXREGWINDOW if [__USE_MISC].
909         (struct rwindow): Rename to struct __rwindow.  Define fields using
910         __ctx.
911         (rw_fp): Define only for [__USE_MISC].
912         (rw_rtn): Likewise.
913         (gwindows_t): Remove struct tag.  Define fields using __ctx and
914         __SPARC_MAXREGWINDOW.
915         (MAXFPQ): Define only for [__USE_MISC].
916         (struct fpq): Rename to struct __fpq.  Define fields using __ctx.
917         (struct fq): Rename to struct __fq.  Define fields using __ctx.
918         (FPU_REGS_TYPE): Define only for [__USE_MISC].
919         (FPU_DREGS_TYPE): Likewise.
920         (V7_FPU_FSR_TYPE): Likewise.
921         (V9_FPU_FSR_TYPE): Likewise.
922         (V9_FPU_FPRS_TYPE): Likewise.
923         [__WORDSIZE == 64] (fpregset_t): Remove struct tag.  Define fields
924         using __ctx.
925         [__WORDSIZE != 64] (fpregset_t): Likewise.
926         [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
927         [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
928         [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
929         Rename field filler to __glibc_reserved1.
930         * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
931         (MC_FILLER): Remove.
933 2017-06-29  Florian Weimer  <fweimer@redhat.com>
935         * stdio-common/tst-vfprintf-user-type.c (my_printf_function):
936         Adjust format string.
937         * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale
938         dependency.
940 2017-06-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
942         * sysdeps/posix/spawni.c (__spawni_child): New function.
943         (__spawni): Rename to __spawnix.
945 2017-06-29  Florian Weimer  <fweimer@redhat.com>
947         * stdio-common/vfprintf.c (group_number): Add front_ptr argument.
948         Use it to make the temporary copy at the start of the work buffer.
949         (process_arg): Adjust call to group_number.
951 2017-06-29  Florian Weimer  <fweimer@redhat.com>
953         * stdio-common/vfprintf.c (printf_positional): Use struct
954         scratch_buffer to allocate backing storage for the args_value,
955         args_size, args_type arrays.
957 2017-06-29  Florian Weimer  <fweimer@redhat.com>
959         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct
960         scratch_buffer.
962 2017-06-29  Florian Weimer  <fweimer@redhat.com>
964         * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
965         wchar_t builds.
967 2017-06-29  Florian Weimer  <fweimer@redhat.com>
969         * stdio-common/tst-vfprintf-mbs-prec.c: New file.
970         * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec.
972 2017-06-29  Florian Weimer  <fweimer@redhat.com>
974         * stdio-common/tst-vfprintf-user-type.c: New file.
975         * stdio-common/Makefile (tests): Add tst-vfprintf-user-type.
977 2017-06-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
979         * posix/tst-spawn2.c (do_test): Use libsupport.
980         * posix/tst-spawn3.c (do_test): Likewise.
982 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
984         * math/gen-tgmath-tests.py (Tests.__init__): Define
985         __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
987         * math/tgmath.h: Include <bits/libc-header-start.h> and
988         <bits/floatn.h>.
989         (__TGMATH_F128): New macro.
990         (__TGMATH_CF128): Likewise.
991         (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
992         (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
993         (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
994         (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
995         (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
996         (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
997         (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
998         (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
999         (__TGMATH_TERNARY_REAL_ONLY): Likewise.
1000         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
1001         (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
1002         (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
1003         (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
1004         (__TGMATH_BINARY_REAL_IMAG): Likewise.
1005         (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
1006         [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
1007         * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
1008         _FloatNx types if the corresponding HUGE_VAL macros are defined.
1010         * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
1011         * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
1012         complex arguments.
1014         [BZ #21687]
1015         * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
1016         (totalorder): Use it.
1017         (totalordermag): Likewise.
1018         * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
1019         totalorder and totalordermag.
1020         * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
1021         totalordermag in arguments of calls to those functions.
1022         (NCALLS): Change to 134.
1024         * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
1025         cast to return type argument.
1026         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
1027         (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
1028         (llrint): Likewise.
1029         (lround): Likewise.
1030         (llround): Likewise.
1031         (ilogb): Likewise.
1032         (llogb): Likewise.
1033         (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
1034         (ufromfp): Likewise.
1035         (fromfpx): Likewise.
1036         (ufromfpx): Likewise.
1038         [BZ #21607]
1039         * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
1040         [LDBL_MANT_DIG > DBL_MANT_DIG].
1041         * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
1042         * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
1043         * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
1044         * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
1045         * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
1046         * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
1047         * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
1048         * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
1049         * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
1050         * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
1051         * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
1052         * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
1053         * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
1054         * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
1055         * math/test-tgmath.c: Include <float.h>.
1056         [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
1057         DBL_MANT_DIG].
1058         * math/test-tgmath2.c: Include <float.h>.
1059         [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
1060         DBL_MANT_DIG].
1062         * math/gen-tgmath-tests.py: New file.
1063         * math/Makefile [PYTHON] (tests): Add test-tgmath3.
1064         [PYTHON] (generated): Add test-tgmath3.c.
1065         [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
1066         [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
1068         * configure.ac (AS): Require binutils 2.25 or later.
1069         (LD): Likewise.
1070         * configure: Regenerated.
1071         * sysdeps/s390/configure.ac (AS): Remove version check.
1072         * sysdeps/s390/configure: Regenerated.
1073         * sysdeps/x86_64/configure.ac (AS): Remove version check.
1074         * sysdeps/x86_64/configure: Regenerated.
1075         * manual/install.texi (Tools for Compilation): Document
1076         requirement for binutils 2.25 or later.
1077         * INSTALL: Regenerated.
1079 2017-06-28  H.J. Lu  <hongjiu.lu@intel.com>
1081         [BZ #14995]
1082         * configure.ac: Allow gold 1.14 or above to configire glibc
1083         * configure: Regenerated.
1085 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
1087         [BZ #21457]
1088         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
1089         struct tag.
1090         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
1091         Likewise.
1092         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
1093         Likewise.
1094         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
1095         Declare struct type with __ctx.
1096         [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
1097         tag.
1098         (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
1099         and regs field name.
1101 2017-06-27  Joseph Myers  <joseph@codesourcery.com>
1103         * elf/loadtest.c (OUT): Define using do { } while (0).
1105         * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
1106         (DO_NUMBER_SPACEPAD): Likewise.
1108 2017-06-27  Prakhar Bahuguna  <prakhar.bahuguna@arm.com>
1110         * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
1111         sysdep_routines.
1112         * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
1113         __memchr_neon.
1114         Add ifunc definitions for __memchr_neon and __memchr_noneon.
1115         * sysdeps/arm/armv7/multiarch/memchr.S: New file.
1116         * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
1117         * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
1119 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1121         * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
1122         Use vector and cu21 instruction.
1123         * sysdeps/s390/multiarch/utf8-utf16-z9.c:
1124         Add __to_utf8_loop_vx_cu in ifunc resolver.
1126 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1128         * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
1129         Use vector and cu24 instruction.
1131 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1133         * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
1134         Use vector and cu42 instruction.
1135         * sysdeps/s390/multiarch/utf16-utf32-z9.c:
1136         Add __to_utf16_loop_vx_cu in ifunc resolver.
1138 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1140         * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
1141         Use vector and cu41 instruction.
1142         * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
1143         in ifunc resolver.
1145 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1147         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1148         Add vxd, vxe, gs flag.
1149         * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
1150         HWCAP_S390_GS capability.
1151         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1152         (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
1154 2017-06-27  H.J. Lu  <hongjiu.lu@intel.com>
1156         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
1157         the first 32 bytes before checking size when size >= 32 bytes.
1158         Replace vpmovmskb/subl/jnz with vptest/jnc.
1160 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1162         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
1163         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
1165 2017-06-27  Florian Weimer  <fweimer@redhat.com>
1167         Work around test timeouts with ICMP rate limiting on localhost.
1168         * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
1169         function.
1170         (do_test): Call it.
1172 2017-06-27  Florian Weimer  <fweimer@redhat.com>
1174         Call _res_hconf_init from __res_vinit.
1175         * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1176         * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
1177         (NEED__RES): Define.
1178         * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
1179         (NEED__RES): Define.
1180         * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
1181         * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1182         * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
1183         (NEED__RES): Define.
1184         * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
1185         _res_hconf_init.
1186         * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
1187         * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
1188         * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
1189         _res_hconf_init.
1191 2017-06-26  Joseph Myers  <joseph@codesourcery.com>
1193         * sysdeps/ia64/Implies: Add ieee754/float128.
1194         * sysdeps/ia64/bits/floatn.h: New file.
1195         * sysdeps/ia64/float128-abi.h: Likewise.
1196         * manual/math.texi (Mathematics): Document support for _Float128
1197         on ia64.
1198         * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
1199         Makefile variable.
1200         * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
1201         * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
1202         * sysdeps/ia64/fpu/sfp-machine.h: New file.  Based on libgcc.
1203         * sysdeps/ia64/math-tests.h: New file.
1204         * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
1205         based on TEST_COND_binary128 for [__ia64__].
1206         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
1207         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
1209         [BZ #21457]
1210         * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
1211         ucontext_t.
1212         * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
1213         * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
1214         * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
1215         * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
1216         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
1217         ucontext): Likewise.
1218         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
1219         Likewise.
1220         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
1221         Likewise.
1222         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
1223         Likewise.
1224         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
1225         Likewise.
1226         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
1227         Likewise.
1228         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
1229         Likewise.
1230         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
1231         Likewise.
1232         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
1233         ucontext): Likewise.
1234         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
1235         Likewise.
1236         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
1237         Likewise.
1238         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
1239         Likewise.
1240         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
1241         Likewise.
1242         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
1243         Likewise.
1244         * sysdeps/powerpc/powerpc32/backtrace.c (struct
1245         rt_signal_frame_32): Likewise.
1246         * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
1247         Likewise.
1248         * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
1249         kernel_rt_sigframe): Likewise.
1250         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
1251         Likewise.
1252         * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
1253         Likewise.
1254         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
1255         Likewise.
1256         * sysdeps/unix/sysv/linux/hppa/profil-counter.h
1257         (__profil_counter): Likewise.
1258         * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
1259         (SIGCONTEXT): Likewise.
1260         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
1261         kernel_rt_sigframe): Likewise.
1262         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
1263         kernel_rt_sigframe): Likewise.
1264         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
1265         Likewise.
1266         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
1267         Likewise.
1268         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1269         (__start_context): Likewise.
1270         * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
1271         Likewise.
1272         * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
1273         Likewise.
1274         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
1275         Likewise.
1277         * sysdeps/i386/Implies: Add ieee754/float128.
1278         * sysdeps/x86_64/Implies: Likewise.
1279         * sysdeps/x86/bits/floatn.h: New file.
1280         * sysdeps/x86/float128-abi.h: Likewise.
1281         * manual/math.texi (Mathematics): Document support for _Float128
1282         on x86_64 and x86.
1283         * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
1284         (math_opt_barrier): Do not put _Float128 values in floating-point
1285         registers.
1286         (math_force_eval): Likewise.
1287         [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
1288         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
1289         to Makefile variable.
1290         * sysdeps/x86/fpu/e_sqrtf128.c: New file.
1291         * sysdeps/x86/fpu/sfp-machine.h: Likewise.  Based on libgcc.
1292         * sysdeps/x86/math-tests.h: New file.
1293         * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
1294         * math/libm-test-getpayload.inc (getpayload_test_data): Use
1295         XFAIL_FLOAT128_PAYLOAD.
1296         * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
1297         * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
1298         * math/libm-test-totalordermag.inc (totalordermag_test_data):
1299         Likewise.
1300         * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
1301         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1302         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1303         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1304         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1305         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1306         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1307         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1310 2017-06-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1312         [BZ #21512]
1313         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
1314         syscall instead of jump to _exit.
1315         (CLONE_VM_BIT): Remove unused define.
1316         (CLONE_VM): Likewise.
1317         (CLONE_THREAD_BIT): Likewise.
1318         (CLONE_THREAD): Likewise.
1319         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1320         (CLONE_VM): Remove unused define.
1321         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1322         (CLONE_VM): Remove unused define.
1323         (CLONE_THREAD): Likewise.
1324         * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
1325         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
1326         syscall instead of jump to _exit.
1327         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1328         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1329         (CLONE_VM): Remove unused define.
1330         (CLONE_THREAD): Likewise.
1331         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1332         (CLONE_VM): Remove unused define.
1333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1334         Likewise.
1335         (CLONE_VM): Remove unused define.
1336         (CLONE_THREAD): Likewise.
1337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1338         Likewise.
1339         (CLONE_VM): Remove unused define.
1340         (CLONE_THREAD): Likewise.
1341         * sysdeps/unix/sysv/linux/sh/clone.S  (__clone): Likewise.
1342         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1343         (CLONE_VM): Remove unused define.
1344         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1345         (CLONE_VM): Remove unused define.
1346         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1347         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1348         (CLONE_VM): Remove unused define.
1349         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
1350         * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
1352 2017-06-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1353             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1355         * manual/math.texi (Mathematics): Mention the enabling of float128
1356         for powerpc64le.
1357         * sysdeps/powerpc/bits/floatn.h: New file.
1358         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1359         * sysdeps/powerpc/fpu/math_private.h:
1360         (__ieee754_sqrtf128): New inline override.
1361         * sysdeps/powerpc/powerpc64le/Implies-before: New file.
1362         * sysdeps/powerpc/powerpc64le/Makefile: New file.
1363         * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
1364         * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
1365         * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
1366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1367         Updated.
1368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1369         Likewise.
1370         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
1371         New file.
1373 2017-06-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1375         * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
1376         * sysdeps/powerpc/powerpc64le/configure: Update.
1378 2017-06-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1379             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1381         * INSTALL: Regenerate.
1382         * manual/install.texi (Recommended Tools for Compilation): Mention
1383         the powerpc64le-specific requirement in the manual.
1384         * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
1385         for the compiler features required for building float128.
1386         * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
1388 2017-06-26  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1390         * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
1391         before comparing with another char.
1393 2017-06-25  Rical Jasan  <ricaljasan@pacific.net>
1395         * manual/math.texi: Fix a grammatical error.
1397 2017-06-24  Florian Weimer  <fweimer@redhat.com>
1399         [BZ #21295]
1400         * resolv/tst-resolv-basic.c (do_test): Add new test cases.
1402 2017-06-24  Dmitry Bilunov  <kmeaw@kmeaw.com>
1404         [BZ #21295]
1405         * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
1406         Append addresses at the end of the list.
1408 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
1410         [BZ #21666]
1411         * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
1412         (loc2): Likewise.
1413         (locs): Likewise.
1415 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1417         [BZ #16637]
1418         inet_pton: Reject invalid IPv6 addresses with many leading zeros.
1419         * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
1420         digits between colons.
1421         * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
1423 2017-05-23  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1424             Juan Manuel Torres Palma  <jmtorrespalma@gmail.com>
1426         * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
1427         (__sched_get_prioriry_min): Likewise.
1428         * include/sys/mman.h (__mmap): Likewise.
1429         (__mmap64): Likewise.
1430         (__munmap): Likewise.
1431         (__mprotect): Likewise.
1432         * include/termios.h (__tcsetattr): Likewise.
1433         * include/time.h (__nanosleep): Use hidden_proto instead of
1434         libc_hidden_proto.
1435         * posix/nanosleep.c (__nanosleep): Likewise.
1436         * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
1437         __sched_get_priority_min, and __sched_get_priority_max under
1438         GLIBC_PRIVATE.
1439         * nptl/allocatestack.c (__free_stacks): Use internal definition for
1440         libc symbols.
1441         (change_stack_perm): Likewise.
1442         (change_stack_perm): Likewise.
1443         (allocate_stack): Likewise.
1444         * sysdeps/posix/gethostname.c: Likewise.
1445         * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
1446         * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1447         * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1448         * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
1449         (__pthread_key_delete): Likewise.
1450         (__pthread_detach): Likewise.
1451         (__pthread_cancel): Likewise.
1452         (__pthread_mutex_trylock): Likewise.
1453         (__pthread_mutexattr_init): Likewise.
1454         (__pthread_mutexattr_settype): Likewise.
1455         * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
1456         create alias for exported one.
1457         * nptl/pthread_join.c (pthread_join): Likewise.
1458         * nptl/pthread_detach.c (pthread_detach): Likewise.
1459         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1460         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1461         * nptl/pthread_create.c: Change static requirements for pthread
1462         symbols.
1463         * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
1464         for internal definition.
1465         * nptl/pthread_exit.c (__pthread_exit): Likewise.
1466         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1467         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1468         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
1469         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1470         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1471         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1472         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
1473         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
1474         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1475         Likewise.
1476         * nptl/pthread_self.c (__pthread_self): Likewise.
1477         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1478         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1479         * misc/mmap.c (__mmap): Add internal symbol definition.
1480         * misc/mmap.c (__mmap64): Likewise.
1481         * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
1482         * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
1483         (__mmap64): Likewise.
1484         * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
1485         Add __uname.
1487 2017-06-23  Joseph Myers  <joseph@codesourcery.com>
1489         * sysdeps/i386/fpu/libm-test-ulps: Update.
1490         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1492         * libm-test-support.c (check_float_internal): Clear exceptions at
1493         end of function.
1494         (check_int): Likewise.
1495         (check_long): Likewise.
1496         (check_bool): Likewise.
1497         (check_longlong): Likewise.
1498         (check_intmax_t): Likewise.
1499         (check_uintmax_t): Likewise.
1501         * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
1502         Do not declare.
1503         * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
1504         __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
1505         redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
1507 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
1509         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1510         Replace movzbl and orl with movb.
1512 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1514         * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
1515         (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
1516         and HUGE_VAL_FNx.
1517         (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
1518         Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
1519         are in math.h, to avoid having to list the _FloatN and _FloatNx
1520         variants as well.  Likewise for the cabs functions.
1521         (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
1522         ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
1523         Mention that _FloatN and _FloatNx variants of scalbn and scalbln
1524         come from TS 18661-3, since this section explicitly states that
1525         these functions come from BSD.
1526         (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
1527         truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
1528         roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
1529         llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
1530         fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
1531         ufromfpxfN, ufromfpxfNx, modffN, modffNx.
1532         (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
1533         remainderfNx.
1534         (Setting and modifying single bits of FP values): Document
1535         copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
1536         nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
1537         canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
1538         setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
1539         (Floating-Point Comparison Functions): Document totalorderfN,
1540         totalorderfNx, totalordermagfN, totalordermagfNx.
1541         (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
1542         fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
1543         fdimfN, fdimfNx, fmafN, fmafNx.
1544         (Complex Numbers): Document the complex types: _FloatN complex and
1545         _FloatNx complex.
1546         (rojections, Conjugates, and Decomposing of Complex Numbers):
1547         Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
1548         cargfN, cargfNx, cprojfN, cprojfNx.
1549         * manual/math.texi (Mathematics): Mention that the _FloatN and
1550         _FloatNx variants of the math functions come from TS 18661-3,
1551         unless otherwise stated.
1552         (Predefined Mathematical Constants): Document the _FloatN and
1553         _FloatNx variants of the macros prefixed with M_.
1554         (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
1555         tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
1556         ccosfNx, ctanfN, ctanfNx.
1557         (Inverse Trigonometric Functions): Document asinfN, asinfNx,
1558         acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
1559         (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
1560         exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
1561         log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
1562         llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
1563         hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
1564         clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
1565         cpowfNx.
1566         (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
1567         tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
1568         asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
1569         casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
1570         (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
1571         lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
1572         j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
1573         ynfN, ynfNx.
1575 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1577         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
1579 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1581         * resolv/res_libc.c: Reformat to GNU style.
1583 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1585         * resolv/resolv-internal.h (__res_initstamp): Declare.
1586         * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
1587         It is implied by the declaration.
1588         * resolv/res_libc.c (__res_initstamp): Remove declaration.
1590 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1592         [BZ #21662]
1593         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1594         Use only 24 bits of the register before the subtraction.
1595         * string/test-memcmp.c (check1): Check with different lengths.
1597 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1599         * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
1600         $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
1602 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1604         * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
1605         Enable generation of float128 entries on the error table.
1607 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1609         * include/float.h: Include libc-header-start.h to get the
1610         definition of __GLIBC_USE.
1612 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
1614         * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
1615         rearranged code and doubles float types.
1617 2017-06-23  Rogerio A. Cardoso  <rcardoso@linux.vnet.ibm.com>
1619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
1620         s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
1622 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
1624         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
1625         to errno, and simplify remaining related code.
1627 2017-06-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1629         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
1630         PPC_FEATURE2_SCV.
1631         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
1632         and darn.
1634 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1636         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
1637         the implementation-specific function name and remove unneeded macros
1638         definition.
1639         * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
1640         function name if not defined and pass as parameter to macros
1641         accordingly.
1643 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1645         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1646         (libm-sysdep_routines): Add s_llroundf-ppc64.
1647         * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
1648         (__llroundf): Define as strong alias of __llround.
1649         (llroundf):  Define as weak alias of __llround.
1650         (__lroundf): Define as strong alias of __llround.
1651         (lroundf):  Define as weak alias of __llround.
1652         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S:  Likewise.
1653         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
1655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
1656         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1657         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1658         * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1660 2017-06-22  Joseph Myers  <joseph@codesourcery.com>
1662         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
1663         [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
1665         * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
1666         (MATH_TESTS_TG): New macro.
1667         (SNAN_TESTS_float128): Likewise.
1668         (ROUNDING_TESTS_float128): Likewise.
1669         (EXCEPTION_TESTS_float128): Likewise.
1670         (SNAN_TESTS): Define using MATH_TESTS_TG.
1671         (ROUNDING_TESTS): Likewise.
1672         (EXCEPTION_TESTS): Likewise.
1674         * sysdeps/ieee754/float128/float128_private.h
1675         [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
1676         pass it to SET_RESTORE_ROUNDF128.
1678         * sysdeps/ieee754/float128/float128_private.h: Include
1679         <ieee754.h>.
1681         * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
1682         typeof to argument passed to __builtin_types_compatible_p.
1683         (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
1685         * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
1686         <errno.h>.
1687         * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1688         * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1689         * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1690         * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1691         * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1692         * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1693         * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1694         * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1695         * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1696         * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1697         * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1698         * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1699         * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1700         * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1701         * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1702         * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1703         * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1704         * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1705         * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1706         * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1707         * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1708         * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1710         * sysdeps/ieee754/float128/strtof128_l.c: Include
1711         <bits/types/locale_t.h> instead of <xlocale.h>.
1712         * sysdeps/ieee754/float128/wcstof128.c: Likewise.
1713         * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
1715 2017-06-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1717         * benchtests/scripts/benchout_strings.schema.json: New file.
1718         * benchtests/scripts/compare_strings.py: New file.
1720         * benchtests/bench-memcpy-large.c: Include json-lib.h.
1721         (do_one_test): Print json.
1722         (do_test): Likewise.
1723         (test_main): Likewise.
1724         * benchtests/bench-memcpy-random.c: Include json-lib.h.
1725         (do_one_test): Print json.
1726         (do_test): Likewise.
1727         (test_main): Likewise.
1728         * benchtests/bench-memcpy.c: Include json-lib.h.
1729         (do_one_test): Print json.
1730         (do_test): Likewise.
1731         (test_main): Likewise.
1733         * benchtests/json-lib.h: Include inttypes.h.
1734         (json_attr_int, json_attr_int, json_element_string,
1735         json_element_int, json_element_uint): New functions.
1736         * benchtests/json-lib.c: (json_attr_int, json_attr_int,
1737         json_element_string, json_element_int, json_element_uint): New
1738         functions.
1740 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1742         * manual/arith.texi (Remainder Functions): Describe remainder as
1743         primary and drem as an alternative name.  Change the comment on
1744         remainder to ISO, since it is defined in ISO C99.
1746 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1748         * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
1749         macro expansion.
1750         (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
1752 2017-06-22  Mike FABIAN  <mfabian@redhat.com>
1754         [BZ #21533]
1755         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1756         201706L for Unicode 10.0.
1758 2017-06-21  Benjamin Cama  <b.cama@kerlink.fr>
1760         [BZ #21657]
1761         * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
1762         on node-local addresses.
1763         * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
1765 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1767         * intl/loadmsgcat.c: Remove alloca support.
1768         (_nl_load_domain): Use calloc instead of alloca.
1770 2017-04-21  Florian Weimer  <fweimer@redhat.com>
1772         * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
1773         (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
1774         alloc_buffer_copy_bytes, alloc_buffer_copy_string,
1775         alloc_buffer_create_failure.
1776         * malloc/Versions (__libc_alloc_buffer_alloc_array)
1777         (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
1778         (__libc_alloc_buffer_copy_string)
1779         (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
1780         * malloc/alloc_buffer_alloc_array.c: New file.
1781         * malloc/alloc_buffer_allocate.c: Likewise.
1782         * malloc/alloc_buffer_copy_bytes.c: Likewise.
1783         * malloc/alloc_buffer_copy_string.c: Likewise.
1784         * malloc/alloc_buffer_create_failure.c: Likewise.
1785         * malloc/tst-alloc_buffer.c: Likewise.
1787 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
1789         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1790         strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
1791         strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
1792         strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
1793         * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
1794         * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
1795         * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
1796         * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
1797         * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
1798         * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
1799         * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
1800         * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
1801         * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
1802         * sysdeps/x86_64/multiarch/strncase.c: Likewise.
1803         * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
1804         * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
1805         * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
1806         * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
1807         * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
1808         * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
1809         * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
1810         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
1811         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1812         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1813         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1814         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
1815         (STRCMP_SSE42): New.  Defined to __strcmp_sse42 if not defined.
1816         [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
1817         "locale-defines.h".
1818         (UPDATE_STRNCMP_COUNTER): New.
1819         (SECTION): Likewise.
1820         (GLABEL): Likewise.
1821         (LABEL): Likewise.
1822         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
1823         for libc.a.
1825 2017-06-21  Joseph Myers  <joseph@codesourcery.com>
1827         [BZ #21622]
1828         * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
1829         Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
1830         __USE_MISC].
1831         (SA_NODEFER): Likewise.
1832         (SA_RESETHAND): Likewise.
1834 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
1836         * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
1837         * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
1838         Remove security_level on all fields.
1839         * manual/tunables.texi: Replace ifunc with hwcaps.
1840         * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
1841         Renamed to ..
1842         (TUNABLE_CALLBACK (set_hwcaps)): This.
1843         (init_cpu_features): Updated.
1844         * sysdeps/x86/cpu-features.h (cpu_features): Change type of
1845         data_cache_size, data_cache_size and non_temporal_threshold to
1846         unsigned long int.
1847         * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
1848         (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
1849         (TUNABLE_CALLBACK (set_hwcaps)): This.  Update comments.  Don't
1850         use DEFAULT_STRLEN.
1852 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1854         * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
1855         asprintf to construct an absolute pathname.
1857 2017-06-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1859         * misc/tst-preadvwritev2-common.c: New file.
1860         * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
1861         * misc/tst-preadvwritev64v2.c (do_test): Likewise.
1863 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1865         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
1866         annotation.
1867         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1869 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1871         * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
1872         hidden __GI__dl_argv symbol.
1874 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1876         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
1877         to parse addresses with IPv6 scope IDs.
1879 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1881         Add the __inet_pton_length helper function.
1882         * resolv/resolv-internal.h (__inet_pton_length): Declare.
1883         * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
1884         Add length argument.
1885         (__inet_pton): New function.
1886         (inet_pton4): Add length argument.
1887         (hex_digit_value): New function.
1888         (inet_pton6): Add length argument.  Call hex_digit_value.  Use
1889         memmove and memset to fill :: gap.
1890         * resolv/Makefile (tests, tsts-static, tests-internal): Add
1891         tst-inet_pton.
1892         * resolv/tst-inet_pton.c: New file.
1893         * support/Makefile (libsupport-routines): Add xmprotect.
1894         * support/xunistd.h (xmprotect): Declare.
1895         * support/xmprotect.c: New file.
1897 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1899         Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
1900         * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
1901         (call_gai, check_ai): New functions.
1902         (expect_failure, expect_success): Use them.  Add logging.
1904 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1906         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1907         (sysdep_routines): Add memchr_power8.
1908         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1909         (memchr): Add __memchr_power8 to list of memchr functions.
1910         * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
1911         * sysdeps/powerpc/powerpc64/multiarch/memchr.c
1912         (memchr): Add __memchr_power8 to ifunc list.
1913         * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
1915 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1917         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
1918         (__llrintf): Define as strong alias of __llrint.
1919         (llrintf):  Define as weak alias of __llrint.
1920         (__lrintf): Define as strong alias of __llrint.
1921         (lrintf):  Define as weak alias of __llrint.
1922         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S:  Likewise.
1923         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1924         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S:  Remove file content.
1925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
1927 2017-06-20  Zack Weinberg  <zackw@panix.com>
1929         * bits/signum-generic.h: Renamed from bits/signum.h.
1930         Add proper multiple include guard and misuse check.
1931         Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
1932         Move definition of SIGIO to "archaic names for compatibility" section.
1933         * bits/signum.h: New file which just includes bits/signum-generic.h.
1934         * sysdeps/unix/bsd/bits/signum.h
1935         * sysdeps/unix/sysv/linux/bits/signum.h
1936         * sysdeps/unix/sysv/linux/alpha/bits/signum.h
1937         * sysdeps/unix/sysv/linux/hppa/bits/signum.h
1938         * sysdeps/unix/sysv/linux/mips/bits/signum.h
1939         * sysdeps/unix/sysv/linux/sparc/bits/signum.h
1940         Just include <bits/signum-generic.h> and then add or adjust
1941         signal constants.  Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
1943         * signal/Makefile: Install bits/signum-generic.h.
1944         * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
1946         * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
1947         universal.  Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
1949         * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
1950         * sysdeps/unix/sysv/linux/Makefile: Run it.
1952 2017-06-20  Zack Weinberg  <zackw@panix.com>
1954         * locale/xlocale.h: Rename to...
1955         * locale/bits/types/__locale_t.h: ...here.  Adjust commentary.
1956         Only define struct __locale_struct and __locale_t, not locale_t.
1957         * locale/bits/types/locale_t.h: New file; define locale_t here.
1958         * locale/Makefile (headers): Update to match.
1960         * include/xlocale.h: Delete wrapper.
1961         * include/bits/types/__locale_t.h: New wrapper.
1962         * include/bits/types/locale_t.h: New wrapper.
1964         * ctype/ctype.h, include/printf.h, include/time.h
1965         * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
1966         * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
1967         * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
1968         Correct outdated comments regarding the standardization status of
1969         the functions that take locale_t arguments.
1971         * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
1972         * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1973         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1974         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1975         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1976         * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
1977         Don't include xlocale.h. If necessary, include locale.h instead.
1979         * stdlib/strtold_l.c: Unconditionally include wchar.h.
1981         * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
1982         * include/monetary.h, include/stdlib.h, include/time.h
1983         * include/wchar.h, locale/duplocale.c, locale/freelocale.c
1984         * locale/global-locale.c, locale/langinfo.h, locale/locale.h
1985         * locale/localeinfo.h, locale/newlocale.c
1986         * locale/nl_langinfo_l.c, locale/uselocale.c
1987         * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
1988         * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
1989         * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
1990         * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
1991         * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1992         * string/strcasecmp.c, string/strcoll_l.c, string/string.h
1993         * string/strings.h, string/strncase.c, string/strxfrm_l.c
1994         * sysdeps/ieee754/float128/strtof128_l.c
1995         * sysdeps/ieee754/float128/wcstof128.c
1996         * sysdeps/ieee754/float128/wcstof128_l.c
1997         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1998         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1999         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2000         * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
2001         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
2002         * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
2003         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
2004         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2005         * sysdeps/x86_64/strcasecmp_l-nonascii.c
2006         * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
2007         * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
2008         * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
2009         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
2010         * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
2011         * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
2012         * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
2013         * wctype/towctrans_l.c, wctype/wcfuncs_l.c
2014         * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
2015         Change all uses of __locale_t to locale_t.
2017 2017-06-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2019         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
2020         for !__OFF_T_MATCHES_OFF64_T.
2021         * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
2022         implementation based on open64.
2023         * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
2024         * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
2026 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2028         * elf/dl-tunables.list: Move x86 specific tunables to ...
2029         * sysdeps/x86/dl-tunables.list: Here.  New file.
2031 2017-06-20  Joseph Myers  <joseph@codesourcery.com>
2033         [BZ #21635]
2034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2035         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
2036         * conform/data/signal.h-data (uc_mcontext): XFAIL for
2037         powerpc32-linux.
2038         * conform/data/ucontext.h-data (uc_mcontext): Likewise.
2040         [BZ #21634]
2041         * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
2042         (conformtest-xfail-conds): New variable.
2043         * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
2044         * conform/data/ucontext.h-data (uc_sigmask): Likewise.
2046 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2048         * benchtests/powf-inputs: Add reduced trace from wrf.
2050 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2051             Erich Elsen  <eriche@google.com>
2053         * elf/dl-tunables.list (tune): Add ifunc,
2054         x86_non_temporal_threshold,
2055         x86_data_cache_size and x86_shared_cache_size.
2056         * manual/tunables.texi: Document glibc.tune.ifunc,
2057         glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
2058         and glibc.tune.x86_non_temporal_threshold.
2059         * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
2060         * sysdeps/x86/cpu-tunables.c: Likewise.
2061         * sysdeps/x86/cacheinfo.c
2062         (init_cacheinfo): Check and get data cache size, shared cache
2063         size and non temporal threshold from cpu_features.
2064         * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
2065         New.
2066         [HAVE_TUNABLES] Include <unistd.h>.
2067         [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
2068         [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
2069         [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
2070         IFUNC selection, data cache size, shared cache size and non
2071         temporal threshold.
2072         * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
2073         shared_cache_size and non_temporal_threshold.
2075 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2077         * benchtests/README: Describe workload feature.
2078         * benchtests/bench-skeleton.c (main): Add support for
2079         benchmarking traces from workloads.
2081 2017-06-20  Zack Weinberg  <zackw@panix.com>
2083         * string/string.h (__mempcpy_inline): Delete.
2084         * sysdeps/x86_64/multiarch/mempcpy.c
2085         * sysdeps/x86_64/multiarch/stpcpy.c:
2086         Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
2087         before including string.h.
2089 2017-06-20  Paul A. Clarke  <pc@us.ibm.com>
2091         * benchtests/Makefile (bench-math): Add powf.
2092         * benchtests/powf-inputs: New file.
2094 2017-06-20  Zack Weinberg  <zackw@panix.com>
2096         * bits/string.h, string/bits/string.h
2097         * sysdeps/aarch64/bits/string.h
2098         * sysdeps/m68k/m680x0/m68020/bits/string.h
2099         * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
2100         * sysdeps/x86/bits/string.h: Delete file.
2102         * string/string.h: Don't include bits/string.h.
2103         * string/bits/string3.h: Rename to bits/string_fortified.h.
2104         No need to undef various symbols that the removed headers
2105         might have defined as macros.
2106         * string/Makefile (headers): Remove bits/string.h, change
2107         bits/string3.h to bits/string_fortified.h.
2108         * string/string-inlines.c: Update commentary.  Remove definitions
2109         of various macros that nothing looks at anymore.  Don't directly
2110         include bits/string.h. Set _STRING_INLINE_unaligned here, based on
2111         compiler-predefined macros.
2112         * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
2113         _is_ defined, provide internal hidden alias __strncat.
2114         * include/string.h: Declare internal hidden alias __strncat.
2115         Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
2116         not defined.
2117         * include/bits/string3.h: Rename to bits/string_fortified.h,
2118         update to match above.
2120         * sysdeps/i386/string-inlines.c: Define compat symbols for
2121         everything formerly defined by sysdeps/x86/bits/string.h.
2122         Make existing definitions into compat symbols as well.
2123         Remove some no-longer-necessary messing around with macros.
2125         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2126         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2127         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2128         * sysdeps/s390/multiarch/mempcpy.c
2129         No need to define _HAVE_STRING_ARCH_mempcpy.
2130         Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
2132         * sysdeps/i386/i686/multiarch/strncat-c.c
2133         * sysdeps/s390/multiarch/strncat-c.c
2134         * sysdeps/x86_64/multiarch/strncat-c.c
2135         Define STRNCAT_PRIMARY.  Don't change definition of libc_hidden_def.
2137 2017-06-20  Rical Jasan  <ricaljasan@pacific.net>
2139         * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
2140         (LDBL_DIG): Likewise.
2141         (LDBL_MIN_EXP): Likewise.
2142         (LDBL_MIN_10_EXP): Likewise.
2143         (LDBL_MAX_EXP): Likewise.
2144         (LDBL_MAX_10_EXP): Likewise.
2145         (LDBL_MAX): Likewise.
2146         (LDBL_MIN): Likewise.
2147         (LDBL_EPSILON): Likewise.
2148         (FLT_ROUNDS): Change standard from ISO to C90.
2149         (FLT_RADIX): Likewise.
2150         (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
2151         (FLT_DIG, DBL_DIG): Likewise.
2152         (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
2153         (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
2154         (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
2155         (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
2156         (FLT_MAX, DBL_MAX): Likewise.
2157         (FLT_MIN, DBL_MIN): Likewise.
2158         (FLT_EPSILON, DBL_EPSILON): Likewise.
2160 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
2162         * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
2163         [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
2164         [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
2165         * sysdeps/mips/math-tests.h
2166         [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
2167         conditional code.
2169 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2171         * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
2172         It cannot change while __libc_setlocale_lock is acquired.
2174 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2176         * elf/rtld.c (audit_list_string): New variable.
2177         (audit_list): Update comment.
2178         (struct audit_list_iter): Define.
2179         (audit_list_iter_init, audit_list_iter_next): New function.
2180         (dl_main): Use struct audit_list_iter to process audit modules.
2181         (process_dl_audit): Call dso_name_valid_for_suid.
2182         (process_envvars): Set audit_list_string instead of calling
2183         process_dl_audit.
2185 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2187         * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
2188         (dso_name_valid_for_suid): New function.
2189         (handle_ld_preload): Likewise.
2190         (dl_main): Call it.  Remove alloca.
2192 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
2194         [BZ #21625]
2195         * posix/sys/wait.h (strust rusage forward declaration): Change
2196         [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
2197         !__USE_XOPEN2K].
2198         (wait3): Likewise.
2200         * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
2201         * configure: Regenerated.
2202         * manual/install.texi (Tools for Compilation): Document
2203         requirement for GCC 4.9 or later.
2204         * INSTALL: Regenerated.
2206 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2208         [BZ #21624]
2209         CVE-2017-1000366
2210         * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
2211         __libc_enable_secure.
2213 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2215         [BZ #21539]
2216         * NEWS: Mention s390 ptrace request changes.
2217         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2218         (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
2219         PTRACE_SETFPREGS): Remove enum constant.
2220         (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
2221         Remove defines.
2222         (PTRACE_SINGLEBLOCK): New enum constant.
2223         (PT_STEPBLOCK): New define.
2224         (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
2225         PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
2226         PTRACE_TE_ABORT_RAND): New enum constant and define.
2227         * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
2228         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
2229         New file.
2230         * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
2232 2017-06-16  Florian Weimer  <fweimer@redhat.com>
2234         * resolv/res_init.c (res_vinit_1): Use getline to read from the
2235         configuration file.
2236         (__res_vinit): Adjust.
2238 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2240         * resolv/res_init.c (res_vinit_1): New function.
2241         (__res_vinit): Call it.  Handle file open and memory allocation
2242         failures.
2243         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
2244         erno from __res_maybe_init failure.
2245         (_nss_dns_gethostbyname4_r): Likewise.
2246         (_nss_dns_gethostbyaddr2_r): Likewise.
2247         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
2248         (_nss_dns_getnetbyaddr_r): Likewise.
2250 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2252         * resolv/res_init.c: Reformat to GNU style.
2254 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2256         * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
2257         (is_sort_mask): New function.
2258         (__res_vinit): Use it.
2260 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2262         * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
2263         conditionals.
2265 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2267         * resolv/res-close.c: New file.
2268         * resolv/res_init.c (__res_iclose, res_nclose)
2269         (res_thread_freeres): Remove definitions.
2270         * resolv/Makefile (routines): Add res-close.
2272 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2274         * resolv/res_randomid.c: New file.
2275         * resolv/res_init.c (res_randomid): Remove definition.
2276         * resolv/Makefile (routines): Add res_randomid.
2278 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2280         * include/resolv.h (__res_vinit): Declare as hidden.
2281         * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
2282         * resolv/res_libc.c (res_init): Likewise.
2284 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
2286         [BZ #21457]
2287         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
2288         _libc_xmmreg): Use __ctx in defining field.
2290         [BZ #21597]
2291         * signal/signal.h (siginterrupt): Make declaration conditional on
2292         [__USE_XOPEN_EXTENDED || __USE_MISC].
2294         [BZ #21584]
2295         * signal/signal.h: Make includes of <bits/sigstack.h> and
2296         <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
2297         __USE_MISC].
2298         (sigaltstack): Make declaration conditional on
2299         [__USE_XOPEN_EXTENDED || __USE_MISC].
2301         [BZ #21575]
2302         * resource/bits/types/struct_rusage.h: New file.
2303         * include/bits/types/struct_rusage.h: Likewise.
2304         * bits/resource.h (struct rusage): Include
2305         <bits/types/struct_rusage.h> instead of defining here.
2306         * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
2307         Likewise.
2308         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
2309         Likewise.
2310         * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
2311         Likewise.
2312         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
2313         Likewise.
2314         * resource/Makefile (headers): Add bits/types/struct_rusage.h.
2315         * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
2316         Include <bits/types/struct_rusage.h>
2318 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2320         * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
2322 2017-06-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2324         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
2326 2017-06-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2328         * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
2330 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2332         [BZ #21537]
2333         * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2334         Check SHARED instead of PIC.
2335         (SYSCALL_PIC_SETUP): Add missing semicolons.
2336         * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2337         Check SHARED instead of PIC.
2338         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
2339         (__makecontext_ret): Adjust code to jump to exit.
2341 2017-06-19  Christian Borntraeger  <borntraeger@de.ibm.com>
2343         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
2344         Simplify code by always using SVC 0 instead of EX.
2345         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2347 2017-06-16  H.J. Lu  <hongjiu.lu@intel.com>
2349         * elf/Versions (ld): Remove _dl_out_of_memory.
2351 2017-06-16  Joseph Myers  <joseph@codesourcery.com>
2353         * timezone/private.h: Update from tzcode 2017b.
2354         * timezone/tzfile.h: Likewise.
2355         * timezone/tzselect.ksh: Likewise.
2356         * timezone/zdump.c: Likewise.
2357         * timezone/zic.c: Likewise.
2358         * timezone/Makefile (tz-cflags): Add -D_ISOMAC
2359         -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
2360         * time/tzset.c (SECSPERDAY): New macro.
2362 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
2364         * manual/string.texi (strdup): Complete header and standards
2365         annotation.
2366         (strncpy): Likewise.
2368 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
2370         * manual/arith.texi (FP_NAN): Add or complete header and standard
2371         annotations.
2372         (FP_INFINITE): Likewise.
2373         (FP_ZERO): Likewise.
2374         (FP_SUBNORMAL): Likewise.
2375         (FP_NORMAL): Likewise.
2376         (SNAN): Likewise.
2377         (SNANL): Likewise.
2378         (totalorderf): Likewise.
2379         (totalorderl): Likewise.
2380         (totalordermagf): Likewise.
2381         (totalordermagl): Likewise.
2382         (_Complex_I): Likewise.
2383         (I): Likewise.
2385 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
2387         * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
2388         standard annotation.
2389         (ARGP_HELP_SHORT_USAGE): Likewise.
2390         (ARGP_HELP_SEE): Likewise.
2391         (ARGP_HELP_LONG): Likewise.
2392         (ARGP_HELP_PRE_DOC): Likewise.
2393         (ARGP_HELP_POST_DOC): Likewise.
2394         (ARGP_HELP_DOC): Likewise.
2395         (ARGP_HELP_BUG_ADDR): Likewise.
2396         (ARGP_HELP_LONG_ONLY): Likewise.
2397         (ARGP_HELP_EXIT_ERR): Likewise.
2398         (ARGP_HELP_EXIT_OK): Likewise.
2399         (ARGP_HELP_STD_ERR): Likewise.
2400         (ARGP_HELP_STD_USAGE): Likewise.
2401         (ARGP_HELP_STD_HELP): Likewise.
2403 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
2405         * manual/Makefile: Generate summary.texi with summary.pl.  Force
2406         use of the C locale.  Update Perl dependency comment.
2407         * manual/header.texi: Update reference to summary.awk.
2408         * manual/macros.texi: Refer authors to `summary.pl --help'.
2409         * manual/summary.awk: Remove file.
2410         * manual/summary.pl: New file.  Generate summary.texi, and check
2411         for @standards-related syntax errors.
2412         * manual/argp.texi: Convert header and standards @comments to
2413         @standards.
2414         * manual/arith.texi: Likewise.
2415         * manual/charset.texi: Likewise.
2416         * manual/conf.texi: Likewise.
2417         * manual/creature.texi: Likewise.
2418         * manual/crypt.texi: Likewise.
2419         * manual/ctype.texi: Likewise.
2420         * manual/debug.texi: Likewise.
2421         * manual/errno.texi: Likewise.
2422         * manual/filesys.texi: Likewise.
2423         * manual/getopt.texi: Likewise.
2424         * manual/job.texi: Likewise.
2425         * manual/lang.texi: Likewise.
2426         * manual/llio.texi: Likewise.
2427         * manual/locale.texi: Likewise.
2428         * manual/math.texi: Likewise.
2429         * manual/memory.texi: Likewise.
2430         * manual/message.texi: Likewise.
2431         * manual/pattern.texi: Likewise.
2432         * manual/pipe.texi: Likewise.
2433         * manual/process.texi: Likewise.
2434         * manual/resource.texi: Likewise.
2435         * manual/search.texi: Likewise.
2436         * manual/setjmp.texi: Likewise.
2437         * manual/signal.texi: Likewise.
2438         * manual/socket.texi: Likewise.
2439         * manual/startup.texi: Likewise.
2440         * manual/stdio.texi: Likewise.
2441         * manual/string.texi: Likewise.
2442         * manual/sysinfo.texi: Likewise.
2443         * manual/syslog.texi: Likewise.
2444         * manual/terminal.texi: Likewise.
2445         * manual/threads.texi: Likewise.
2446         * manual/time.texi: Likewise.
2447         * manual/users.texi: Likewise.
2449 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
2451         * manual/macros.texi (@standards): New macro.  Provide placeholder
2452         for header and standards annotations.
2453         (@standardsx): New macro.  Likewise, for lists of @*x elements.
2455 2017-06-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2457         * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
2458         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
2459         rule.
2460         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
2461         sync_file_range.
2463          * support/support_test_main.c (support_test_main):  Use optstring
2464          member for option string in getopt_long.
2465          * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
2466          (CMDLINE_OPTSTRING): New define.
2467          * support/test-driver.h (test_config): Add optstring member.
2469 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2471         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2472         strcspn-sse2, strpbrk-sse2 and strspn-sse2.
2473         * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
2474         Check USE_AS_STRPBRK instead of STRPBRK_P.
2475         * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
2476         * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
2477         * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
2478         * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
2479         * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
2480         * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
2481         * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
2482         * sysdeps/x86_64/multiarch/strspn.c: Likewise.
2483         * sysdeps/x86_64/multiarch/strcspn.S: Removed.
2484         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2485         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2486         * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
2487         and "#endif".
2489 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2491         * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
2492         * sysdeps/x86_64/multiarch/wcscpy.c: New file.
2494 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2496         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2497         strcat-sse2.
2498         * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
2499         * sysdeps/x86_64/multiarch/strcat.c: Likewise.
2500         * sysdeps/x86_64/multiarch/strncat.c: Likewise.
2501         * sysdeps/x86_64/multiarch/strcat.S: Removed.
2502         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2504 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2505             Erich Elsen  <eriche@google.com>
2507         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2508         memcmp-sse2.
2509         * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
2510         * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
2511         * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
2512         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2513         * sysdeps/x86_64/multiarch/memcmp.S: Removed.
2514         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2516 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2517             Erich Elsen  <eriche@google.com>
2519         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2520         memset-sse2-unaligned-erms, and memset_chk-nonshared.
2521         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2522         (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
2523         Update comments.
2524         * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
2525         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
2526         * sysdeps/x86_64/multiarch/memset.c: Likewise.
2527         * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
2528         * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
2529         * sysdeps/x86_64/multiarch/memset.S: Removed.
2530         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2531         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2532         (__memset_chk_erms): New function.
2534 2017-06-15  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2536         * configure.ac(--enable-tunables): Enable by default.
2537         * configure: Regenerate.
2538         * NEWS: Mention change.
2539         * manual/install.texi (enable-tunables): Adjust documentation.
2540         * INSTALL: Regenerate.
2542 2017-06-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2544         [BZ #18988]
2545         * benchtests/thread_create-inputs: New file.
2546         * benchtests/thread_create-source.c: Likewise.
2547         * support/xpthread_attr_setguardsize.c: Likewise.
2548         * support/Makefile (libsupport-routines): Add
2549         xpthread_attr_setguardsize object.
2550         * support/xthread.h: Add xpthread_attr_setguardsize prototype.
2551         * benchtests/Makefile (bench-pthread): Add thread_create.
2552         * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
2553         then mprotect the required area.
2554         (guard_position): New function.
2555         (setup_stack_prot): Likewise.
2557 2017-06-14  H.J. Lu  <hongjiu.lu@intel.com>
2558             Erich Elsen  <eriche@google.com>
2559             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2561         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2562         memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
2563         mempcpy_chk-nonshared and memmove_chk-nonshared.
2564         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2565         (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
2566         __memcpy_chk_erms and __mempcpy_chk_erms.  Update comments.
2567         * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
2568         * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
2569         * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
2570         * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
2571         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
2572         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2573         * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
2574         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2575         * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
2576         * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
2577         * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
2578         * sysdeps/x86_64/multiarch/memcpy.S: Removed.
2579         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2580         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2581         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2582         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2583         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2584         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2585         (__mempcpy_chk_erms): New function.
2586         (__memmove_chk_erms): Likewise.
2587         (__memcpy_chk_erms): New alias.
2589 2017-06-14  Florian Weimer  <fweimer@redhat.com>
2591         * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
2592         * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
2594 2017-06-14  Zack Weinberg  <zackw@panix.com>
2596         * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
2597         Reorganize file.  Declare errno here.  When __ASSEMBLER__ is
2598         defined, don't declare anything other than the E-constants.
2600         * include/errno.h: Change conditional for exposing internal
2601         declarations to (not _ISOMAC and not __ASSEMBLER__).
2602         * bits/errno.h: Remove logic for __need_Emath.  Document
2603         requirements for a port-specific bits/errno.h.
2605         * sysdeps/unix/sysv/linux/bits/errno.h
2606         * sysdeps/unix/sysv/linux/alpha/bits/errno.h
2607         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
2608         * sysdeps/unix/sysv/linux/mips/bits/errno.h
2609         * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
2610         Add multiple-include guard and check against improper inclusion.
2611         Remove __need_Emath logic.  Don't declare errno here.  Ensure all
2612         constants are defined as simple integer literals.  Consistent
2613         formatting.
2614         * sysdeps/mach/hurd/errnos.awk: Likewise.  Only define error_t and
2615         enum __error_t_codes if __ASSEMBLER__ is not defined.
2616         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2618         * argp/argp.h, string/argz.h: Don't define __need_error_t before
2619         including errno.h.
2620         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
2621         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
2622         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
2623         * sysdeps/x86_64/fpu/s_cosf.S
2624         * sysdeps/x86_64/fpu/s_sincosf.S
2625         * sysdeps/x86_64/fpu/s_sinf.S:
2626         Just include errno.h; don't define __need_Emath or include
2627         bits/errno.h directly.
2629 2017-06-14  Zack Weinberg  <zackw@panix.com>
2631         * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
2632         * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
2633         * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
2635         * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
2636         for IOV_MAX.
2637         * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
2638         Don't install bits/uio.h.
2639         * misc/sys/uio.h: Don't include bits/uio.h.  Do include
2640         bits/types/struct_iovec.h and bits/uio_lim.h.  Set UIO_MAXIOV
2641         based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
2643         * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
2644         and __need_IOV_MAX.  Don't define IOV_MAX at all.
2645         * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
2647         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
2648         Include bits/types/struct_iovec.h, not bits/uio.h.
2649         Use __ssize_t, not ssize_t, in function prototypes.
2650         Don't use hard TAB for double space after period in comments.
2652 2017-06-14  Alan Modra  <amodra@gmail.com>
2654         * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
2655         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
2656         refsym and sym parameters.  Adjust callers.
2657         * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2658         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
2659         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
2660         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
2661         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
2662         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2663         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
2664         * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
2665         * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
2666         * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
2667         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
2668         Likewise.
2669         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2670         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2671         * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
2672         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2673         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2674         * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
2675         * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2676         * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
2677         (_dl_reloc_overflow): Increase buffser size.  Formatting.
2678         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2679         Delete reloc param, add refsym and sym.  Check optimized plt
2680         call stubs for localentry:0 functions.  Adjust callers.
2681         (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
2682         and sym parameters.  Adjust callers.
2683         (_dl_reloc_overflow): Move attribute.
2684         (_dl_error_localentry): Declare.
2685         * elf/dl-runtime.c (_dl_fixup): Save original sym.  Pass
2686         refsym and sym to elf_machine_fixup_plt.
2687         * elf/testobj6.c (preload): Call printf.
2689 2017-06-14  Alan Modra  <amodra@gmail.com>
2691         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2692         (NOPS, ENTRY_3): New macros.
2693         (ENTRY): Rewrite.
2694         (ENTRY_TOCLESS): Define.
2695         (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
2696         EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
2697         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
2698         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
2699         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2700         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2701         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2702         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2703         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2704         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2705         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2706         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2707         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2708         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2709         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2710         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2711         * sysdeps/powerpc/powerpc64/memset.S: Likewise.
2712         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2713         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2714         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2715         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
2716         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2717         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2718         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2719         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2720         * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
2721         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2722         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2723         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2724         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
2725         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2726         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2727         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2728         * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
2729         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2730         * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
2731         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2732         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2733         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2734         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2735         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2736         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2737         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2738         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2739         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2740         * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2741         * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2742         * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2743         * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2744         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2745         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2746         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2747         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2748         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2749         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2750         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2751         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2752         * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
2753         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2754         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2755         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2756         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2757         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2758         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2759         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2760         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2761         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
2762         Likewise.
2763         * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
2764         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2765         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2766         * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
2767         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2768         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
2769         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2770         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2771         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2772         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2773         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2774         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2775         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2776         * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2777         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2778         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2779         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2780         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2781         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2782         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2783         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2784         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2785         * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2786         * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2787         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2788         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2789         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2790         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2791         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2792         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2793         * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier.  Don't
2794         add nop when SHARED.
2795         * sysdeps/powerpc/powerpc64/start.S: Fix comment.
2796         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
2797         define.
2798         (ENTRY_TOCLESS): Define.
2799         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
2800         * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
2801         * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2803 2017-06-14  Alan Modra  <amodra@gmail.com>
2805         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
2806         MEMSET_is_local.
2807         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2808         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2809         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2810         Define MEMSET.
2811         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2812         STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
2813         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.  Don't add
2814         nop after local calls.
2815         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
2816         Don't add nop after local call.
2817         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.  Add missing
2818         CALL_MCOUNT.
2820 2017-06-14  Alan Modra  <amodra@gmail.com>
2822         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2823         (FUNC_LABEL): Rename from DOT_LABEL.
2824         (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
2825         Use .p2align rather than .align.
2826         (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
2827         (ABORT_TRANSACTION): Likewise.
2828         (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
2829         particularly at end.  Add semicolon at invocation as necessary.
2830         (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
2831         (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
2832         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
2833         END): Adjust to suit.
2835 2017-06-14  Alan Modra  <amodra@gmail.com>
2837         * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
2838         FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
2839         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2840         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2841         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
2842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
2843         uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
2845 2017-06-14  Alan Modra  <amodra@gmail.com>
2847         * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
2848         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
2850 2017-06-13  Gordana Cmiljanovic  <gordana.cmiljanovic@imgtec.com>
2852         [BZ #21548]
2853         * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
2854         8 and use it when copying general purpose registers.
2855         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
2856         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
2857         mips o32.
2858         * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
2859         new test for mips o32.
2860         * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
2861         8 and use it when copying general purpose registers.
2862         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
2864 2017-06-13  Florian Weimer  <fweimer@redhat.com>
2866         * configure.ac (find_cxx_header): Suppress compiler error message.
2868 2017-06-13  Florian Weimer  <fweimer@redhat.com>
2870         * malloc/dynarray-skeleton.c: List begin/end as defined functions.
2871         (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
2872         * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
2873         begin/end.
2874         * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
2875         dynarray_int_end.
2876         (test_str): Test dynarray_str_begin, dynarray_str_end.
2878 2017-06-13  H.J. Lu  <hongjiu.lu@intel.com>
2880         [BZ #21573]
2881         * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
2882         $(common-objpfx)bits/std_abs.h.
2883         [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
2884         New target.
2885         * config.make.in (c++-bits-std_abs-h): New.
2886         * configure.ac (find_cxx_header): Use "\,$1," with sed.
2887         (CXX_BITS_STD_ABS_H): New.
2888         (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
2889         * configure: Regenerated.
2891 2017-06-13  Zack Weinberg  <zackw@panix.com>
2893         * posix/bits/cpu-set.h: Correct indentation of preprocessor
2894         directives.
2896 2017-06-12  Zack Weinberg  <zackw@panix.com>
2898         * bits/sched.h: Remove __need_schedparam logic and replace with a
2899         normal multiple-include guard.  Change field name in struct
2900         sched_param from __sched_priority to sched_priority.  Delete
2901         everything under #ifndef __cpu_set_t_defined.
2902         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.  Also sync with
2903         kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
2905         * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
2906         For compatibility, #define sched_priority to itself, and #define
2907         __sched_priority as sched_priority.
2908         * posix/bits/cpu-set.h: New file containing, verbatim, the code
2909         that was under #ifndef __cpu_set_t_defined in
2910         sysdeps/unix/sysv/linux/bits/sched.h.
2911         * include/bits/cpu-set.h: New wrapper.
2912         * posix/Makefile: Install bits/cpu-set.h.
2914 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2915             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2916             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2918         * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
2919         (%all_floats_pfx): Add macro prefix for float128 (FLT128).
2920         * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
2921         * math/libm-test-isfinite.inc (finite_test): Likewise.
2922         * math/libm-test-lgamma.inc (gamma_test): Likewise.
2923         * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
2924         (nexttoward_test_data}: Likewise.
2925         * math/libm-test-remainder.inc (drem_test): Likewise.
2926         * math/libm-test-scalb.inc (scalb_test): Likewise.
2927         (scalb_test_data): Likewise.
2928         * math/libm-test-significand.inc (significand_test): Likewise.
2929         (significand_test_data): Likewise.
2930         * math/libm-test-support.c (check_complex): Replace __complex__
2931         FLOAT with CFLOAT to get the support for old compiler.
2932         * math/libm-test-support.h (check_complex): Likewise.
2933         * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
2934         * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
2935         * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
2936         * math/test-float128.h: New file.
2937         * math/test-math-floatn.h: New file.
2939 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2941         * include/float.h: Allow the definition of macros prefixed with
2942         FLT128 even if _ISOMAC is defined, but provided that
2943         __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
2945 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2947         * manual/math.texi (Mathematics): Add description for _FloatN and
2948         _FloatNx types and mentions that they are not support in glibc for
2949         any architecture, so far.
2950         * manual/arith.texi (wcstof, wcstold): Replace the mention to
2951         stdlib.h with wchar.h.
2952         (Parsing of Floats): Add descriptions for strtofN and wcstofN.
2953         (Printing of Floats): Add description for strfromfN.
2955 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2956             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2957             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2959         * include/gmp.h (__mpn_construct_float128): New declaration.
2960         * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
2961         (__strtof128_l): New declaration.
2962         (__strtof128_nan): Likewise.
2963         (__wcstof128_nan): Likewise.
2964         (__strtof128_internal): Likewise.
2965         (____strtof128_l_internal): Likewise.
2966         * include/wchar.h: Include bits/floatn.h for _Float128 tests.
2967         (__wcstof128_l): New declaration.
2968         (__wcstof128_internal): Likewise.
2970         * stdlib/Makefile (bug-strtod2): Link libm too.
2972         * stdlib/stdlib.h (strtof128): New declaration.
2973         (strtof128_l): Likewise.
2975         * stdlib/tst-strtod-nan-locale-main.c: Updated to use
2976         tst-strtod.h macros to ensure float128 gets tested too.
2978         * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
2980         * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
2981         tests.
2982         (IF_FLOAT128): New macro.
2983         (GEN_TEST_STRTOD): Update to optionally include _Float128 in
2984         the tests.
2985         (STRTOD_TEST_FOREACH): Likewise.
2987         * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
2988         wcstof128 functions into libc.
2990         * sysdeps/ieee754/float128/Versions: Add exports for the above
2991         new functions.
2993         * sysdeps/ieee754/float128/mpn2float128.c: New file.
2994         * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
2995         * sysdeps/ieee754/float128/strtof128.c: New file.
2996         * sysdeps/ieee754/float128/strtof128_l.c: New file.
2997         * sysdeps/ieee754/float128/strtof128_nan.c: New file.
2998         * sysdeps/ieee754/float128/wcstof128.c: New file.
2999         * sysdeps/ieee754/float128/wcstof128_l.c: New file.
3000         * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
3001         * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
3002         (CFLAGS-wcstof128_l): Likewise.
3004         * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
3005         (wcstof128): New declaration.
3006         (wcstof128_l): Likewise.
3008 2017-06-12  Joseph Myers  <joseph@codesourcery.com>
3010         [BZ #21552]
3011         * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
3012         not [__USE_XOPEN].
3013         * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
3015         [BZ #21550]
3016         * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
3018 2017-06-12  H.J. Lu  <hongjiu.lu@intel.com>
3020         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3021         strcpy-sse2 and stpcpy-sse2.
3022         * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
3023         * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
3024         * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
3025         * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
3026         * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
3027         * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
3028         * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
3029         * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
3030         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3031         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3032         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3033         * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
3034         (libc_hidden_def): Always defined as empty.
3035         * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
3036         Always Defined as empty.
3038 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
3040         * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
3042 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
3044         [BZ #15105]
3045         [BZ #19463]
3046         * include/string.h: Add internal redirect for __stpcpy.
3047         * string/Makefile: Remove bits/string2.h.
3048         * string/string.h: Update comment.
3049         * string/string-inlines.c: Remove bits/string2.h include and comment.
3050         * string/bits/string2.h: Remove file.
3052 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
3054         * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
3055         * sunrpc/clnt_gen.c (clnt_create): Likewise.
3056         * sunrpc/des_impl.c (_des_crypt): Likewise.
3057         * sunrpc/key_call.c (key_gendes): Likewise.
3058         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3059         * sunrpc/svc_simple.c (universal): Likewise.
3060         * sunrpc/svc_tcp.c (svctcp_create): Likewise.
3061         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
3062         * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
3064 2017-06-10  Zack Weinberg  <zackw@panix.com>
3066         * stdlib/errno.h: Correct an outdated comment.
3068 2017-06-09  Paul A. Clarke  <pc@us.ibm.com>
3070         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
3071         Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
3072         CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
3073         * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
3074         New file.  Invoke newly supported sysconf values for powerpc,
3075         and report results.  If none are supported, report so.
3076         * sysdeps/unix/sysv/linux/powerpc/Makefile (tests):  Add new test,
3077         tst-sysconf.
3079 2017-06-09  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3081         * include/sys/auxv.h (__getauxval): Add a prototype and its
3082         libc_hidden_proto.
3083         * misc/getauxval.c (__getauxval): Use libc_hidden_def.
3085 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
3087         [BZ #21561]
3088         * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
3089         [__USE_XOPEN_EXTENDED].
3090         (id_t): Likewise.
3091         (include of <bits/types/siginfo_t.h): Likewise.
3092         (waitid): Likewise.
3093         * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
3094         on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
3095         (WEXITED): Likewise.
3096         (WCONTINUED): Likewise.
3097         (WNOWAIT): Likewise.
3098         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
3099         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3100         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3102         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
3103         libc.so PLT entry optional.
3104         (__gtsf2): Likewise.
3105         (__unorddf2): Likewise.
3106         (__unordsf2): Likewise.
3107         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
3108         New optional libc.so PLT entry.
3110         [BZ #21554]
3111         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
3112         not [__USE_XOPEN].
3114         [BZ #21560]
3115         * posix/sys/wait.h: Condition include of <signal.h> on
3116         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
3117         unconditionally.
3118         [!__pid_t_defined] (pid_t): Define typedef.
3120 2017-06-09  Zack Weinberg  <zackw@panix.com>
3122         * include/errno.h (__errno_location): Use __attribute_const__
3123         instead of bare __attribute__.
3125 2017-06-09  Zack Weinberg  <zackw@panix.com>
3127         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
3128         (common-generated): Add libc-modules.h and libc-modules.stmp in a
3129         more appropriate location. Also add dl-tunable-list.h and
3130         dl-tunable-list.stmp.
3132 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3134         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
3136 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3138         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3139         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
3140         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3141         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
3142         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
3143         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
3144         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
3145         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
3146         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
3147         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
3148         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
3150 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3152         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3153         memrchr-sse2 and memrchr-avx2.
3154         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3155         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
3156         __memrchr_sse2.
3157         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
3158         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
3159         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
3161 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3163         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3164         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
3165         wcschr-sse2 and wcschr-avx2.
3166         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3167         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
3168         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
3169         __wcschr_sse2.
3170         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
3171         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
3172         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
3173         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
3174         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
3175         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
3176         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
3177         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
3178         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
3179         * sysdeps/x86_64/multiarch/strchr.S: Removed.
3181 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3183         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3184         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
3185         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
3186         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3187         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
3188         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
3189         __wcslen_sse2 and __wcsnlen_avx2.
3190         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
3191         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
3192         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
3193         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
3194         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
3195         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
3196         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
3197         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
3198         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
3199         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
3200         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
3201         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
3202         vzeroupper is preferred and AVX unaligned load is fast.
3204 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3206         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
3207         USE_AS_WMEMCHR is defined.
3208         (PCMPEQ): Likewise.
3209         (memchr): Renamed to ...
3210         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
3211         Replace pcmpeqb with PCMPEQ.
3212         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3213         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
3214         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
3215         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
3216         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3217         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
3218         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
3219         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
3220         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
3221         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
3222         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
3223         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
3224         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
3225         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3226         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
3227         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
3228         __wmemchr_sse2.
3230 2017-06-09  Florian Weimer  <fweimer@redhat.com>
3232         * malloc/Makefile (test-srcs): Remove tst-dynarray,
3233         tst-dynarray-fail.
3235 2017-06-09  Florian Weimer  <fweimer@redhat.com>
3237         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
3238         * support/support_test_verify_impl.c
3239         (support_test_verify_exit_impl): Split from
3240         support_test_verify_impl.
3241         * support/check.h (TEST_VERIFY): Drop status argument from
3242         support_test_verify_impl call.
3243         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
3244         (support_test_verify_impl): Remove status argument.
3245         (support_test_verify_exit_impl): Declare.
3247 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3249         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
3250         mention of magic numbers in comments.
3251         (_dl_procinfo): Fix undefined behavior
3253 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
3255         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
3256         [XPG4].
3257         (WEXITED): Likewise.
3258         (WSTOPPED): Likewise.
3259         (WCONTINUED): Likewise.
3260         (WNOHANG): Likewise.
3261         (WNOWAIT): Likewise.
3262         (idtype_t): Likewise.
3263         (P_ALL): Likewise.
3264         (P_PID): Likewise.
3265         (P_PGID): Likewise.
3266         (id_t): Likewise.
3267         (siginfo_t): Likewise.
3268         (wait3): Likewise.
3269         (waitid): Likewise.
3270         (signal.h): Do not allow header for [XPG4].
3271         (sys/resource.h): Likewise.
3272         (si_*): Do not allow for [XPG4].
3273         (W*): Likewise.
3274         (P_*): Likewise.
3275         (BUS_): Likewise.
3276         (CLD_): Likewise.
3277         (FPE_): Likewise.
3278         (ILL_): Likewise.
3279         (POLL_): Likewise.
3280         (SEGV_): Likewise.
3281         (SI_): Likewise.
3282         (TRAP_): Likewise.
3283         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
3284         variable.
3286 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3288         [BZ #21528]
3289         * elf/dl-minimal.c (__strtoul_internal): Removed.
3290         (strtoul): Likewise.
3291         * elf/dl-misc.c (_dl_strtoul): New function.
3292         * elf/dl-tunables.c (tunables_strtoul): Removed.
3293         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
3294         * elf/rtld.c (process_envvars): Likewise.
3295         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
3296         Likewise.
3297         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
3299 2017-06-08  Zack Weinberg  <zackw@panix.com>
3301         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
3302         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
3303         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
3304         * wctype/bits/wctype-wchar.h: New file holding declarations shared
3305         between wctype.h and wchar.h.
3307         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
3308         Install them.
3310         * include/bits/types/FILE.h, include/bits/types/__FILE.h
3311         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
3312         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
3313         New wrappers.
3314         * include/stdio.h, include/wchar.h, include/wctype.h:
3315         No need to handle __need macros.
3317         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
3318         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
3319         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
3320         * wcsmbs/wchar.h, wctype/wctype.h
3321         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
3322         Use the new files instead of __need macros.
3324 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3326         * string/test-memrchr.c (test_main): Add tests for len == 0
3327         and tests for positions close to the beginning, which are
3328         equivalent to positions close to the end for memchr.
3330 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3332         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
3333         comments.
3334         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
3335         instead of wmemset.h.
3336         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3337         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
3338         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
3340 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3342         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
3343         spec->info.is_binary128 to zero.
3344         * stdio-common/printf.h (printf_info): Add new member is_binary128
3345         to indicate that the number being converted to string is compatible
3346         with the IEC 60559 binary128 format.
3347         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
3348         _Float128 numbers.
3349         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
3350         ldbl-128/printf_fphex_macros.h
3351         (__printf_fphex): Add code to deal with _Float128 numbers.
3352         * stdio-common/printf_size.c (__printf_size): Likewise.
3353         * stdio-common/vfprintf.c (process_arg): Initialize member
3354         info.is_binary128 to zero.
3355         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
3356         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
3357         (strfromf128): New declaration.
3358         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
3359         to one.
3360         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
3361         * sysdeps/ieee754/float128/Versions: Likewise.
3362         * sysdeps/ieee754/float128/strfromf128.c: New file.
3364 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3366         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
3367         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
3368         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
3369         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
3370         (PRINT_FPHEX): New function-like macro that can be used for long
3371         double, as well as for _Float128
3373 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3375         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
3376         (__printf_fp_l): Use the new macro to avoid duplicating code.
3377         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
3378         (__printf_fphex): Use the new macro to avoid duplicating code.
3379         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
3380         (__printf_size): Use the new macro to avoid duplicating code.
3382 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3384         * include/gmp.h: Include bits/floatn.h
3385         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
3386         * stdlib/gmp-impl.h: Also check if alloca is not defined before
3387         including stack-alloc.h.  It could have been defined by other header
3388         which not necessarily defines HAVE_ALLOCA.
3389         * sysdeps/ieee754/float128/Makefile: New file.
3390         * sysdeps/ieee754/float128/float1282mpn.c: New file.
3391         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
3392         redefining __mpn_extract_long_double to __mpn_extract_float128, then
3393         redefine __mpn_extract_long_double to __mpn_extract_float128.
3394         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
3395         _Float128 to allow float128_private.h overrides.
3397 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3399         * stdlib/fpioconst.h: Include bits/floatn.h.
3400         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
3401         power of ten table should be.
3402         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
3403         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
3404         to include larger tables when _Float128 support is enabled.
3405         (_fpioconst_pow10): Likewise.
3407 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
3409         * include/bits/types/clock_t.h: Use #include <path> instead of
3410         #include "../../path".
3411         * include/bits/types/clockid_t.h: Likewise.
3412         * include/bits/types/struct_iovec.h: Likewise.
3413         * include/bits/types/struct_itimerspec.h: Likewise.
3414         * include/bits/types/struct_osockaddr.h: Likewise.
3415         * include/bits/types/struct_sigstack.h: Likewise.
3416         * include/bits/types/struct_timespec.h: Likewise.
3417         * include/bits/types/struct_timeval.h: Likewise.
3418         * include/bits/types/struct_tm.h: Likewise.
3419         * include/bits/types/time_t.h: Likewise.
3420         * include/bits/types/timer_t.h: Likewise.
3422         [BZ #14096]
3423         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
3424         America/New_York.
3426 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3428         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
3429         into ...
3430         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
3431         ifunc-sse4_1.h.
3433 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
3435         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
3436         Remove check for NULL 'buf'.
3437         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
3439 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
3441         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
3442         include test-skeleton.c.
3443         Include support/check.h and support/test-driver.c.
3445 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3447         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3448         (_dl_aarch64_cap_flags): New array.
3449         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
3450         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
3451         functions.
3453         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
3454         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
3455         Likewise.
3456         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
3457         up hwcap and hwcap_mask.
3459         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
3460         (init_cpu_features): Use glibc.tune.hwcap_mask.
3461         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
3463         * elf/dl-hwcaps.h: New file.
3464         * elf/dl-hwcaps.c: Include it.
3465         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
3466         glibc.tune.hwcap_mask.
3467         * elf/dl-cache.c: Include dl-hwcaps.h.
3468         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
3469         glibc.tune.hwcap_mask.
3470         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3471         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
3472         _dl_hwcap_mask.
3473         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
3474         _dl_hwcap_mask.
3475         (process_envvars)[HAVE_TUNABLES]: Likewise.
3476         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
3477         Likewise.
3478         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
3479         initialize dl_hwcap_mask when tunables are enabled.
3481         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
3482         guard.
3483         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3485         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
3486         * scripts/gen-tunables.awk: Include dl-procinfo.h.
3487         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
3489         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
3490         * elf/dl-tunables.c: Likewise.
3491         (do_tunable_update_val): New function.
3492         (__tunable_set_val): New function.
3493         (__tunable_get_val): Call CB only if the tunable was externally
3494         initialized.
3495         (tunables_strtoul): Replace strval with initialized.
3496         * elf/dl-tunables.h (strval): Replace with a bool initialized.
3497         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
3498         prevent collision.
3499         (__tunable_set_val): New function.
3500         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
3501         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
3502         (TUNABLE_SET_VAL): Remove.
3503         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
3504         * README.tunables: Document the new macros.
3505         * malloc/arena.c (ptmalloc_init): Adjust.
3507 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3509         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3510         wcsnlen-sse4_1 and wcsnlen-c.
3511         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3512         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
3513         __wcsnlen_sse2.
3514         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
3515         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
3516         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
3517         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
3518         * sysdeps/x86_64/wcsnlen.S: Removed.
3520 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3522         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
3523         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3524         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3525         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3527 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3529         * NEWS: Mention new spinlock implementation.
3530         * include/atomic.h:
3531         (__atomic_val_bysize): Cast type to omit volatile qualifier.
3532         (atomic_exchange_acq): Likewise.
3533         (atomic_load_relaxed): Likewise.
3534         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
3535         * nptl/pthread_spin_init.c (pthread_spin_init):
3536         Use atomic_store_relaxed.
3537         * nptl/pthread_spin_lock.c (pthread_spin_lock):
3538         Use C11-like atomic macros.
3539         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3540         Likewise.
3541         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3542         Use atomic_store_release.
3543         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
3544         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
3545         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
3546         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
3547         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
3548         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
3549         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
3550         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
3551         * sysdeps/alpha/atomic-machine.h: Likewise.
3552         * sysdeps/arm/atomic-machine.h: Likewise.
3553         * sysdeps/i386/atomic-machine.h: Likewise.
3554         * sysdeps/ia64/atomic-machine.h: Likewise.
3555         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
3556         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
3557         * sysdeps/microblaze/atomic-machine.h: Likewise.
3558         * sysdeps/mips/atomic-machine.h: Likewise.
3559         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
3560         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
3561         * sysdeps/s390/atomic-machine.h: Likewise.
3562         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
3563         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
3564         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
3565         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
3566         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
3567         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
3568         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
3569         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
3570         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
3571         * sysdeps/x86_64/atomic-machine.h: Likewise.
3573 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3575         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
3576         and use it instead of dl_x86_cpu_features.
3577         (handle_intel): Replace maxidx with cpu_features.  Pass
3578         cpu_features to intel_check_word.
3579         (__cache_sysconf): Pass cpu_features to handle_intel.
3580         (init_cacheinfo): Likewise.  Use cpu_features instead of
3581         dl_x86_cpu_features.
3583 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3585         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
3586         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3587         memcmp-avx2 and wmemcmp-avx2.
3588         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3589         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
3590         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
3591         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
3592         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
3593         2 machines if AVX unaligned load is fast and vzeroupper is
3594         preferred.
3595         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
3596         2 machines if AVX unaligned load is fast and vzeroupper is
3597         preferred.
3599 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3601         * include/wchar.h (__wmemset_chk): New.
3602         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
3603         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
3604         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3605         (WMEMSET_CHK_SYMBOL): Likewise.
3606         (WMEMSET_SYMBOL): Likewise.
3607         (__wmemset): Add hidden definition.
3608         (wmemset): Add weak hidden definition.
3609         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3610         wmemset_chk-nonshared.
3611         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3612         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
3613         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
3614         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
3615         and __wmemset_chk_avx512_unaligned.
3616         * sysdeps/x86_64/multiarch/memset-avx2-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-avx512-unaligned-erms.S
3622         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3623         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3624         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3625         (WMEMSET_SYMBOL): Likewise.
3626         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
3627         (WMEMSET_CHK_SYMBOL): New.
3628         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
3629         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
3630         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
3631         (libc_hidden_builtin_def): Also define __GI_wmemset and
3632         __GI___wmemset.
3633         (weak_alias): New.
3634         * sysdeps/x86_64/multiarch/wmemset.c: New file.
3635         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
3636         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
3637         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3638         * sysdeps/x86_64/wmemset.c: Likewise.
3639         * sysdeps/x86_64/wmemset_chk.c: Likewise.
3641 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3642             H.J. Lu  <hongjiu.lu@intel.com>
3644         * sysdeps/x86/init-arch.h (PASTER1): New.
3645         (EVALUATOR1): Likewise.
3646         (PASTER2): Likewise.
3647         (EVALUATOR2): Likewise.
3648         (REDIRECT_NAME): Likewise.
3649         (OPTIMIZE): Likewise.
3650         (IFUNC_SELECTOR): Likewise.
3652 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3654         * sysdeps/x86_64/strlen.S (PMINU): New.
3655         (PCMPEQ): Likewise.
3656         (SHIFT_RETURN): Likewise.
3657         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
3658         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
3659         pminub with PCMPEQ and PMINU.
3660         * sysdeps/x86_64/wcsnlen.S: New file.
3662 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3664         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
3665         the lower 32 bits.  Remove redundant instructions.
3667 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3669         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
3670         0 as the high part of offset.
3671         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
3673 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
3675         [BZ #21538]
3676         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
3677         [__USE_UNIX98].
3678         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
3679         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
3680         Likewise.
3681         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
3682         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
3683         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
3684         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
3685         Likewise.
3687         [BZ #21517]
3688         * bits/types/stack_t.h (stack_t): Remove struct tag.
3689         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
3690         Likewise.
3691         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
3692         Likewise.
3693         * debug/segfault.c (install_handler): Use stack_t instead of
3694         struct sigaltstack.
3695         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
3696         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
3697         * include/signal.h (__sigaltstack): Likwise.
3698         * signal/sigaltstack.c (__sigaltstack): Likewise.
3699         * signal/signal.h (sigaltstack): Likewise.
3700         * sysdeps/mach/hurd/i386/signal-defines.sym
3701         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
3702         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
3703         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
3704         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3705         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
3706         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
3707         elf_prstatus): Likewise.
3708         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
3709         Likewise.
3710         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
3711         Likewise.
3712         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
3713         Likewise.
3714         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
3715         elf_prstatus): Likewise.
3716         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
3717         Likewise.
3718         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
3719         Likewise.
3721 2017-06-04  Zack Weinberg  <zackw@panix.com>
3723         * sysdeps/gnu/errlist.c: Regenerate.
3725 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
3727         * benchtests/bench-memchr.c (do_test): Print out both length
3728         and position.
3729         (test_main): Also test the position close to the beginning for
3730         memrchr.
3732 2017-06-04  Zack Weinberg  <zackw@panix.com>
3734         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
3735         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
3736         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
3737         * nis/nis_destroygroup.c, nis/nis_domain_of.c
3738         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
3739         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
3740         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
3741         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
3742         * nis/nis_print_group_entry.c, nis/nis_remove.c
3743         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
3744         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
3745         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
3746         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
3747         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
3748         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
3749         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
3750         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
3751         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
3752         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
3753         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
3754         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
3755         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
3756         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
3757         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
3758         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
3759         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
3760         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
3761         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
3762         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
3764         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
3765         abi-versions.h as well as shlib-compat.h.
3766         * sunrpc/get_myaddr.c: Remove obsolete comment.
3767         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
3768         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
3769         * resolv/res_libc.c: Include shlib-compat.h only once.
3771 2017-06-03  Florian Weimer  <fweimer@redhat.com>
3773         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
3774         of strdup.
3776 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
3778         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
3779         Set to the 3/4 of the total shared cache size.
3781 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
3783         * manual/errno.texi: Remove redundant error strings.
3784         * manual/macros.texi (@errno): Render the error string in every
3785         description.
3787 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
3789         [BZ #21543]
3790         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
3791         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
3792         [__USE_XOPEN_EXTENDED].
3794 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3796         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
3797         strdupa.
3798         (getcanonname): Use __strdup instead of strdup.
3800 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3802         * misc/Makefile (CFLAGS-preadv2.c): New rule.
3803         (CFLAGS-preadv64v2.c): Likewise.
3804         (CFLAGS-pwritev2.c): Likewise.
3805         (CFLAGS-pwritev64v2.c): Likewise.
3807 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3809         Test res_init with several configuration files.
3810         * resolv/Makefile [build-shared] (tests-internal): Add
3811         tst-resolv-res_init, tst-resolv-res_init-thread.
3812         (tst-resolv-res_init): Link against libdl, libresolv.
3813         (tst-resolv-res_init-thread): Link against libdl, libresolv,
3814         libpthread.
3815         * resolv/tst-resolv-res_init.c: New file.
3816         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
3817         * resolv/tst-resolv-res_init-thread.c: Likewise.
3818         * support/Makefile (libsupport-routines): Add support-xstat,
3819         support_can_chroot, support_capture_subprocess_check,
3820         support_isolate_in_subprocess, support_shared_allocate,
3821         support_write_file_string, xchroot, xmkdir, xopen.
3822         * support/capture_subprocess.h (enum support_capture_allow): Define.
3823         (support_capture_subprocess_check): Declare.
3824         * support/namespace.h (support_can_chroot)
3825         (support_isolate_in_subprocess): Declare.
3826         * support/support-xstat.c: New file.
3827         * support/support.h (support_shared_allocate, support_shared_free)
3828         (support_write_file_string): Declare.
3829         * support/support_can_chroot.c: New file.
3830         * support/support_capture_subprocess_check.c: Likewise.
3831         * support/support_isolate_in_subprocess.c: Likewise.
3832         * support/support_shared_allocate.c: Likewise.
3833         * support/support_write_file_string.c: Likewise.
3834         * support/xchroot.c: Likwise.
3835         * support/xmkdir.c: Likwise.
3836         * support/xopen.c: Likwise.
3837         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
3839 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3841         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
3842         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
3844 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3846         * malloc/Makefile (routines): Add dynarray_at_failure,
3847         dynarray_emplace_enlarge, dynarray_finalize.
3848         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
3849         tst-dynarray-at-fail.
3850         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
3851         (tests-special): Add tst-dynarray-mem.out,
3852         tst-dynarray-mem-fail.out.
3853         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
3854         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
3855         mtrace.
3856         * malloc/Versions (__libc_dynarray_at_failure)
3857         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
3858         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
3859         GLIBC_PRIVATE.
3860         * malloc/dynarray.h: New file.
3861         * malloc/dynarray-skeleton.c: Likewise.
3862         * malloc/dynarray_at_failure.c: Likewise.
3863         * malloc/dynarray_emplace_enlarge.c: Likewise.
3864         * malloc/dynarray_finalize.c: Likewise.
3865         * malloc/dynarray_resize.c: Likewise.
3866         * malloc/dynarray_resize_clear.c: Likewise.
3867         * malloc/tst-dynarray.c: Likewise.
3868         * malloc/tst-dynarray-fail.c: Likewise.
3869         * malloc/tst-dynarray-at-fail.c: Likewise.
3870         * malloc/tst-dynarray-shared.h: Likewise.
3871         * support/Makefile (libsupport-routines): Add
3872         support_capture_subprocess, xdup2, xpipe.
3873         (tests): Add tst-support_capture_subprocess.
3874         * support/capture_subprocess.h: New file.
3875         * support/support_capture_subprocess.c: Likewise.
3876         * support/tst-support_capture_subprocess.c: Likewise.
3877         * support/xdup2.c: Likewise.
3878         * support/xpipe.c: Likewise.
3879         * support/xunistd.h (xdup2, xpipe): Declare.
3881 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3883         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
3884         macros MAX and MIN.
3886 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
3888         * conform/data/signal.h-data (sa_sigaction): Do not expect for
3889         [XPG4].
3890         (SA_SIGINFO): Likewise.
3891         (SA_ONSTACK): Likewise.
3892         (SA_RESETHAND): Likewise.
3893         (SA_RESTART): Likewise.
3894         (SA_NOCLDWAIT): Likewise.
3895         (SA_NODEFER): Likewise.
3896         (SS_ONSTACK): Likewise.
3897         (SS_DISABLE): Likewise.
3898         (MINSIGSTKSZ): Likewise.
3899         (SIGSTKSZ): Likewise.
3900         (ucontext_t): Likewise.
3901         (stack_t): Likewise.
3902         (struct sigstack): Likewise.
3903         (SI_USER): Do not expect for [XPG4 || XPG42].
3904         (SI_QUEUE): Likewise.
3905         (SI_TIMER): Likewise.
3906         (SI_ASYNCIO): Likewise.
3907         (SI_MESGQ): Likewise.
3908         (bsd_signal): Do not expect for [XPG4].
3909         (killpg): Likewise.
3910         (sigaltstack): Likewise.
3911         (sighold): Likewise.
3912         (sigignore): Likewise.
3913         (siginterrupt): Likewise.
3914         (sigpause): Likewise.
3915         (sigrelse): Likewise.
3916         (sigset): Likewise.
3917         (sigwait): Do not expect for [XPG4 || XPG42].
3919 2017-06-01  Zack Weinberg  <zackw@panix.com>
3921         [BZ #21514]
3922         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
3923         pointing to the generated file in <builddir>/misc/bits/syscall.h.
3925 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
3927         [BZ #21457]
3928         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
3929         NGREG to __NGREG if [__USE_MISC].
3930         (gregset_t): Define using __NGREG.
3931         (__ctx): New macro.
3932         (mcontext_t): Use __ctx in defining fields.
3933         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
3934         define NGREG to __NGREG if [__USE_MISC].
3935         (gregset_t): Define using __NGREG.
3936         (__ctx): New macro.
3937         (__ctxt): Likewise.
3938         (fpregset_t): Use __ctx and __ctxt in defining fields.
3939         (mcontext_t): Likewise.
3940         * sysdeps/m68k/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         (mcontext_t): Use __ctx in defining fields.
3945         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
3946         define NGREG to __NGREG if [__USE_MISC].
3947         (gregset_t): Define using __NGREG.
3948         (__ctx): New macro.
3949         (fpregset_t): Use __ctx in defining fields.
3950         (mcontext_t): Likewise.
3951         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
3952         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3953         (gregset_t): Define using __NGREG.
3954         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3955         [__USE_MISC].
3956         (fpregset_t): Define using __NFPREG.
3957         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
3958         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3959         (gregset_t): Define using __NGREG.
3960         (__ctx): New macro.
3961         (fpregset_t): Use __ctx in defining fields.
3962         (mcontext_t): Likewise.
3963         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
3964         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3965         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3966         [__USE_MISC].
3967         (gregset_t): Define using __NGREG.
3968         (__ctx): New macro.
3969         (fpregset_t): Use __ctx in defining fields.
3970         (mcontext_t): Likewise.
3971         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
3972         (mcontext_t): Use __ctx in defining fields.
3973         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
3974         macro.
3975         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
3976         __NGREG if [__USE_MISC].
3977         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
3978         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
3979         (mcontext_t): Likewise.
3980         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
3981         __NGREG if [__USE_MISC].
3982         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
3983         to __NFPREG if [__USE_MISC].
3984         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
3985         to __NVRREG if [__USE_MISC].
3986         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
3987         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
3988         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
3989         [__WORDSIZE != 32] (vrregset_t): Likewise.
3990         [__WORDSIZE != 32] (mcontext_t): Likewise.
3991         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
3992         (__psw_t): Use __ctx in defining fields.
3993         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
3994         [__USE_MISC].
3995         (gregset_t): Define using __NGREG.
3996         (fpreg_t): Use __ctx in defining fields.
3997         (fpregset_t): Likewise.
3998         (mcontext_t): Likewise.
3999         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
4000         __NGREG and define NGREG to __NGREG if [__USE_MISC].
4001         (gregset_t): Define using __NGREG.
4002         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
4003         [__USE_MISC].
4004         (fpregset_t): Define using __NFPREG.
4005         (__ctx): New macro.
4006         (mcontext_t): Use __ctx in defining fields.
4007         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
4008         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
4009         __NGREG if [__USE_MISC].
4010         [__x86_64__] (gregset_t): Define using __NGREG.
4011         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
4012         [__x86_64__] (struct _libc_fpstate): Likewise.
4013         [__x86_64__] (mcontext_t): Likewise.
4014         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
4015         __NGREG if [__USE_MISC].
4016         [!__x86_64__] (gregset_t): Define using __NGREG.
4017         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
4018         [!__x86_64__] (struct _libc_fpstate): Likewise.
4019         [!__x86_64__] (mcontext_t): Likewise.
4021 2017-06-01  Zack Weinberg  <zackw@panix.com>
4023         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
4024         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
4025         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
4026         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
4027         libpthread.so no longer references __errno_location.
4029 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4031         * NEWS: Add note about pwritev2 and preadv2 inclusion.
4032         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
4033         pwritev64v2.
4034         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
4035         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
4036         pwritev64v2.
4037         * misc/preadv2.c: New file.
4038         * misc/preadv64v2.c: Likewise.
4039         * misc/pwritev2.c: Likewise.
4040         * misc/pwritev64v2.c: Likewise.
4041         * misc/tst-preadvwritev2.c: Likewise.
4042         * misc/tst-preadvwritev64v2.c: Likewise.
4043         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
4044         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
4045         prototype.
4046         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
4047         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
4048         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
4049         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
4050         (PWRITEV): Likewise.
4051         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
4052         ENOSYS.
4053         * nptl/tst-cancel4.c (tf_pwritev2): New test.
4054         (tf_preadv2): Likewise.
4055         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
4056         * sysdeps/posix/preadv2.c: Likewise.
4057         * sysdeps/posix/preadv64v2.c: Likewise.
4058         * sysdeps/posix/pwritev2.c: Likewise.
4059         * sysdeps/posix/pwritev64v2.c: Likewise.
4060         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
4061         support in kernel.
4062         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
4063         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
4064         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
4065         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
4066         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
4067         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4068         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4069         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4070         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
4071         support flags on Linux.
4072         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
4073         preadv2, preadv64v2, pwritev2, pwritev64v2.
4074         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
4075         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
4076         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
4077         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
4078         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
4079         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
4080         Likewise.
4081         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
4082         Likewise.
4083         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
4084         Likewise.
4085         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
4086         Likewise.
4087         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
4088         Likewise.
4089         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
4090         Likewise.
4091         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
4092         Likewise.
4093         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
4094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4095         (GLIBC_2.26): Likewise.
4096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4097         (GLIBC_2.26): Likewise.
4098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
4099         Likewise.
4100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4101         (GLIBC_2.26): Likewise.
4102         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
4103         Likewise.
4104         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
4105         Likewise.
4106         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
4107         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
4108         Likewise.
4109         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
4110         Likewise.
4111         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
4112         Likewise.
4113         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
4114         Likewise.
4115         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
4116         Likewise.
4117         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
4118         Likewise.
4119         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
4120         Likewise.
4122 2017-05-31  Andreas Schwab  <schwab@suse.de>
4124         * nptl/tst-fork3.c: Include <support/test-driver.c>.
4125         (main): Rename to do_test and make static.
4127 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4129         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
4130         ARCH_INIT_CPU_FEATURES.
4131         (LIBC_START_MAIN): Call it.
4132         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
4133         (__libc_start_main): Remove.
4134         (ARCH_INIT_CPU_FEATURES): New macro.
4135         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
4136         (ARCH_INIT_CPU_FEATURES): New macro.
4138 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
4139             RĂŒdiger Sonderfeld  <ruediger@c-plusplus.de>
4141         * include/stdlib.h (__libc_reallocarray): New declaration.
4142         * malloc/Makefile (routines): Add reallocarray.
4143         (tests): Add tst-reallocarray.c.
4144         * malloc/Versions: Add reallocarray and __libc_reallocarray.
4145         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
4146         function.
4147         * malloc/malloc.h (reallocarray): New declaration.
4148         * stdlib/stdlib.h (reallocarray): Likewise.
4149         * malloc/reallocarray.c: New file.
4150         * malloc/tst-reallocarray.c: New test file.
4151         * manual/memory.texi: Document reallocarray.
4152         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
4153         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4154         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4155         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4156         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4157         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4158         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4159         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4160         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4161         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4162         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4163         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4164         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4165         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4167         Likewise.
4168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4169         Likewise.
4170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4172         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4173         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4174         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4175         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4176         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4179         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
4180         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4181         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4183 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
4185         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
4186         the lower 32 bits.
4188 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
4190         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
4191         $(build-pie-default) = yes]: Define.
4193 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
4195         * string/test-memchr.c (test_main): Add tests for n == 0.
4197 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4199         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
4200         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
4201         (tests-internal): ... here.
4203 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
4204              H.J. Lu  <hongjiu.lu@intel.com>
4206         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
4207         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
4208         (__tunable_set_val): Likewise.
4210 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
4212         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
4213         dl-tunables.list in subdirectories.
4215 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4216             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4217             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4219         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4220         (SNANF128): New macro.
4221         * math/e_sqrtf128.c: New file.
4222         * math/s_fmaxmag_template.c: Include math_private.h in order to
4223         make inline expansion of fabs128().
4224         * math/s_fminmag_template.c: Likewise.
4226         * sysdeps/ieee754/float128/e_acosf128.c: New file.
4227         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
4228         * sysdeps/ieee754/float128/e_asinf128.c: New file.
4229         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
4230         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
4231         * sysdeps/ieee754/float128/e_coshf128.c: New file.
4232         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
4233         * sysdeps/ieee754/float128/e_expf128.c: New file.
4234         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
4235         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
4236         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
4237         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
4238         * sysdeps/ieee754/float128/e_j0f128.c: New file.
4239         * sysdeps/ieee754/float128/e_j1f128.c: New file.
4240         * sysdeps/ieee754/float128/e_jnf128.c: New file.
4241         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
4242         * sysdeps/ieee754/float128/e_log10f128.c: New file.
4243         * sysdeps/ieee754/float128/e_log2f128.c: New file.
4244         * sysdeps/ieee754/float128/e_logf128.c: New file.
4245         * sysdeps/ieee754/float128/e_powf128.c: New file.
4246         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
4247         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
4248         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
4249         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
4250         * sysdeps/ieee754/float128/float128_private.h: New file.
4251         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
4252         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
4253         * sysdeps/ieee754/float128/k_cosf128.c: New file.
4254         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
4255         * sysdeps/ieee754/float128/k_sinf128.c: New file.
4256         * sysdeps/ieee754/float128/k_tanf128.c: New file.
4257         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
4258         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
4259         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
4260         * sysdeps/ieee754/float128/s_atanf128.c: New file.
4261         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
4262         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
4263         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
4264         * sysdeps/ieee754/float128/s_cosf128.c: New file.
4265         * sysdeps/ieee754/float128/s_erff128.c: New file.
4266         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
4267         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
4268         * sysdeps/ieee754/float128/s_finitef128.c: New file.
4269         * sysdeps/ieee754/float128/s_floorf128.c: New file.
4270         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
4271         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
4272         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
4273         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
4274         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
4275         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
4276         * sysdeps/ieee754/float128/s_isinff128.c: New file.
4277         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
4278         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
4279         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
4280         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
4281         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
4282         * sysdeps/ieee754/float128/s_logbf128.c: New file.
4283         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
4284         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
4285         * sysdeps/ieee754/float128/s_modff128.c: New file.
4286         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
4287         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
4288         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
4289         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
4290         * sysdeps/ieee754/float128/s_remquof128.c: New file.
4291         * sysdeps/ieee754/float128/s_rintf128.c: New file.
4292         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
4293         * sysdeps/ieee754/float128/s_roundf128.c: New file.
4294         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
4295         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
4296         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
4297         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
4298         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
4299         * sysdeps/ieee754/float128/s_significandf128.c: New file.
4300         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
4301         * sysdeps/ieee754/float128/s_sinf128.c: New file.
4302         * sysdeps/ieee754/float128/s_tanf128.c: New file.
4303         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
4304         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
4305         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
4306         * sysdeps/ieee754/float128/s_truncf128.c: New file.
4307         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
4308         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
4309         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
4310         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
4312         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
4313         (__iscanonicalf128): Define as a macro.
4315 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
4317         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
4318         (memmove): Use MEMMOVE for name.
4319         (memcpy): Use MEMCPY for name.  Change internal labels
4320         to external labels.
4321         * sysdeps/aarch64/multiarch/Makefile: New file.
4322         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
4323         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
4324         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
4325         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
4326         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
4327         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
4329 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4331         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4332         (_dl_arm_cap_flags): Fix array subscript.
4333         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4334         Fix count.
4336 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4338         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
4340 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4342         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
4343         (is_amd): Likewise.
4344         (max_cpuid): Likewise.
4345         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
4346         (init_cacheinfo): Likewise.
4348 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
4350         [BZ #21511]
4351         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
4352         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
4353         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
4354         !__USE_XOPEN2K) || __USE_MISC].
4355         * conform/data/signal.h-data (struct sigstack): Expect type only
4356         if [!XOPEN2K8 && !POSIX2008].
4357         (sigstack): Expect function only if [XPG42 || UNIX98].
4359         [BZ #21457]
4360         * sysdeps/arm/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/generic/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/i386/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/m68k/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/mips/sys/ucontext.h: Do not include <signal.h>,
4381         <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/aarch64/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/alpha/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/arm/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/hppa/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> instead of
4403         <bits/types/__sigset_t.h>.
4404         (ucontext_t): Use sigset_t instead of __sigset_t.
4405         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4406         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4407         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
4408         * sysdeps/unix/sysv/linux/m68k/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/mips/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/nios2/sys/ucontext.h: Do not include
4419         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4420         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4421         <bits/types/__sigset_t.h>.
4422         (ucontext_t): Use sigset_t instead of __sigset_t.
4423         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
4424         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4425         <bits/ss_flags.h>.
4426         * sysdeps/unix/sysv/linux/s390/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/sh/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/sparc/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/tile/sys/ucontext.h: Do not include
4442         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4443         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4444         <bits/types/__sigset_t.h>.
4445         (ucontext_t): Use sigset_t instead of __sigset_t.
4446         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
4447         <bits/types.h>.
4448         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
4449         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4450         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4451         <bits/types/__sigset_t.h>.
4452         (ucontext_t): Use sigset_t instead of __sigset_t.
4454 2017-05-22  Zack Weinberg  <zackw@panix.com>
4456         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4457         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
4458         bits/siginfo-arch.h, only if not already defined.
4459         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4460         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
4461         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
4462         Likewise.
4464         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4465         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4466         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4467         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4468         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4469         Unconditionally define __SI_* macros.
4471 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4473         [BZ #21393]
4474         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
4475         and add a check for dup3 failure.
4476         * libio/freopen64.c (freopen64): Likewise.
4477         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
4478         libsupport.
4479         (do_test_bz21398): New test.
4480         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
4482 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4484         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
4485         Remove invalid comment.
4487 2017-05-21  Zack Weinberg  <zackw@panix.com>
4489         * signal/Makefile (headers): Add bits/types/sigval_t.h.
4491 2017-05-20  Zack Weinberg  <zackw@panix.com>
4493         * bits/sigevent-consts.h
4494         * bits/siginfo-consts.h
4495         * bits/types/__sigset_t.h
4496         * bits/types/sigevent_t.h
4497         * bits/types/siginfo_t.h
4498         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
4499         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4500         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
4501         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
4502         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
4503         New system-dependent bits headers.
4505         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
4506         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
4507         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4508         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
4509         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4510         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4511         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4512         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
4513         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4514         New Linux-only system-dependent bits headers.
4516         * signal/bits/types/sig_atomic_t.h
4517         * signal/bits/types/sigset_t.h
4518         * signal/bits/types/sigval_t.h:
4519         New non-system-dependent bits headers.
4521         * sysdeps/generic/sigsetops.h
4522         * sysdeps/unix/sysv/linux/sigsetops.h:
4523         New internal headers.
4525         * include/bits/types/sig_atomic_t.h
4526         * include/bits/types/sigset_t.h
4527         * include/bits/types/sigval_t.h:
4528         New wrappers.
4530         * signal/sigsetops.h
4531         * bits/siginfo.h
4532         * bits/sigset.h
4533         * sysdeps/unix/sysv/linux/bits/siginfo.h
4534         * sysdeps/unix/sysv/linux/bits/sigset.h
4535         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
4536         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
4537         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
4538         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
4539         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
4540         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
4541         Deleted.
4543         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
4544         Update lists of installed headers.
4546         * posix/bits/types.h: Define __sig_atomic_t here.
4547         * signal/signal.h: Use the new bits headers; no need to handle
4548         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
4549         to define sigmask.
4550         * include/signal.h: No need to handle __need_sig_atomic_t
4551         nor __need_sigset_t.  Don't define __sigemptyset.
4553         * io/sys/poll.h, setjmp/setjmp.h
4554         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
4555         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
4556         * sysdeps/mach/hurd/i386/bits/sigcontext.h
4557         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
4558         * sysdeps/pthread/bits/sigthread.h
4559         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
4560         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
4561         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4562         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
4563         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4564         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
4565         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
4566         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
4567         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
4568         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
4569         Use bits/types/__sigset_t.h.
4571         * misc/sys/select.h, posix/spawn.h
4572         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4573         * sysdeps/unix/sysv/linux/sys/epoll.h
4574         * sysdeps/unix/sysv/linux/sys/signalfd.h:
4575         Use bits/types/sigset_t.h.
4577         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
4578         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
4579         * socket/sys/socket.h: Don't include bits/sigset.h.
4581         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
4582         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
4583         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
4584         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
4585         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
4586         * sysdeps/unix/sysv/linux/nptl-signals.h:
4587         Include sigsetops.h.
4589         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
4590         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
4591         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
4592         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
4593         now return no value.
4595         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
4596         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
4597         "sigsetops.h".
4599         * signal/sigsetops.c: Explicitly define __sigismember,
4600         __sigaddset, and __sigdelset as compatibility symbols.
4602         * signal/Versions: Correct commentary on __sigpause,
4603         __sigaddset, __sigdelset, __sigismember.
4605         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
4606         __sigblock/__sigsetmask to use __sigprocmask and friends.
4608         * resolv/resolv.h: Remove __need_res_state logic.
4609         Move definition of res_state and related constants to ...
4610         * resolv/bits/types/res_state.h: ...this new file.
4611         * resolv/Makefile: Install bits/types/res_state.h.
4612         * include/bits/types/res_state.h: New wrapper.
4613         * include/list.h: Remove __need_list_t logic.
4614         Move definition of list_t to ...
4615         * include/list_t.h: ...this new file.
4617         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4618         instead of list.h and resolv.h.
4620         * resolv/resolv.h: Remove __need_res_state logic.
4621         Move definition of res_state and related constants to ...
4622         * resolv/bits/types/res_state.h: ...this new file.
4623         * resolv/Makefile: Install bits/types/res_state.h.
4624         * include/bits/types/res_state.h: New wrapper.
4625         * include/list.h: Remove __need_list_t logic.
4626         Move definition of list_t to ...
4627         * include/list_t.h: ...this new file.
4629         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4630         instead of list.h and resolv.h.
4632 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
4634         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
4636 2017-05-20  Zack Weinberg  <zackw@panix.com>
4638         * sysdeps/arm/sysdep.h
4639         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
4641         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
4642         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
4643         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
4644         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
4645         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
4646         * sysdeps/arm/armv6t2/strlen.S
4647         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
4648         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
4649         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
4650         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
4651         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
4652         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
4654 2017-05-20  Zack Weinberg  <zackw@panix.com>
4656         Remove the NaCl port.
4657         * sysdeps/arm/nacl: Remove directory and contents.
4658         * sysdeps/nacl: Remove directory and contents.
4659         * abi-tags: Remove .*-.*-nacl.* entry.
4661 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
4663         * manual/errno.texi: Convert @comment-based errno documentation to
4664         @errno.
4665         * manual/macros.texi (@errno): New macro.  Consolidate errors,
4666         their values, and messages, adding the error string to the Concept
4667         Index.  Provide a warning in the comment about external (to the
4668         manual) dependencies.
4669         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
4670         * sysdeps/mach/hurd/errnos.awk: Likewise.
4672 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
4674         * bits/ss_flags.h: New file.
4675         * bits/types/stack_t.h: Likewise.
4676         * include/bits/types/struct_sigstack.h: Likewise.
4677         * signal/bits/types/struct_sigstack.h: Likewise.
4678         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
4679         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
4680         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
4681         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
4682         bits/types/stack_t.h and bits/ss_flags.h.
4683         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
4684         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4685         <bits/ss_flags.h>.
4686         * bits/sigstack.h (struct sigstack): Remove.
4687         (stack_t): Likewise.
4688         (SS_ONSTACK): Likewise.
4689         (SS_DISABLE): Likewise.
4690         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4691         (struct sigstack): Likewise.
4692         (stack_t): Likewise.
4693         (SS_ONSTACK): Likewise.
4694         (SS_DISABLE): Likewise.
4695         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
4696         Likewise.
4697         (stack_t): Likewise.
4698         (SS_ONSTACK): Likewise.
4699         (SS_DISABLE): Likewise.
4700         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
4701         Likewise.
4702         (stack_t): Likewise.
4703         (SS_ONSTACK): Likewise.
4704         (SS_DISABLE): Likewise.
4705         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
4706         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
4707         Likewise.
4708         (stack_t): Likewise.
4709         (SS_ONSTACK): Likewise.
4710         (SS_DISABLE): Likewise.
4711         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4712         (struct sigstack): Likewise.
4713         (stack_t): Likewise.
4714         (SS_ONSTACK): Likewise.
4715         (SS_DISABLE): Likewise.
4716         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
4717         Likewise.
4718         (stack_t): Likewise.
4719         (SS_ONSTACK): Likewise.
4720         (SS_DISABLE): Likewise.
4721         * sysdeps/arm/sys/ucontext.h: Include
4722         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4723         <bits/ss_flags.h>.
4724         * sysdeps/generic/sys/ucontext.h: Likewise.
4725         * sysdeps/i386/sys/ucontext.h: Likewise.
4726         * sysdeps/m68k/sys/ucontext.h: Likewise.
4727         * sysdeps/mips/sys/ucontext.h: Likewise.
4728         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
4729         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
4730         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
4731         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
4732         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
4733         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
4734         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
4735         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
4736         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
4737         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4738         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
4739         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
4740         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
4741         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
4742         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
4744 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4746         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
4747         "edx + ecx - 16" to avoid possible addition overflow.
4748         * sysdeps/x86_64/memchr.S (memchr): Likewise.
4750 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4752         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
4753         (CFLAGS-splice.c): Likewise.
4754         (CFLAGS-open_by_handle_at.c): Likewise.
4755         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
4756         (CFLAGS-splice.c): Likewise.
4757         (CFLAGS-open_by_handle_at.c): Likewise.
4759 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
4761         * scripts/versions.awk: Generate ldbl-compat-choose.h.
4762         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
4763         <ldbl-compat-choose.h>.
4764         (maybe_long_double_symbol): New macro.
4765         [!declare_mgen_alias] (declare_mgen_alias): Use
4766         maybe_long_double_symbol.
4767         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
4768         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4769         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4770         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
4771         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4772         * Makerules [$(build-shared) = yes && !avoid-generated]
4773         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
4774         [$(build-shared) = yes && !avoid-generated]
4775         ($(common-objpfx)ldbl-compat-choose.h): New target.
4777         * scripts/versions.awk: Generate first-versions.h.
4778         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
4779         <first-versions.h>.
4780         (LDOUBLE_cabsl_libm_version): Remove macro.
4781         (LDOUBLE_cargl_libm_version): Likewise.
4782         (LDOUBLE_cimagl_libm_version): Likewise.
4783         (LDOUBLE_conjl_libm_version): Likewise.
4784         (LDOUBLE_creall_libm_version): Likewise.
4785         (LDOUBLE_cacosl_libm_version): Likewise.
4786         (LDOUBLE_cacoshl_libm_version): Likewise.
4787         (LDOUBLE_ccosl_libm_version): Likewise.
4788         (LDOUBLE_ccoshl_libm_version): Likewise.
4789         (LDOUBLE_casinl_libm_version): Likewise.
4790         (LDOUBLE_csinl_libm_version): Likewise.
4791         (LDOUBLE_casinhl_libm_version): Likewise.
4792         (LDOUBLE_csinhl_libm_version): Likewise.
4793         (LDOUBLE_catanl_libm_version): Likewise.
4794         (LDOUBLE_catanhl_libm_version): Likewise.
4795         (LDOUBLE_ctanl_libm_version): Likewise.
4796         (LDOUBLE_ctanhl_libm_version): Likewise.
4797         (LDOUBLE_cexpl_libm_version): Likewise.
4798         (LDOUBLE_clogl_libm_version): Likewise.
4799         (LDOUBLE_cprojl_libm_version): Likewise.
4800         (LDOUBLE_csqrtl_libm_version): Likewise.
4801         (LDOUBLE_cpowl_libm_version): Likewise.
4802         (LDOUBLE_clog10l_libm_version): Likewise.
4803         (LDOUBLE___clog10l_libm_version): Likewise.
4804         (LDOUBLE_fdiml_libm_version): Likewise.
4805         (LDOUBLE_fmaxl_libm_version): Likewise.
4806         (LDOUBLE_fminl_libm_version): Likewise.
4807         (LDOUBLE_ilogbl_libm_version): Likewise.
4808         (LDOUBLE_nanl_libm_version): Likewise.
4809         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
4810         FIRST_VERSION_libm_* macros.
4811         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
4812         * Makerules [$(build-shared) = yes && !avoid-generated]
4813         (before-compile): Add $(common-objpfx)first-versions.h.
4814         [$(build-shared) = yes && !avoid-generated]
4815         ($(common-objpfx)first-versions.h): New target.
4816         ($(common-objpfx)sysd-versions): Depend on and change to rule for
4817         building $(common-objpfx)versions.stmp.
4819 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4821         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
4822         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
4823         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
4824         auto-generation list.
4826         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
4827         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
4828         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
4829         from auto-generation list.
4831         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4832         open_by_handle_at.
4833         (CFLAGS-open_by_handle_at.c): New flag.
4834         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
4835         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
4836         file.
4837         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
4839         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
4840         (CFLAGS-splice.c): New flag.
4841         * sysdeps/unix/sysv/linux/splice.c: New file.
4842         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
4843         auto-generation syscall list.
4844         * misc/Makefile (CFLAGS-splice.c): New rule.
4846         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
4847         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
4848         auto-generation syscall list.
4849         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
4850         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
4852         * misc/Makefile (CFLAGS-fsync.c): New flag.
4853         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
4854         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
4855         syscall list.
4856         * sysdeps/unix/sysv/linux/fsync.c: New file.
4857         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
4858         (__errno_location): Remove.
4860         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
4861         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
4862         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
4863         list.
4864         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
4866         * misc/Makefile (CFLAGS-msync.c): New rule.
4867         * nptl/Makefile (CFLAGS-msync.c): Likewise.
4868         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
4869         * sysdeps/unix/sysv/linux/msync.c: New file.
4871         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
4872         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
4873         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
4874         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4875         (CFLAGS-sigsuspend.c): Remove rule.
4877         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
4878         (CFLAGS-tee.c): New rule.
4879         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
4880         auto-generated list.
4881         * sysdeps/unix/sysv/linux/tee.c: New file.
4883         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
4884         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
4885         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
4886         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
4887         auto-generated list.
4889         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
4890         auto-generated list.
4891         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
4892         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4893         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
4894         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4895         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4897         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
4898         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
4899         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
4900         (__NR_pause): Undefine.
4901         * sysdeps/unix/sysv/linux/pause.c: New file.
4902         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
4903         auto-generation list.
4904         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
4905         Remove rule.
4906         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
4908 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4910         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
4911         comments.
4913 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4915         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
4916         LD_HWCAP_MASK.
4918 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
4920         * manual/conf.texi: Convert @tables of annotated @items to
4921         @vtables.
4922         * manual/lang.texi: Likewise.
4923         * manual/pattern.texi: Likewise.
4924         * manual/resource.texi: Likewise.
4925         * manual/socket.texi: Likewise.
4927 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
4929         * manual/crypt.texi: Move a comment out of an @*x list.
4930         * manual/filesys.texi: Refactor some comments, one of which looks
4931         like a standard.  Fix incorrectly separated standards.
4932         * manual/locale.texi: Invert an annotation.
4933         * manual/resource.texi: Fix incorrectly separated standards.
4934         * manual/time.texi: Refactor a @vtable that obscures an
4935         annotation.
4936         * manual/users.texi: Refactor multiple headers to occupy a single
4937         @comment.
4939 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4941         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4942         (sysdep_routines): Add memcmp-power8.
4943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4944         (memcmp): Add __memcmp_power8 to list of memcmp functions.
4945         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
4946         (memcmp): Add __memcmp_power8 to ifunc list.
4947         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
4948         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
4950 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4951             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4953         * math/math.h (__MATH_TG): Extend the conditions to add
4954         _Float128 support.
4955         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
4957 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
4959         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4960         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
4961         s_cosf-ppc64.
4962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
4963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
4964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
4965         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
4967 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4969         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
4970         (gen-libm-calls): Add e_exp2F to use the template.
4971         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
4972         * math/e_exp2_template.c: New file, renamed from
4973         math/e_exp2l.c, and made into a template.
4974         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
4976 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4978         * elf/dl-tunable-types.h (tunable_type_code_t): New type
4979         TUNABLE_TYPE_UINT_64.
4980         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
4981         Simplify computation of overflow.
4982         (tunable_set_val_if_valid_range_signed,
4983         tunable_set_val_if_valid_range_unsigned): Remove and replace
4984         with this...
4985         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
4986         (tunable_initialize): Adjust.  Add uint64_t support.
4987         (__tunable_set_val): Add uint64_t support.
4988         * README.tunables: Document it.
4990         * scripts/gen-tunables.awk: Recognize 'default' keyword in
4991         dl-tunables.list.
4992         * README.tunables: Document it.
4994 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4996         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
4997         * sysdeps/posix/preadv64.c: Likewise.
4998         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4999         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
5000         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
5001         * sysdeps/posix/pwritev64.c: Likewise.
5002         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5003         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
5004         * sysdeps/posix/preadv_common.c: New file.
5005         * sysdeps/posix/pwritev_common.c: Likewise.
5007 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5009         * sysdeps/generic/math-type-macros-float128.h
5010         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
5011         wrapper templates.
5013 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5014             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5016         * include/complex.h (__kernel_casinhf128): New declaration.
5017         * include/float.h: New file.
5018         * include/math.h (__finitef128): Add a hidden def.
5019         (__isinff128): Likewise.
5020         (__isnanf128): Likewise.
5021         (__fpclassify): Likewise.
5022         (__issignalling): Likewise.
5023         (__expf128): Likewise.
5024         (__expm1f128): Likewise.
5026         * sysdeps/generic/fix-fp-int-convert-overflow.h:
5027         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
5028         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
5030         * sysdeps/generic/math-type-macros-float128.h: New file.
5032         * sysdeps/generic/math_private.h: Include bits/floatn.h and
5033         math_private_calls.h for _Float128.
5034         (__isinff128): New inline implementation used when GCC < 7.0,
5035         since in this case __builtin_isinf_sign is broken.
5036         (fabsf128): New inline implementation that calls the builtin.
5037         (__EXPR_FLT128): New macro.
5038         (min_of_type): Optionally include _Float128 types too.
5040         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
5041         Declare for _Float128.
5042         (__kernel_rem_pio2): Likewise.
5044         * sysdeps/ieee754/ldbl-opt/s_sin.c:
5045         (__DECL_SIMD_sincos_disablef128): New macro.
5047 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5049         * math/math.h: Include bits/math-finite.h for float128.
5050         (__MATH_DECLARING_FLOATN): Define to control declaration of
5051         float128 functions.
5052         * math/bits/math-finite.h (pow10): Do not declare for float128.
5053         (gamma): Likewise.
5054         (scalb): Likewise.
5056 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5057             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5059         * bits/floatn.h: New file.
5060         * bits/huge_val_flt128.h: Likewise.
5062         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
5063         (__DECL_SIMD_sinf128): Likewise.
5064         (__DECL_SIMD_sincosf128): Likewise.
5065         (__DECL_SIMD_logf128): Likewise.
5066         (__DECL_SIMD_expf128): Likewise.
5067         (__DECL_SIMD_powf128): Likewise.
5069         * math/Makefile (headers): Install bits/floatn.h and
5070         bits/huge_val_flt128.h.
5072         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
5073         defined.
5075         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
5076         (isnan, gamma, nexttoward, scalb): Only define if not
5077         __MATH_DECLARING_FLOATN.
5078         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
5079         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
5080         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
5081         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
5083         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
5084         Include bits/cmathcalls.h to get the declarations of _Float128
5085         versions of complex functions.
5086         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
5087         Define macro.
5089         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
5090         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
5091         get the declarations of _Float128 versions of math functions.
5092         (__MATH_DECLARING_FLOATN): New macro to control declaration of
5093         _FloatN types.
5094         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
5095         is type-generic, so use it without __MATH_TG.
5096         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
5097         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
5098         _Float128 type and GCC < 7.0, otherwise use the builtin.
5099         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
5100         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
5101         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
5102         New _GNU_SOURCE enabled macros.
5104 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
5106         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
5107         (signbitf): Likewise.
5108         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
5109         Likewise.
5110         (signbitl): Likewise.
5111         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
5112         Likewise.
5113         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
5114         (signbitl): Likewise.
5115         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
5117 2017-05-12  Florian Weimer  <fweimer@redhat.com>
5119         [BZ #21386]
5120         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
5121         parent PID.  The assertion in the child is incorrect with PID
5122         namespaces.
5124 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
5126         * sysdeps/unix/sysv/linux/kernel-features.h
5127         (__ASSUME_STATFS_F_FLAGS): Remove macro.
5128         * sysdeps/unix/sysv/linux/internal_statvfs.c
5129         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
5131 2017-05-11  Zack Weinberg  <zackw@panix.com>
5133         * Makerules: New subdir configuration variables 'tests-internal'
5134         and 'test-internal-extras'.  Test files in these categories will
5135         still be compiled with MODULE_NAME=nonlib.  Test files in the
5136         existing categories (tests, xtests, test-srcs, test-extras) are
5137         now compiled with MODULE_NAME=testsuite.
5138         New subdir configuration variable 'modules-names-tests'.  Files
5139         which are in both 'modules-names' and 'modules-names-tests' will
5140         be compiled with MODULE_NAME=testsuite instead of
5141         MODULE_NAME=extramodules.
5142         (gen-as-const-headers): Move to tests-internal.
5143         (do-tests-clean, common-mostlyclean): Support tests-internal.
5144         * Makeconfig (built-modules): Add testsuite.
5145         * Makefile: Change libof-check-installed-headers-c and
5146         libof-check-installed-headers-cxx to 'testsuite'.
5147         * Rules: Likewise.  Support tests-internal.
5148         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
5149         Remove extra-modules.mk.
5151         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
5152         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
5153         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
5154         very top of the file and rationalize their order.
5155         If MODULE_NAME is not defined at all, define IS_IN to always be
5156         false, and don't define _ISOMAC.
5157         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
5158         true, define _ISOMAC and suppress everything else in this file,
5159         starting with the inclusion of config.h.
5160         Do check for inappropriate definitions of __OPTIMIZE__ and
5161         __FAST_MATH__ here, but only if _ISOMAC is not defined.
5162         Correct some out-of-date commentary.
5164         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
5165         and _Mlong_double_ before including math.h.
5166         * include/string.h: If _ISOMAC is defined, don't expose
5167         _STRING_ARCH_unaligned. Move a comment to a more appropriate
5168         location.
5170         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
5171         * include/time.h, include/unistd.h, include/wchar.h: No need to
5172         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
5174         * misc/sys/cdefs.h (__NTHNL): New macro.
5175         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
5176         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
5178         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
5179         defined, for HAVE_TUNABLES.
5180         * inet/tst-checks-posix.c: No need to define _ISOMAC.
5181         * intl/tst-gettext2.c: Provide own definition of N_.
5182         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
5183         * math/test-signgam-main.c: No need to define _ISOMAC.
5184         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
5185         * stdlib/tst-strtod1i.c: ...this new file.
5186         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
5187         Split tests of __strtod_internal to...
5188         * stdlib/tst-strtod5i.c: ...this new file.
5189         * string/test-string.h: Include stdint.h. Duplicate definition of
5190         inhibit_loop_to_libcall here (from libc-symbols.h).
5191         * string/test-strstr.c: Provide dummy definition of
5192         libc_hidden_builtin_def when including strstr.c.
5193         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
5194         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
5195         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5196         Don't include init-arch.h.
5197         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5198         Don't include init-arch.h.
5200         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
5201         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
5202         unload, unload2, circleload1, neededtest, neededtest2,
5203         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
5204         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
5205         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
5206         ifunc tests to tests-internal.
5207         Don't add $(modules-names) to test-extras.
5208         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
5209         Add tst-deadline to tests-static-internal.
5210         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
5211         tests-internal.
5212         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
5213         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
5214         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
5215         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
5216         tst-sem12-static, and tst-stackguard1-static to tests-internal.
5217         Link tests-internal with libpthread also.
5218         Don't add $(modules-names) to test-extras.
5219         * nss/Makefile: Move tst-field to tests-internal.
5220         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
5221         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
5222         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
5223         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
5224         tests-internal.
5225         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
5226         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
5227         test-get_hwcap-static to tests-internal.
5228         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
5229         tests-internal.
5230         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
5231         modules-names-tests.
5233 2017-05-11  Zack Weinberg  <zackw@panix.com>
5235         * libio/libio.h: Condition dummy definition of _IO_lock_t on
5236         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
5237         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
5238         _IO_funlockfile, and _IO_ftrylockfile.  Only define
5239         _IO_cleanup_region_start and _IO_cleanup_region_end if not
5240         already defined.
5241         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
5242         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
5243         appropriately.
5244         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
5245         Define _IO_lock_t_defined after defining _IO_lock_t.
5247 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5249         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
5250         void* for argument type and use VDSO_SYMBOL macro.
5251         (is_sigtramp_address_rt): Likewise.
5252         (__backtrace): Setup expected frame pointer address for signal
5253         handling.
5254         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
5255         void* for argumetn type and use VSDO_SYMBOL macro.
5256         (__backtrace): Setup expected frame pointer address for signal
5257         handling.
5259         * sysdeps/unix/sysv/linux/writev.c: New file.
5261         * sysdeps/unix/sysv/linux/readv.c: New file.
5263         * include/unistd.h (write): Add hidden proto.
5264         * io/Makefile (CFLAGS-write.c): New define.
5265         * nptl/Makefile (CFLAGS-write.c): Likewise.
5266         * sysdeps/unix/sysv/linux/write.c: New file.
5268         [BZ #21428]
5269         * include/unistd.h (read): Add hidden proto.
5270         * io/Makefile (CFLAGS-read.c): New define.
5271         * nptl/Makefile (CFLAGS-read.c): Likewise.
5272         * sysdeps/unix/sysv/linux/read.c: New file.
5274         * io/Makefile (CFLAGS-creat.c): New rule.
5275         (CFLAGS-creat64.c): Likewise.
5276         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
5277         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
5278         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
5279         * sysdeps/unix/sysv/linux/creat.c: New file.
5280         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
5281         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
5282         auto-generated list.
5283         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5285         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
5286         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
5287         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
5288         * sysdeps/unix/sysv/linux/open.c: New file.
5289         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
5290         iff __WORDSIZE != 64 and use __NR_openat when available.
5291         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
5292         from auto-generated list.
5294         * nptl/Makefile (CFLAGS-close.c): New flag.
5295         * sysdeps/unix/sysv/linux/close.c: New file.
5297 2017-05-11  DJ Delorie  <dj@redhat.com>
5299         * MAINTAINERS: New.  Points to wiki.
5301 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5303         * scripts/gen-tunables.awk: Add attribute_relro to
5304         tunable_list.
5306 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
5308         [BZ #21457]
5309         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
5310         (R1): Likewise.
5311         (R2): Likewise.
5312         (R3): Likewise.
5313         (R4): Likewise.
5314         (R5): Likewise.
5315         (R6): Likewise.
5316         (R7): Likewise.
5317         (R8): Likewise.
5318         (R9): Likewise.
5319         (R10): Likewise.
5320         (R11): Likewise.
5321         (R12): Likewise.
5322         (R13): Likewise.
5323         (R14): Likewise.
5324         (R15): Likewise.
5325         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
5326         (REG_FS): Likewise.
5327         (REG_ES): Likewise.
5328         (REG_DS): Likewise.
5329         (REG_EDI): Likewise.
5330         (REG_ESI): Likewise.
5331         (REG_EBP): Likewise.
5332         (REG_ESP): Likewise.
5333         (REG_EBX): Likewise.
5334         (REG_EDX): Likewise.
5335         (REG_ECX): Likewise.
5336         (REG_EAX): Likewise.
5337         (REG_TRAPNO): Likewise.
5338         (REG_ERR): Likewise.
5339         (REG_EIP): Likewise.
5340         (REG_CS): Likewise.
5341         (REG_EFL): Likewise.
5342         (REG_UESP): Likewise.
5343         (REG_SS): Likewise.
5344         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
5345         (R_D1): Likewise.
5346         (R_D2): Likewise.
5347         (R_D3): Likewise.
5348         (R_D4): Likewise.
5349         (R_D5): Likewise.
5350         (R_D6): Likewise.
5351         (R_D7): Likewise.
5352         (R_A0): Likewise.
5353         (R_A1): Likewise.
5354         (R_A2): Likewise.
5355         (R_A3): Likewise.
5356         (R_A4): Likewise.
5357         (R_A5): Likewise.
5358         (R_A6): Likewise.
5359         (R_A7): Likewise.
5360         (R_SP): Likewise.
5361         (R_PC): Likewise.
5362         (R_PS): Likewise.
5363         (fpregset_t): Likewise.
5364         (MCONTEXT_VERSION): Likewise.
5365         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
5366         (CTX_AT): Likewise.
5367         (CTX_V0): Likewise.
5368         (CTX_V1): Likewise.
5369         (CTX_A0): Likewise.
5370         (CTX_A1): Likewise.
5371         (CTX_A2): Likewise.
5372         (CTX_A3): Likewise.
5373         (CTX_T0): Likewise.
5374         (CTX_T1): Likewise.
5375         (CTX_T2): Likewise.
5376         (CTX_T3): Likewise.
5377         (CTX_T4): Likewise.
5378         (CTX_T5): Likewise.
5379         (CTX_T6): Likewise.
5380         (CTX_T7): Likewise.
5381         (CTX_S0): Likewise.
5382         (CTX_S1): Likewise.
5383         (CTX_S2): Likewise.
5384         (CTX_S3): Likewise.
5385         (CTX_S4): Likewise.
5386         (CTX_S5): Likewise.
5387         (CTX_S6): Likewise.
5388         (CTX_S7): Likewise.
5389         (CTX_T8): Likewise.
5390         (CTX_T9): Likewise.
5391         (CTX_K0): Likewise.
5392         (CTX_K1): Likewise.
5393         (CTX_GP): Likewise.
5394         (CTX_SP): Likewise.
5395         (CTX_S8): Likewise.
5396         (CTX_RA): Likewise.
5397         (CTX_MDLO): Likewise.
5398         (CTX_MDHI): Likewise.
5399         (CTX_CAUSE): Likewise.
5400         (CTX_EPC): Likewise.
5401         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
5402         inclusion of <sys/procfs.h> on [__USE_MISC].
5403         (greg_t): Condition on [__USE_MISC].
5404         (gregset_t): Likewise.
5405         (fpregset_t): Likewise.
5406         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
5407         (NGREG): Likewise.
5408         (gregset_t): Likewise.
5409         (REG_R0): Likewise.
5410         (REG_R1): Likewise.
5411         (REG_R2): Likewise.
5412         (REG_R3): Likewise.
5413         (REG_R4): Likewise.
5414         (REG_R5): Likewise.
5415         (REG_R6): Likewise.
5416         (REG_R7): Likewise.
5417         (REG_R8): Likewise.
5418         (REG_R9): Likewise.
5419         (REG_R10): Likewise.
5420         (REG_R11): Likewise.
5421         (REG_R12): Likewise.
5422         (REG_R13): Likewise.
5423         (REG_R14): Likewise.
5424         (REG_R15): Likewise.
5425         (struct _libc_fpstate): Likewise.
5426         (fpregset_t): Likewise.
5427         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
5428         (NFPREG): Likewise.
5429         (gregset_t): Likewise.
5430         (fpregset_t): Likewise.
5431         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
5432         (R_D1): Likewise.
5433         (R_D2): Likewise.
5434         (R_D3): Likewise.
5435         (R_D4): Likewise.
5436         (R_D5): Likewise.
5437         (R_D6): Likewise.
5438         (R_D7): Likewise.
5439         (R_A0): Likewise.
5440         (R_A1): Likewise.
5441         (R_A2): Likewise.
5442         (R_A3): Likewise.
5443         (R_A4): Likewise.
5444         (R_A5): Likewise.
5445         (R_A6): Likewise.
5446         (R_A7): Likewise.
5447         (R_SP): Likewise.
5448         (R_PC): Likewise.
5449         (R_PS): Likewise.
5450         (fpregset_t): Likewise.
5451         (MCONTEXT_VERSION): Likewise.
5452         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
5453         Likewise.
5454         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
5455         (REG_R1): Likewise.
5456         (REG_R2): Likewise.
5457         (REG_R3): Likewise.
5458         (REG_R4): Likewise.
5459         (REG_R5): Likewise.
5460         (REG_R6): Likewise.
5461         (REG_R7): Likewise.
5462         (REG_R8): Likewise.
5463         (REG_R9): Likewise.
5464         (REG_R10): Likewise.
5465         (REG_R11): Likewise.
5466         (REG_R12): Likewise.
5467         (REG_R13): Likewise.
5468         (REG_R14): Likewise.
5469         (REG_R15): Likewise.
5470         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
5471         of <arch/abi.h> on [__USE_MISC].
5472         (greg_t): Condition on [__USE_MISC].
5473         (NGREG): Likewise.
5474         (gregset_t): Likewise.
5476 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5478         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
5479         (__pthread_rwlock_arch_t): Remove __data definition.
5480         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
5481         (__pthread_rwlock_arch_t): Likewise.
5483 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5485         * resolv/inet_pton.c: Reformat in GNU style.  Remove
5486         internal_function on static functions.
5488 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5490         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
5491         from format_ai_flags.
5492         (format_ai_flags): New function.  Incorporate flag formatting code
5493         from format_ai_one.
5494         (format_ai_canonname): New function.
5495         (format_ai_one): Remove flags parameter.
5496         (format_ai_family): Likewise.
5497         (support_format_addrinfo): Call format_ai_flags,
5498         format_ai_canonname.
5499         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
5500         check_ai.
5501         (check_ai): Call check_ai_hints.
5502         (do_test): Add AI_CANONNAME tests.
5504 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5506         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
5507         (gaih_inet): Likewise.
5509 2017-05-10  Andreas Schwab  <schwab@suse.de>
5511         * nptl/tst-fork1.c: Include <support/test-driver.c>.
5512         (main): Rename to do_test and make static.
5514 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
5516         * string/rawmemchr.c: Include <libc-diag.h>.
5517         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
5518         with size (size_t)-1.
5520 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5522         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
5523         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5524         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5526         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
5527         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
5528         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
5529         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
5530         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
5531         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
5532         * sysdeps/unix/sysv/linux/kernel-features.h
5533         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
5534         socket syscalls.
5535         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5536         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5537         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5538         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5539         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5540         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5541         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5542         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5543         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5544         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5545         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5546         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5547         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5548         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5549         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5551 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5553         * posix/Makefile (headers): Add pthreadtypes-arch.h and
5554         thread-shared-types.h.
5555         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
5556         specific thread definition.
5557         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
5558         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
5559         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
5560         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
5561         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
5562         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
5563         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
5564         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
5565         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
5566         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
5567         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
5568         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
5569         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
5570         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
5571         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
5572         thread definition between POSIX and C11.
5573         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
5574         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
5575         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
5576         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
5577         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
5578         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
5579         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
5580         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
5581         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
5582         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
5583         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
5584         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
5585         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
5586         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
5587         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
5588         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
5589         definitions shared across all architectures.
5591 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5593         * sysdeps/unix/sysv/linux/kernel-features.h
5594         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
5595         (__ASSUME_SENDMMSG): Likewise.
5596         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
5597         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
5598         sendmmsg syscall if that can be assumed to be present, socketcall
5599         otherwise, with no fallback for runtime failure.
5601         * sysdeps/unix/sysv/linux/kernel-features.h
5602         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
5603         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
5604         (__ASSUME_RECVMMSG): Likewise.
5605         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
5606         recvmmsg syscall if it can be assumed to be present, socketcall
5607         otherwise, with no fallback for runtime failure.
5609 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5610             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5612         * bits/libc-header-start.h:
5613         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
5614         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
5615         * manual/creature.texi: Likewise.
5617 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5618             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5620         * math/Makefile:
5621         (type-float128-suffix): New variable
5622         (type-float128-routines): Likewise
5623         (type-float128-yes): Likewise
5624         (types): Append float128 if supported
5625         (types-basic): New variable to control the use of templates for
5626         float, double, and long double, but not for float128 or newer types.
5627         (type-basic-foreach): Likewise.
5629         * sysdeps/ieee754/float128/Makeconfig: New file.
5630         * sysdeps/ieee754/float128/Versions: New file.
5632 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5634         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
5635         Remove macro.
5636         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
5637         prlimit64 is always available and does not give an ENOSYS error.
5638         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
5639         unconditional.
5640         [!__NR_prlimit64]: Remove conditional code.
5641         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
5642         prlimit64 is always available and does not give an ENOSYS error.
5643         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
5645 2017-05-09  Zack Weinberg  <zackw@panix.com>
5647         * sunrpc/tst-xdrmem2.c: Include stdint.h.
5649 2017-05-09  Florian Weimer  <fweimer@redhat.com>
5651         [BZ #21474]
5652         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
5653         (__res_maybe_init): Likewise.
5655 2017-05-09  Zack Weinberg  <zackw@panix.com>
5657         * extra-modules.mk: Delete file.
5658         * cppflags-iterator.mk: Rename to ...
5659         * libof-iterator.mk: ...this.  Adjust comments.
5661         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
5662         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
5663         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
5664         Use libof-iterator.mk instead of cppflags-iterator.mk or
5665         extra-modules.mk.
5667         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
5668         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
5670 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5672         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5674 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
5676         * stdio-common/vfprintf.c (EXTSIZ): Define.
5677         (vfprintf): Use EXTSIZ.
5678         (printf_positional): Likewise.
5680 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
5682         * sysdeps/unix/sysv/linux/kernel-features.h
5683         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
5684         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
5685         <kernel-features.h>.
5686         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
5688         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5689         (__ASSUME_GETCPU_SYSCALL): Remove macro.
5691 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5693         Prevent multiple deletion of temporary files.
5694         * support/temp_file.c (struct temp_name_list): Add owner member.
5695         (add_temp_file): Record owner.
5696         (support_delete_temp_files): Delete file only if owner matches.
5697         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
5698         (do_prepare): Use create_temp_file instead of add_temp_file.
5699         Initialize temp_fd1, temp_fd2.
5700         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
5701         framework remove the temporary files.
5702         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
5703         (do_prepare): Use create_temp_file instead of add_temp_file.
5704         Initialize temp_fd1, temp_fd2, temp_fd3.
5705         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
5706         the test framework remove the temporary files.
5707         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
5708         deletion.
5709         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
5710         temporary directory.  It is removed by the test framework.
5711         * dirent/tst-scandir.c (do_test): Likewise.
5713 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5715         Delete temporary files in LIFO order.
5716         * support/temp_file.c (struct temp_name_list): Replace q member
5717         with next.
5718         (add_temp_file): Add new file to front of linked list.
5719         (support_delete_temp_files): Use next member.
5720         (support_print_temp_files): Likewise.
5722 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5724         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5725         sys/ultrasound.h.
5726         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
5728 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
5730         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5731         Remove.
5732         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5733         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5734         (arch_minimum_kernel): Remove.
5735         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5736         * README: Update statement about Linux kernel requirements.
5738 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5740         * manual/llio.texi: Add preadv and pwritev documentation.
5742 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
5744         [BZ #21455]
5745         * bits/stdint-intn.h: New file.
5746         * bits/stdint-uintn.h: Likewise.
5747         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
5748         bits/stdint-uintn.h.
5749         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
5750         <stdint.h>.
5751         * posix/sys/types.h: Include <bits/stdint-intn.h>.
5752         (__int8_t_defined): Do not define here.
5753         (int8_t): Likewise.
5754         (int16_t): Likewise.
5755         (int32_t): Likewise.
5756         (int64_t): Likewise.
5757         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
5758         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
5759         <stdint.h>.
5760         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
5761         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
5762         <bits/stdint-uintn.h>.
5763         (int8_t): Do not define here.
5764         (int16_t): Likewise.
5765         (int32_t): Likewise.
5766         (int64_t): Likewise.
5767         (uint8_t): Likewise.
5768         (uint16_t): Likewise.
5769         (uint32_t): Likewise.
5770         (uint64_t): Likewise.
5771         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
5772         variable.
5773         (test-xfail-XPG42/netdb.h/conform): Likewise.
5774         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
5775         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5776         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5777         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5779 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5781         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
5782         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
5783         the above.
5784         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5785         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5787 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
5789         [BZ #21445]
5790         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
5792         [BZ #21457]
5793         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5794         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
5795         __glibc_reserved1.
5796         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5797         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
5798         (struct _fpxreg): Likewise.
5799         [!__x86_64__] (struct _fpstate): Rename field reserved to
5800         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
5801         [__x86_64__] (struct _fpstate): Rename field padding to
5802         __glibc_reserved1.
5803         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
5804         Rename field reserved2 to __glibc_reserved2.
5805         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
5806         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
5807         __glibc_reserved1.
5808         [__x86_64__] (struct _libc_fpstate): Rename field padding to
5809         __glibc_reserved1.
5811 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5813         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
5814         variable name.
5816 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
5818         [BZ #21391]
5819         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
5820         Only call init_cpu_features.
5821         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
5822         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5823         * sysdeps/i386/dl-procinfo.h: Removed.
5824         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
5825         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
5826         <sysdeps/x86/dl-procinfo.h>.
5827         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
5828         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
5829         Include <sysdeps/x86/dl-procinfo.h> instead of
5830          <sysdeps/generic/dl-procinfo.h>.
5831         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
5832         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
5833         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
5834         (bit_cpu_MOVBE): Likewise.
5835         (bit_cpu_BMI1): Likewise.
5836         (bit_cpu_BMI2): Likewise.
5837         (index_cpu_BMI1): Likewise.
5838         (index_cpu_BMI2): Likewise.
5839         (index_cpu_LZCNT): Likewise.
5840         (index_cpu_MOVBE): Likewise.
5841         (index_cpu_POPCNT): Likewise.
5842         (reg_BMI1): Likewise.
5843         (reg_BMI2): Likewise.
5844         (reg_LZCNT): Likewise.
5845         (reg_MOVBE): Likewise.
5846         (reg_POPCNT): Likewise.
5847         * sysdeps/x86/dl-hwcap.h: New file.
5848         * sysdeps/x86/dl-procinfo.h: Likewise.
5849         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
5850         (_dl_x86_platforms): Likewise.
5852 2017-05-03  DJ Delorie  <dj@redhat.com>
5854         [BZ #21411]
5855         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
5857 2017-05-03  Phil Blundell  <pb@pbcl.net>
5859         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
5860         comments.
5862 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
5864         [BZ #20116]
5865         * nptl/pthread_create.c: Expand comments to describe
5866         semaphore-like and mutex-like uses of PD->lock.
5868 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5870         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
5871         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
5872         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
5873         auto-generation list.
5874         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5875         epoll_wait.
5876         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
5877         Remove epoll_wait.
5879         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5880         osf_select.
5881         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
5882         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
5883         osf_select from auto-generation list.
5884         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5885         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5886         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
5887         * sysdeps/unix/sysv/linux/select.c: New file.
5889         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
5890         * sysdeps/unix/sysv/linux/poll.c: New file.
5891         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
5892         auto-generation list.
5894 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
5896         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
5897         New macro.
5899 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
5901         [BZ #21179]
5902         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
5903         R_SPARC_REGISTER relocations.
5905 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5907         * include/unistd.h (__pread): Add libc_hidden_proto.
5908         (__pread64): Likewise.
5909         (__pwrite): Likewise.
5910         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
5911         (__pread64): Remove.
5912         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
5913         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
5914         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
5916 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5918         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5920 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5922         * nptl/tst-cancel4-common.c: Use libsupport.
5923         * nptl/tst-cancel4-common.h: Likewise.
5924         * nptl/tst-cancel4.c (tf_read): Likewise.
5925         (tf_readv): Likewise.
5926         (tf_write): Likewise.
5927         (tf_writev): Likewise.
5928         (tf_sleep): Likewise.
5929         (tf_usleep): Likewise.
5930         (tf_nanosleep): Likewise.
5931         (tf_select): Likewise.
5932         (tf_pselect): Likewise.
5933         (tf_poll): Likewise.
5934         (tf_ppoll): Likewise.
5935         (tf_wait): Likewise.
5936         (tf_waitpid): Likewise.
5937         (tf_waitid): Likewise.
5938         (tf_sigpause): Likewise.
5939         (tf_sigsuspend): Likewise.
5940         (tf_sigwait): Likewise.
5941         (tf_sigwaitinfo): Likewise.
5942         (tf_sigtimedwait): Likewise.
5943         (tf_pause): Likewise.
5944         (tf_accept): Likewise.
5945         (tf_send): Likewise.
5946         (tf_recv): Likewise.
5947         (tf_recvfrom): Likewise.
5948         (tf_recvmsg): Likewise.
5949         (tf_open): Likewise.
5950         (tf_close): Likewise.
5951         (tf_pread): Likewise.
5952         (tf_pwrite): Likewise.
5953         (tf_preadv): Likewise.
5954         (tf_pwritev): Likewise.
5955         (tf_fsync): Likewise.
5956         (tf_fdatasync): Likewise.
5957         (tf_msync): Likewise.
5958         (tf_sendto): Likewise.
5959         (tf_sendmsg): Likewise.
5960         (tf_creat): Likewise.
5961         (tf_connect): Likewise.
5962         (tf_tcdrain): Likewise.
5963         (tf_msgrcv): Likewise.
5964         (tf_msgsnd): Likewise.
5965         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
5966         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
5968         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
5969         expected arguments.
5970         (do_test): Adapt to use libsupport.
5972 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
5974         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
5976         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
5977         (PF_MAX): Set to 44.
5978         (AF_SMC): New macro.
5980         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5981         kernel version to 4.11.
5983 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5985         [BZ #21280]
5986         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
5987         signal of subnormals and adjust the exponent of power of 2 down
5988         when low part has opposite sign.
5990 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5992         * sysdeps/powerpc/powerpc64le/Implies: New file.
5993         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
5994         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
5995         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
5996         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
5997         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
5998         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
5999         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
6000         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
6001         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
6002         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
6003         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
6004         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
6005         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
6006         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
6007         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
6008         * sysdeps/powerpc/preconfigure: New file.
6009         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
6010         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
6012 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
6014         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
6015         inclusion.
6016         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
6017         Remove.
6019 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
6021         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
6022         (XPG3): Rename standard to XPG4.
6023         * conform/Makefile: Likewise.
6024         * conform/list-header-symbols.pl: Likewise.
6025         * conform/data/aio.h-data: Likewise.
6026         * conform/data/arpa/inet.h-data: Likewise.
6027         * conform/data/complex.h-data: Likewise.
6028         * conform/data/ctype.h-data: Likewise.
6029         * conform/data/dlfcn.h-data: Likewise.
6030         * conform/data/fcntl.h-data: Likewise.
6031         * conform/data/fenv.h-data: Likewise.
6032         * conform/data/float.h-data: Likewise.
6033         * conform/data/fmtmsg.h-data: Likewise.
6034         * conform/data/ftw.h-data: Likewise.
6035         * conform/data/grp.h-data: Likewise.
6036         * conform/data/inttypes.h-data: Likewise.
6037         * conform/data/iso646.h-data: Likewise.
6038         * conform/data/langinfo.h-data: Likewise.
6039         * conform/data/libgen.h-data: Likewise.
6040         * conform/data/limits.h-data: Likewise.
6041         * conform/data/locale.h-data: Likewise.
6042         * conform/data/math.h-data: Likewise.
6043         * conform/data/mqueue.h-data: Likewise.
6044         * conform/data/ndbm.h-data: Likewise.
6045         * conform/data/net/if.h-data: Likewise.
6046         * conform/data/netdb.h-data: Likewise.
6047         * conform/data/netinet/in.h-data: Likewise.
6048         * conform/data/poll.h-data: Likewise.
6049         * conform/data/pthread.h-data: Likewise.
6050         * conform/data/pwd.h-data: Likewise.
6051         * conform/data/sched.h-data: Likewise.
6052         * conform/data/search.h-data: Likewise.
6053         * conform/data/semaphore.h-data: Likewise.
6054         * conform/data/signal.h-data: Likewise.
6055         * conform/data/spawn.h-data: Likewise.
6056         * conform/data/stdbool.h-data: Likewise.
6057         * conform/data/stdint.h-data: Likewise.
6058         * conform/data/stdio.h-data: Likewise.
6059         * conform/data/stdlib.h-data: Likewise.
6060         * conform/data/string.h-data: Likewise.
6061         * conform/data/strings.h-data: Likewise.
6062         * conform/data/stropts.h-data: Likewise.
6063         * conform/data/sys/mman.h-data: Likewise.
6064         * conform/data/sys/resource.h-data: Likewise.
6065         * conform/data/sys/select.h-data: Likewise.
6066         * conform/data/sys/socket.h-data: Likewise.
6067         * conform/data/sys/stat.h-data: Likewise.
6068         * conform/data/sys/statvfs.h-data: Likewise.
6069         * conform/data/sys/time.h-data: Likewise.
6070         * conform/data/sys/timeb.h-data: Likewise.
6071         * conform/data/sys/types.h-data: Likewise.
6072         * conform/data/sys/uio.h-data: Likewise.
6073         * conform/data/sys/un.h-data: Likewise.
6074         * conform/data/sys/wait.h-data: Likewise.
6075         * conform/data/syslog.h-data: Likewise.
6076         * conform/data/termios.h-data: Likewise.
6077         * conform/data/tgmath.h-data: Likewise.
6078         * conform/data/time.h-data: Likewise.
6079         * conform/data/ucontext.h-data: Likewise.
6080         * conform/data/unistd.h-data: Likewise.
6081         * conform/data/utmpx.h-data: Likewise.
6082         * conform/data/varargs.h-data: Likewise.
6083         * conform/data/wchar.h-data: Likewise.
6084         * conform/data/wctype.h-data: Likewise.
6086 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
6088         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
6089         version to 7 branch.
6091 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
6093         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
6094         earlyclobber to output operand of sqrt insn.
6095         (__ieee754_sqrtf): Ditto.
6097 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
6099         [BZ #21426]
6100         * misc/bits/types/struct_iovec.h: New file.
6101         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
6102         * include/bits/types/struct_iovec.h: New file.
6103         * bits/uio.h (struct iovec): Replace by inclusion of
6104         <bits/types/struct_iovec.h>.
6105         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
6106         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
6107         of <sys/uio.h>.
6108         * nptl/tst-cancel4.c: Include <sys/uio.h>
6109         * posix/test-errno.c: Likewise.
6110         * support/resolv_test.c: Likewise.
6111         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
6112         Remove.
6113         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6114         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6115         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6117         * conform/data/sys/socket.h-data (*_t): Allow.
6119 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6121         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
6122         assignment.
6124 2017-04-24  Daurnimator  <quae@daurnimator.com>
6125             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6127         [BZ #21340]
6128         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
6129         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
6130         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
6131         valid flags.
6132         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
6133         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
6134         POSIX_SPAWN_SETSID.
6135         * sysdeps/posix/spawni.c (__spawni): Likewise.
6136         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6137         * NEWS: Add note about POSIX_SPAWN_SETSID support.
6139 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6141         * sysdeps/generic/math_private.h: Move the declaration of many
6142         functions to sysdeps/generic/math_private_calls.h.
6143         * sysdeps/generic/math_private_calls.h: New file with the
6144         declarations of the functions removed from math_private.h
6145         macroized by floating-point type.
6147 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6149         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
6150         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
6151         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6152         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6153         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6154         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6156 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6158         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
6159         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
6160         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
6161         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
6162         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
6163         New Define.
6165 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6167         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
6168         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
6169         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6170         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6171         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6172         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6174 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6176         * sysdeps/s390/multiarch/ifunc-resolve.h
6177         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
6178         * sysdeps/s390/multiarch/8bit-generic.c
6179         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
6180         define ifunc resolvers.
6182 2017-04-21  Florian Weimer  <fweimer@redhat.com>
6184         [BZ #20424]
6185         * manual/memory.texi (Replacing malloc): New section.
6186         (Allocating Storage For Program Data): Reference it.
6187         (The GNU Allocator): Likewise.
6189 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
6191         * stdlib/Versions (__strtod_internal): List explicitly, not as
6192         wildcard.
6193         (__strtof_internal): Likewise.
6194         (__strtold_internal): Likewise.
6195         (__strtol_internal): Likewise.
6196         (__strtoll_internal): Likewise.
6197         (__strtoul_internal): Likewise.
6198         (__strtoull_internal): Likewise.
6199         (__strtoq_internal): Likewise.
6200         (__strtouq_internal): Likewise.
6201         * wcsmbs/Versions (__wcstod_internal): Likewise.
6202         (__wcstof_internal): Likewise.
6203         (__wcstold_internal): Likewise.
6204         (__wcstol_internal): Likewise.
6205         (__wcstoll_internal): Likewise.
6206         (__wcstoul_internal): Likewise.
6207         (__wcstoull_internal): Likewise.
6209 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6211         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
6212         struct timespec definition.
6214 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6216         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
6218 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6220         * inet/rcmd.c (rresvport_af): Fix typo in comment.
6221         * inet/rexec.c (rexec_af): Likewise.
6223 2017-04-19  Zack Weinberg  <zackw@panix.com>
6225         * posix/tst-mmap-offset.c: Include stdint.h.
6226         * resolv/tst-ns_name_compress.c: Include string.h.
6227         * resolv/tst-resolv-edns.c: Include resolv.h.
6229 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6231         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
6232         with __glibc_likely.
6233         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
6234         Replace __builtin_expect with __glibc_unlikely.
6235         * resolv/res_init.c (__res_vinit): Likewise.
6236         * resolv/res_query.c (__libc_res_nquery): Likewise.
6237         * resolv/res_send.c (__libc_res_nsend): Likewise.
6239 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6241         [BZ #15722]
6242         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
6243         with SOCK_CLOEXEC.
6244         * resolv/res_send.c (send_vc, reopen): Likewise.
6245         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
6246         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
6247         Likewise.
6248         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
6249         * inet/rexec.c (rexec_af): Add comment.
6250         * inet/rcmd.c (rresvport_af): Likewise.
6252 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6254         * nscd/connections.c (have_accept4): Removed definition.
6255         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
6256         accept4 works.
6257         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
6258         ia64 because that was the first version with accept4 support.
6259         * support/Makefile (libsupport-routines): Add xaccept4.
6260         * support/xsocket.h (xaccept4): Declare.
6261         * support/xaccept4.c: New file.
6262         * socket/tst-accept4.c: New file.
6263         * socket/Makefile (tests): Add tst-accept4.
6264         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
6265         definition.
6266         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
6267         comment.
6268         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
6269         implementation is available.
6270         (accept4): Use the system call if available, otherwise use the
6271         socket call.
6272         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
6273         Set to 3.2.18.
6274         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6275         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
6276         accept4 is unconditionally available in later 3.2 stable kernels.
6277         (__ASSUME_ACCEPT4_SYSCALL): Define.
6278         * sysdeps/unix/sysv/linux/kernel-features.h
6279         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
6280         definitions.
6281         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6282         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
6284 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
6286         * conform/Makefile (tests-special): Do not make addition of
6287         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
6288         (generated): Do not make addition of $(conformtest-header-base)
6289         conditional on [$(cross-compiling) = no].
6291         [BZ #21267]
6292         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
6293         if defined by <asm/socket.h> and not previously defined.
6294         (IOCSIZE_SHIFT): Likewise.
6295         (IOC_IN): Likewise.
6296         (IOC_INOUT): Likewise.
6297         (IOC_OUT): Likewise.
6299 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
6301         [BZ #21396]
6302         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6303         Prefer_No_AVX512 if AVX512ER isn't available.
6304         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
6305         (index_arch_Prefer_No_AVX512): Likewise.
6306         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
6307         AVX512 version if Prefer_No_AVX512 is set.
6308         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
6309         Likewise.
6310         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
6311         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
6312         Likewise.
6313         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6314         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
6315         Likewise.
6316         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
6317         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
6318         Likewise.
6320 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
6322         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6323         Prefer_No_VZEROUPPER if AVX512ER is available.
6324         * sysdeps/x86/cpu-features.h
6325         (bit_cpu_AVX512PF): New.
6326         (bit_cpu_AVX512ER): Likewise.
6327         (bit_cpu_AVX512CD): Likewise.
6328         (bit_cpu_AVX512BW): Likewise.
6329         (bit_cpu_AVX512VL): Likewise.
6330         (index_cpu_AVX512PF): Likewise.
6331         (index_cpu_AVX512ER): Likewise.
6332         (index_cpu_AVX512CD): Likewise.
6333         (index_cpu_AVX512BW): Likewise.
6334         (index_cpu_AVX512VL): Likewise.
6335         (reg_AVX512PF): Likewise.
6336         (reg_AVX512ER): Likewise.
6337         (reg_AVX512CD): Likewise.
6338         (reg_AVX512BW): Likewise.
6339         (reg_AVX512VL): Likewise.
6341 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6343         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
6344         O_CLOEXEC is defined.
6345         * include/fcntl.h (__have_o_cloexec): Remove declaration.
6346         * io/Makefile (aux): Remove.
6347         * io/have_o_cloexec.c: Remove file.
6348         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
6349         defined and works.
6350         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
6351         defined.
6352         * login/utmp_file.c (O_flags): Remove definition.
6353         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
6354         O_CLOEXEC works.
6355         (pututline_file): Likewise.
6356         * malloc/mtrace.c: Assume that O_CLOEXEC works.
6357         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
6358         definition.
6359         (internal_setgrent): Assume that O_CLOEXEC works.
6360         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
6361         Remove definition.
6362         (internal_setgrent): Assume that O_CLOEXEC works.
6363         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
6364         definition.
6365         (internal_setpwent): Assume that O_CLOEXEC works.
6366         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
6367         definition.
6368         (internal_setspent): Assume that O_CLOEXEC works.
6369         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
6370         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
6371         O_CLOEXEC is defined and works.
6372         * nss/Makefile (libnss_files-routines): Remove
6373         files-have_o_cloexec.
6374         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
6375         defined.
6376         * nss/nss_files/files-XXX.c (internal_setent): Assume that
6377         O_CLOEXEC is defined and works.
6378         * nss/nss_files/files-alias.c (internal_setent): Likewise.
6379         * nss/nss_files/files-have_o_cloexec.c: Remove.
6380         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
6381         defined.
6382         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
6383         and works.
6384         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
6385         definition.
6386         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
6387         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
6388         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
6389         (__opendirat, __opendir): Adjust opendir_oflags call.
6390         (check_have_o_cloexec): Remove.
6391         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
6392         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
6393         defined.
6394         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
6395         Remove definition.
6397 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6399         * include/unistd.h (__have_dup3): Remove declaration.
6400         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
6401         dup3 is available.
6402         * libio/freopen64.c (freopen64): Likewise.
6403         * socket/Makefile (aux): Remove have_sock_cloexec.
6404         * socket/have_sock_cloexec.c: Remove file.
6405         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
6406         definition.
6407         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
6408         Likewise.
6409         * sysdeps/nacl/kernel-features.h: Update comment.
6411 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6413         * include/unistd.h (__have_pipe2): Remove declaration.
6414         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
6415         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
6416         available.
6417         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
6418         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
6419         Remove definition.
6421 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6423         * malloc/malloc.c (cfree): Turn into compat symbol.
6424         (__cfree): Remove alias.
6425         * stdlib/stdlib.h (cfree): Remove declaration.
6426         * malloc/malloc.h (cfree): Likewise.
6427         * manual/memory.texi (Freeing after Malloc): Remove cfree.
6428         * malloc/Versions (GLIBC_2.26): Add.
6430 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6432         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6433         (sysdep_routines): Add strrchr-power8.
6434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6435         (strrchr): Add __strrchr_power8 to list of strrchr functions.
6436         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
6437         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
6438         (strrchr): Add __strrchr_power8 to ifunc list.
6439         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
6441 2017-04-17  Rabin Vincent  <rabinv@axis.com>
6443         [BZ #21357]
6444         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
6445         Call free() outside of mutex.
6447 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6449         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
6450         is defined.
6451         * elf/rtld.c (process_envvars): Likewise.
6452         * sysdeps/posix/shm_open.c (shm_open): Likewise.
6453         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
6454         O_NOFOLLOW directly.
6455         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
6457 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6459         [BZ #21369]
6460         Remove EDNS fallback.
6461         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
6462         handling.
6463         * resolv/res_send.c (send_dg): Likewise.
6464         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
6465         "tcp." prefixes.
6466         (do_test): Send a "formerr."-prefixed query in an attempt to
6467         trigger EDNS fallback.
6469 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6471         [BZ #21361]
6472         Limit EDNS buffer size to 1200 bytes.
6473         * include/resolv.h (__res_nopt): Remove declaration.
6474         * resolv/Makefile (tests): tst-resolv-edns.
6475         (tst-resolv-edns): Link with -lresolv, -lpthread.
6476         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
6477         interval [512, 1200].
6478         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
6479         we can resize the buffer.
6480         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
6481         (__res_nopt): Declare.
6482         * resolv/tst-resolv-edns.c: New file.
6483         * resolv/resolv_test.h (struct resolv_edns_info): Define.
6484         (struct resolv_response_context): Add edns member.
6485         * resolv/resolv_test.c (struct query_info): Add edns member.
6486         (parse_query): Extract EDNS information from the query.
6487         (server_thread_udp_process_one): Propagate EDNS data.
6488         (server_thread_tcp_client): Likewise.
6490 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6492         [BZ #21359]
6493         * resolv/ns_name.c (ns_name_pack): Do not require an additional
6494         byte in the destination buffer.  Avoid out-of-bounds pointer
6495         arithmetic.
6496         * resolv/Makefile (tests): Add tst-ns_name_compress.
6497         (tst-ns_name_compress): Link with -lresolv.
6498         * resolv/tst-ns_name_compress.c: New file.
6499         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
6500         (response): Recognize LONG_NAME.
6501         (do_test): Add LONG_NAME tests.
6502         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
6503         for ns_name_unpack.  Add tests for ns_name_pton and
6504         ns_name_compress.
6506 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6508         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
6509         (res_nisourserver): Remove definition.
6510         (p_section, res_npquery, res_nisourserver): Remove declaration.
6511         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
6512         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
6513         ... here.
6514         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
6515         <resolv.h>.
6516         * resolv/res_query.c: Likewise.
6517         * resolv/res_debug.c (p_section): Define as static.
6519 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6521         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
6522         strncat-power8.
6523         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
6524         __strncat_power8 to ifunc list.
6525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6526         (strncat): Add __strncat_power8 to list of strncat functions.
6527         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
6529 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6531         [BZ #21270]
6532         * posix/tst-mmap-offset.c (do_prepare): New function.
6533         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
6534         (do_test_bz21270): New function.
6535         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
6536         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
6537         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
6538         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
6539         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
6540         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
6541         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
6542         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
6543         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
6544         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
6545         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
6546         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6547         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6548         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6549         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
6550         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
6551         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6552         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
6553         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
6554         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
6555         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
6556         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
6557         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
6558         from auto-generation list.
6559         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
6560         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6561         * sysdeps/unix/sysv/linux/mmap.c: New file.
6562         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
6563         offsets and support for mmap2 syscall.
6565         * posix/globtest.sh: Add cleanup routine on trap 0.
6567 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6569         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
6570         implementation-specific function name and remove unneeded
6571         macros definition.
6572         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
6573         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
6574         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
6575         name if not defined and pass as parameter to macros accordingly.
6576         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6577         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
6579         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
6580         implementation-specific function name and remove unneeded
6581         macros definition.
6582         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
6583         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
6584         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
6585         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
6586         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6587         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
6588         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
6589         name if not defined and pass as parameter to macros accordingly.
6590         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6591         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6592         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6593         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6594         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6595         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
6597         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
6598         implementation-specific function name and remove unneeded macros
6599         definition.
6600         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
6601         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
6602         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
6603         function name if not defined and pass as parameter to macros
6604         accordingly.
6605         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6606         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
6608         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
6609         implementation-specific function name and remove unneeded macros
6610         definition.
6611         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6612         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6613         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
6614         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6615         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
6616         not defined and pass as parameter to macros accordingly.
6617         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6618         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6619         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6620         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
6622         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
6623         strcasestr implementation name and remove unneeded macros definition.
6624         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
6625         strstr implementation name and remove unneeded macros definition.
6626         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
6627         name if not defined and pass as parameter to macros accordingly.
6628         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
6630         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
6631         implementation-specific function name and remove unneeded macros
6632         definition.
6633         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
6634         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
6635         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
6636         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
6637         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
6638         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
6639         function name if not defined and pass as parameter to macros
6640         accordingly.
6641         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
6642         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
6643         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
6644         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
6646         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
6647         the strlen implementation name and remove unneeded macros definition.
6648         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
6649         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6650         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
6651         the strnlen implementation name and remove unneeded macros definition.
6652         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
6653         name if not defined and pass as parameter to macros accordingly.
6654         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
6655         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
6656         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6658         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
6659         the implementation-specific function name and remove unneeded
6660         macros definition.
6661         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
6662         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
6663         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6664         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6665         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
6666         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
6667         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6668         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6669         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6670         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
6671         name if not defined and pass as parameter to macros accordingly.
6672         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
6673         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6674         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
6675         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
6676         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6677         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6678         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
6679         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6681         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
6682         implementation-specific function name and remove unneeded macros
6683         definition.
6684         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6685         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6686         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6687         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6688         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6689         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
6690         function name if not defined.
6691         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
6692         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
6694 2017-04-11  Paul Clarke  <pc@us.ibm.com>
6696         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
6697         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
6698         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
6699         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
6701 2017-04-11  Florian Weimer  <fweimer@redhat.com>
6702             Zack Weinberg  <zackw@panix.com>
6704         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
6705         readdir64 as thread-safe.  Update warning about readdir_r.
6707 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6709         * sysdeps/unix/sysv/linux/x86/Implies: New file.
6710         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
6711         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
6712         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
6713         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
6714         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
6715         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6717 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
6719         * sysdeps/i386/dl-procinfo.c: Include
6720         <sysdeps/x86/dl-procinfo.c>.
6721         * sysdeps/x86_64/dl-procinfo.c: Likewise.
6722         * sysdeps/x86/dl-procinfo.c: New file.
6724 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6726         * sysdeps/generic/math_private.h: Remove declarations of
6727         many functions that are already declared in math.h.
6728         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
6729         declaration for __frexpl.
6730         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
6731         the declarations for __scalbnl and fabsl.
6733 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
6735         [BZ #20831]
6736         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
6737         of __mprotect to change protection on the excess portion
6738         to disallow all access.
6740 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
6742         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
6743         HAS_CPU_FEATURE to check for SSE.
6744         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6745         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
6746         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
6747         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
6748         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
6749         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
6750         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
6751         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
6752         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6753         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
6754         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6755         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6756         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
6757         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
6758         (index_cpu_SSE): Likewise.
6759         (reg_SSE): Likewise.
6761 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
6763         * posix/getopt1.c: Include <config.h>, not "config.h".
6765 2017-04-07  Zack Weinberg  <zackw@panix.com>
6767         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
6768         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
6769         Mention in top-of-file boilerplate that these files are shared
6770         with gnulib.
6771         * posix/getopt.h, posix/bits/getopt_posix.h:
6772         Mention in top-of-file boilerplate that these files are NOT shared
6773         with gnulib, unlike the rest of the getopt implementation.
6775         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
6776         New files, intended to be shared with gnulib.
6777         * posix/bits/getopt_posix.h:
6778         New file, not intended to be shared with gnulib.
6779         * posix/getopt.h: Now just includes features.h,
6780         bits/getopt_core.h, and bits/getopt_ext.h.  Will
6781         no longer be shared with gnulib.
6782         * include/bits/getopt_core.h, include/bits/getopt_ext.h
6783         * include/bits/getopt_posix.h: New wrappers.
6784         * posix/Makefile: Install new headers.
6785         * posix/unistd.h, libio/stdio.h:
6786         Include bits/getopt_posix.h instead of getopt.h.
6788         * include/libc-symbols.h: For gnulib compatibility, define
6789         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
6790         _GL_ATTRIBUTE_CONST.
6791         * posix/getopt.c (_getopt_initialize): Mark argc and argv
6792         parameters with _GL_UNUSED.
6794         * posix/getopt.c: When used standalone, define __libc_use_alloca
6795         as always false and alloca to abort if called.
6796         (process_long_option): Rewrite handling of ambiguous long options
6797         to use a single boolean vector, not a linked list; use
6798         __libc_use_alloca to decide whether to allocate this using alloca.
6799         * posix/tst-getopt_long1.c: Adjust text of expected error message.
6801         * posix/getopt.c (process_long_option): New function split out
6802         from _getopt_internal_r.
6803         (_getopt_internal_r): Replace both copies of the long-option
6804         processing code with calls to process_long_option.
6805         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
6806         (do_test): Differentiate argv[0] in the two subtests.
6808         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
6809         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
6810         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
6812         * posix/getopt.h: Add backup definition of __nonnull for
6813         consistency with gnulib.  Define __getopt_argv_const to const
6814         if not already defined.
6815         (getopt): Update doc comment from gnulib.  Prototype
6816         unconditionally.  Add __nonnull annotation.
6817         (__posix_getopt): Add __nonnull annotation.
6818         (getopt_long, getopt_long_only): Use __getopt_argv_const in
6819         prototypes for consistency with gnulib.  Add __nonnull
6820         annotations.
6821         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
6822         (getopt_internal): Change 'argv' argument to type 'char **'.
6823         Remove now-unnecessary casts.
6824         (getopt, __posix_getopt): Eliminate repetition with a macro.
6825         Cast 'argv' to 'char **' when calling _getopt_internal.
6826         * posix/getopt1.c (getopt_long, getopt_long_only):
6827         Use __getopt_argv_const for consistency with gnulib.
6828         Cast 'argv' to 'char **' when calling _getopt_internal.
6829         (_getopt_long_r, _getopt_long_only_r):
6830         Change 'argv' argument to type 'char **'.
6831         (main): Constify 'long_options'.
6832         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
6833         (_getopt_long_r, _getopt_long_only_r):
6834         Change 'argv' argument to type 'char **'.
6836         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
6837         (locked_vfxprintf): New helper function. Handle arbitrary
6838         multibyte strings, not just ASCII.
6839         * include/stdio.h: Declare __fxprintf_nocancel.
6840         * posix/getopt.c: When _LIBC is defined, define fprintf to
6841         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
6842         to _IO_funlockfile.  When neither _LIBC nor
6843         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
6844         funlockfile as no-ops.
6845         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
6846         the standalone error-printing code can now be used for libc as
6847         well.  Add an flockfile/funlockfile pair around one case where
6848         the error message is printed in several chunks.  Don't use fputc.
6849         * posix/tst-getopt-cancel.c: New test.
6850         * posix/Makefile: Run it.
6852         * posix/getopt.c (_getopt_internal_r): Don't increment
6853         d->optind a second time when reporting ambiguous -W options.
6855         * posix/getopt_int.h: Include getopt.h.
6856         Use impl-namespace names for all arguments to _getopt_internal and
6857         _getopt_internal_r.
6858         Declare __ordering enum outside the struct.
6859         Harmonize comments with gnulib.
6860         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
6861         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
6862         #ifdef TEST block and make unconditional.  Do not define NULL.
6863         * posix/getopt.c: Partial merge from gnulib, covering the
6864         initial includes and global declarations, commentary, and
6865         a couple of semantically-neutral code changes.
6867         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
6868         Use '...' instead of `...' for quotation marks inside
6869         comments and strings.
6871         * config.h.in (USE_NONOPTION_FLAGS): Remove.
6872         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
6873         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
6874         * posix/getopt_int.h: Likewise.
6875         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
6876         __libc_argc and __libc_argv externs, which were only used by
6877         #ifdef USE_NONOPTION_FLAGS blocks.
6878         * posix/getopt_init.c: Remove file.
6879         * posix/Makefile (routines): Remove getopt_init.
6880         * include/getopt.h: Don't declare __getopt_initialize_environment.
6881         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
6882         a comment.
6884 2017-04-07  Florian Weimer  <fweimer@redhat.com>
6886         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
6888 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6890         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
6891         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
6892         to __wrap_.udiv.
6893         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
6894         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
6896         * sysdeps/i386/symbol-hacks.h: New file.
6897         * sysdeps/m68k/symbol-hacks.h: New file.
6898         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
6899         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
6900         * sysdeps/unix/sysv/linux/i386/Makefile
6901         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
6902         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6903         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6904         * sysdeps/unix/sysv/linux/m68k/Makefile
6905         [$(subdir) = csu] (sysdep_routines): Likewise.
6906         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6907         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6909         [$(subdir) = csu] (sysdep_routines): Likewise.
6910         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6911         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6912         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6913         [$(subdir) = csu] (sysdep_routines): Likewise.
6914         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6915         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6916         * sysdeps/wordsize-32/Makefile: Remove file.
6917         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
6918         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
6920 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
6922         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
6923         (TEST_FUNCTION_ARGV): New.
6925 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6927         * elf/next.c: Import support/test-driver.c instead of
6928         test-skeleton.c and delete TEST_FUNCTION macro definition.
6929         * elf/nodelete.c: Likewise.
6930         * elf/order2.c: Likewise.
6931         * elf/tst-_dl_addr_inside_object.c: Likewise.
6932         * elf/tst-addr1.c: Likewise.
6933         * elf/tst-align.c: Likewise.
6934         * elf/tst-align2.c: Likewise.
6935         * elf/tst-audit11.c: Likewise.
6936         * elf/tst-audit12.c: Likewise.
6937         * elf/tst-audit2.c: Likewise.
6938         * elf/tst-audit9.c: Likewise.
6939         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
6940         * elf/tst-deep1.c: Likewise.
6941         * elf/tst-dl-iter-static.c: Likewise.
6942         * elf/tst-dlmodcount.c: Likewise.
6943         * elf/tst-dlmopen1.c: Likewise.
6944         * elf/tst-dlmopen2.c: Likewise.
6945         * elf/tst-dlmopen3.c: Likewise.
6946         * elf/tst-dlopen-aout.c: Likewise.
6947         * elf/tst-dlopenrpath.c: Likewise.
6948         * elf/tst-dlsym-error.c: Likewise.
6949         * elf/tst-execstack-needed.c: Likewise.
6950         * elf/tst-execstack-prog.c: Likewise.
6951         * elf/tst-execstack.c: Likewise.
6952         * elf/tst-global1.c: Likewise.
6953         * elf/tst-gnu2-tls1.c: Likewise.
6954         * elf/tst-latepthread.c: Likewise.
6955         * elf/tst-leaks1.c: Likewise.
6956         * elf/tst-linkall-static.c: Likewise.
6957         (do_test): New function.
6958         * elf/tst-nodelete-opened.c: Likewise.
6959         * elf/tst-nodelete.cc: Likewise.
6960         * elf/tst-nodelete2.c: Likewise.
6961         * elf/tst-noload.c: Likewise.
6962         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
6963         * elf/tst-order-main.c: Likewise.
6964         * elf/tst-pathopt.c: Likewise.
6965         * elf/tst-pie2.c: Likewise.
6966         * elf/tst-piemod1.c: Likewise.
6967         * elf/tst-prelink.c: Likewise.
6968         * elf/tst-protected1a.c: Likewise.
6969         * elf/tst-protected1b.c: Likewise.
6970         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
6971         and define _GNU_SOURCE macro.
6972         (cmdline_process_function): New function.
6973         * elf/tst-relsort1.c: Likewise.
6974         * elf/tst-stackguard1.c: Likewise, import getopt.h,
6975         and define _GNU_SOURCE macro.
6976         (cmdline_process_function): New function.
6977         * elf/tst-thrlock.c: Likewise.
6978         * elf/tst-tls-dlinfo.c: Likewise.
6979         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
6980         * elf/tst-tls1.c: Likewise.
6981         * elf/tst-tls10.c: Likewise.
6982         * elf/tst-tls11.c: Likewise.
6983         * elf/tst-tls12.c: Likewise.
6984         * elf/tst-tls13.c: Likewise.
6985         * elf/tst-tls14.c: Likewise.
6986         * elf/tst-tls15.c: Likewise.
6987         * elf/tst-tls16.c: Likewise.
6988         * elf/tst-tls17.c: Likewise.
6989         * elf/tst-tls18.c: Likewise.
6990         * elf/tst-tls19.c: Likewise.
6991         * elf/tst-tls2.c: Likewise.
6992         * elf/tst-tls3.c: Likewise.
6993         * elf/tst-tls4.c: Likewise.
6994         * elf/tst-tls5.c: Likewise.
6995         * elf/tst-tls6.c: Likewise.
6996         * elf/tst-tls7.c: Likewise.
6997         * elf/tst-tls8.c: Likewise.
6998         * elf/tst-tls9.c: Likewise.
6999         * elf/tst-tlsalign-extern.c: Likewise.
7000         * elf/tst-tlsalign.c: Likewise.
7001         * elf/tst-unique1.c: Likewise.
7002         * elf/tst-unique2.c: Likewise.
7003         * elf/vismain.c: Likewise.
7005 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7007         * string/test-strnlen.c (do_page_tests): New function
7008         to check length of strings ending at the page boundary.
7009         (test_main): Added call to the do_page_tests function.
7011 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7012             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7014         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7015         (sysdep_routines): Add strnlen-power8.
7016         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7017         (strnlen): Add __strnlen_power8 to list of strnlen functions.
7018         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
7019         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
7020         (__strnlen): Add __strnlen_power8 to ifunc list.
7021         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
7023 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7025         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
7026         the TEST_FUNCTION macro definition.
7027         * wcsmbs/tst-mbrtowc2.c: Likewise.
7028         * wcsmbs/tst-mbsrtowcs.c: Likewise.
7029         * wcsmbs/tst-wchar-h.c: Likewise.
7030         * wcsmbs/tst-wcpncpy.c: Likewise.
7031         * wcsmbs/tst-wcrtomb.c: Likewise.
7032         * wcsmbs/tst-wcsnlen.c: Likewise.
7033         * wcsmbs/tst-wcstof.c: Likewise.
7035 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7037         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
7038         CALL_THREAD_FCT macro usage.
7039         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
7040         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
7041         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
7043         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
7044         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7045         (__ASSUME_REQUEUE_PI): Likewise.
7046         * sysdeps/unix/sysv/linux/kernel-features.h
7047         (__ASSUME_REQUEUE_PI): Likewise.
7048         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7049         (__ASSUME_REQUEUE_PI): Likewise.
7050         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7051         (__ASSUME_REQUEUE_PI): Likewise.
7052         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7053         (__ASSUME_REQUEUE_PI): Likewise.
7055 2017-04-04  Florian Weimer  <fweimer@redhat.com>
7057         * resolv/tst-resolv-canonname.c: New file.
7058         * resolv/Makefile (tests): Add tst-resolv-canonname.
7059         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
7061 2017-04-04  Florian Weimer  <fweimer@redhat.com>
7063         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
7064         Declare.
7065         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
7066         (NS_MAXCDNAME): Remove definition.
7067         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
7068         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
7069         (NS_MAXCDNAME): Remove definition.
7070         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
7072 2017-04-04  Florian Weimer  <fweimer@redhat.com>
7074         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
7075         call whose result is not used.
7077 2017-04-04  Florian Weimer  <fweimer@redhat.com>
7079         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
7080         * resolv/Makefile (tests): Add tst-ns_name.
7081         (tst-ns_name): Link with -lresolv.
7082         (tst-ns_name.out): Depend on the input data file.
7084 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
7086         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
7087         Clobber also r14.
7089 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
7091         [BZ #21253]
7092         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
7093         slack space by 32KiB.
7095 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
7097         [BZ #21338]
7098         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
7099         instead of incorrect do_set_arena_test
7101 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7103         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
7104         * math/bits/math-finite.h: Likewise.
7106 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
7108         [BZ #21289]
7109         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
7111 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7113         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
7114         non expected inotify_add_watch and quotactl return.
7116 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7118         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
7119         to int32_t.
7120         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
7121         as returning int32_t.
7123 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7125         * math/math.h: Include bits/math-finite.h once per
7126         floating-point type.
7127         * math/bits/math-finite.h: Macroize all declarations by
7128         floating-point type.
7130 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7132         [BZ #21182]
7133         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
7134         near end of a page.
7135         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
7136         overflow calculation.
7138 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
7140         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
7141         (IMPL) Call with 1 instead of 0 as argument.
7143 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7145         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7146         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7147         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7148         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7149         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7150         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7151         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7152         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7153         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7154         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7155         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7156         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7157         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7158         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7159         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7160         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7161         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7162         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7163         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7164         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7165         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7166         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7167         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7168         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7169         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7170         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7171         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7172         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7173         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7174         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7175         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7176         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7177         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7178         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7179         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7180         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7181         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7182         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7183         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7184         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7185         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7186         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7187         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7188         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7189         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7190         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7191         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7192         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7193         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7194         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7195         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7196         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7197         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7198         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7199         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7200         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7201         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7202         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7203         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7204         defined.
7205         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7206         __NR_setgroups32 if defined.
7207         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7208         if defined.
7209         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7210         __NR_setresgid32 is defined.
7211         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7212         __NR_setresuid32 if defined.
7213         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7214         __NR_setreuid32 if defined.
7215         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7216         defined.
7217         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7218         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7219         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7220         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7221         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7222         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7223         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7224         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7225         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7226         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7227         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7228         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7229         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7230         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7231         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7232         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7233         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7234         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7235         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7236         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7237         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7238         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7239         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7240         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7241         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7242         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7243         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7244         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7245         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7246         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7247         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7248         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7249         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7250         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7251         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7252         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7253         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7254         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7255         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7256         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7257         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7258         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7259         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7260         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7261         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7262         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7263         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7264         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7265         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7266         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7267         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7268         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7269         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7270         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7271         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7272         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7273         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7274         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7275         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7276         defined.
7277         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7278         __NR_setgroups32 if defined.
7279         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7280         if defined.
7281         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7282         __NR_setresgid32 is defined.
7283         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7284         __NR_setresuid32 if defined.
7285         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7286         __NR_setreuid32 if defined.
7287         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7288         defined.
7290 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
7292         [BZ #21277]
7293         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
7294         unconditionally.
7295         (IMAXBEL): Likewise.
7296         (IUTF8): Likewise.
7298 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7300         * sysdeps/aarch64/libm-test-ulps: Update.
7302 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
7304         * README.tunables: Updated descriptions.
7305         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
7306         * scripts/gen-tunables.awk: Updated the code related to the
7307         commit.
7309 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
7311         * benchtests/Makefile (string-benchset): Add memcpy-random.
7312         * benchtests/bench-memcpy-random.c: New file.
7314 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7316         * stdio-common/printf.h (register_printf_modifier): Change the
7317         order of __wur and __THROW.
7318         (register_printf_type): Likewise.
7320 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7322         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
7323         test_main ().
7324         (CMDLINE_PROCESS): Use function instead of defined macro.
7325         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
7326         <suppport/support.h> to use set_fortify_handler().
7327         * string/bug-envz1.c: Import support/test-driver.c instead of
7328         test-skeleton.c.
7329         * string/bug-strcoll2.c: Likewise.
7330         * string/bug-strtok1.c: Likewise.
7331         * string/stratcliff.c: Likewise.
7332         * string/test-ffs.c: Likewise.
7333         * string/test-memccpy.c: Likewise.
7334         * string/test-memchr.c: Likewise.
7335         * string/test-memcmp.c: Likewise.
7336         * string/test-memcpy.c: Likewise.
7337         * string/test-memmem.c: Likewise.
7338         * string/test-memmove.c: Likewise.
7339         * string/test-memrchr.c: Likewise.
7340         * string/test-memset.c: Likewise.
7341         * string/test-rawmemchr.c: Likewise.
7342         * string/test-strcasecmp.c: Likewise.
7343         * string/test-strcasestr.c: Likewise.
7344         * string/test-strcat.c: Likewise.
7345         * string/test-strchr.c: Likewise.
7346         * string/test-strcmp.c: Likewise.
7347         * string/test-strcpy.c: Likewise.
7348         * string/test-string.h: Likewise.
7349         * string/test-strlen.c: Likewise.
7350         * string/test-strncasecmp.c: Likewise.
7351         * string/test-strncat.c: Likewise.
7352         * string/test-strncmp.c: Likewise.
7353         * string/test-strncpy.c: Likewise.
7354         * string/test-strnlen.c: Likewise.
7355         * string/test-strpbrk.c: Likewise.
7356         * string/test-strrchr.c: Likewise.
7357         * string/test-strspn.c: Likewise.
7358         * string/test-strstr.c: Likewise.
7359         * string/tst-bswap.c: Likewise.
7360         * string/tst-cmp.c: Likewise.
7361         * string/tst-endian.c: Likewise.
7362         * string/tst-inlcall.c: Likewise.
7363         * string/tst-strcoll-overflow.c: Likewise.
7364         * string/tst-strfry.c: Likewise.
7365         * string/tst-strlen.c: Likewise.
7366         * string/tst-strtok.c: Likewise.
7367         * string/tst-strtok_r.c: Likewise.
7368         * string/tst-strxfrm.c: Likewise.
7369         * string/tst-strxfrm2.c: Likewise.
7370         * string/tst-svc.c: Likewise.
7371         * string/tst-svc2.c: Likewise.
7373 2017-03-22  Zack Weinberg  <zackw@panix.com>
7375         * stdio-common/bug25.c: Include stdlib.h.
7376         * support/tst-support_format_dns_packet.c: Include stdio.h,
7377         stdlib.h, and string.h.
7378         * support/tst-support_record_failure.c: Include string.h.
7379         * support/tst-support_record_failure-2.sh: Adjust line number
7380         expectations and correct a typo in an error message.
7382 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7384         [BZ #21258]
7385         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
7386         Define only if _dl_runtime_resolve is defined to
7387         _dl_runtime_resolve_sse_vex.
7388         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
7389         Fallthrough to _dl_runtime_resolve_sse_vex.
7391 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
7393         * INSTALL: Regenerated.
7395 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
7397         * config.h.in: Add LINK_OBSOLETE_NSL.
7398         * config.make.in: Add build-obsolete-nsl.
7399         * configure.ac: Add obsolete-nsl option.
7400         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
7401         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
7402         * include/rpcsvc/nislib.h: Likewise.
7403         * include/rpcsvc/ypclnt.h: Likewise.
7404         * manual/install.texi: Document --enable-obsolete-nsl.
7405         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
7406         * nis/nis_add.c: Replace libnsl_hidden_def with
7407         libnsl_hidden_nolink_def.
7408         * nis/nis_addmember.c: Likewise.
7409         * nis/nis_call.c: Likewise.
7410         * nis/nis_clone_obj.c: Likewise.
7411         * nis/nis_defaults.c: Likeise.
7412         * nis/nis_domain_of_r.c: Likewise.
7413         * nis/nis_error.c: Likewise.
7414         * nis/nis_file.c: Likewise.
7415         * nis/nis_free.c: Likewise.
7416         * nis_local_names.c: Likewise.
7417         * nis/nis_lookup.c: Likewise.
7418         * nis/nis_modify.c: Likewise.
7419         * nis/nis_print.c: Likewise.
7420         * nis/nis_remove.c: Likewise.
7421         * nis/nis_table.c: Likewise.
7422         * nis/nis_util.c: Likewise.
7423         * nis/nis_xdr.c: Likewise.
7424         * nis/yp_xdr.c: Likewise.
7425         * nis/ypclnt.c: Likewise.
7426         * nis/ypupdate_xdr.c: Likewise.
7427         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
7428         * nis/nis_clone_dir.c: Likewise.
7429         * nis/nis_clone_res.c: Likewise.
7430         * nis/nis_creategroup.c: Likewise.
7431         * nis/nis_destroygroup.c: Likewise.
7432         * nis/nis_domain_of.c: Likewise.
7433         * nis/nis_getservlist.c: Likewise.
7434         * nis/nis_ismember.c: Likewise.
7435         * nis/nis_mkdir.c: Likewise.
7436         * nis/nis_ping.c: Likewise.
7437         * nis/nis_print_group_entry.c: Likewise.
7438         * nis/nis_removemember.c: Likewise.
7439         * nis/nis_rmdir.c: Likewise.
7440         * nis/nis_server.c: Likewise.
7441         * nis/nis_subr.c: Likewise.
7442         * nis/nis_verifygroup.c: Likewise.
7444 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
7446         * malloc/tst-interpose-aux.c (check_for_allocations):
7447         Move compiler barrier before free.
7449 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
7451         [BZ #21279]
7452         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7453         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7454         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
7455         x86_64-x32-linux.
7456         (mq_attr.mq_maxmsg): Likewise.
7457         (mq_attr.mq_msgsize): Likewise.
7458         (mq_attr.mq_curmsgs): Likewise.
7460         [BZ #21278]
7461         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
7462         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7463         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
7464         mips-o32-linux.
7466         [BZ #21268]
7467         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
7468         if [__USE_MISC]
7469         (NL3): Likewise.
7471 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
7473         [BZ #21275]
7474         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
7475         __stack to __stackbase.
7476         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
7477         checks so we can include defined(__ia64__) first.
7479 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
7481         * sysdeps/unix/sysv/linux/ttyname.h: New file.
7482         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
7483         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
7484         Call is_pty when the link does not exist or does not match, fail
7485         with ENODEV when it returns true.
7486         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
7487         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
7488         Call is_pty when the link does not exist or does not match, fail
7489         with ENODEV when it returns true.
7491 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
7493         [BZ #16437]
7494         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7495         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7496         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
7497         x86_64-x32-linux.
7498         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
7499         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
7500         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
7502         [BZ #21261]
7503         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
7504         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
7505         names for all fields.
7506         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
7507         for jmp_buf field renaming.
7508         (_JMPBUF_UNWINDS_ADJ): Likewise.
7510         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
7511         with allow-header.
7513 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
7515         * malloc/malloc.c (unlink): Add consistency check between size and
7516         next->prev->size, to further harden against 1-byte overflows.
7518 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
7520         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
7521         CPU_FEATURES_CPU_P.
7523 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
7525         [BZ #21259]
7526         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
7527         unconditionally, not just for [__USE_MISC].
7529         [BZ #17786]
7530         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
7531         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
7532         mips-o32-linux.
7534         [BZ #21260]
7535         * sysdeps/unix/sysv/linux/alpha/Makefile
7536         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7537         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
7539         * conform/conformtest.pl ($cross): New variable.
7540         (--cross): New command-line option.
7541         (runtest): Skip test execution when cross-compiling.
7542         * conform/Makefile (conformtest-cross): New variable.
7543         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
7544         conformtest.pl.
7546         * conform/conformtest.pl ($xfail_str): New variable.
7547         (--xfail=): New command-line option.
7548         (top level): Handle expectations starting xfail[cond]-.
7549         * conform/Makefile (conformtest-xfail): New variable.
7550         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
7551         conformtest.pl.
7553 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
7555         * conform/conformtest.pl: Use compilation instead of execution
7556         tests for testing values of constants and usability in #if.
7558 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7560         * math/auto-libm-test-in: Mark some catan and catanh as
7561         xfail-rounding:ibm128-libgcc.
7562         * math/auto-libm-test-out-catan: Regenerate.
7563         * math/auto-libm-test-out-catanh: Likewise.
7565 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
7567         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
7568         (__END_NAMESPACE_STD): Likewise.
7569         (__USING_NAMESPACE_STD): Likewise.
7570         (__BEGIN_NAMESPACE_C99): Likewise.
7571         (__END_NAMESPACE_C99): Likewise.
7572         (__USING_NAMESPACE_C99): Likewise.
7573         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
7574         undefine macro.
7575         (_Mdouble_END_NAMESPACE): Likewise.
7576         * ctype/ctype.h: Do not handle C++ namespaces.
7577         * libio/bits/stdio-ldbl.h: Likewise.
7578         * libio/stdio.h: Likewise.
7579         * locale/locale.h: Likewise.
7580         * math/bits/mathcalls.h: Likewise.
7581         * setjmp/setjmp.h: Likewise.
7582         * signal/signal.h: Likewise.
7583         * stdlib/bits/stdlib-float.h: Likewise.
7584         * stdlib/bits/stdlib-ldbl.h: Likewise.
7585         * stdlib/stdlib.h: Likewise.
7586         * string/string.h: Likewise.
7587         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
7588         * time/bits/types/clock_t.h: Likewise.
7589         * time/bits/types/struct_tm.h: Likewise.
7590         * time/bits/types/time_t.h: Likewise.
7591         * time/time.h: Likewise.
7592         * wcsmbs/bits/wchar-ldbl.h: Likewise.
7593         * wcsmbs/uchar.h: Likewise.
7594         * wcsmbs/wchar.h: Likewise.
7595         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
7596         * wctype/wctype.h: Do not handle C++ namespaces.
7597         * scripts/begin-end-check.pl: Remove.
7598         * Makefile (installed-headers): Likewise.
7599         (tests-special): Do not add $(objpfx)begin-end-check.out.
7600         ($(objpfx)begin-end-check.out): Remove.
7602 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
7603             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7605         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
7606         (DL_PLATFORM_INIT): New define.
7607         (dl_platform_init): New function.
7608         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
7609         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
7610         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
7611         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
7612         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
7614 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
7616         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
7617         instead of PIC.
7619 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
7621         [BZ #21094]
7622         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7623         24+24+24-bit pi for wider range of values around pi/2.
7624         * math/auto-libm-test-in: Add more tests of cos and tan.
7625         * math/auto-libm-test-out-cos: Regenerated.
7626         * math/auto-libm-test-out-tan: Likewise.
7628 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
7630         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
7631         (RTLD_START): Don't record stack end address in _dl_start_user.
7633 2017-03-15  Alexey Neyman  <stilor@att.net>
7635         [BZ #21088]
7636         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
7637         around definitions match those around use.
7639 2017-03-15  Alexey Neyman  <stilor@att.net>
7641         * configure.ac: Avoid empty subexpression in grep.
7642         * configure: Regenerate.
7644 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7646         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
7647         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
7648         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
7649         (test_wrp_rv): Fix format.
7650         (test_wrp_rv2): New macro.
7651         (do_test): Handle mlock return on 64 bits kernels with 32 bits
7652         binaries.
7654 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
7656         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
7657         Use a union when storing pointers.
7658         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
7659         cast result when passing to INIT_VEC_PTRS_LOOP.
7660         (VECTOR_WRAPPER_fFF_3): Likewise.
7661         (VECTOR_WRAPPER_fFF_4): Likewise.
7663 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7665         * include/bits/mathcalls-helper-functions.h: New file.
7666         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
7667         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
7668         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
7669         math/bits/mathcalls-helper-functions.h.
7670         * math/bits/mathcalls-helper-functions.h: New file.
7671         * math/math.h: Include bits/mathcalls-helper-functions.h for
7672         float, double, and long double.
7674 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7676         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
7677         instead of feraiseexcept.
7679 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7681         [BZ #21243]
7682         * support/temp_file.c (support_delete_temp_files): Add comment
7683         about ignored errors.
7685 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7687         [BZ #21244]
7688         * support/xclose.c: New file.
7689         * support/Makefile (libsupport-routines): Add xclose.
7690         * support/xunistd.h (xclose): Declare.
7691         * support/resolv_test.c (server_thread_tcp_client)
7692         (server_thread_tcp, make_server_sockets, resolv_test_start)
7693         (resolv_test_end): Call xclose instead of close.
7694         * support/support_enter_network_namespace.c
7695         (support_enter_network_namespace): Likewise.
7696         * support/support_run_diff.c (write_to_temp_file): Likewise.
7698 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7700         * support/support_format_dns_packet.c (support_format_dns_packet):
7701         Handle CNAME records in the response.  Extract RDATA names from
7702         rdata, not the whole packet.  Check AAAA record length.
7703         * support/tst-support_format_dns_packet.c: New file.
7704         * support/Makefile (tests): Add tst-support_format_dns_packet.
7705         (tst-support_format_dns_packet): Link against libresolv.
7707 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7709         [BZ #21232]
7710         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
7711         posix_fadvise64 weak_alias for static build.
7713 2017-03-14  Andreas Schwab  <schwab@suse.de>
7715         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
7716         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
7717         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
7718         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
7719         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
7720         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
7721         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
7722         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
7724 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7726         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
7727         posix error code.
7728         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7730 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7732         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
7733         no_isolate usage for SH.
7735 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
7737         [BZ #15105]
7738         [BZ #19463]
7739         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
7740         * inet/rcmd.c (rcmd_af): Likewise.
7741         * inet/rexec.c   (rexec_af): Likewise.
7742         * intl/dcigettext.c (_LIBC): Likewise.
7743         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
7744         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
7745         * locale/setlocale.c (setlocale): Likewise.
7746         * posix/spawn_faction_addopen.c
7747         (posix_spawn_file_actions_addopen): Likewise.
7748         * stdlib/putenv.c (putenv): Use __strndup.
7749         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
7750         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
7751         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
7752         (__Need_M_And_C) Remove define/undef.
7753         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
7754         (__malloc_and_calloc_defined): Remove define.
7755         * string/bits/string2.h (__strdup): Remove define.
7756         (strdup): Likewise.
7757         (__strndup): Likewise.
7758         (strndup): Likewise.
7760 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
7762         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
7763         macro.
7764         (IPV6_ADDR_PREFERENCES): Likewise.
7765         (IPV6_MINHOPCOUNT): Likewise.
7766         (IPV6_ORIGDSTADDR): Likewise.
7767         (IPV6_RECVORIGDSTADDR): Likewise.
7768         (IPV6_TRANSPARENT): Likewise.
7769         (IPV6_UNICAST_IF): Likewise.
7770         (IPV6_RECVFRAGSIZE): Likewise.
7772 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
7774         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
7776 2017-03-12  Alexey Neyman <stilor@att.net>
7778         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
7779         in R_SH_DIR32 case is always false when inlined from
7780         dl-conflict.c. Ifdef out to prevent GCC from insertin an
7782 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
7784         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7785         (__ASSUME_RECV_SYSCALL): Replace duplicate by
7786         __ASSUME_SEND_SYSCALL.
7788 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
7790         * sunrpc/Makefile: don't build and install rpcsvc header
7791         files, rpcgen and librpcsvc.a by default.
7793 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
7795         * math/auto-libm-test-out-catan: Regenerated.
7796         * math/auto-libm-test-out-catanh: Likewise.
7797         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7799 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
7801         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
7802         for long double with corrected test expectations.
7804 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7806         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
7807         Define.
7808         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7809         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
7810         * sysdeps/unix/sysv/linux/nios2/sysdep.h
7811         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7812         * sysdeps/unix/sysv/linux/tile/sysdep.h
7813         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7814         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7815         (__ASSUME_RECV_SYSCALL): Define.
7816         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7817         (__ASSUME_RECV_SYSCALL): Likewise.
7818         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7819         (__ASSUME_RECV_SYSCALL): Likewise.
7820         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7821         (__ASSUME_RECV_SYSCALL): Likewise.
7822         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7823         (__ASSUME_RECV_SYSCALL): Likewise.
7824         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7825         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
7826         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7827         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7828         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7829         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7830         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
7831         auto-generation list.
7832         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7833         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7834         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
7835         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7836         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7837         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
7838         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
7839         __ASSUME_SENDTO_SYSCALL.
7840         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
7841         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
7842         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
7844         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
7845         auto-generation list.
7846         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7847         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7848         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7849         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7850         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7851         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7852         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7853         * sysdeps/unix/sysv/linux/kernel-features.h
7854         (__ASSUME_SENDTO_SYSCALL): Define by default.
7855         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7856         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
7857         __NR_sendto.
7858         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7859         (__ASSUME_SENDTO_SYSCALL): Likewise.
7860         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7861         (__ASSUME_SENDTO_SYSCALL): Likewise.
7862         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7863         (__ASSUME_SENDTO_SYSCALL): Remove definition.
7864         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7865         (__ASSUME_SENDTO_SYSCALL): Likewise.
7866         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
7867         (__ASSUME_SENDTO_SYSCALL): Likewise.
7868         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
7870         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
7871         auto-generation list.
7872         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7873         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7874         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7875         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7876         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7877         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7878         (__ASSUME_RECV_SYSCALL): New define.
7879         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7880         (__ASSUME_RECV_SYSCALL): Likewise.
7881         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7882         (__ASSUME_RECV_SYSCALL): Likewise.
7883         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7884         (__ASSUME_RECV_SYSCALL): Likewise.
7885         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7886         (__ASSUME_RECV_SYSCALL): Likewise.
7887         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7888         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7889         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7890         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7891         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7892         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7893         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
7894         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
7895         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
7896         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
7897         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
7898         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
7900         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
7901         auto-generation list.
7902         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7903         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7904         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7905         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7906         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7907         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7908         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7909         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7910         (__ASSUME_RECVFROM_SYSCALL): Define by default.
7911         * sysdeps/unix/sysv/linux/kernel-features.h
7912         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
7913         __NR_recvfrom.
7914         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7915         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7916         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7917         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7918         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7919         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
7920         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7921         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7922         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7923         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7924         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7925         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7926         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
7928         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
7929         auto-generation list.
7930         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7931         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7932         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7933         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7934         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7935         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7936         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7937         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
7938         * sysdeps/unix/sysv/linux/kernel-features.h
7939         (__ASSUME_CONNECT_SYSCALL): Define.
7940         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7941         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
7942         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7943         (__ASSUME_CONNECT_SYSCALL): Likewise.
7944         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7945         (__ASSUME_CONNECT_SYSCALL): Likewise.
7946         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7947         (__ASSUME_CONNECT_SYSCALL): Likewise.
7949         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
7950         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
7951         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
7952         auto-generation list.
7953         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7954         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7955         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7956         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7957         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7958         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7959         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7960         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7961         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7962         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7963         * sysdeps/unix/sysv/linux/kernel-features.h
7964         (__ASSUME_ACCEPT_SYSCALL): New define.
7965         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7966         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7967         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
7968         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7969         (__ASSUME_ACCEPT_SYSCALL): Define.
7970         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7971         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7972         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7973         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7974         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7975         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7976         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7977         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7978         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
7980 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
7981             Zack Weinberg  <zackw@panix.com>
7983         * posix/test-errno.c: New file.
7984         * posix/Makefile (tests): Add test-errno.
7985         * sysdeps/unix/sysv/linux/test-errno.c: New file.
7986         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
7988 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
7990         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7992 2017-03-07  Florian Weimer  <fweimer@redhat.com>
7994         * time/tzset.c (compute_offset): Open-code min macro.
7995         (min, max, sign): Remove.
7997 2017-03-07  Florian Weimer  <fweimer@redhat.com>
7999         [BZ #15576]
8000         Remove TZNAME_MAX limit from sysconf.
8001         * include/time.h (__tzname_cur_max, __tzname_max): Remove
8002         declaration.
8003         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
8004         compute_tzname_max.
8005         (compute_tzname_max): Remove.
8006         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
8007         (update_vars): Do not update __tzname_cur_max.
8008         (tzset_internal): Remove argument.
8009         (__tzset): Adjust call to tzset_internal.
8010         (__tz_convert): Likewise.
8012         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
8013         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
8014         * manual/conf.texi (Sysconf Definition): Update comment.
8016 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8018         [BZ #21209]
8019         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
8020         AT_SECURE processes.
8021         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
8022         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
8023         (test_child): Likewise.
8024         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
8026 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8028         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
8030 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8032         * sysdeps/s390/atomic-machine.h
8033         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
8034         (__arch_compare_and_exchange_val_8_acq,
8035         __arch_compare_and_exchange_val_16_acq,
8036         __arch_compare_and_exchange_val_32_acq,
8037         __arch_compare_and_exchange_val_64_acq):
8038         Delete macro.
8039         (atomic_compare_and_exchange_val_acq,
8040         atomic_compare_and_exchange_val_rel,
8041         atomic_compare_and_exchange_bool_acq,
8042         catomic_compare_and_exchange_bool_acq,
8043         atomic_exchange_acq, atomic_exchange_rel,
8044         atomic_exchange_and_add_acq,
8045         atomic_exchange_and_add_rel,
8046         catomic_exchange_and_add, atomic_or_val,
8047         atomic_or, catomic_or, atomic_bit_test_set,
8048         atomic_and_val, atomic_and, catomic_and):
8049         Define macros with help of C11 atomic builtins.
8051 2017-03-03  Justus Winter <justus@gnupg.org>
8053         * sysdeps/mach/hurd/ftruncate64.c: New file.
8054         * sysdeps/mach/hurd/truncate64.c: Likewise.
8056 2017-03-03  Florian Weimer  <fweimer@redhat.com>
8058         * time/tzfile.c (NOID): Do not define.
8059         * time/tzset.c (NOID): Likewise.
8061 2017-03-03  Florian Weimer  <fweimer@redhat.com>
8063         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
8065 2017-03-02  Florian Weimer  <fweimer@redhat.com>
8067         * elf/get-dynamic-info.h: Remove header file inclusion guard.
8069 2017-03-02  Florian Weimer  <fweimer@redhat.com>
8071         [BZ #21015]
8072         * manual/install.texi (Configuring and compiling): Document
8073         --enable-bind-now.
8074         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
8075         (build-shlib-helper): Use $(LDFLAGS-lib.so).
8076         (format.lds): Likewise.
8077         [bind-now] (LDFLAGS-c.so): Remove.
8078         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
8079         be R_X86_64_GLOB_DAT.
8080         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
8081         relocation can be R_386_GLOB_DAT.
8082         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
8083         relocaiton can be R_ALPHA_GLOB_DAT.
8084         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
8086 2017-03-01  Zack Weinberg  <zackw@panix.com>
8088         * include/libc-pointer-arith.h: New file.  Define
8089         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
8090         PTR_ALIGN_DOWN here.
8091         * include/libc-internal.h: Definitions of above macros
8092         moved from here.  Don't include libc-diag.h anymore either.
8093         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
8094         Don't include libc-internal.h.
8096         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
8097         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
8098         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
8099         * string/strcoll_l.c, sysdeps/nacl/brk.c
8100         * sysdeps/unix/clock_settime.c
8101         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
8102         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
8103         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8104         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
8105         Don't include libc-internal.h.
8107         * elf/get-dynamic-info.h, iconv/loop.c
8108         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
8109         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
8110         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
8111         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
8112         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8113         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
8114         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8115         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
8116         * sysdeps/ieee754/ldbl-128/k_tanl.c
8117         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8118         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8119         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
8120         Include libc-diag.h instead of libc-internal.h.
8122         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
8123         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
8124         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
8125         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
8126         * sysdeps/unix/sysv/linux/spawni.c
8127         * sysdeps/x86_64/nptl/tls.h:
8128         Include libc-pointer-arith.h instead of libc-internal.h.
8130         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
8131         * sysdeps/x86_64/atomic-machine.h:
8132         Add multiple include guard.
8134         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
8135         * string/strcasestr.c: No need to include config.h.
8136         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
8137         sys/auxv.h. Don't include sysdep.h.
8138         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
8140         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
8141         DL_LOOKUP_ADDRESS.
8142         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
8143         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
8144         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
8145         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
8146         of ARTIFICIAL_LIMIT.
8147         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
8148         declaration of __clone2.
8150 2017-02-28  Florian Weimer  <fweimer@redhat.com>
8152         * scripts/backport-support.sh (latest_commit): New file.
8154 2017-02-28  Florian Weimer  <fweimer@redhat.com>
8156         [BZ #20257]
8157         * inet/Makefile (routines): Add deadline.
8158         (tests-static): Add tst-deadline.
8159         * inet/net-internal.h (struct deadline_current_time)
8160         (__deadline_current_time, struct deadline, __deadline_is_infinite)
8161         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
8162         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
8163         * inet/deadline.c: New file.
8164         * inet/tst-deadline.c: Likewise.
8165         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
8166         tst-udp-timeout, tst-udp-garbage.
8167         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
8168         explicitly.
8169         (tst-udp-garbage): Likewise.  Also link against thread library.
8170         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
8171         struct layout is part of the ABI.
8172         (clntudp_call): Rework timeout handling.
8173         * sunrpc/tst-udp-garbage.c: New file.
8174         * sunrpc/tst-udp-nonblocking.c: Likewise.
8175         * sunrpc/tst-udp-timeout.c: Likewise.
8177 2017-02-28  Florian Weimer  <fweimer@redhat.com>
8179         [BZ #5010]
8180         * sunrpc/svc.c (svc_is_mapped): Remove.
8181         (svc_unregister): Obtain mapped status while the service is still
8182         registered.
8183         * sunrpc/Makefile [have-thread-library] (tests): Add
8184         tst-svc_register.
8185         (tst-svc_register): Link against libc.so explicitly and the thread
8186         library.
8187         * sunrpc/tst-svc_register.c: New file.
8189 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
8191         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
8192         * sysdeps/pthread/bits/sigthread.h: Likewise.
8194 2017-02-27  Florian Weimer  <fweimer@redhat.com>
8196         [BZ #21115]
8197         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
8198         * sunrpc/Makefile (tests): Add tst-udp-error.
8199         (tst-udp-error): Link against libc.so explicitly.
8200         * sunrpc/tst-udp-error: New file.
8202 2017-02-25  Zack Weinberg  <zackw@panix.com>
8204         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
8205         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
8207         * sysdeps/generic/math_ldbl.h
8208         * sysdeps/ia64/fpu/math_ldbl.h
8209         * sysdeps/ieee754/ldbl-128/math_ldbl.h
8210         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8211         * sysdeps/ieee754/ldbl-96/math_ldbl.h
8212         * sysdeps/powerpc/fpu/math_ldbl.h
8213         * sysdeps/x86_64/fpu/math_ldbl.h:
8214         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
8215         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
8216         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
8217         Add copyright notices.
8219         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8220         Don't use EXTRACT_WORDS64.
8222         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
8223         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
8224         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
8225         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
8226         Include math_ldbl.h, not math_private.h.
8228 2017-02-25  Zack Weinberg  <zackw@panix.com>
8230         * include/libc-diag.h: New file.  Define ignore_value,
8231         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
8232         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
8234         * include/libc-internal.h: Definitions of above macros moved from
8235         here.  Include libc-diag.h.  Add copyright notice.
8237         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
8238         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
8239         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
8240         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
8241         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
8242         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
8243         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
8244         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
8245         Include libc-diag.h instead of libc-internal.h.
8247         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
8248         call to unsetenv (NULL).
8249         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
8250         call to pthread_mutexattr_destroy (NULL).
8252 2017-02-25  Zack Weinberg  <zackw@panix.com>
8254         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
8255         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
8256         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
8257         gets was removed from C++ in C++14.
8258         * include/stdio.h: Remove redundant declaration of gets.
8259         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
8260         be declared, since we are testing it.
8261         * stdio-common/Makefile (tst-gets.c): Compile with
8262         -Wno-deprecated-declarations.
8263         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
8264         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
8265         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
8266         Compile with -Wno-deprecated-declarations.
8268 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8270         * math/libm-test-support.c (check_ulp): Use LIT() around literal
8271         numbers.
8273 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8275         * resolv/tst-resolv-qtypes.c (domain):
8276         Change type to const pointer to const char.
8278 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
8280         * math/Makefile (libm-tests-generated): Remove variable.
8281         (libm-tests-base-normal): New variable.
8282         (libm-tests-base-finite): Likewise.
8283         (libm-tests-base-inline): Likewise.
8284         (libm-tests-base): Likewise.
8285         (libm-tests-normal): Likewise.
8286         (libm-tests-finite): Likewise.
8287         (libm-tests-inline): Likewise.
8288         (libm-tests-vector): Likewise.
8289         (libm-tests): Define in terms of these new variables.
8290         (libm-tests-for-type): New variable.
8291         (libm-tests.o): Move definition.
8292         (tests): Move addition of $(libm-tests).
8293         (generated): Update for new and removed libm test files.
8294         ($(objpfx)libm-test.c): Remove target.
8295         ($(objpfx)libm-have-vector-test.h): Likewise.
8296         (CFLAGS-test-double-vlen2.c): Remove variable.
8297         (CFLAGS-test-double-vlen4.c): Likewise.
8298         (CFLAGS-test-double-vlen8.c): Likewise.
8299         (CFLAGS-test-float-vlen4.c): Likewise.
8300         (CFLAGS-test-float-vlen8.c): Likewise.
8301         (CFLAGS-test-float-vlen16.c): Likewise.
8302         (CFLAGS-test-float.c): Likewise.
8303         (CFLAGS-test-float-finite.c): Likewise.
8304         (CFLAGS-libm-test-support-float.c): Likewise.
8305         (CFLAGS-test-double.c): Likewise.
8306         (CFLAGS-test-double-finite.c): Likewise.
8307         (CFLAGS-libm-test-support-double.c): Likewise.
8308         (CFLAGS-test-ldouble.c): Likewise.
8309         (CFLAGS-test-ldouble-finite.c): Likewise.
8310         (CFLAGS-libm-test-support-ldouble.c): Likewise.
8311         (libm-test-inline-cflags): New variable.
8312         (CFLAGS-test-ifloat.c): Remove variable.
8313         (CFLAGS-test-idouble.c): Likewise.
8314         (CFLAGS-test-ildouble.c): Likewise.
8315         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
8316         dependencies.
8317         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
8318         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
8319         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
8320         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
8321         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
8322         Likewise.
8323         (dependencies on libm-test-support-*.o): Remove.
8324         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
8325         rules using iterators.
8326         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
8327         Likewise.
8328         ($(objpfx)libm-test-support-$(o).o): Likewise.
8329         ($(addprefix $(objpfx),$(filter-out $(tests-static)
8330         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
8331         instead.
8332         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
8333         define rule instead.
8334         * math/README.libm-test: Update.
8335         * math/libm-test-acos.inc: Include libm-test-driver.c.
8336         (do_test): New function.
8337         * math/libm-test-acosh.inc: Include libm-test-driver.c.
8338         (do_test): New function.
8339         * math/libm-test-asin.inc: Include libm-test-driver.c.
8340         (do_test): New function.
8341         * math/libm-test-asinh.inc: Include libm-test-driver.c.
8342         (do_test): New function.
8343         * math/libm-test-atan.inc: Include libm-test-driver.c.
8344         (do_test): New function.
8345         * math/libm-test-atan2.inc: Include libm-test-driver.c.
8346         (do_test): New function.
8347         * math/libm-test-atanh.inc: Include libm-test-driver.c.
8348         (do_test): New function.
8349         * math/libm-test-cabs.inc: Include libm-test-driver.c.
8350         (do_test): New function.
8351         * math/libm-test-cacos.inc: Include libm-test-driver.c.
8352         (do_test): New function.
8353         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
8354         (do_test): New function.
8355         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
8356         (do_test): New function.
8357         * math/libm-test-carg.inc: Include libm-test-driver.c.
8358         (do_test): New function.
8359         * math/libm-test-casin.inc: Include libm-test-driver.c.
8360         (do_test): New function.
8361         * math/libm-test-casinh.inc: Include libm-test-driver.c.
8362         (do_test): New function.
8363         * math/libm-test-catan.inc: Include libm-test-driver.c.
8364         (do_test): New function.
8365         * math/libm-test-catanh.inc: Include libm-test-driver.c.
8366         (do_test): New function.
8367         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
8368         (do_test): New function.
8369         * math/libm-test-ccos.inc: Include libm-test-driver.c.
8370         (do_test): New function.
8371         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
8372         (do_test): New function.
8373         * math/libm-test-ceil.inc: Include libm-test-driver.c.
8374         (do_test): New function.
8375         * math/libm-test-cexp.inc: Include libm-test-driver.c.
8376         (do_test): New function.
8377         * math/libm-test-cimag.inc: Include libm-test-driver.c.
8378         (do_test): New function.
8379         * math/libm-test-clog.inc: Include libm-test-driver.c.
8380         (do_test): New function.
8381         * math/libm-test-clog10.inc: Include libm-test-driver.c.
8382         (do_test): New function.
8383         * math/libm-test-conj.inc: Include libm-test-driver.c.
8384         (do_test): New function.
8385         * math/libm-test-copysign.inc: Include libm-test-driver.c.
8386         (do_test): New function.
8387         * math/libm-test-cos.inc: Include libm-test-driver.c.
8388         (do_test): New function.
8389         * math/libm-test-cosh.inc: Include libm-test-driver.c.
8390         (do_test): New function.
8391         * math/libm-test-cpow.inc: Include libm-test-driver.c.
8392         (do_test): New function.
8393         * math/libm-test-cproj.inc: Include libm-test-driver.c.
8394         (do_test): New function.
8395         * math/libm-test-creal.inc: Include libm-test-driver.c.
8396         (do_test): New function.
8397         * math/libm-test-csin.inc: Include libm-test-driver.c.
8398         (do_test): New function.
8399         * math/libm-test-csinh.inc: Include libm-test-driver.c.
8400         (do_test): New function.
8401         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
8402         (do_test): New function.
8403         * math/libm-test-ctan.inc: Include libm-test-driver.c.
8404         (do_test): New function.
8405         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
8406         (do_test): New function.
8407         * math/libm-test-erf.inc: Include libm-test-driver.c.
8408         (do_test): New function.
8409         * math/libm-test-erfc.inc: Include libm-test-driver.c.
8410         (do_test): New function.
8411         * math/libm-test-exp.inc: Include libm-test-driver.c.
8412         (do_test): New function.
8413         * math/libm-test-exp10.inc: Include libm-test-driver.c.
8414         (do_test): New function.
8415         * math/libm-test-exp2.inc: Include libm-test-driver.c.
8416         (do_test): New function.
8417         * math/libm-test-expm1.inc: Include libm-test-driver.c.
8418         (do_test): New function.
8419         * math/libm-test-fabs.inc: Include libm-test-driver.c.
8420         (do_test): New function.
8421         * math/libm-test-fdim.inc: Include libm-test-driver.c.
8422         (do_test): New function.
8423         * math/libm-test-floor.inc: Include libm-test-driver.c.
8424         (do_test): New function.
8425         * math/libm-test-fma.inc: Include libm-test-driver.c.
8426         (do_test): New function.
8427         * math/libm-test-fmax.inc: Include libm-test-driver.c.
8428         (do_test): New function.
8429         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
8430         (do_test): New function.
8431         * math/libm-test-fmin.inc: Include libm-test-driver.c.
8432         (do_test): New function.
8433         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
8434         (do_test): New function.
8435         * math/libm-test-fmod.inc: Include libm-test-driver.c.
8436         (do_test): New function.
8437         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
8438         (do_test): New function.
8439         * math/libm-test-frexp.inc: Include libm-test-driver.c.
8440         (do_test): New function.
8441         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
8442         (do_test): New function.
8443         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
8444         (do_test): New function.
8445         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
8446         (do_test): New function.
8447         * math/libm-test-hypot.inc: Include libm-test-driver.c.
8448         (do_test): New function.
8449         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
8450         (do_test): New function.
8451         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
8452         (do_test): New function.
8453         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
8454         (do_test): New function.
8455         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
8456         (do_test): New function.
8457         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
8458         (do_test): New function.
8459         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
8460         (do_test): New function.
8461         * math/libm-test-isinf.inc: Include libm-test-driver.c.
8462         (do_test): New function.
8463         * math/libm-test-isless.inc: Include libm-test-driver.c.
8464         (do_test): New function.
8465         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
8466         (do_test): New function.
8467         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
8468         (do_test): New function.
8469         * math/libm-test-isnan.inc: Include libm-test-driver.c.
8470         (do_test): New function.
8471         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
8472         (do_test): New function.
8473         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
8474         (do_test): New function.
8475         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
8476         (do_test): New function.
8477         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
8478         (do_test): New function.
8479         * math/libm-test-iszero.inc: Include libm-test-driver.c.
8480         (do_test): New function.
8481         * math/libm-test-j0.inc: Include libm-test-driver.c.
8482         (do_test): New function.
8483         * math/libm-test-j1.inc: Include libm-test-driver.c.
8484         (do_test): New function.
8485         * math/libm-test-jn.inc: Include libm-test-driver.c.
8486         (do_test): New function.
8487         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
8488         (do_test): New function.
8489         * math/libm-test-llogb.inc: Include libm-test-driver.c.
8490         (do_test): New function.
8491         * math/libm-test-llrint.inc: Include libm-test-driver.c.
8492         (do_test): New function.
8493         * math/libm-test-llround.inc: Include libm-test-driver.c.
8494         (do_test): New function.
8495         * math/libm-test-log.inc: Include libm-test-driver.c.
8496         (do_test): New function.
8497         * math/libm-test-log10.inc: Include libm-test-driver.c.
8498         (do_test): New function.
8499         * math/libm-test-log1p.inc: Include libm-test-driver.c.
8500         (do_test): New function.
8501         * math/libm-test-log2.inc: Include libm-test-driver.c.
8502         (do_test): New function.
8503         * math/libm-test-logb.inc: Include libm-test-driver.c.
8504         (do_test): New function.
8505         * math/libm-test-lrint.inc: Include libm-test-driver.c.
8506         (do_test): New function.
8507         * math/libm-test-lround.inc: Include libm-test-driver.c.
8508         (do_test): New function.
8509         * math/libm-test-modf.inc: Include libm-test-driver.c.
8510         (do_test): New function.
8511         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
8512         (do_test): New function.
8513         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
8514         (do_test): New function.
8515         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
8516         (do_test): New function.
8517         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
8518         (do_test): New function.
8519         * math/libm-test-nextup.inc: Include libm-test-driver.c.
8520         (do_test): New function.
8521         * math/libm-test-pow.inc: Include libm-test-driver.c.
8522         (do_test): New function.
8523         * math/libm-test-remainder.inc: Include libm-test-driver.c.
8524         (do_test): New function.
8525         * math/libm-test-remquo.inc: Include libm-test-driver.c.
8526         (do_test): New function.
8527         * math/libm-test-rint.inc: Include libm-test-driver.c.
8528         (do_test): New function.
8529         * math/libm-test-round.inc: Include libm-test-driver.c.
8530         (do_test): New function.
8531         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
8532         (do_test): New function.
8533         * math/libm-test-scalb.inc: Include libm-test-driver.c.
8534         (do_test): New function.
8535         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
8536         (do_test): New function.
8537         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
8538         (do_test): New function.
8539         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
8540         (do_test): New function.
8541         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
8542         (do_test): New function.
8543         * math/libm-test-signbit.inc: Include libm-test-driver.c.
8544         (do_test): New function.
8545         * math/libm-test-significand.inc: Include libm-test-driver.c.
8546         (do_test): New function.
8547         * math/libm-test-sin.inc: Include libm-test-driver.c.
8548         (do_test): New function.
8549         * math/libm-test-sincos.inc: Include libm-test-driver.c.
8550         (do_test): New function.
8551         * math/libm-test-sinh.inc: Include libm-test-driver.c.
8552         (do_test): New function.
8553         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
8554         (do_test): New function.
8555         * math/libm-test-tan.inc: Include libm-test-driver.c.
8556         (do_test): New function.
8557         * math/libm-test-tanh.inc: Include libm-test-driver.c.
8558         (do_test): New function.
8559         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
8560         (do_test): New function.
8561         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
8562         (do_test): New function.
8563         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
8564         (do_test): New function.
8565         * math/libm-test-trunc.inc: Include libm-test-driver.c.
8566         (do_test): New function.
8567         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
8568         (do_test): New function.
8569         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
8570         (do_test): New function.
8571         * math/libm-test-y0.inc: Include libm-test-driver.c.
8572         (do_test): New function.
8573         * math/libm-test-y1.inc: Include libm-test-driver.c.
8574         (do_test): New function.
8575         * math/libm-test-yn.inc: Include libm-test-driver.c.
8576         (do_test): New function.
8577         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
8578         (HAVE_VECTOR): Remove macro.
8579         (START): Do not call HAVE_VECTOR.
8580         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
8581         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
8582         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
8583         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
8584         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
8585         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
8586         * math/test-math-vector.h (FUNC_TEST): New macro.
8587         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
8588         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
8589         (double-vlen4-funcs): Likewise.
8590         (double-vlen4-avx2-funcs): Likewise.
8591         (double-vlen8-funcs): Likewise.
8592         (float-vlen4-funcs): Likewise.
8593         (float-vlen8-funcs): Likewise.
8594         (float-vlen8-avx2-funcs): Likewise.
8595         (float-vlen16-funcs): Likewise.
8596         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
8597         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
8598         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
8599         macro.
8600         (TEST_VECTOR_sin): Likewise.
8601         (TEST_VECTOR_sincos): Likewise.
8602         (TEST_VECTOR_log): Likewise.
8603         (TEST_VECTOR_exp): Likewise.
8604         (TEST_VECTOR_pow): Likewise.
8605         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
8606         Likewise.
8607         (TEST_VECTOR_sin): Likewise.
8608         (TEST_VECTOR_sincos): Likewise.
8609         (TEST_VECTOR_log): Likewise.
8610         (TEST_VECTOR_exp): Likewise.
8611         (TEST_VECTOR_pow): Likewise.
8612         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
8613         Likewise.
8614         (TEST_VECTOR_sinf): Likewise.
8615         (TEST_VECTOR_sincosf): Likewise.
8616         (TEST_VECTOR_logf): Likewise.
8617         (TEST_VECTOR_expf): Likewise.
8618         (TEST_VECTOR_powf): Likewise.
8619         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
8620         Likewise.
8621         (TEST_VECTOR_sinf): Likewise.
8622         (TEST_VECTOR_sincosf): Likewise.
8623         (TEST_VECTOR_logf): Likewise.
8624         (TEST_VECTOR_expf): Likewise.
8625         (TEST_VECTOR_powf): Likewise.
8626         * math/gen-libm-have-vector-test.sh: Remove file.
8627         * math/libm-test.inc: Likewise.
8628         * math/libm-test-support-double.c: Likewise.
8629         * math/libm-test-support-float.c: Likewise.
8630         * math/libm-test-support-ldouble.c: Likewise.
8631         * math/test-double-finite.c: Likewise.: Likewise.
8632         * math/test-double.c: Likewise.
8633         * math/test-float-finite.c: Likewise.
8634         * math/test-float.c: Likewise.
8635         * math/test-idouble.c: Likewise.
8636         * math/test-ifloat.c: Likewise.
8637         * math/test-ildouble.c: Likewise.
8638         * math/test-ldouble-finite.c: Likewise.
8639         * math/test-ldouble.c: Likewise.
8640         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8641         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
8642         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8643         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8644         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8645         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8646         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8647         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
8648         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8649         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8651 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8652            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8654         * math/Makefile: Add wrappers to gen-libm-calls.
8655         * math/w_acos_template.c: New file.
8656         * math/w_acosh_template.c: Likewise.
8657         * math/w_asin_template.c: Likewise.
8658         * math/w_atan2_template.c: Likewise.
8659         * math/w_atanh_template.c: Likewise.
8660         * math/w_cosh_template.c: Likewise.
8661         * math/w_exp10_template.c: Likewise.
8662         * math/w_exp2_template.c: Likewise.
8663         * math/w_exp_template.c: Likewise.
8664         * math/w_fmod_template.c: Likewise.
8665         * math/w_hypot_template.c: Likewise.
8666         * math/w_j0_template.c: Likewise.
8667         * math/w_j1_template.c: Likewise.
8668         * math/w_jn_template.c: Likewise.
8669         * math/w_lgamma_r_template.c: Likewise.
8670         * math/w_lgamma_template.c: Likewise.
8671         * math/w_log10_template.c: Likewise.
8672         * math/w_log2_template.c: Likewise.
8673         * math/w_log_template.c: Likewise.
8674         * math/w_pow_template.c: Likewise.
8675         * math/w_remainder_template.c: Likewise.
8676         * math/w_sinh_template.c: Likewise.
8677         * math/w_sqrt_template.c: Likewise.
8678         * math/w_tgamma_template.c: Likewise.: Likewise.
8679         * sysdeps/generic/math-type-macros-double.h
8680         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
8681         the new wrappers.
8682         * sysdeps/generic/math-type-macros-float.h: Likewise.
8683         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8685 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
8687         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
8688         New enum constant and macro.
8690         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8691         kernel version to 4.10.
8693 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
8695         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
8697 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8701 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
8703         * sysdeps/powerpc/tst-set_ppr.c: New file.
8704         Implement test cases for __ppc_set_ppr_* functions.
8705         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
8706         in the list of tests.
8708 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
8710         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
8711         instead of test-skeleton.c.
8712         (do_test): Replaced pthread_create and pthread_join with
8713         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
8714         Removed unneeded status variable.
8715         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
8716         instead of test-skeleton.c.
8717         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
8719 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
8721         [BZ #20313]
8722         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8723         201605L, for Unicode 9.
8725 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
8727         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
8728         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8729         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8730         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8731         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8732         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8734 2017-02-19  Zack Weinberg  <zackw@panix.com>
8736         * rt/tst-mqueue4.c: Include stdint.h.
8738 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
8740         * sysdeps/arm/libm-test-ulps: Update.
8741         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8742         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8743         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8745 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8747         [BZ #21029]
8748         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
8749         * sysdeps/unix/sysv/linux/i386/Makefile
8750         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
8751         (uses-6-syscall-arguments): Remove.
8752         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
8753         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
8754         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
8755         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
8756         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
8757         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
8758         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
8759         [$(subdir) = misc] (cflags-pselect.o): Likewise.
8760         [$(subdir) = misc] (cflags-pselect.os): Likewise.
8761         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
8762         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
8763         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
8764         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
8765         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
8766         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
8767         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
8768         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
8769         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
8770         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
8771         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
8772         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
8773         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
8774         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
8775         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
8776         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
8777         Likewise.
8778         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
8779         Likewise.
8780         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
8781         Likewise.
8782         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
8783         Likewise.
8784         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
8785         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
8786         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
8787         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
8788         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
8789         ebp on inline assembly.
8790         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
8791         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8792         Set if CAN_USE_REGISTER_ASM_EBP is set.
8794 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
8796         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
8797         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
8799 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
8801         * math/auto-libm-test-in: Add tests of catan and catanh.
8802         * math/auto-libm-test-out-catan: New generated file.
8803         * math/auto-libm-test-out-catanh: Likewise.
8804         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
8805         Move tests with finite inputs, except divide-by-zero cases, to
8806         auto-libm-test-in.
8807         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
8808         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
8809         (libm-test-funcs-noauto): Remove catan and catanh.
8810         * sysdeps/i386/fpu/libm-test-ulps: Update.
8811         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8814         * math/auto-libm-test-in: Add tests of casin and casinh.
8815         * math/auto-libm-test-out-casin: New generated file.
8816         * math/auto-libm-test-out-casinh: Likewise.
8817         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
8818         Move tests with finite inputs to auto-libm-test-in.
8819         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
8820         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
8821         (libm-test-funcs-noauto): Remove casin and casinh.
8822         * sysdeps/i386/fpu/libm-test-ulps: Update.
8823         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8826         * math/auto-libm-test-in: Add tests of cacos and cacosh.
8827         * math/auto-libm-test-out-cacos: New generated file.
8828         * math/auto-libm-test-out-cacosh: Likewise.
8829         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
8830         Move tests with finite inputs to auto-libm-test-in.
8831         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
8832         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
8833         (libm-test-funcs-noauto): Remove cacos and cacosh.
8834         * sysdeps/i386/fpu/libm-test-ulps: Update.
8835         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8838         Revert:
8839         2017-02-16  Zack Weinberg  <zackw@panix.com>
8841         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8842         Don't include init-arch.h.
8843         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8844         Don't include init-arch.h.
8846 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8848         [BZ #21171]
8849         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
8850         +Inf and raise divide-by-zero when x is negative.
8851         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
8852         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
8853         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
8854         -Inf and raise divide-by-zero when x = +-0.
8855         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8856         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8857         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
8858         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
8859         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8860         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8861         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8863 2017-02-16  Zack Weinberg  <zackw@panix.com>
8865         * scripts/build-many-glibcs.py (bot_build_mail): If the
8866         bot_config does not contain all of the necessary email-
8867         related settings, just print a warning and continue.
8869 2017-02-16  Zack Weinberg  <zackw@panix.com>
8871         * crypt/md5.h: Test _LIBC with #if defined, not #if.
8872         * dirent/opendir-tst1.c: Include sys/stat.h.
8873         * dirent/tst-fdopendir.c: Include sys/stat.h.
8874         * dirent/tst-fdopendir2.c: Include stdlib.h.
8875         * dirent/tst-scandir.c: Include stdbool.h.
8876         * elf/tst-auditmod1.c: Include link.h and stddef.h.
8877         * elf/tst-tls15.c: Include stdlib.h.
8878         * elf/tst-tls16.c: Include stdlib.h.
8879         * elf/tst-tls17.c: Include stdlib.h.
8880         * elf/tst-tls18.c: Include stdlib.h.
8881         * iconv/tst-iconv6.c: Include endian.h.
8882         * iconvdata/bug-iconv11.c: Include limits.h.
8883         * io/test-utime.c: Include stdint.h.
8884         * io/tst-faccessat.c: Include sys/stat.h.
8885         * io/tst-fchmodat.c: Include sys/stat.h.
8886         * io/tst-fchownat.c: Include sys/stat.h.
8887         * io/tst-fstatat.c: Include sys/stat.h.
8888         * io/tst-futimesat.c: Include sys/stat.h.
8889         * io/tst-linkat.c: Include sys/stat.h.
8890         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
8891         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
8892         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
8893         * io/tst-openat.c: Include stdbool.h.
8894         * io/tst-readlinkat.c: Include sys/stat.h.
8895         * io/tst-renameat.c: Include sys/stat.h.
8896         * io/tst-symlinkat.c: Include sys/stat.h.
8897         * io/tst-unlinkat.c: Include stdbool.h.
8898         * libio/bug-memstream1.c: Include stdlib.h.
8899         * libio/bug-wmemstream1.c: Include stdlib.h.
8900         * libio/tst-fwrite-error.c: Include stdlib.h.
8901         * libio/tst-memstream1.c: Include stdlib.h.
8902         * libio/tst-memstream2.c: Include stdlib.h.
8903         * libio/tst-memstream3.c: Include stdlib.h.
8904         * malloc/tst-interpose-aux.c: Include stdint.h.
8905         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
8906         * nptl/tst-basic7.c: Include limits.h.
8907         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
8908         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
8909         * nptl/tst-cancel4_1.c: Include stddef.h.
8910         * nptl/tst-cancel4_2.c: Include stddef.h.
8911         * nptl/tst-cond16.c: Include limits.h.
8912         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8913         * nptl/tst-cond18.c: Include limits.h.
8914         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8915         * nptl/tst-cond4.c: Include stdint.h.
8916         * nptl/tst-cond6.c: Include stdint.h.
8917         * nptl/tst-stack2.c: Include limits.h.
8918         * nptl/tst-stackguard1.c: Include stddef.h.
8919         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
8920         * nptl/tst-tls4moda.c: Include stddef.h.
8921         Don't include stdio.h, unistd.h, or tls.h.
8922         * nptl/tst-tls4modb.c: Include stddef.h.
8923         Don't include stdio.h, unistd.h, or tls.h.
8924         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
8925         * posix/tst-getaddrinfo2.c: Include stdio.h.
8926         * posix/tst-getaddrinfo5.c: Include stdio.h.
8927         * posix/tst-pathconf.c: Include sys/stat.h.
8928         * posix/tst-posix_fadvise-common.c: Include stdint.h.
8929         * posix/tst-preadwrite-common.c: Include sys/stat.h.
8930         * posix/tst-regex.c: Include stdint.h.
8931         Don't include spawn.h or spawn_int.h.
8932         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
8933         * posix/tst-vfork3.c: Include sys/stat.h.
8934         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
8935         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
8936         * resolv/tst-resolv-search.c: Include stdlib.h.
8937         * stdio-common/tst-fmemopen2.c: Include stdint.h.
8938         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
8939         * stdlib/test-canon.c: Include sys/stat.h.
8940         * stdlib/tst-tls-atexit.c: Include stdbool.h.
8941         * string/test-memchr.c: Include stdint.h.
8942         * string/tst-cmp.c: Include stdint.h.
8943         * sysdeps/pthread/tst-timer.c: Include stdint.h.
8944         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
8945         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
8946         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8947         Don't include init-arch.h.
8948         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8949         Don't include init-arch.h.
8950         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
8951         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
8952         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
8953         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
8954         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
8955         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
8956         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
8957         * time/clocktest.c: Include stdint.h.
8958         * time/tst-posixtz.c: Include stdint.h.
8959         * timezone/tst-timezone.c: Include stdint.h.
8961 2017-02-16  Zack Weinberg  <zackw@panix.com>
8963         * string/string.h [__USE_MISC]: Include strings.h.
8964         (__bzero, bcmp, bcopy, bzero, index, rindex)
8965         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
8966         (ffs, ffsl, ffsll): Don't declare.
8967         * string/strings.h: Do not suppress the file if string.h has
8968         already been included.
8969         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
8970         annotations.
8971         (index, rindex): Define inline forwarders even if
8972         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
8973         (ffs): Use __attribute_const__.
8974         (ffsl, ffsll): Declare here.
8975         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
8976         have now been standardized.
8977         * include/string.h (__bzero): Declare here.
8979         * bits/types.h: Move to posix/bits.
8980         * include/bits/types.h: New wrapper.
8982 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
8984         * string/bits/string2.h (strcmp): Remove define.
8985         (__strcmp_cg): Likewise.
8986         (strncmp): Likewise.
8988 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
8990         * include/string.h: Add __cplusplus check.
8992 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8994         [BZ #21134]
8995         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
8996         "divide by zero" exception when the input is zero.
8997         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
8998         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
8999         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
9000         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
9001         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9003 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
9005         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
9006         and include ...
9007         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
9008         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
9009         to, and include ...
9010         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
9011         file.
9012         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
9013         and include ...
9014         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
9015         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
9016         and include ...
9017         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
9018         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
9019         and include ...
9020         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
9021         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
9022         and include ...
9023         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
9024         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
9025         to, and include ...
9026         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
9027         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
9028         and include ...
9029         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
9031 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
9033         * math/libm-test-support.h: Do not include <math-tests-arch.h>
9034         here.
9035         * math/libm-test-support.c (libm_test_init): Do not call
9036         INIT_ARCH_EXT here.
9037         * math/libm-test-driver.c: Include <math-tests-arch.h>.
9038         (main): Call INIT_ARCH_EXT.
9040 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9042         [BZ #21130]
9043         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
9044         with the "invalid" exception raised when x is -Inf.
9045         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9047 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
9049         * string/bits/string2.h (strchr): Remove define.
9051 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
9053         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
9054         tst-avx512.
9055         (test-extras): Add tst-avx-aux and tst-avx512-aux.
9056         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
9057         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
9058         ($(objpfx)tst-sse): New rule.
9059         ($(objpfx)tst-avx): Likewise.
9060         ($(objpfx)tst-avx512): Likewise.
9061         (CFLAGS-tst-avx-aux.c): New.
9062         (CFLAGS-tst-avxmod.c): Likewise.
9063         (CFLAGS-tst-avx512-aux.c): Likewise.
9064         (CFLAGS-tst-avx512mod.c): Likewise.
9065         * sysdeps/x86_64/tst-avx-aux.c: New file.
9066         * sysdeps/x86_64/tst-avx.c: Likewise.
9067         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
9068         * sysdeps/x86_64/tst-avx512.c: Likewise.
9069         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
9070         * sysdeps/x86_64/tst-avxmod.c: Likewise.
9071         * sysdeps/x86_64/tst-sse.c: Likewise.
9072         * sysdeps/x86_64/tst-ssemod.c: Likewise.
9074 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
9076         * math/auto-libm-test-in: Add more tests of csin and csinh.
9077         * math/auto-libm-test-out-csin: Regenerated.
9078         * math/auto-libm-test-out-csinh: Likewise.
9079         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
9080         auto-libm-test-in.
9081         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
9083 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9085         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
9086         libm-compat-calls-auto.
9087         (libm-compat-calls): Likewise.
9088         (libm-compat-calls-auto): Rename to libm-compat-calls and add
9089         w_lgamma_compatF and k_standardF (merged from the items above).
9090         (libm-routines): Use libm-compat-calls, instead of
9091         libm-compat-calls-auto, with type-foreach.
9093 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
9095         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
9096         macro.
9097         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
9098         (CFLAGS-test-ifloat.c): ... this.  Remove
9099         -U__LIBC_INTERNAL_MATH_INLINES.
9100         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
9101         (CFLAGS-test-idouble.c): ... this.  Remove
9102         -U__LIBC_INTERNAL_MATH_INLINES.
9103         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
9104         (CFLAGS-test-ildouble.c): ... this.  Remove
9105         -U__LIBC_INTERNAL_MATH_INLINES.
9107 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
9109         * math/libm-test-support.c: New file.  Content from
9110         math/libm-test-driver.c.
9111         * math/libm-test-support.h: Likewise.
9112         * math/libm-test-support-double.c: New file.
9113         * math/libm-test-support-float.c: Likewise.
9114         * math/libm-test-support-ldouble.c: Likewise.
9115         * math/libm-test-driver.c: Remove main comment and header
9116         includes.  Include libm-test-support.h.
9117         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
9118         (flag_test_errno): Remove static.
9119         (flag_test_exceptions): Likewise.
9120         (flag_test_finite): Likewise.
9121         (flag_test_inline): Likewise.
9122         (flag_test_mathvec): Likewise.
9123         (test_msg): Likewise.
9124         (NO_EXCEPTION): Remove.
9125         (INVALID_EXCEPTION): Likewise.
9126         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9127         (OVERFLOW_EXCEPTION): Likewise.
9128         (UNDERFLOW_EXCEPTION): Likewise.
9129         (INEXACT_EXCEPTION): Likewise.
9130         (INVALID_EXCEPTION_OK): Likewise.
9131         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9132         (OVERFLOW_EXCEPTION_OK): Likewise.
9133         (UNDERFLOW_EXCEPTION_OK): Likewise.
9134         (NO_INEXACT_EXCEPTION): Likewise.
9135         (EXCEPTIONS_OK): Likewise.
9136         (IGNORE_ZERO_INF_SIGN): Likewise.
9137         (TEST_NAN_SIGN): Likewise.
9138         (TEST_NAN_PAYLOAD): Likewise.
9139         (NO_TEST_INLINE): Likewise.
9140         (XFAIL_TEST): Likewise.
9141         (ERRNO_UNCHANGED): Likewise.
9142         (ERRNO_EDOM): Likewise.
9143         (ERRNO_ERANGE): Likewise.
9144         (IGNORE_RESULT): Likewise.
9145         (NON_FINITE): Likewise.
9146         (TEST_SNAN): Likewise.
9147         (NO_TEST_MATHVEC): Likewise.
9148         (__CONCATX): Likewise.
9149         (TYPE_MIN): Likewise.
9150         (TYPE_TRUE_MIN): Likewise.
9151         (TYPE_MAX): Likewise.
9152         (MIN_EXP): Likewise.
9153         (MAX_EXP): Likewise.
9154         (MANT_DIG): Likewise.
9155         (FSTR_MAX): Likewise.
9156         (ulp_idx): Likewise.
9157         (qtype_str): Remove static.
9158         (TEST_COND_binary32): Remove.
9159         (TEST_COND_binary64): Likewise.
9160         (TEST_COND_binary128): Likewise.
9161         (TEST_COND_ibm128): Likewise.
9162         (TEST_COND_intel96): Likewise.
9163         (TEST_COND_m68k96): Likewise.
9164         (TEST_COND_ibm128_libgcc): Likewise.
9165         (XFAIL_IBM128_LIBGCC): Likewise.
9166         (PAYLOAD_DIG): Likewise.
9167         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9168         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9169         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9170         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9171         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9172         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9173         (TEST_COND_long32): Likewise.
9174         (TEST_COND_long64): Likewise.
9175         (TEST_COND_before_rounding): Likewise.
9176         (TEST_COND_after_rounding): Likewise.
9177         (ulps_file_name): Likewise.
9178         (ulps_file): Likewise.
9179         (output_ulps): Likewise.
9180         (output_dir): Likewise.
9181         (noErrors): Likewise.
9182         (noTests): Likewise.
9183         (noExcTests): Likewise.
9184         (noErrnoTests): Likewise.
9185         (verbose): Likewise.
9186         (output_max_error): Likewise.
9187         (output_points): Likewise.
9188         (ignore_max_ulp): Likewise.
9189         (max_error): Likewise.
9190         (real_max_error): Likewise.
9191         (imag_max_error): Likewise.
9192         (prev_max_error): Likewise.
9193         (prev_real_max_error): Likewise.
9194         (prev_imag_max_error): Likewise.
9195         (max_valid_error): Likewise.
9196         (TYPE_DECIMAL_DIG): Likewise.
9197         (TYPE_HEX_DIG): Likewise.
9198         (fmt_ftostr): Likewise.
9199         (compare_ulp_data): Likewise.
9200         (find_ulps): Likewise.
9201         (init_max_error): Likewise.
9202         (set_max_error): Likewise.
9203         (print_float): Likewise.
9204         (print_screen): Likewise.
9205         (print_screen_max_error): Likewise.
9206         (update_stats): Likewise.
9207         (print_function_ulps): Likewise.
9208         (print_complex_function_ulps): Likewise.
9209         (fpstack_test): Likewise.
9210         (print_max_error): Likewise.
9211         (print_complex_max_error): Likewise.
9212         (test_single_exception): Likewise.
9213         (test_exceptions): Likewise.
9214         (test_single_errno): Likewise.
9215         (test_errno): Likewise.
9216         (ULPDIFF): Likewise.
9217         (ulp): Likewise.
9218         (check_float_internal): Likewise.
9219         (check_float): Likewise.
9220         (check_complex): Likewise.
9221         (check_int): Likewise.
9222         (check_long): Likewise.
9223         (check_bool): Likewise.
9224         (check_longlong): Likewise.
9225         (check_intmax_t): Likewise.
9226         (check_uintmax_t): Likewise.
9227         (enable_test): Likewise.
9228         (matherr): Likewise.
9229         (initialize): Likewise.
9230         (options): Likewise.
9231         (doc): Remove static.
9232         (argp): Likewise.
9233         (parse_opt): Remove.
9234         (check_ulp): Likewise.
9235         (libm_test_init): Likewise.
9236         (libm_test_finish): Likewise.
9237         * math/Makefile (libm-test-support): New variable.
9238         (test-extras): Add libm-test-support files.
9239         (extra-test-objs): Likewise.
9240         (CFLAGS-libm-test-support-float.c): New variable.
9241         (CFLAGS-libm-test-support-double.c): Likewise.
9242         (CFLAGS-libm-test-support-ldouble.c): Likewise.
9243         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
9244         libm-test-support objects.
9246 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9248         * math/Makefile (libm-calls): Move w_exp...
9249         (libm-compat-calls-auto): Here.
9251         * math/w_expl.c: Add suffix "_compat" to filename.
9252         * sysdeps/ia64/fpu/w_expl.c: Likewise.
9253         * sysdeps/ia64/fpu/w_expf.c: Likewise.
9254         * sysdeps/ia64/fpu/w_exp.c: Likewise.
9255         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9256         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9257         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9258         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
9259         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9261         * math/w_expl_compat.c: New file, copied from above.
9262         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
9263         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
9264         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
9265         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
9266         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
9267         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
9268         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
9269         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
9271         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
9272         to filename.
9273         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
9275         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
9276         copied from above and adjusted for the new filenames.
9277         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
9279 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9281         * math/Makefile (libm-calls): Move w_lgammaF...
9282         (libm-compat-calls-auto): Here.
9284         * math/w_lgamma.c: Add suffix "_compat2" to filename.
9285         * math/w_lgammaf.c: Likewise.
9286         * math/w_lgammal.c: Likewise.
9288         * math/w_lgamma_compat2.c: New file, copied from above.
9289         * math/w_lgammaf_compat2.c: Likewise.
9290         * math/w_lgammal_compat2.c: Likewise.
9292 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9294         * math/Makefile (libm-calls): Move w_lgammaF_r...
9295         (libm-compat-calls-auto): Here.
9297         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
9298         * math/w_lgammaf_r.c: Likewise.
9299         * math/w_lgammal_r.c: Likewise.
9300         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
9301         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
9302         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
9304         * math/w_lgamma_r_compat.c: New file, copied from above.
9305         * math/w_lgammaf_r_compat.c: Likewise.
9306         * math/w_lgammal_r_compat.c: Likewise.
9307         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
9308         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
9309         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
9311         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
9312         to filename.
9313         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
9315         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
9316         copied from above and adjusted for the new filenames.
9317         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
9319 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
9321         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
9322         calculation in SYSCALL_ERROR_HANDLER().
9324 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
9326         * manual/contrib.texi: Fix typo.
9328 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9330         [BZ #21109]
9331         * elf/dl-tunable-types.h (tunable_callback_t): Accept
9332         tunable_val_t as argument.
9333         * elf/dl-tunables.c (__tunable_set_val): Add comment.
9334         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
9335         argument.
9336         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
9338 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
9340         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
9341         Add PTRACE_EVENT_STOP.
9342         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9343         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9344         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9345         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9346         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
9347         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
9349 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
9351         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
9352         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
9353         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
9354         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
9355         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
9356         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
9357         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
9358         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
9359         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
9360         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
9362         [BZ #21112]
9363         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
9364         12 bits zero.
9365         (cp_l): Update for new value of cp_h.
9366         * math/auto-libm-test-in: Add another test of pow.
9367         * math/auto-libm-test-out-pow: Regenerated.
9369 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9371         * manual/contrib.texi: Fix typo.
9373 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9375         [BZ #15998]
9376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9377         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
9378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9380 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9382         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
9383         STRCHR as __strchr_power8.
9384         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
9385         strlen as __strlen_power8.
9387 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9389         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
9390         unaligned load for shorter strings.
9391         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
9393 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
9395         * math/libm-test-driver.c (flag_test_errno): New variable.
9396         (flag_test_exceptions): Likewise.
9397         (flag_test_finite): Likewise.
9398         (flag_test_inline): Likewise.
9399         (flag_test_mathvec): Likewise.
9400         (test_msg): Likewise.
9401         (ulp_idx): Likewise.
9402         (qtype_str): Likewise.
9403         (ULP_IDX): Remove macro.
9404         (QTYPE_STR): Likewise.
9405         (find_ulps): Use ulp_idx not ULP_IDX.
9406         (print_function_ulps): Use qtype_str, printed with %s, not
9407         QTYPE_STR, printed with concatentation to format string.
9408         (print_complex_function_ulps): Likewise.
9409         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
9410         (test_errno): Use flag_test_errno not TEST_ERRNO.
9411         (enable_test): Use flag_test_inline, flag_test_finite and
9412         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
9413         TEST_MATHVEC.
9414         (libm_test_init): New function.  Factored out of main.
9415         (libm_test_finish): Likewise.
9416         (main): Call libm_test_init and libm_test_finish and move most
9417         code to those functions.
9419         * math/libm-test-driver.c (STRX): New macro.
9420         (STR): Likewise.
9421         (STR_FLOAT): Likewise.
9422         (STR_VEC_LEN): Likewise.
9423         (TEST_MSG): Likewise.  Define here instead of expecting to be
9424         defined by including file.
9425         * math/test-double-finite.c (TEST_MSG): Remove macro.
9426         * math/test-double-vlen2.h (TEST_MSG): Likewise.
9427         * math/test-double-vlen4.h (TEST_MSG): Likewise.
9428         * math/test-double-vlen8.h (TEST_MSG): Likewise.
9429         * math/test-double.c (TEST_MSG): Likewise.
9430         * math/test-float-finite.c (TEST_MSG): Likewise.
9431         * math/test-float-vlen16.h (TEST_MSG): Likewise.
9432         * math/test-float-vlen4.h (TEST_MSG): Likewise.
9433         * math/test-float-vlen8.h (TEST_MSG): Likewise.
9434         * math/test-float.c (TEST_MSG): Likewise.
9435         * math/test-idouble.c (TEST_MSG): Likewise.
9436         * math/test-ifloat.c (TEST_MSG): Likewise.
9437         * math/test-ildouble.c (TEST_MSG): Likewise.
9438         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
9439         * math/test-ldouble.c (TEST_MSG): Likewise.
9441         * math/libm-test.inc: Move all tests of individual functions to
9442         libm-test-*.inc and #include libm-test-*.c files.
9443         (acos_test_data): Remove.
9444         (acos_test): Likewise.
9445         (acosh_test_data): Likewise.
9446         (acosh_test): Likewise.
9447         (asin_test_data): Likewise.
9448         (asin_test): Likewise.
9449         (asinh_test_data): Likewise.
9450         (asinh_test): Likewise.
9451         (atan_test_data): Likewise.
9452         (atan_test): Likewise.
9453         (atanh_test_data): Likewise.
9454         (atanh_test): Likewise.
9455         (atan2_test_data): Likewise.
9456         (atan2_test): Likewise.
9457         (cabs_test_data): Likewise.
9458         (cabs_test): Likewise.
9459         (cacos_test_data): Likewise.
9460         (cacos_test): Likewise.
9461         (cacosh_test_data): Likewise.
9462         (cacosh_test): Likewise.
9463         (canonicalize_test_data): Likewise.
9464         (canonicalize_test): Likewise.
9465         (carg_test_data): Likewise.
9466         (carg_test): Likewise.
9467         (casin_test_data): Likewise.
9468         (casin_test): Likewise.
9469         (casinh_test_data): Likewise.
9470         (casinh_test): Likewise.
9471         (catan_test_data): Likewise.
9472         (catan_test): Likewise.
9473         (catanh_test_data): Likewise.
9474         (catanh_test): Likewise.
9475         (cbrt_test_data): Likewise.
9476         (cbrt_test): Likewise.
9477         (ccos_test_data): Likewise.
9478         (ccos_test): Likewise.
9479         (ccosh_test_data): Likewise.
9480         (ccosh_test): Likewise.
9481         (ceil_test_data): Likewise.
9482         (ceil_test): Likewise.
9483         (cexp_test_data): Likewise.
9484         (cexp_test): Likewise.
9485         (cimag_test_data): Likewise.
9486         (cimag_test): Likewise.
9487         (clog_test_data): Likewise.
9488         (clog_test): Likewise.
9489         (clog10_test_data): Likewise.
9490         (clog10_test): Likewise.
9491         (conj_test_data): Likewise.
9492         (conj_test): Likewise.
9493         (copysign_test_data): Likewise.
9494         (copysign_test): Likewise.
9495         (cos_test_data): Likewise.
9496         (cos_test): Likewise.
9497         (cosh_test_data): Likewise.
9498         (cosh_test): Likewise.
9499         (cpow_test_data): Likewise.
9500         (cpow_test): Likewise.
9501         (cproj_test_data): Likewise.
9502         (cproj_test): Likewise.
9503         (creal_test_data): Likewise.
9504         (creal_test): Likewise.
9505         (csin_test_data): Likewise.
9506         (csin_test): Likewise.
9507         (csinh_test_data): Likewise.
9508         (csinh_test): Likewise.
9509         (csqrt_test_data): Likewise.
9510         (csqrt_test): Likewise.
9511         (ctan_test_data): Likewise.
9512         (ctan_test): Likewise.
9513         (ctanh_test_data): Likewise.
9514         (ctanh_test): Likewise.
9515         (erf_test_data): Likewise.
9516         (erf_test): Likewise.
9517         (erfc_test_data): Likewise.
9518         (erfc_test): Likewise.
9519         (exp_test_data): Likewise.
9520         (exp_test): Likewise.
9521         (exp10_test_data): Likewise.
9522         (exp10_test): Likewise.
9523         (pow10_test): Likewise.
9524         (exp2_test_data): Likewise.
9525         (exp2_test): Likewise.
9526         (expm1_test_data): Likewise.
9527         (expm1_test): Likewise.
9528         (fabs_test_data): Likewise.
9529         (fabs_test): Likewise.
9530         (fdim_test_data): Likewise.
9531         (fdim_test): Likewise.
9532         (floor_test_data): Likewise.
9533         (floor_test): Likewise.
9534         (fma_test_data): Likewise.
9535         (fma_test): Likewise.
9536         (fmax_test_data): Likewise.
9537         (fmax_test): Likewise.
9538         (fmaxmag_test_data): Likewise.
9539         (fmaxmag_test): Likewise.
9540         (fmin_test_data): Likewise.
9541         (fmin_test): Likewise.
9542         (fminmag_test_data): Likewise.
9543         (fminmag_test): Likewise.
9544         (fmod_test_data): Likewise.
9545         (fmod_test): Likewise.
9546         (fpclassify_test_data): Likewise.
9547         (fpclassify_test): Likewise.
9548         (frexp_test_data): Likewise.
9549         (frexp_test): Likewise.
9550         (fromfp_test_data): Likewise.
9551         (fromfp_test): Likewise.
9552         (fromfpx_test_data): Likewise.
9553         (fromfpx_test): Likewise.
9554         (getpayload_test_data): Likewise.
9555         (getpayload_test): Likewise.
9556         (hypot_test_data): Likewise.
9557         (hypot_test): Likewise.
9558         (ilogb_test_data): Likewise.
9559         (ilogb_test): Likewise.
9560         (iscanonical_test_data): Likewise.
9561         (iscanonical_test): Likewise.
9562         (iseqsig_test_data): Likewise.
9563         (iseqsig_test): Likewise.
9564         (isfinite_test_data): Likewise.
9565         (isfinite_test): Likewise.
9566         (finite_test): Likewise.
9567         (isgreater_test_data): Likewise.
9568         (isgreater_test): Likewise.
9569         (isgreaterequal_test_data): Likewise.
9570         (isgreaterequal_test): Likewise.
9571         (isinf_test_data): Likewise.
9572         (isinf_test): Likewise.
9573         (isless_test_data): Likewise.
9574         (isless_test): Likewise.
9575         (islessequal_test_data): Likewise.
9576         (islessequal_test): Likewise.
9577         (islessgreater_test_data): Likewise.
9578         (islessgreater_test): Likewise.
9579         (isnan_test_data): Likewise.
9580         (isnan_test): Likewise.
9581         (isnormal_test_data): Likewise.
9582         (isnormal_test): Likewise.
9583         (issignaling_test_data): Likewise.
9584         (issignaling_test): Likewise.
9585         (issubnormal_test_data): Likewise.
9586         (issubnormal_test): Likewise.
9587         (isunordered_test_data): Likewise.
9588         (isunordered_test): Likewise.
9589         (iszero_test_data): Likewise.
9590         (iszero_test): Likewise.
9591         (j0_test_data): Likewise.
9592         (j0_test): Likewise.
9593         (j1_test_data): Likewise.
9594         (j1_test): Likewise.
9595         (jn_test_data): Likewise.
9596         (jn_test): Likewise.
9597         (lgamma_test_data): Likewise.
9598         (lgamma_test): Likewise.
9599         (gamma_test): Likewise.
9600         (llogb_test_data): Likewise.
9601         (llogb_test): Likewise.
9602         (lrint_test_data): Likewise.
9603         (lrint_test): Likewise.
9604         (llrint_test_data): Likewise.
9605         (llrint_test): Likewise.
9606         (log_test_data): Likewise.
9607         (log_test): Likewise.
9608         (log10_test_data): Likewise.
9609         (log10_test): Likewise.
9610         (log1p_test_data): Likewise.
9611         (log1p_test): Likewise.
9612         (log2_test_data): Likewise.
9613         (log2_test): Likewise.
9614         (logb_test_data): Likewise.
9615         (logb_test): Likewise.
9616         (lround_test_data): Likewise.
9617         (lround_test): Likewise.
9618         (llround_test_data): Likewise.
9619         (llround_test): Likewise.
9620         (modf_test_data): Likewise.
9621         (modf_test): Likewise.
9622         (nearbyint_test_data): Likewise.
9623         (nearbyint_test): Likewise.
9624         (nextafter_test_data): Likewise.
9625         (nextafter_test): Likewise.
9626         (nextup_test_data): Likewise.
9627         (nextup_test): Likewise.
9628         (nextdown_test_data): Likewise.
9629         (nextdown_test): Likewise.
9630         (nexttoward_test_data): Likewise.
9631         (nexttoward_test): Likewise.
9632         (pow_test_data): Likewise.
9633         (pow_test): Likewise.
9634         (remainder_test_data): Likewise.
9635         (remainder_test): Likewise.
9636         (drem_test): Likewise.
9637         (remquo_test_data): Likewise.
9638         (remquo_test): Likewise.
9639         (rint_test_data): Likewise.
9640         (rint_test): Likewise.
9641         (round_test_data): Likewise.
9642         (round_test): Likewise.
9643         (roundeven_test_data): Likewise.
9644         (roundeven_test): Likewise.
9645         (scalb_test_data): Likewise.
9646         (scalb_test): Likewise.
9647         (scalbn_test_data): Likewise.
9648         (scalbn_test): Likewise.
9649         (ldexp_test): Likewise.
9650         (scalbln_test_data): Likewise.
9651         (scalbln_test): Likewise.
9652         (setpayload_test_data): Likewise.
9653         (setpayload_test): Likewise.
9654         (setpayloadsig_test_data): Likewise.
9655         (setpayloadsig_test): Likewise.
9656         (signbit_test_data): Likewise.
9657         (signbit_test): Likewise.
9658         (sin_test_data): Likewise.
9659         (sin_test): Likewise.
9660         (sincos_test_data): Likewise.
9661         (sincos_test): Likewise.
9662         (sinh_test_data): Likewise.
9663         (sinh_test): Likewise.
9664         (sqrt_test_data): Likewise.
9665         (sqrt_test): Likewise.
9666         (tan_test_data): Likewise.
9667         (tan_test): Likewise.
9668         (tanh_test_data): Likewise.
9669         (tanh_test): Likewise.
9670         (tgamma_test_data): Likewise.
9671         (tgamma_test): Likewise.
9672         (totalorder_test_data): Likewise.
9673         (totalorder_test): Likewise.
9674         (totalordermag_test_data): Likewise.
9675         (totalordermag_test): Likewise.
9676         (trunc_test_data): Likewise.
9677         (trunc_test): Likewise.
9678         (ufromfp_test_data): Likewise.
9679         (ufromfp_test): Likewise.
9680         (ufromfpx_test_data): Likewise.
9681         (ufromfpx_test): Likewise.
9682         (y0_test_data): Likewise.
9683         (y0_test): Likewise.
9684         (y1_test_data): Likewise.
9685         (y1_test): Likewise.
9686         (yn_test_data): Likewise.
9687         (yn_test): Likewise.
9688         (significand_test_data): Likewise.
9689         (significand_test): Likewise.
9690         * math/Makefile (auto-libm-test-out-files): Remove variable.
9691         (libm-test-funcs-noauto): New variable.
9692         (libm-test-funcs-all): Likewise.
9693         (libm-test-c-auto): Likewise.
9694         (libm-test-c-noauto): Likewise.
9695         (libm-tests-generated): Add $(libm-test-c-auto) and
9696         $(libm-test-c-noauto).
9697         (generated): Do not add auto-libm-test-out.
9698         (libm-test-c-auto-obj): New variable.
9699         (libm-test-c-noauto-obj): Likewise.
9700         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
9701         ($(libm-test-c-noauto-obj)): New static pattern rule.
9702         ($(libm-test-c-auto-obj)): Likewise.
9703         (libm-test-incs): New variable.
9704         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
9705         and pass it to gen-libm-have-vector-test.sh.
9706         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
9707         be passed on command line.
9708         * math/libm-test-acos.inc: New file.  Content from
9709         math/libm-test.inc.
9710         * math/libm-test-acosh.inc: Likewise.
9711         * math/libm-test-asin.inc: Likewise.
9712         * math/libm-test-asinh.inc: Likewise.
9713         * math/libm-test-atan.inc: Likewise.
9714         * math/libm-test-atan2.inc: Likewise.
9715         * math/libm-test-atanh.inc: Likewise.
9716         * math/libm-test-cabs.inc: Likewise.
9717         * math/libm-test-cacos.inc: Likewise.
9718         * math/libm-test-cacosh.inc: Likewise.
9719         * math/libm-test-canonicalize.inc: Likewise.
9720         * math/libm-test-carg.inc: Likewise.
9721         * math/libm-test-casin.inc: Likewise.
9722         * math/libm-test-casinh.inc: Likewise.
9723         * math/libm-test-catan.inc: Likewise.
9724         * math/libm-test-catanh.inc: Likewise.
9725         * math/libm-test-cbrt.inc: Likewise.
9726         * math/libm-test-ccos.inc: Likewise.
9727         * math/libm-test-ccosh.inc: Likewise.
9728         * math/libm-test-ceil.inc: Likewise.
9729         * math/libm-test-cexp.inc: Likewise.
9730         * math/libm-test-cimag.inc: Likewise.
9731         * math/libm-test-clog.inc: Likewise.
9732         * math/libm-test-clog10.inc: Likewise.
9733         * math/libm-test-conj.inc: Likewise.
9734         * math/libm-test-copysign.inc: Likewise.
9735         * math/libm-test-cos.inc: Likewise.
9736         * math/libm-test-cosh.inc: Likewise.
9737         * math/libm-test-cpow.inc: Likewise.
9738         * math/libm-test-cproj.inc: Likewise.
9739         * math/libm-test-creal.inc: Likewise.
9740         * math/libm-test-csin.inc: Likewise.
9741         * math/libm-test-csinh.inc: Likewise.
9742         * math/libm-test-csqrt.inc: Likewise.
9743         * math/libm-test-ctan.inc: Likewise.
9744         * math/libm-test-ctanh.inc: Likewise.
9745         * math/libm-test-erf.inc: Likewise.
9746         * math/libm-test-erfc.inc: Likewise.
9747         * math/libm-test-exp.inc: Likewise.
9748         * math/libm-test-exp10.inc: Likewise.
9749         * math/libm-test-exp2.inc: Likewise.
9750         * math/libm-test-expm1.inc: Likewise.
9751         * math/libm-test-fabs.inc: Likewise.
9752         * math/libm-test-fdim.inc: Likewise.
9753         * math/libm-test-floor.inc: Likewise.
9754         * math/libm-test-fma.inc: Likewise.
9755         * math/libm-test-fmax.inc: Likewise.
9756         * math/libm-test-fmaxmag.inc: Likewise.
9757         * math/libm-test-fmin.inc: Likewise.
9758         * math/libm-test-fminmag.inc: Likewise.
9759         * math/libm-test-fmod.inc: Likewise.
9760         * math/libm-test-fpclassify.inc: Likewise.
9761         * math/libm-test-frexp.inc: Likewise.
9762         * math/libm-test-fromfp.inc: Likewise.
9763         * math/libm-test-fromfpx.inc: Likewise.
9764         * math/libm-test-getpayload.inc: Likewise.
9765         * math/libm-test-hypot.inc: Likewise.
9766         * math/libm-test-ilogb.inc: Likewise.
9767         * math/libm-test-iscanonical.inc: Likewise.
9768         * math/libm-test-iseqsig.inc: Likewise.
9769         * math/libm-test-isfinite.inc: Likewise.
9770         * math/libm-test-isgreater.inc: Likewise.
9771         * math/libm-test-isgreaterequal.inc: Likewise.
9772         * math/libm-test-isinf.inc: Likewise.
9773         * math/libm-test-isless.inc: Likewise.
9774         * math/libm-test-islessequal.inc: Likewise.
9775         * math/libm-test-islessgreater.inc: Likewise.
9776         * math/libm-test-isnan.inc: Likewise.
9777         * math/libm-test-isnormal.inc: Likewise.
9778         * math/libm-test-issignaling.inc: Likewise.
9779         * math/libm-test-issubnormal.inc: Likewise.
9780         * math/libm-test-isunordered.inc: Likewise.
9781         * math/libm-test-iszero.inc: Likewise.
9782         * math/libm-test-j0.inc: Likewise.
9783         * math/libm-test-j1.inc: Likewise.
9784         * math/libm-test-jn.inc: Likewise.
9785         * math/libm-test-lgamma.inc: Likewise.
9786         * math/libm-test-llogb.inc: Likewise.
9787         * math/libm-test-llrint.inc: Likewise.
9788         * math/libm-test-llround.inc: Likewise.
9789         * math/libm-test-log.inc: Likewise.
9790         * math/libm-test-log10.inc: Likewise.
9791         * math/libm-test-log1p.inc: Likewise.
9792         * math/libm-test-log2.inc: Likewise.
9793         * math/libm-test-logb.inc: Likewise.
9794         * math/libm-test-lrint.inc: Likewise.
9795         * math/libm-test-lround.inc: Likewise.
9796         * math/libm-test-modf.inc: Likewise.
9797         * math/libm-test-nearbyint.inc: Likewise.
9798         * math/libm-test-nextafter.inc: Likewise.
9799         * math/libm-test-nextdown.inc: Likewise.
9800         * math/libm-test-nexttoward.inc: Likewise.
9801         * math/libm-test-nextup.inc: Likewise.
9802         * math/libm-test-pow.inc: Likewise.
9803         * math/libm-test-remainder.inc: Likewise.
9804         * math/libm-test-remquo.inc: Likewise.
9805         * math/libm-test-rint.inc: Likewise.
9806         * math/libm-test-round.inc: Likewise.
9807         * math/libm-test-roundeven.inc: Likewise.
9808         * math/libm-test-scalb.inc: Likewise.
9809         * math/libm-test-scalbln.inc: Likewise.
9810         * math/libm-test-scalbn.inc: Likewise.
9811         * math/libm-test-setpayload.inc: Likewise.
9812         * math/libm-test-setpayloadsig.inc: Likewise.
9813         * math/libm-test-signbit.inc: Likewise.
9814         * math/libm-test-significand.inc: Likewise.
9815         * math/libm-test-sin.inc: Likewise.
9816         * math/libm-test-sincos.inc: Likewise.
9817         * math/libm-test-sinh.inc: Likewise.
9818         * math/libm-test-sqrt.inc: Likewise.
9819         * math/libm-test-tan.inc: Likewise.
9820         * math/libm-test-tanh.inc: Likewise.
9821         * math/libm-test-tgamma.inc: Likewise.
9822         * math/libm-test-totalorder.inc: Likewise.
9823         * math/libm-test-totalordermag.inc: Likewise.
9824         * math/libm-test-trunc.inc: Likewise.
9825         * math/libm-test-ufromfp.inc: Likewise.
9826         * math/libm-test-ufromfpx.inc: Likewise.
9827         * math/libm-test-y0.inc: Likewise.
9828         * math/libm-test-y1.inc: Likewise.
9829         * math/libm-test-yn.inc: Likewise.
9830         * math/README.libm-test: Update.
9832         * math/gen-auto-libm-tests.c: Update comment about use of program.
9833         (generate_output): Add argument FUNCTION.
9834         (main): Require extra argument.  Pass function name to
9835         generate_output.
9836         * math/Makefile (generated): Add auto-libm-test-out.
9837         (libm-test-funcs-auto): New variable.
9838         (auto-libm-test-out-files): New variable.
9839         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
9840         Concatenate those files to form $(objpfx)auto-libm-test-out and
9841         use it as input to gen-libm-test.pl.
9842         * math/README.libm-test: Update.
9843         * math/auto-libm-test-out: Remove.
9844         * math/auto-libm-test-out-acos: New generated file.
9845         * math/auto-libm-test-out-acosh: Likewise.
9846         * math/auto-libm-test-out-asin: Likewise.
9847         * math/auto-libm-test-out-asinh: Likewise.
9848         * math/auto-libm-test-out-atan: Likewise.
9849         * math/auto-libm-test-out-atan2: Likewise.
9850         * math/auto-libm-test-out-atanh: Likewise.
9851         * math/auto-libm-test-out-cabs: Likewise.
9852         * math/auto-libm-test-out-carg: Likewise.
9853         * math/auto-libm-test-out-cbrt: Likewise.
9854         * math/auto-libm-test-out-ccos: Likewise.
9855         * math/auto-libm-test-out-ccosh: Likewise.
9856         * math/auto-libm-test-out-cexp: Likewise.
9857         * math/auto-libm-test-out-clog: Likewise.
9858         * math/auto-libm-test-out-clog10: Likewise.
9859         * math/auto-libm-test-out-cos: Likewise.
9860         * math/auto-libm-test-out-cosh: Likewise.
9861         * math/auto-libm-test-out-cpow: Likewise.
9862         * math/auto-libm-test-out-csin: Likewise.
9863         * math/auto-libm-test-out-csinh: Likewise.
9864         * math/auto-libm-test-out-csqrt: Likewise.
9865         * math/auto-libm-test-out-ctan: Likewise.
9866         * math/auto-libm-test-out-ctanh: Likewise.
9867         * math/auto-libm-test-out-erf: Likewise.
9868         * math/auto-libm-test-out-erfc: Likewise.
9869         * math/auto-libm-test-out-exp: Likewise.
9870         * math/auto-libm-test-out-exp10: Likewise.
9871         * math/auto-libm-test-out-exp2: Likewise.
9872         * math/auto-libm-test-out-expm1: Likewise.
9873         * math/auto-libm-test-out-fma: Likewise.
9874         * math/auto-libm-test-out-hypot: Likewise.
9875         * math/auto-libm-test-out-j0: Likewise.
9876         * math/auto-libm-test-out-j1: Likewise.
9877         * math/auto-libm-test-out-jn: Likewise.
9878         * math/auto-libm-test-out-lgamma: Likewise.
9879         * math/auto-libm-test-out-log: Likewise.
9880         * math/auto-libm-test-out-log10: Likewise.
9881         * math/auto-libm-test-out-log1p: Likewise.
9882         * math/auto-libm-test-out-log2: Likewise.
9883         * math/auto-libm-test-out-pow: Likewise.
9884         * math/auto-libm-test-out-sin: Likewise.
9885         * math/auto-libm-test-out-sincos: Likewise.
9886         * math/auto-libm-test-out-sinh: Likewise.
9887         * math/auto-libm-test-out-sqrt: Likewise.
9888         * math/auto-libm-test-out-tan: Likewise.
9889         * math/auto-libm-test-out-tanh: Likewise.
9890         * math/auto-libm-test-out-tgamma: Likewise.
9891         * math/auto-libm-test-out-y0: Likewise.
9892         * math/auto-libm-test-out-y1: Likewise.
9893         * math/auto-libm-test-out-yn: Likewise.
9895         * math/Makefile (generated): Do not include libm-test.stmp.
9896         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
9897         on $(objpfx)libm-test.stmp.
9898         ($(objpfx)libm-test.stmp): Remove rule.
9899         ($(objpfx)libm-test-ulps.h): New rule.
9900         ($(objpfx)libm-test.c): Likewise.
9901         ($(objpfx)libm-have-vector-test.h): Likewise.
9902         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
9903         individual generated files, not libm-test.stmp.
9905         * math/gen-libm-test.pl ($output_dir): Remove variable.
9906         ($srcdir): Likewise.
9907         ($opt_a): New variable.
9908         ($opt_c): Likewise.
9909         ($opt_C): Likewise.
9910         ($opt_H): Likewise.
9911         (-n): Make option take argument and use it as NewUlps output.
9912         (-a): New option.  Use its argument for auto-libm-test-out input.
9913         (-c): New option.  Use its argument for libm-test.inc input.
9914         (-C): New option.  Use its argument for libm-test.c output.
9915         (-H): New option.  Use its argument for libm-test-ulps.h output.
9916         (top level): Only process inputs needed to generate outputs
9917         specified by command-line options.  Only generate outputs
9918         specified by command-line options.
9919         * math/README.libm-test: Update example gen-libm-test.pl command.
9920         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
9921         commands.
9922         (regen-ulps): Likewise.
9924 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
9926         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
9927         * include/string.h (index): Remove define.
9928         (rindex): Likewise.
9929         * misc/getttyent.c (__getttyent): Rename index to strchr.
9930         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
9931         * sunrpc/rpc_main.c (mkfile_output): Likewise.
9933 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
9935         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
9936         * math/libm-test.inc: Move all contents, other than tests of
9937         individual functions, to libm-test-driver.c.
9938         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
9939         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
9940         [!FE_UPWARD] (FE_UPWARD): Likewise.
9941         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
9942         (NO_EXCEPTION): Likewise.
9943         (INVALID_EXCEPTION): Likewise.
9944         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9945         (OVERFLOW_EXCEPTION): Likewise.
9946         (UNDERFLOW_EXCEPTION): Likewise.
9947         (INEXACT_EXCEPTION): Likewise.
9948         (INVALID_EXCEPTION_OK): Likewise.
9949         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9950         (OVERFLOW_EXCEPTION_OK): Likewise.
9951         (UNDERFLOW_EXCEPTION_OK): Likewise.
9952         (NO_INEXACT_EXCEPTION): Likewise.
9953         (EXCEPTIONS_OK): Likewise.
9954         (IGNORE_ZERO_INF_SIGN): Likewise.
9955         (TEST_NAN_SIGN): Likewise.
9956         (TEST_NAN_PAYLOAD): Likewise.
9957         (NO_TEST_INLINE): Likewise.
9958         (XFAIL_TEST): Likewise.
9959         (ERRNO_UNCHANGED): Likewise.
9960         (ERRNO_EDOM): Likewise.
9961         (ERRNO_ERANGE): Likewise.
9962         (IGNORE_RESULT): Likewise.
9963         (NON_FINITE): Likewise.
9964         (TEST_SNAN): Likewise.
9965         (NO_TEST_MATHVEC): Likewise.
9966         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
9967         (__CONCATX): Likewise.
9968         (TYPE_MIN): Likewise.
9969         (TYPE_TRUE_MIN): Likewise.
9970         (TYPE_MAX): Likewise.
9971         (MIN_EXP): Likewise.
9972         (MAX_EXP): Likewise.
9973         (MANT_DIG): Likewise.
9974         (FSTR_MAX): Likewise.
9975         (ULP_IDX): Likewise.
9976         (QTYPE_STR): Likewise.
9977         (TEST_COND_binary32): Likewise.
9978         (TEST_COND_binary64): Likewise.
9979         (TEST_COND_binary128): Likewise.
9980         (TEST_COND_ibm128): Likewise.
9981         (TEST_COND_intel96): Likewise.
9982         (TEST_COND_m68k96): Likewise.
9983         (TEST_COND_ibm128_libgcc): Likewise.
9984         (XFAIL_IBM128_LIBGCC): Likewise.
9985         (PAYLOAD_DIG): Likewise.
9986         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9987         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9988         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9989         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9990         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9991         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9992         (TEST_COND_long32): Likewise.
9993         (TEST_COND_long64): Likewise.
9994         (TEST_COND_before_rounding): Likewise.
9995         (TEST_COND_after_rounding): Likewise.
9996         (lit_pi_3_m_4_d): Likewise.
9997         (lit_pi_3_m_4_ln10_m_d): Likewise.
9998         (lit_pi_2_ln10_m_d): Likewise.
9999         (lit_pi_4_ln10_m_d): Likewise.
10000         (lit_pi_ln10_d): Likewise.
10001         (lit_pi_2_d): Likewise.
10002         (lit_pi_4_d): Likewise.
10003         (lit_pi): Likewise.
10004         (lit_e): Likewise.
10005         (ulps_file_name): Likewise.
10006         (ulps_file): Likewise.
10007         (output_ulps): Likewise.
10008         (output_dir): Likewise.
10009         (noErrors): Likewise.
10010         (noTests): Likewise.
10011         (noExcTests): Likewise.
10012         (noErrnoTests): Likewise.
10013         (verbose): Likewise.
10014         (output_max_error): Likewise.
10015         (output_points): Likewise.
10016         (ignore_max_ulp): Likewise.
10017         (plus_zero): Likewise.
10018         (minus_zero): Likewise.
10019         (plus_infty): Likewise.
10020         (minus_infty): Likewise.
10021         (qnan_value_pl): Likewise.
10022         (qnan_value): Likewise.
10023         (snan_value_pl): Likewise.
10024         (snan_value): Likewise.
10025         (max_value): Likewise.
10026         (min_value): Likewise.
10027         (min_subnorm_value): Likewise.
10028         (snan_value_ld): Likewise.
10029         (max_error): Likewise.
10030         (real_max_error): Likewise.
10031         (imag_max_error): Likewise.
10032         (prev_max_error): Likewise.
10033         (prev_real_max_error): Likewise.
10034         (prev_imag_max_error): Likewise.
10035         (max_valid_error): Likewise.
10036         (TYPE_DECIMAL_DIG): Likewise.
10037         (TYPE_HEX_DIG): Likewise.
10038         (fmt_ftostr): Likewise.
10039         (compare_ulp_data): Likewise.
10040         (find_ulps): Likewise.
10041         (init_max_error): Likewise.
10042         (set_max_error): Likewise.
10043         (print_float): Likewise.
10044         (print_screen): Likewise.
10045         (print_screen_max_error): Likewise.
10046         (update_stats): Likewise.
10047         (print_function_ulps): Likewise.
10048         (print_complex_function_ulps): Likewise.
10049         (fpstack_test): Likewise.
10050         (print_max_error): Likewise.
10051         (print_complex_max_error): Likewise.
10052         (test_single_exception): Likewise.
10053         (test_exceptions): Likewise.
10054         (test_single_errno): Likewise.
10055         (test_errno): Likewise.
10056         (ULPDIFF): Likewise.
10057         (ulp): Likewise.
10058         (check_float_internal): Likewise.
10059         (check_float): Likewise.
10060         (check_complex): Likewise.
10061         (check_int): Likewise.
10062         (check_long): Likewise.
10063         (check_bool): Likewise.
10064         (check_longlong): Likewise.
10065         (check_intmax_t): Likewise.
10066         (check_uintmax_t): Likewise.
10067         (enable_test): Likewise.
10068         (struct test_f_f_data): Likewise.
10069         (struct test_ff_f_data): Likewise.
10070         (struct test_fj_f_data): Likewise.
10071         (struct test_fi_f_data): Likewise.
10072         (struct test_fl_f_data): Likewise.
10073         (struct test_if_f_data): Likewise.
10074         (struct test_fff_f_data): Likewise.
10075         (struct test_fiu_M_data): Likewise.
10076         (struct test_fiu_U_data): Likewise.
10077         (struct test_c_f_data): Likewise.
10078         (struct test_f_f1_data): Likewise.
10079         (struct test_fF_f1_data): Likewise.
10080         (struct test_ffI_f1_data): Likewise.
10081         (struct test_c_c_data): Likewise.
10082         (struct test_cc_c_data): Likewise.
10083         (struct test_f_i_data): Likewise.
10084         (struct test_ff_i_data): Likewise.
10085         (struct test_f_l_data): Likewise.
10086         (struct test_f_L_data): Likewise.
10087         (struct test_fFF_11_data): Likewise.
10088         (struct test_Ff_b1_data): Likewise.
10089         (IF_ROUND_INIT_): Likewise.
10090         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10091         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10092         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10093         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10094         (ROUND_RESTORE_): Likewise.
10095         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10096         (ROUND_RESTORE_FE_TONEAREST): Likewise.
10097         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10098         (ROUND_RESTORE_FE_UPWARD): Likewise.
10099         (RM_): Likewise.
10100         (RM_FE_DOWNWARD): Likewise.
10101         (RM_FE_TONEAREST): Likewise.
10102         (RM_FE_TOWARDZERO): Likewise.
10103         (RM_FE_UPWARD): Likewise.
10104         (COMMON_TEST_SETUP): Likewise.
10105         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10106         (COMMON_TEST_CLEANUP): Likewise.
10107         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10108         (RUN_TEST_f_f): Likewise.
10109         (RUN_TEST_LOOP_f_f): Likewise.
10110         (RUN_TEST_fp_f): Likewise.
10111         (RUN_TEST_LOOP_fp_f): Likewise.
10112         (RUN_TEST_2_f): Likewise.
10113         (RUN_TEST_LOOP_2_f): Likewise.
10114         (RUN_TEST_ff_f): Likewise.
10115         (RUN_TEST_LOOP_ff_f): Likewise.
10116         (RUN_TEST_LOOP_fj_f): Likewise.
10117         (RUN_TEST_fi_f): Likewise.
10118         (RUN_TEST_LOOP_fi_f): Likewise.
10119         (RUN_TEST_fl_f): Likewise.
10120         (RUN_TEST_LOOP_fl_f): Likewise.
10121         (RUN_TEST_if_f): Likewise.
10122         (RUN_TEST_LOOP_if_f): Likewise.
10123         (RUN_TEST_fff_f): Likewise.
10124         (RUN_TEST_LOOP_fff_f): Likewise.
10125         (RUN_TEST_fiu_M): Likewise.
10126         (RUN_TEST_LOOP_fiu_M): Likewise.
10127         (RUN_TEST_fiu_U): Likewise.
10128         (RUN_TEST_LOOP_fiu_U): Likewise.
10129         (RUN_TEST_c_f): Likewise.
10130         (RUN_TEST_LOOP_c_f): Likewise.
10131         (RUN_TEST_f_f1): Likewise.
10132         (RUN_TEST_LOOP_f_f1): Likewise.
10133         (RUN_TEST_fF_f1): Likewise.
10134         (RUN_TEST_LOOP_fF_f1): Likewise.
10135         (RUN_TEST_fI_f1): Likewise.
10136         (RUN_TEST_LOOP_fI_f1): Likewise.
10137         (RUN_TEST_ffI_f1_mod8): Likewise.
10138         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
10139         (RUN_TEST_Ff_b1): Likewise.
10140         (RUN_TEST_LOOP_Ff_b1): Likewise.
10141         (RUN_TEST_Ffp_b1): Likewise.
10142         (RUN_TEST_LOOP_Ffp_b1): Likewise.
10143         (RUN_TEST_c_c): Likewise.
10144         (RUN_TEST_LOOP_c_c): Likewise.
10145         (RUN_TEST_cc_c): Likewise.
10146         (RUN_TEST_LOOP_cc_c): Likewise.
10147         (RUN_TEST_f_i): Likewise.
10148         (RUN_TEST_LOOP_f_i): Likewise.
10149         (RUN_TEST_f_i_tg): Likewise.
10150         (RUN_TEST_LOOP_f_i_tg): Likewise.
10151         (RUN_TEST_ff_b): Likewise.
10152         (RUN_TEST_LOOP_ff_b): Likewise.
10153         (RUN_TEST_ff_i_tg): Likewise.
10154         (RUN_TEST_LOOP_ff_i_tg): Likewise.
10155         (RUN_TEST_f_b): Likewise.
10156         (RUN_TEST_LOOP_f_b): Likewise.
10157         (RUN_TEST_f_b_tg): Likewise.
10158         (RUN_TEST_LOOP_f_b_tg): Likewise.
10159         (RUN_TEST_f_l): Likewise.
10160         (RUN_TEST_LOOP_f_l): Likewise.
10161         (RUN_TEST_f_L): Likewise.
10162         (RUN_TEST_LOOP_f_L): Likewise.
10163         (RUN_TEST_fFF_11): Likewise.
10164         (RUN_TEST_LOOP_fFF_11): Likewise.
10165         (VEC_SUFF): Likewise.
10166         (STR_CONCAT): Likewise.
10167         (STR_CON3): Likewise.
10168         (HAVE_VECTOR): Likewise.
10169         (START): Likewise.
10170         (END): Likewise.
10171         (END_COMPLEX): Likewise.
10172         (ALL_RM_TEST): Likewise.
10173         (matherr): Likewise.
10174         (initialize): Likewise.
10175         (options): Likewise.
10176         (doc): Likewise.
10177         (parse_opt): Likewise.
10178         (argp): Likewise.
10179         (check_ulp): Likewise.
10180         (main): Likewise.
10181         (do_test): New function.  Call tests of individual functions
10182         previously called from main.
10184         * math/libm-test.inc: Remove comment listing functions tested and
10185         not tested.
10187 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10189         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
10190         (allocate_stack): Remove COLORING_INCREMENT usage.
10191         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
10192         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
10194 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
10196         * manual/libm-err-tab.pl (@all_functions): Change to
10197         %all_functions.  Initialize as empty.
10198         (parse_ulps): Add to %all_functions based on functions found in
10199         ulps files.  Ignore results for non-default rounding modes and
10200         vector functions.
10201         (print_platforms): Use %all_platforms.
10202         * manual/math.texi (Errors in Math Functions): Document omissions
10203         from the table.
10205         * math/Makefile (before-compile): Remove.
10207 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
10209         [BZ #21075]
10210         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
10211         unused assignment.
10212         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10214 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10216         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
10217         Add __glibc_unlikely hint.
10219 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10221         [BZ #16640]
10222         * sysdeps/i386/i686/strtok.S: Remove file.
10223         * sysdeps/i386/i686/strtok_r.S: Likewise.
10224         * sysdeps/i386/strtok.S: Likewise.
10225         * sysdeps/i386/strtok_r.S: Likewise.
10226         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
10227         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
10228         * sysdeps/x86_64/strtok.S: Likewise.
10229         * sysdeps/x86_64/strtok_r.S: Likewise.
10231         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
10232         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
10233         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10234         (__ASSUME_FADVISE64_AS_64_64): Define.
10235         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
10236         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
10237         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
10238         __ALIGNMENT_ARG usage.
10239         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
10240         __NR_fadvise64_64 if it is not defined.
10242 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10244         * version.h (RELEASE): Set to "development"
10245         (VERSION): Set to 2.25.90.
10246         * NEWS: Add 2.26 section.
10248         * version.h (RELEASE): Set to "stable"
10249         (VERSION): Set to 2.25.
10250         * include/features.h (__GLIBC_MINOR__): Set to 25.
10252         * manual/contrib.texi: Add more contributors from this release
10253         and past releases.
10255         * NEWS (2.25): Add list of bugs fixed.
10257         * NEWS: Add missing news items.
10259 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10261         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
10262         parent if child exited in that manner.  Print WEXITSTATUS
10263         instead of the raw status.
10264         (do_test_prep): Rename to do_test.
10265         (do_test): Return the result of run_executable_sgid.
10266         (TEST_FUNCTION_ARGV): Adjust.
10268 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
10269             Florian Weimer  <fweimer@redhat.com>
10270             Carlos O'Donell  <carlos@redhat.com>
10272         [BZ #20915]
10273         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
10274         Do not initialize DTV.
10275         * nptl/allocatestack.c (init_one_static_tls): Likewise.
10277 2017-02-03  David S. Miller  <davem@davemloft.net>
10279         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
10280         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10281         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
10282         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10283         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
10284         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10285         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
10286         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10287         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10288         (libm-sysdep_routines): Update.
10289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
10290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
10291         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10292         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
10293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10294         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
10295         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
10296         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
10297         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
10298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
10299         Likewise.
10300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
10302         Likewise.
10303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
10305         Likewise.
10306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
10308         Likewise.
10309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10311         (libm-sysdep_routines): Update.
10313 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
10315         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
10316         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
10317         against unrelocated shared library.
10318         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10320 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10322         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
10323         * elf/tst-env-setuid-tunables.c
10324         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
10325         GLIBC_TUNABLES is removed in a setgid process.
10327         [BZ #21073]
10328         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
10329         * elf/dl-tunables.c (tunables_strdup): Remove.
10330         (get_next_env): Also return the previous envp.
10331         (parse_tunables): Erase tunables of category
10332         TUNABLES_SECLEVEL_SXID_ERASE.
10333         (maybe_enable_malloc_check): Make MALLOC_CHECK_
10334         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
10335         (__tunables_init)[TUNABLES_FRONTEND ==
10336         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
10337         after parsing.
10338         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
10339         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
10340         * elf/dl-tunables.h (struct _tunable): Change member is_secure
10341         to security_level.
10342         * elf/dl-tunables.list: Add security_level annotations for all
10343         tunables.
10344         * scripts/gen-tunables.awk: Recognize and generate enum values
10345         for security_level.
10346         * elf/tst-env-setuid.c: New test case.
10347         * elf/tst-env-setuid-tunables: new test case.
10348         * elf/Makefile (tests-static): Add them.
10350 2017-02-01  Richard Henderson  <rth@twiddle.net>
10352         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
10353         adjusting the byte count.
10355 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
10357         * conform/Makefile (linknamespace-libs): Define.
10359         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
10360         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
10361         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
10362         operands.
10364 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
10366         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
10368 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
10370         [BZ #21081]
10371         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10372         (L(stosb)): Add VZEROUPPER before ret.
10374 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
10375             Alexey Makhalov <amakhalov@vmware.com>
10376             Florian Weimer <fweimer@redhat.com>
10378         [BZ #20116]
10379         * nptl/pthread_create.c: Document concurrency notes.
10380         Enhance thread creation notes.
10381         (create_thread): Use bool *stopped_start.
10382         (START_THREAD_DEFN): Comment ownership of PD.
10383         (__pthread_create_2_1): Add local bool stopped_start and use
10384         that instead of pd->stopped_start where appropriate.
10385         * nptl/createthread.c (create_thread): Use bool *stopped_start.
10386         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
10387         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10388         * nptl/tst-create-detached.c: New file.
10389         * nptl/Makefile (tests): Add tst-create-detached.
10390         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10391         Reference the enhanced thread creation notes.
10392         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
10393         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10394         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
10395         (__pthread_current_priority): Likewise.
10396         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
10397         xpthread_attr_init, xpthread_attr_setdetachstate, and
10398         xpthread_attr_setstacksize.
10399         * support/xpthread_attr_destroy.c: New file.
10400         * support/xpthread_attr_init.c: New file.
10401         * support/xpthread_attr_setdetachstate.c: New file.
10402         * support/xpthread_attr_setstacksize.c: New file.
10403         * support/xthread.h: Define prototypes for xpthread_attr_destroy
10404         xpthread_attr_init, xpthread_attr_setdetachstate, and
10405         xpthread_attr_setstacksize.
10407 2017-01-27  Florian Weimer  <fweimer@redhat.com>
10409         * nptl/Makefile (tests): Add tst-robust-fork.
10410         * nptl/tst-robust-fork.c: New file.
10411         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
10412         xpthread_mutex_consistent, xpthread_mutex_destroy,
10413         xpthread_mutex_init, xpthread_mutexattr_destroy,
10414         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
10415         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
10416         xpthread_mutexattr_settype.
10417         * support/xmmap.c: New file.
10418         * support/xmunmap.c: Likewise.
10419         * support/xpthread_mutex_consistent.c: Likewise.
10420         * support/xpthread_mutex_destroy.c: Likewise.
10421         * support/xpthread_mutex_init.c: Likewise.
10422         * support/xpthread_mutexattr_destroy.c: Likewise.
10423         * support/xpthread_mutexattr_init.c: Likewise.
10424         * support/xpthread_mutexattr_setprotocol.c: Likewise.
10425         * support/xpthread_mutexattr_setpshared.c: Likewise.
10426         * support/xpthread_mutexattr_setrobust.c: Likewise.
10427         * support/xpthread_mutexattr_settype.c: Likewise.
10428         * support/xthread.h (xpthread_mutexattr_destroy)
10429         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
10430         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
10431         (xpthread_mutexattr_settype, xpthread_mutex_init)
10432         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
10433         * support/xunistd.h (xmmap, xmunmap): Likewise.
10435 2017-01-25  Florian Weimer  <fweimer@redhat.com>
10437         * string/Makefile (xtests): Add comment.
10438         (LOCALES): Add en_GB.UTF-8.
10439         (tst-strcoll-overflow.out): Depend on generated locales.
10440         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
10441         (SIZE, TIMEOUT): Update comments.
10442         (do_test): Define as static.  Fail test if setlocale fails.
10443         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
10444         messages.
10445         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
10446         TIMEOUT at 300 seconds should be enough to run this test
10447         successfully.
10449 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
10451         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
10452         /* FALLTHRU */ comments.
10454 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
10456         [BZ #21053]
10457         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
10458         constants instead of the old R* ones.
10459         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
10460         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
10461         (NGREG): ... to this, to fit in with other architectures.
10462         (gpregset_t): Use new NGREG macro.
10463         [__USE_GNU]: Remove condition; all architectures other than tile
10464         are unconditional.
10465         (R*): Rename to REG_R*.
10467 2017-01-20  DJ Delorie  <dj@redhat.com>
10469         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
10470         (tunable_set_val_if_valid_range_signed) ... this, and ...
10471         (tunable_set_val_if_valid_range_unsigned) ... this.
10472         (tunable_initialize): Call the correct one of the above based on type.
10474 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
10476         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
10477         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10478         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10479         * sysdeps/microblaze/libm-test-ulps: Likewise.
10480         * sysdeps/sh/libm-test-ulps: Likewise.
10482         * math/README.libm-test: Update list of characters for input and
10483         output types.
10485 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10487         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10488         (__lll_unlock_elision): Fix adapt_count decrement.
10490 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
10492         * README.pretty-printers (Known issues): Warn about printers not
10493         always covering everything.
10494         * nptl/nptl-printers.py (MutexPrinter): Change output.
10495         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
10497 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10499         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
10500         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10501         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
10502         (__lll_lock_elision): Do not test futex before starting a
10503         transaction.  Use __glibc_likely instead of __builtin_expect.
10504         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
10505         (__lll_trylock_elision): Do not test futex before starting a
10506         transaction.  Use __glibc_likely instead of __builtin_expect.
10508 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10510         * po/Makefile (update-translations): New target.
10512 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
10514         [BZ #21061]
10515         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
10517 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10519         * elf/dl-tunables (get_next_env): Always advance envp.
10520         * stdlib/tst-empty-env.c: New test case.
10521         * stdlib/Makefile (tests): Use it.
10523 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
10525         [BZ #21047]
10526         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
10527         name for instruction.
10528         [!__SOFTFP__] (_FPU_SETCW): Likewise.
10530 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
10532         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
10533         for make install.
10535 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10537         * po/bg.po: Merge from Translation Project.
10538         * po/fr.po: Likewise.
10539         * po/ko.po: Likewise.
10540         * po/nl.po: Likewise.
10541         * po/sv.po: Likewise.
10543 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
10545         * manual/install.texi (Tools for Compilation): Update GCC version
10546         known to work to build glibc.
10547         * INSTALL: Regenerated.
10549 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10551         [BZ #21006]
10552         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
10554 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
10556         [BZ #21045]
10557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10558         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
10559         to __sigprocmask.
10561 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
10563         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
10564         wrap-around.
10565         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
10567         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
10569 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10571         * NEWS: Fix typo.
10573 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10575         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
10576         barriers and comments.
10577         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
10578         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10579         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10581 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10583         [BZ #19402]
10584         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
10585         mutexes.
10587 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10589         [BZ #20985]
10590         * nptl/Makefile: Adapt.
10591         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10592         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10593         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10594         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10595         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
10596         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
10597         lll_robust* functions and adapt.
10598         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10599         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
10600         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10601         __lll_robust_timedlock, __lll_robust_unlock): Remove.
10602         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
10603         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10604         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
10605         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10606         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
10607         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10608         __lll_robust_timedlock, __lll_robust_unlock): Remove.
10609         * nptl/lowlevelrobustlock.c: Remove file.
10610         * nptl/lowlevelrobustlock.sym: Likewise.
10611         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
10612         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
10614 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10616         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10618 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10620         * po/cs.po: Merge translations from the Translation Project.
10621         * po/de.po: Likewise.
10622         * po/pl.po: Likewise.
10623         * po/ru.po: Likewise.
10624         * po/tr.po: Likewise.
10625         * po/uk.po: Likewise.
10626         * po/vi.po: Likewise.
10627         * po/zh_CN.po: Likewise.
10629 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
10631         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
10633         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
10634         object.
10636 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
10638         [BZ #16458]
10639         * bits/uintn-identity.h: New file.
10640         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
10641         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
10642         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
10643         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
10644         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
10645         * string/endian.h: Include <bits/uintn-identity.h>.
10646         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
10647         __uint16_identity.
10648         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
10649         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
10650         __uint32_identity.
10651         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
10652         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
10653         __uint64_identity.
10654         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
10655         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
10656         __uint16_identity.
10657         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
10658         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
10659         __uint32_identity.
10660         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
10661         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
10662         __uint64_identity.
10663         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
10664         * string/Makefile (headers): Add bits/uintn-identity.h.
10665         (tests): Add test-endian-types.
10666         * string/test-endian-types.c: New file.
10667         * inet/Makefile (tests): Add test-hnto-types.
10668         * inet/test-hnto-types.c: New file.
10670 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10672         * po/be.po: Update from Translation Project.
10673         * po/bg.po: Likewise.
10674         * po/ca.po: Likewise.
10675         * po/cs.po: Likewise.
10676         * po/da.po: Likewise.
10677         * po/de.po: Likewise.
10678         * po/el.po: Likewise.
10679         * po/eo.po: Likewise.
10680         * po/es.po: Likewise.
10681         * po/fi.po: Likewise.
10682         * po/fr.po: Likewise.
10683         * po/gl.po: Likewise.
10684         * po/hr.po: Likewise.
10685         * po/hu.po: Likewise.
10686         * po/ia.po: Likewise.
10687         * po/id.po: Likewise.
10688         * po/it.po: Likewise.
10689         * po/ja.po: Likewise.
10690         * po/ko.po: Likewise.
10691         * po/lt.po: Likewise.
10692         * po/nb.po: Likewise.
10693         * po/nl.po: Likewise.
10694         * po/pl.po: Likewise.
10695         * po/pt_BR.po: Likewise.
10696         * po/ru.po: Likewise.
10697         * po/rw.po: Likewise.
10698         * po/sk.po: Likewise.
10699         * po/sl.po: Likewise.
10700         * po/sv.po: Likewise.
10701         * po/tr.po: Likewise.
10702         * po/uk.po: Likewise.
10703         * po/vi.po: Likewise.
10704         * po/zh_CN.po: Likewise.
10705         * po/zh_TW.po: Likewise.
10707 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
10709         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
10710         -Wformat-truncation instead of -Wformat-length.
10711         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
10712         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
10713         GCC 7.
10714         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
10715         (do_test): Ignore -Wformat-truncation for GCC 7.
10717         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
10718         buffer used to print long int value.
10720         * elf/sotruss-lib.c (init): Increase space allocated for pid by
10721         one byte.  Print it with %ld, cast to long int.
10723 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10725         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
10726         (re.fullmatch, subprocess.run): Likewise.
10728 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10730         * po/libc.pot: Regenerate.
10732 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10734         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
10735         (min_strlen): Likewise.
10736         (disable_tunable): Likewise.
10737         (maybe_disable_malloc_check): Rename to
10738         maybe_enable_malloc_check.
10739         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
10740         if /etc/suid-debug file exists.
10741         (__tunables_init): Update caller.
10742         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
10743         secure.
10745 2016-01-10  Torvald Riegel  <triegel@redhat.com>
10747         * nptl/DESIGN-rwlock.txt: Remove.
10748         * nptl/lowlevelrwlock.sym: Remove.
10749         * nptl/Makefile: Add new tests.
10750         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
10751         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
10752         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
10753         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
10754         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
10755         PTHREAD_RWLOCK_FUTEX_USED): New.
10756         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
10757         implementation.
10758         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
10759         (__pthread_rwlock_rdlock): Adapt.
10760         * nptl/pthread_rwlock_timedrdlock.c
10761         (pthread_rwlock_timedrdlock): Adapt.
10762         * nptl/pthread_rwlock_timedwrlock.c
10763         (pthread_rwlock_timedwrlock): Adapt.
10764         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
10765         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
10766         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
10767         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
10768         (__pthread_rwlock_wrlock): Adapt.
10769         * nptl/tst-rwlock10.c: Adapt.
10770         * nptl/tst-rwlock11.c: Adapt.
10771         * nptl/tst-rwlock17.c: New file.
10772         * nptl/tst-rwlock18.c: New file.
10773         * nptl/tst-rwlock19.c: New file.
10774         * nptl/tst-rwlock2b.c: New file.
10775         * nptl/tst-rwlock8.c: Adapt.
10776         * nptl/tst-rwlock9.c: Adapt.
10777         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10778         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10779         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10780         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10781         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10782         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10783         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10784         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10785         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10786         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10787         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10788         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10789         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10790         (pthread_rwlock_t): Adapt.
10791         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10792         (pthread_rwlock_t): Adapt.
10793         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10794         * nptl/nptl-printers.py (): Adapt.
10795         * nptl/nptl_lock_constants.pysym: Adapt.
10796         * nptl/test-rwlock-printers.py: Adapt.
10797         * nptl/test-rwlockattr-printers.c: Adapt.
10798         * nptl/test-rwlockattr-printers.py: Adapt.
10800 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
10802         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
10803         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
10804         (fma_test_data): Likewise.
10805         (hypot_test_data): Likewise.
10806         (log1p_test_data): Likewise.
10807         (modf_test_data): Likewise.
10808         (pow_test_data): Likewise.
10809         (remainder_test_data): Likewise.
10810         (remquo_test_data): Likewise.
10811         (scalb_test_data): Likewise.
10812         (scalbn_test_data): Likewise.
10813         (scalbln_test_data): Likewise.
10814         * math/gen-libm-test.pl (parse_args): Transform
10815         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
10816         on the rounding mode.
10818 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
10820         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
10821         xfail-rounding:ibm128-libgcc automatically to tests overflowing
10822         and those that can underflow to zero.
10823         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
10824         add others.
10825         * math/auto-libm-test-out: Regenerated.
10827         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
10828         supported.
10829         (feholdexcept_tests): Skip tests requiring exceptions or rounding
10830         modes support if not supported.
10832         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
10833         Add libc.so PLT entry.
10834         (__tls_get_addr): Make ld.so PLT entry optional.
10836 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10838         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
10839         * string/bits/string3.h: ... here.
10841 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
10843         [BZ #21028]
10844         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
10845         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
10846         if EXCEPTION_TESTS returns false.
10848 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10850         [BZ #20558]
10851         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
10852         strings_fortified.h.
10853         [__USE_MISC] (bzero): Likewise.
10854         [__USE_MISC] (explicit_bzero): Likewise.
10855         * string/strings.h: Include strings_fortified.h.
10856         * string/Makefile (headers): Add strings_fortified.h.
10857         * string/bits/strings_fortified.h: New file.
10858         * include/bits/strings_fortified.h: Likewise.
10860 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
10862         * elf/tst-tls13.c (TIMEOUT): Remove.
10863         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
10864         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
10865         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
10866         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
10867         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
10869         [BZ #21026]
10870         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
10871         (readahead): New syscall entry.
10873 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
10875         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
10876         around tests of strncat with large sizes.
10878         * malloc/tst-malloc.c: Include <libc-internal.h>.
10879         (do_test): Disable -Walloc-size-larger-than= around tests of
10880         malloc with negative sizes.
10881         * malloc/tst-mcheck.c: Include <libc-internal.h>.
10882         (do_test): Disable -Walloc-size-larger-than= around tests of
10883         malloc and realloc with negative sizes.
10884         * malloc/tst-realloc.c: Include <libc-internal.h>.
10885         (do_test): Disable -Walloc-size-larger-than= around tests of
10886         realloc with negative sizes.
10888         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
10889         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
10890         allowed to 16 ulps.
10891         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
10892         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
10893         * math/auto-libm-test-out: Regenerated.
10895 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10897         * math/Makefile (libm-calls): Move wrappers...
10898         (libm-compat-call-auto): Here.
10899         (libm-routines): Add items in libm-compat-calls-auto.
10900         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
10901         the filenames of the wrappers that have been renamed.
10902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
10903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10905         * math/w_acos.c: Add _compat suffix to filename.
10906         * math/w_acosf.c: Likewise.
10907         * math/w_acosh.c: Likewise.
10908         * math/w_acoshf.c: Likewise.
10909         * math/w_acoshl.c: Likewise.
10910         * math/w_acosl.c: Likewise.
10911         * math/w_asin.c: Likewise.
10912         * math/w_asinf.c: Likewise.
10913         * math/w_asinl.c: Likewise.
10914         * math/w_atan2.c: Likewise.
10915         * math/w_atan2f.c: Likewise.
10916         * math/w_atan2l.c: Likewise.
10917         * math/w_atanh.c: Likewise.
10918         * math/w_atanhf.c: Likewise.
10919         * math/w_atanhl.c: Likewise.
10920         * math/w_cosh.c: Likewise.
10921         * math/w_coshf.c: Likewise.
10922         * math/w_coshl.c: Likewise.
10923         * math/w_exp10.c: Likewise.
10924         * math/w_exp10f.c: Likewise.
10925         * math/w_exp10l.c: Likewise.
10926         * math/w_exp2.c: Likewise.
10927         * math/w_exp2f.c: Likewise.
10928         * math/w_exp2l.c: Likewise.
10929         * math/w_fmod.c: Likewise.
10930         * math/w_fmodf.c: Likewise.
10931         * math/w_fmodl.c: Likewise.
10932         * math/w_hypot.c: Likewise.
10933         * math/w_hypotf.c: Likewise.
10934         * math/w_hypotl.c: Likewise.
10935         * math/w_j0.c: Likewise.
10936         * math/w_j0f.c: Likewise.
10937         * math/w_j0l.c: Likewise.
10938         * math/w_j1.c: Likewise.
10939         * math/w_j1f.c: Likewise.
10940         * math/w_j1l.c: Likewise.
10941         * math/w_jn.c: Likewise.
10942         * math/w_jnf.c: Likewise.
10943         * math/w_jnl.c: Likewise.
10944         * math/w_log10.c: Likewise.
10945         * math/w_log10f.c: Likewise.
10946         * math/w_log10l.c: Likewise.
10947         * math/w_log2.c: Likewise.
10948         * math/w_log2f.c: Likewise.
10949         * math/w_log2l.c: Likewise.
10950         * math/w_log.c: Likewise.
10951         * math/w_logf.c: Likewise.
10952         * math/w_logl.c: Likewise.
10953         * math/w_pow.c: Likewise.
10954         * math/w_powf.c: Likewise.
10955         * math/w_powl.c: Likewise.
10956         * math/w_remainder.c: Likewise.
10957         * math/w_remainderf.c: Likewise.
10958         * math/w_remainderl.c: Likewise.
10959         * math/w_scalb.c: Likewise.
10960         * math/w_scalbf.c: Likewise.
10961         * math/w_scalbl.c: Likewise.
10962         * math/w_sinh.c: Likewise.
10963         * math/w_sinhf.c: Likewise.
10964         * math/w_sinhl.c: Likewise.
10965         * math/w_sqrt.c: Likewise.
10966         * math/w_sqrtf.c: Likewise.
10967         * math/w_sqrtl.c: Likewise.
10968         * math/w_tgamma.c: Likewise.
10969         * math/w_tgammaf.c: Likewise.
10970         * math/w_tgammal.c: Likewise.
10972         * math/w_acos_compat.c: New file copied from above and
10973         adjusted for new #includes path
10974         * math/w_acosf_compat.c: Likewise.
10975         * math/w_acosh_compat.c: Likewise.
10976         * math/w_acoshf_compat.c: Likewise.
10977         * math/w_acoshl_compat.c: Likewise.
10978         * math/w_acosl_compat.c: Likewise.
10979         * math/w_asin_compat.c: Likewise.
10980         * math/w_asinf_compat.c: Likewise.
10981         * math/w_asinl_compat.c: Likewise.
10982         * math/w_atan2_compat.c: Likewise.
10983         * math/w_atan2f_compat.c: Likewise.
10984         * math/w_atan2l_compat.c: Likewise.
10985         * math/w_atanh_compat.c: Likewise.
10986         * math/w_atanhf_compat.c: Likewise.
10987         * math/w_atanhl_compat.c: Likewise.
10988         * math/w_cosh_compat.c: Likewise.
10989         * math/w_coshf_compat.c: Likewise.
10990         * math/w_coshl_compat.c: Likewise.
10991         * math/w_exp10_compat.c: Likewise.
10992         * math/w_exp10f_compat.c: Likewise.
10993         * math/w_exp10l_compat.c: Likewise.
10994         * math/w_exp2_compat.c: Likewise.
10995         * math/w_exp2f_compat.c: Likewise.
10996         * math/w_exp2l_compat.c: Likewise.
10997         * math/w_fmod_compat.c: Likewise.
10998         * math/w_fmodf_compat.c: Likewise.
10999         * math/w_fmodl_compat.c: Likewise.
11000         * math/w_hypot_compat.c: Likewise.
11001         * math/w_hypotf_compat.c: Likewise.
11002         * math/w_hypotl_compat.c: Likewise.
11003         * math/w_j0_compat.c: Likewise.
11004         * math/w_j0f_compat.c: Likewise.
11005         * math/w_j0l_compat.c: Likewise.
11006         * math/w_j1_compat.c: Likewise.
11007         * math/w_j1f_compat.c: Likewise.
11008         * math/w_j1l_compat.c: Likewise.
11009         * math/w_jn_compat.c: Likewise.
11010         * math/w_jnf_compat.c: Likewise.
11011         * math/w_jnl_compat.c: Likewise.
11012         * math/w_log10_compat.c: Likewise.
11013         * math/w_log10f_compat.c: Likewise.
11014         * math/w_log10l_compat.c: Likewise.
11015         * math/w_log2_compat.c: Likewise.
11016         * math/w_log2f_compat.c: Likewise.
11017         * math/w_log2l_compat.c: Likewise.
11018         * math/w_log_compat.c: Likewise.
11019         * math/w_logf_compat.c: Likewise.
11020         * math/w_logl_compat.c: Likewise.
11021         * math/w_pow_compat.c: Likewise.
11022         * math/w_powf_compat.c: Likewise.
11023         * math/w_powl_compat.c: Likewise.
11024         * math/w_remainder_compat.c: Likewise.
11025         * math/w_remainderf_compat.c: Likewise.
11026         * math/w_remainderl_compat.c: Likewise.
11027         * math/w_scalb_compat.c: Likewise.
11028         * math/w_scalbf_compat.c: Likewise.
11029         * math/w_scalbl_compat.c: Likewise.
11030         * math/w_sinh_compat.c: Likewise.
11031         * math/w_sinhf_compat.c: Likewise.
11032         * math/w_sinhl_compat.c: Likewise.
11033         * math/w_sqrt_compat.c: Likewise.
11034         * math/w_sqrtf_compat.c: Likewise.
11035         * math/w_sqrtl_compat.c: Likewise.
11036         * math/w_tgamma_compat.c: Likewise.
11037         * math/w_tgammaf_compat.c: Likewise.
11038         * math/w_tgammal_compat.c: Likewise.
11040         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
11041         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
11042         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
11043         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
11044         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
11045         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
11046         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
11047         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
11048         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
11049         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
11050         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
11051         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
11052         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
11053         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
11054         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
11055         * sysdeps/ia64/fpu/w_powl.c: Likewise.
11056         * sysdeps/ia64/fpu/w_powf.c: Likewise.
11057         * sysdeps/ia64/fpu/w_pow.c: Likewise.
11058         * sysdeps/ia64/fpu/w_logl.c: Likewise.
11059         * sysdeps/ia64/fpu/w_logf.c: Likewise.
11060         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
11061         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
11062         * sysdeps/ia64/fpu/w_log2.c: Likewise.
11063         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
11064         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
11065         * sysdeps/ia64/fpu/w_log10.c: Likewise.
11066         * sysdeps/ia64/fpu/w_log.c: Likewise.
11067         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
11068         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
11069         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
11070         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
11071         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
11072         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
11073         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
11074         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
11075         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
11076         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
11077         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
11078         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
11079         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
11080         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
11081         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
11082         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
11083         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
11084         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
11085         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
11086         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
11087         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
11088         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
11089         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
11090         * sysdeps/ia64/fpu/w_asin.c: Likewise.
11091         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
11092         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
11093         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
11094         * sysdeps/ia64/fpu/w_acos.c: Likewise.
11095         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
11096         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
11097         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
11098         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
11099         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
11100         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
11101         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
11102         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
11103         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
11104         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
11105         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
11106         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
11107         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
11108         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
11109         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
11110         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
11111         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
11112         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
11113         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
11114         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
11115         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
11116         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
11117         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
11118         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
11119         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
11120         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
11121         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
11122         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
11123         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
11124         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
11125         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
11126         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
11127         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
11128         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
11129         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
11130         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
11131         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
11132         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
11133         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
11134         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
11135         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
11136         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
11137         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
11138         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
11139         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
11140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
11141         Likewise.
11142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
11143         Likewise.
11144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
11145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
11146         Likewise.
11147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
11148         Likewise.
11149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
11150         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11151         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11152         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11153         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11154         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11155         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
11157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
11158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
11159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
11160         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11161         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11162         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11163         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11165         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
11166         and adjusted for new #includes path
11167         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
11168         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
11169         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
11170         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
11171         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
11172         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
11173         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
11174         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
11175         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
11176         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
11177         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
11178         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
11179         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
11180         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
11181         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
11182         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
11183         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
11184         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
11185         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
11186         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
11187         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
11188         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
11189         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
11190         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
11191         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
11192         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
11193         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
11194         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
11195         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
11196         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
11197         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
11198         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
11199         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
11200         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
11201         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
11202         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
11203         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
11204         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
11205         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
11206         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
11207         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
11208         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
11209         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
11210         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
11211         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
11212         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
11213         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
11214         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
11215         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
11216         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
11217         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
11218         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
11219         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
11220         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
11221         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
11222         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
11223         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
11224         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
11225         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
11226         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
11227         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
11228         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
11229         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
11230         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
11231         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
11232         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
11233         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
11234         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
11235         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
11236         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
11237         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
11238         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
11239         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
11240         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
11241         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
11242         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
11243         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
11244         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
11245         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
11246         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
11247         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
11248         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
11249         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
11250         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
11251         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
11252         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
11253         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
11254         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
11255         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
11256         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
11257         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
11258         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
11259         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
11260         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
11261         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
11262         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
11263         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
11264         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
11265         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
11266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
11267         Likewise.
11268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
11269         Likewise.
11270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
11271         Likewise.
11272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
11273         Likewise.
11274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
11275         Likewise.
11276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
11277         Likewise.
11278         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
11279         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
11280         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
11281         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
11282         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
11283         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
11284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
11285         Likewise.
11286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
11287         Likewise.
11288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
11289         Likewise.
11290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
11291         Likewise.
11292         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
11293         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
11294         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
11295         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
11297 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
11299         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
11300         __jmp_buf_internal_tag.
11302         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
11303         preserve NaN payload if [__mips_nan2008].
11304         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
11306         [BZ #21022]
11307         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
11309 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
11311         * sysdeps/i386/fpu/libm-test-ulps: Update.
11313 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11315         * sysdeps/ia64/strcat.c: Remove file.
11316         * sysdeps/powerpc/strcat.c: Likewise.
11317         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
11318         C implementation.
11319         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
11320         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
11322 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11323             Steven Munroe  <sjmunroe@us.ibm.com>
11324             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11326         [BZ #20822]
11327         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11328         (__lll_lock_elision): Access adapt_count via C11 atomics.
11329         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11330         (__lll_trylock_elision): Likewise.
11331         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11332         (__lll_unlock_elision):  Update adapt_count variable inside the
11333         critical section using C11 atomics.
11335 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
11337         * math/test-fenvinline.c (do_test): Disable tests of raised
11338         exceptions if !EXCEPTION_TESTS (FLOAT).
11340 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11342         [BZ #19390]
11343         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
11344         maximum string size.
11345         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
11346         in pointer addition.
11347         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
11348         Likewise.
11350 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
11352         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
11353         passed to tst-ldconfig-X.sh.
11355 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
11357         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
11359 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
11361         [BZ #21019]
11362         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
11363         New syscall entry.
11364         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
11365         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
11366         lseek.
11368         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11369         power4 glibc for powerpc-linux-gnu.
11371 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11373         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
11374         semctl.
11376 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
11378         * math/test-nearbyint-except.c: Include <stdbool.h>.
11379         (any_supported): New variable.
11380         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
11381         set any_supported.
11382         (do_test): Return 77 if no floating-point type supported
11383         exceptions.
11385         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
11386         condition on [__mips_hard_float].
11388 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11390         [BZ #21014]
11391         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
11392         in pointer addition.
11393         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
11395 2017-01-02  Torvald Riegel  <triegel@redhat.com>
11397         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
11398         new condvar.
11400 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
11402         * scripts/build-many-glibcs.py (Context.checkout): Default
11403         binutils version to 2.28 branch.
11405 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11407         * support/support_format_netent.c (support_format_netent): Work
11408         around alpha struct netent definition difference.
11410 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11412         * support/xwrite.c (xwrite): Use %td for pointer difference.
11414 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11416         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
11417         have-tunables only.
11418         (tests-static): Add tst-malloc-usable-static-tunables for
11419         have-tunables only.
11421 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
11423         * scripts/config.guess: Update to version 2017-01-01.
11424         * scripts/config.sub: Update to version 2017-01-01.
11426         * NEWS: Update copyright dates.
11427         * catgets/gencat.c (print_version): Likewise.
11428         * csu/version.c (banner): Likewise.
11429         * debug/catchsegv.sh: Likewise.
11430         * debug/pcprofiledump.c (print_version): Likewise.
11431         * debug/xtrace.sh (do_version): Likewise.
11432         * elf/ldconfig.c (print_version): Likewise.
11433         * elf/ldd.bash.in: Likewise.
11434         * elf/pldd.c (print_version): Likewise.
11435         * elf/sotruss.sh: Likewise.
11436         * elf/sprof.c (print_version): Likewise.
11437         * iconv/iconv_prog.c (print_version): Likewise.
11438         * iconv/iconvconfig.c (print_version): Likewise.
11439         * locale/programs/locale.c (print_version): Likewise.
11440         * locale/programs/localedef.c (print_version): Likewise.
11441         * login/programs/pt_chown.c (print_version): Likewise.
11442         * malloc/memusage.sh (do_version): Likewise.
11443         * malloc/memusagestat.c (print_version): Likewise.
11444         * malloc/mtrace.pl: Likewise.
11445         * manual/libc.texinfo: Likewise.
11446         * nptl/version.c (banner): Likewise.
11447         * nscd/nscd.c (print_version): Likewise.
11448         * nss/getent.c (print_version): Likewise.
11449         * nss/makedb.c (print_version): Likewise.
11450         * posix/getconf.c (main): Likewise.
11451         * scripts/test-installation.pl: Likewise.
11452         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11454         * All files with FSF copyright notices: Update copyright dates
11455         using scripts/update-copyrights.
11456         * intl/plural.c: Regenerated.
11457         * locale/programs/charmap-kw.h: Likewise.
11458         * locale/programs/locfile-kw.h: Likewise.
11460 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11462         [BZ #20593]
11463         Update DNS RR type definitions.
11464         * scripts/gen-rrtypes.py: New file.
11465         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
11466         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
11467         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
11468         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
11469         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
11470         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
11471         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
11472         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
11473         ns_t_ta, ns_t_dlv.
11474         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
11475         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
11476         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
11477         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
11478         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
11479         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
11480         Define.
11481         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
11482         entry for ns_t_zxfr.
11484 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11486         [BZ #18784]
11487         CVE-2015-5180
11488         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
11489         T_UNSPEC.  Adjust value.
11490         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
11491         * resolv/res_query.c (__libc_res_nquery): Likewise.
11492         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
11493         QTYPEs.
11494         * resolv/tst-resolv-qtypes.c: New file.
11495         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
11496         (tst-resolv-qtypes): Link against libresolv and libpthread.
11498 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11500         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
11502 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11504         * manual/tunables.texi: New chapter.
11505         * manual/Makefile (chapters): Add it.
11506         * manual/probes.texi (@node): Point to the Tunables chapter.
11508         * Makeconfig (have-tunables): Check for non-negative instead
11509         of positive.
11510         * configure.ac: Add 'valstring' as a valid value for
11511         --enable-tunables.
11512         * configure: Regenerate.
11513         * elf/Makefile (have-tunables): Check for non-negative instead
11514         of positive.
11515         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
11516         dl-tunables.c.
11517         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
11518         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11519         (tunables_strdup): Likewise.
11520         (disable_tunables): Likewise.
11521         (parse_tunables): Likewise.
11522         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
11523         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11524         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
11525         (TUNABLES_FRONTEND_yes): New macro, define as
11526         TUNABLES_FRONTEND_valstring by default.
11527         * manual/install.texi: Document new acceptable values for
11528         --enable-tunables.
11529         * INSTALL: Regenerate.
11531         * config.make.in (have-loop-to-function): Define.
11532         * elf/Makefile (CFLAGS-dl-tunables.c): Add
11533         -fno-tree-loop-distribute-patterns.
11534         * elf/dl-tunables.c: Include libc-internals.h.
11535         (GLIBC_TUNABLES): New macro.
11536         (tunables_strdup): New function.
11537         (parse_tunables): New function.
11538         (min_strlen): New function.
11539         (__tunables_init): Use the new functions and macro.
11540         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
11541         * malloc/tst-malloc-usable-tunables.c: New test case.
11542         * malloc/tst-malloc-usable-static-tunables.c: New test case.
11543         * malloc/Makefile (tests, tests-static): Add tests.
11545         * manual/install.texi: Add --enable-tunables option.
11546         * INSTALL: Regenerate.
11547         * README.tunables: New file.
11548         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
11549         (before-compile): Generate dl-tunable-list.h early.
11550         * config.h.in: Add HAVE_TUNABLES.
11551         * config.make.in: Add have-tunables.
11552         * configure.ac: Add --enable-tunables option.
11553         * configure: Regenerate.
11554         * csu/init-first.c (__libc_init_first): Move
11555         __libc_init_secure earlier...
11556         * csu/init-first.c (LIBC_START_MAIN):... to here.
11557         Include dl-tunables.h, libc-internal.h.
11558         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
11559         binaries.
11560         * elf/Makefile (dl-routines): Add dl-tunables.
11561         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
11562         namespace.
11563         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
11564         only when !HAVE_TUNABLES.
11565         * elf/rtld.c (process_envvars): Likewise.
11566         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
11567         (_dl_sysdep_start): Call __tunables_init.
11568         * elf/dl-tunable-types.h: New file.
11569         * elf/dl-tunables.c: New file.
11570         * elf/dl-tunables.h: New file.
11571         * elf/dl-tunables.list: New file.
11572         * malloc/tst-malloc-usable-static.c: New test case.
11573         * malloc/Makefile (tests-static): Add it.
11574         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
11575         Define TUNABLE_NAMESPACE.
11576         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
11577         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
11578         callback functions.
11579         (ptmalloc_init): Set tunable values.
11580         * scripts/gen-tunables.awk: New file.
11581         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
11582         (_dl_sysdep_start): Call __tunables_init.
11584 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11586         * resolv/resolv.h (RES_BLAST): Deprecate.
11587         * resolv/res_debug.c (p_option): Remove RES_BLAST.
11588         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
11589         to RES_BLAST.
11591 2016-12-27  Florian Weimer  <fweimer@redhat.com>
11593         [BZ #19582]
11594         Deprecate RES_USE_INET6.
11595         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
11596         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
11597         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
11598         RES_USE_INET6.
11599         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
11600         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
11601         (_nss_nisplus_gethostbyaddr_r): Likewise.
11602         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
11603         of res_use_inet6.
11604         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
11605         instead of RES_USE_INET6.
11606         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
11607         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
11608         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
11609         Likewise.
11610         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
11611         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
11612         Likewise.
11613         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
11614         (_nss_dns_gethostbyname_r): Likewise.
11615         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
11616         alternate RES_USE_INET6 handling.
11617         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
11618         instead of RES_USE_INET6.
11619         * resolv/res_init.c (res_setoptions): Likewise.
11620         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
11621         * resolv/resolv-internal.h: New file.
11622         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
11623         make the deprecation warning non-fatal.
11624         * resolv/README (Using the resolver in multi-threaded code): Drop
11625         reference to RES_USE_INET6.
11626         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
11627         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
11629 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11631         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
11632         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
11633         tst-resolv-search.
11634         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
11635         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
11636         with libresolv and libpthread.
11637         * resolv/tst-bug18665.c: New file.
11638         * resolv/tst-bug18665-tcp: Likewise.
11639         * resolv/tst-res_use_inet6: Likewise.
11640         * resolv/tst-resolv-basic: Likewise.
11641         * resolv/tst-resolv-network: Likewise.
11642         * resolv/tst-resolv-search: Likewise.
11643         * support/Makefile (libsupport-routines): Add check_addrinfo,
11644         check_dns_packet, check_hostent, check_netent, resolv_test,
11645         support_format_address_family, support_format_addrinfo,
11646         support_format_dns_packet, support_format_herrno,
11647         support_format_hostent, support_format_netent, support_run_diff,
11648         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
11649         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
11650         xstrdup, xwrite.
11651         * support/check_addrinfo.c: New file.
11652         * support/check_dns_packet.c: Likewise.
11653         * support/check_hostent.c: Likewise.
11654         * support/check_netent.c: Likewise.
11655         * support/check_nss.h: Likewise.
11656         * support/format_nss.h: Likewise.
11657         * support/resolv_test.c: Likewise.
11658         * support/resolv_test.h: Likewise.
11659         * support/run_diff.h: Likewise.
11660         * support/support_format_address_family.c: Likewise.
11661         * support/support_format_addrinfo.c: Likewise.
11662         * support/support_format_dns_packet.c: Likewise.
11663         * support/support_format_herrno.c: Likewise.
11664         * support/support_format_hostent.c: Likewise.
11665         * support/support_format_netent.c: Likewise.
11666         * support/support_run_diff.c: Likewise.
11667         * support/xaccept.c: Likewise.
11668         * support/xbind.c: Likewise.
11669         * support/xconnect.c: Likewise.
11670         * support/xfclose.c: Likewise.
11671         * support/xfopen.c: Likewise.
11672         * support/xgetsockname.c: Likewise.
11673         * support/xlisten.c: Likewise.
11674         * support/xmemstream.c: Likewise.
11675         * support/xmemstream.h: Likewise.
11676         * support/xpoll.c: Likewise.
11677         * support/xpthread_once.c: Likewise.
11678         * support/xrecvfrom.c: Likewise.
11679         * support/xsendto.c: Likewise.
11680         * support/xsetsockopt.c: Likewise.
11681         * support/xstdio.h: Likewise.
11682         * support/xstrdup.c: Likewise.
11683         * support/support.h (xstrdup): Declare.
11684         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
11685         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
11686         * support/xthread.h (xpthread_once): Likwise.
11687         * support/xunistd.h (xwrite): Declare.
11689 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11691         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
11692         (test_verbose): Declare.
11693         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
11694         * support/support_test_main.c (default_options): Likewise.
11695         (usage, support_test_main): Handle 'v'.
11696         (test_verbose): Define.
11697         * support/tst-support_record_failure.c (do_test): Use
11698         test_verbose.
11699         * support/tst-support_record_failure-2.sh (different_status): Add
11700         --verbose test.
11702 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11704         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
11705         test failures are recorded.
11706         * support/check.c (support_print_failure_impl): Call
11707         support_record_failure.
11708         (support_exit_failure_impl): Call support_record_failure if status
11709         indicates failure.
11710         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
11711         * support/xasprintf.c (xasprintf): Likewise.
11712         * support/xfork.c (xfork): Likewise.
11713         * support/xpthread_check_return.c (xpthread_check_return):
11714         Likewise.
11715         * support/xsocket.c (xsocket): Likeweise.
11716         * support/xwaitpid.c (xwaitpid): Likewise.
11717         * support/support_record_failure.c (struct test_failures): Adjust
11718         to coding style.
11719         * support/support_test_verify_impl.c (support_test_verify_impl):
11720         Adjust error messages.
11721         * support/tst-support_record_failure-2.sh (different_status):
11722         Adjust error messages.
11724 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11726         * support/namespace.h: New file.
11727         * support/support_become_root.c: Likewise.
11728         * support/support_enter_network_namespace.c: Likewise.
11729         * support/tst-support-namespace.c: Likewise.
11730         * support/xsocket.c: Likewise.
11731         * support/xsocket.h: Likewise.
11732         * support/Makefile (libsupport-routines): Add support_become_root,
11733         support_enter_network_namespace, xsocket.
11734         (tests): Add tst-support-namespace.
11736 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11738         [BZ #17252]
11739         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
11740         __USE_GNU.
11742 2016-12-31  Torvald Riegel  <triegel@redhat.com>
11744         [BZ #13165]
11745         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
11746         use new algorithm.
11747         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11748         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11749         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11750         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11751         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
11752         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
11753         __condvar_cleanup_waiting, __condvar_dec_grefs,
11754         __pthread_cond_wait_common): New.
11755         (__condvar_cleanup): Remove.
11756         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
11757         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
11758         Likewise.
11759         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
11760         Likewise.
11761         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
11762         * nptl/tst-cond1.c: Add comment.
11763         * nptl/tst-cond20.c (do_test): Adapt.
11764         * nptl/tst-cond22.c (do_test): Likewise.
11765         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
11766         structure.
11767         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11768         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11769         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11770         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
11771         Likewise.
11772         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11773         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11774         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11775         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11776         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11777         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
11778         Likewise.
11779         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
11780         Likewise.
11781         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11782         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
11783         (COND_CLOCK_BITS): Adapt.
11784         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
11785         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
11786         __PTHREAD_COND_SHARED_MASK): New.
11787         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
11788         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
11789         * nptl/nptl_lock_constants.pysym: Adapt.
11790         * nptl/test-cond-printers.py: Adapt.
11791         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
11792         cond_compat_check_and_clear): Adapt.
11793         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
11794         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11795         (__pthread_cond_timedwait): ... and move here.
11796         * nptl/DESIGN-condvar.txt: Remove file.
11797         * nptl/lowlevelcond.sym: Likewise.
11798         * nptl/pthread_cond_timedwait.c: Likewise.
11799         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
11800         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
11801         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
11802         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
11803         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
11804         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
11805         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
11806         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
11807         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
11808         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
11809         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
11810         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
11811         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
11812         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
11813         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
11814         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
11816 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
11818         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11819         (fromfp): New declaration.
11820         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11821         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11822         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11823         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
11824         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
11825         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11826         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11827         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11828         * math/math.h: Include <bits/types.h>.
11829         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
11830         constant and macro.
11831         (FP_INT_DOWNWARD): Likewise.
11832         (FP_INT_TOWARDZERO): Likewise.
11833         (FP_INT_TONEARESTFROMZERO): Likewise.
11834         (FP_INT_TONEAREST): Likewise.
11835         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
11836         (fromfpf): Likewise.
11837         (fromfpl): Likewise.
11838         (ufromfp): Likewise.
11839         (ufromfpf): Likewise.
11840         (ufromfpl): Likewise.
11841         (fromfpx): Likewise.
11842         (fromfpxf): Likewise.
11843         (fromfpxl): Likewise.
11844         (ufromfpx): Likewise.
11845         (ufromfpxf): Likewise.
11846         (ufromfpxl): Likewise.
11847         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
11848         s_fromfpxF and s_ufromfpxF.
11849         * math/gen-fromfp-tests.py: New file.
11850         * math/gen-fromfp-tests-inputs: Likewise.
11851         * math/libm-test.inc: Include <stdint.h>
11852         (check_intmax_t): New function.
11853         (check_uintmax_t): Likewise.
11854         (struct test_fiu_M_data): New type.
11855         (struct test_fiu_U_data): Likewise.
11856         (RUN_TEST_fiu_M): New macro.
11857         (RUN_TEST_LOOP_fiu_M): Likewise.
11858         (RUN_TEST_fiu_U): Likewise.
11859         (RUN_TEST_LOOP_fiu_U): Likewise.
11860         (fromfp_test_data): New array.
11861         (fromfp_test): New function.
11862         (fromfpx_test_data): New array.
11863         (fromfpx_test): New function.
11864         (ufromfp_test_data): New array.
11865         (ufromfp_test): New function.
11866         (ufromfpx_test_data): New array.
11867         (ufromfpx_test): New function.
11868         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
11869         ufromfpx_test.
11870         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
11871         characters.
11872         * math/test-tgmath-ret.c: Include <stdint.h>.
11873         (rm): New variable.
11874         (width): Likewise.
11875         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
11876         called function.
11877         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
11878         CHECK_RET_CONST_TYPE.
11879         (CHECK_RET_CONST_DOUBLE): Likewise.
11880         (CHECK_RET_CONST_LDOUBLE): Likewise.
11881         (CHECK_RET_CONST): Take extra arguments and pass them to calls
11882         macros.
11883         (fromfp): New CHECK_RET_CONST call.
11884         (ufromfp): Likewise.
11885         (fromfpx): Likewise.
11886         (ufromfpx): Likewise.
11887         (do_test): Call check_return_fromfp, check_return_ufromfp,
11888         check_return_fromfpx and check_return_ufromfpx.
11889         * math/test-tgmath.c: Include <stdint.h>
11890         (NCALLS): Increase to 138.
11891         (F(compile_test)): Initialize i.  Call fromfp functions.
11892         (F(fromfp)): New function.
11893         (F(fromfpx)): Likewise.
11894         (F(ufromfp)): Likewise.
11895         (F(ufromfpx)): Likewise.
11896         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
11897         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
11898         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
11899         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
11900         ufromfpxl.
11901         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
11902         ufromfp and ufromfpx.
11903         * math/fromfp.h: New file.
11904         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
11905         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
11906         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
11907         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
11908         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
11909         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
11910         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
11911         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
11912         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
11913         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
11914         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
11915         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
11916         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
11917         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
11918         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
11919         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
11920         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
11921         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
11922         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
11923         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
11924         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
11925         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
11926         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
11927         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
11928         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
11929         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
11930         ufromfp, fromfpx and ufromfpx.
11931         (CFLAGS-nldbl-fromfp.c): New variable.
11932         (CFLAGS-nldbl-fromfpx.c): Likewise.
11933         (CFLAGS-nldbl-ufromfp.c): Likewise.
11934         (CFLAGS-nldbl-ufromfpx.c): Likewise.
11935         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
11936         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
11937         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
11938         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
11939         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
11940         * sysdeps/nacl/libm.abilist: Update.
11941         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11942         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11943         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11944         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11945         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11946         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11947         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11948         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11949         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11950         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11951         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11952         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11954         Likewise.
11955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11956         Likewise.
11957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11958         Likewise.
11959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11960         Likewise.
11961         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11962         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11963         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11964         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11965         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11967         Likewise.
11968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11969         Likewise.
11970         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11971         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11972         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11974 2016-12-30  Florian Weimer  <fweimer@redhat.com>
11976         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
11977         compat-gethnamaddr.
11978         (CPPFLAGS): Remove.
11979         * resolv/gethnamaddr.c: Rename ...
11980         * resolv/compat-gethnamaddr.c: ... to this file.
11981         (_endhtent): Make static.
11982         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
11983         symbol.
11984         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
11985         compat symbol.
11986         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
11987         symbol.
11988         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
11989         Turn into compat symbol.
11990         * include/resolv.h (_endhtent): Remove declaration.
11992 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
11994         * bits/types.h (__intmax_t): New typedef.
11995         (__uintmax_t): Likewise.
11996         * sysdeps/generic/stdint.h: Include <bits/types.h>.
11997         (intmax_t): Define using __intmax_t.
11998         (uintmax_t): Define using __uintmax_t.
12000         * support/Makefile (tests-special): Make definition conditional on
12001         [$(run-built-tests) = yes].
12002         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
12003         on [$(run-built-tests) = yes].
12005 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12007         * Rules (tests): Add tests-printers-programs to tests to be
12008         built.
12010 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12012         * sysvipc/Makefile (tests): Add test-sysvshm.
12013         * sysvipc/test-sysvshm.c: New file.
12015         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
12016         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
12017         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
12018         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
12019         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
12020         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
12021         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
12022         Likewise.
12023         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
12024         Likewise.
12025         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
12026         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
12027         is defined.
12029         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
12030         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
12031         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
12032         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
12033         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
12034         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
12035         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
12036         Likewise.
12037         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
12038         Likewise.
12039         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
12040         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
12041         defined.
12043         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12044         oldshmctl.
12045         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
12046         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
12047         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
12048         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
12049         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
12050         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
12051         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
12052         Likewise.
12053         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
12054         Likewise.
12055         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
12056         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
12057         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
12058         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
12059         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
12060         implementation.
12061         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
12062         if it is defined.
12064         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
12065         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
12066         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
12067         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
12068         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
12069         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
12070         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
12071         Likewise.
12072         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
12073         Likewise.
12074         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
12075         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
12076         Define to __NR_osf_shmat.
12077         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
12078         defined.
12080         * sysvipc/Makefile (tests): Add test-sysvsem.
12081         * sysvipc/test-sysvsem.c: New file.
12083         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
12084         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
12085         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
12086         Likewise.
12087         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
12088         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
12089         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
12090         Likewise.
12091         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
12092         Likewise.
12093         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
12094         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
12095         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
12096         add a comment about s390 syscall difference from default one.
12097         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
12098         syscall if it is defined.
12100         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
12101         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
12102         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
12103         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
12104         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
12105         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
12106         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
12107         Likewise.
12108         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
12109         Likewise.
12110         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
12111         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
12112         defined.
12114         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
12115         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
12116         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
12117         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
12118         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
12119         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
12120         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
12121         Likewise.
12122         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
12123         Likewise.
12124         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
12125         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
12126         if it is defined.
12128         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12129         oldsemctl.
12130         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
12131         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
12132         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
12133         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
12134         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
12135         implementation.
12136         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
12137         syscall if it is defined.
12138         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
12139         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
12140         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
12141         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
12142         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
12143         Likewise.
12144         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
12146         * sysvipc/Makefile (tests): Add test-sysvmsg.
12147         * sysvipc/test-sysvmsg.c: New file.
12148         * support/check.h (FAIL_UNSUPPORTED): New define.
12150         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
12151         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
12152         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
12153         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
12154         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
12155         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
12156         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
12157         Likewise.
12158         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
12159         Likewise.
12160         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
12161         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
12162         define.
12164         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
12165         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
12166         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
12167         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
12168         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
12169         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
12170         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
12171         Likewise.
12172         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
12173         Likewise.
12174         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
12175         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
12176         if defined.
12178         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
12179         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
12180         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12181         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12182         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12183         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
12184         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12185         Likewise.
12186         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
12187         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
12188         Likewise.
12189         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
12190         if defined.
12191         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
12193         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12194         oldmsgctl.
12195         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
12196         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
12197         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
12198         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
12199         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12200         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12201         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12202         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12203         Likewise.
12204         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
12205         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
12206         implementation.
12207         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
12208         if defined.
12210         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
12211         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
12212         definition and define its own.
12213         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
12214         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
12215         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
12216         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
12217         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
12218         definitions to common header.
12219         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
12220         operation from ipc_ops.h.
12222         * sysdeps/unix/sysv/linux/kernel-features.h
12223         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
12224         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12225         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
12226         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12227         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12228         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12229         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12230         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12231         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12232         * sysdeps/unix/sysv/linux/s390/kernel-features.h
12233         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12234         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12235         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12236         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12237         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12239 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12241         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
12242         overflow in pointer addition.
12244 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12246         * sysdeps/powerpc/powerpc64/multiarch/Makefile
12247         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
12248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12249         (strchr): Add __strchr_power8 to list of strchr functions.
12250         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
12251         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
12252         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
12253         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
12254         (strchr): Add __strchr_power8 to ifunc list.
12255         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
12256         (__strchrnul): Add __strchrnul_power8 to ifunc list.
12257         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
12258         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
12260 2016-12-28  Florian Weimer  <fweimer@redhat.com>
12262         * support/Makefile (libsupport-routines): Add
12263         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
12264         (tests): Add tst-support_record_failure.
12265         (tests-special): tst-support_record_failure-2.
12266         (tst-support_record_failure-2.out): Depend on
12267         tst-support_record_failure-2.sh and tst-support_record_failure.
12268         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
12269         (support_test_verify_impl, support_record_failure)
12270         (support_report_failure, support_report_failure_reset): Declare.
12271         * support/support_test_main.c (adjust_exit_status): New function.
12272         (support_test_main): Call it to incorporate record test failures.
12273         * support/support_test_verify_impl.c: New file.
12274         * support/support_record_failure.c: Likewise.
12275         * support/tst-support_record_failure.c: Likewise.
12276         * support/tst-support_record_failure-2.sh: Likewise.
12277         * support/xunistd.h: Likewise.
12278         * support/xfork.c: Likewise.
12279         * support/xwaitpid.c: Likewise.
12281 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
12283         * scripts/check-c++-types.sh: Add comments.
12285 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
12287         [BZ #19514]
12288         * resolv/res_send.c: Fix typo in comment.
12289         * sysdeps/i386/i386-mcount.S: Likewise.
12290         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12291         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12292         * sysdeps/sparc/sparc-mcount.S: Likewise.
12294 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12296         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
12297         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
12298         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
12299         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
12300         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
12301         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
12302         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
12303         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
12305 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12307         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
12309 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12311         [BZ #17252]
12312         * posix/unistd.h (getentropy): Declare.
12314 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12316         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
12317         Remove.
12318         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
12319         (cmd): Remove spoof, nospoof, spoofalert.
12320         (parse_line): Ignore spoof-related lines.
12321         (do_init): Do not process RESOLV_SPOOF_CHECK.
12323 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12325         [BZ #20964]
12326         sunrpc: Always obtain AF_INET addresses from NSS.
12327         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
12328         * sunrpc/rpc_gethostbyname.c: New file.
12329         * sunrpc/Makefile (routines): Add it.
12330         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
12331         * sunrpc/clnt_simp.c (callrpc): Likewise.
12332         * sunrpc/getrpcport.c (getrpcport): Likewise.
12334 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12336         * sunrpc/rpcinfo.c: Remove.
12337         * sunrpc/Makefile: Remove comments referring to rpcinfo.
12339 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12341         [BZ #19387]
12342         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
12343         addition.
12344         * string/test-memchr.c (do_test): Remove alignment limitation.
12345         (test_main): Add test that trigger BZ #19387.
12347 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12349         [BZ #7065]
12350         Enable stack protectore if requested by ./configure.
12351         * Makeconfig (+stack-protector): New variable.
12352         (+cflags): Use it.
12354 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12356         [BZ #7065]
12357         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
12358         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
12359         (__rt_sigreturn_stub): Use inhibit_stack_protector.
12360         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12361         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
12363 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12365         [BZ #7065]
12366         * login/Makefile (pt_chown-cflags): Remove.
12367         * nscd/Makefile (CFLAGS-nscd): Likewise.
12368         * resolv/Makefile (CFLAGS-libresolv): Likewise.
12370 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12372         [BZ #7065]
12373         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
12374         non-libc-linking testcase.
12376 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12377             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12378             Florian Weimer  <fweimer@redhat.com>
12380         [BZ #7065]
12381         PLT avoidance for __stack_chk_fail*.
12382         * debug/Makefile (CFLAGS-stack_chk_fail.c)
12383         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
12384         * debug/stack_chk_fail.c (__stack_chk_fail): Add
12385         __stack_chk_fail_local alias.
12386         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
12387         (__stack_chk_fail): Turn into hidden reference to
12388         __stack_chk_fail_local.
12390 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12392         [BZ #7065]
12393         * configure.ac: Add check for unsupported stack-protection level.
12394         (libc_cv_predef_stack_protector): Remove.
12395         (no_ssp): New variable.
12396         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
12397         (stack_protector): Set to -fno-stack-protector similarly.
12398         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
12399         (libc_cv_asm_set_directive): Likewise.
12400         (libc_cv_protected_data): Likewise.
12401         (libc_cv_z_combreloc): Likewise.
12402         (libc_cv_hashstyle): Likewise.
12403         (libc_cv_has_glob_dat): Likewise.
12404         (libc_cv_output_format): Likewise.
12405         (libc_cv_output_format): Likewise.
12406         (libc_cv_ehdr_start): Likewise.
12407         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
12408         (LIBC_LINKER_FEATURE): Likewise.
12409         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
12411 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12413         [BZ #7065]
12414         * elf/Makefile (dummy-stack-chk-fail): New.
12415         (librtld.map): Use it.
12417 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12419         [BZ #7065]
12420         Compile the dynamic linker without stack protection.
12421         * elf/Makefile (elide-stack-protector): New.
12422         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
12423         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
12424         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
12425         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
12427 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12429         [BZ #7065]
12430         * config.make.in (have-ssp, no-stack-protector): New.
12431         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
12432         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
12433         (CFLAGS-sbrk.op): Likewise.
12434         (CFLAGS-brk.o): Likewise.
12435         (CFLAGS-brk.op): Likewise.
12436         * string/Makefile (CFLAGS-memcpy.c): Likewise.
12437         (CFLAGS-wordcopy.c): Likewise.
12439 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12441         [BZ #7065]
12442         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
12443         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
12444         * include/libc-symbols.h (inhibit_stack_protector): New macro.
12445         (__ifunc_resolver): Use it.
12446         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
12447         inhibit_stack_protector.
12448         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
12449         * elf/ifuncmain7.c (foo_ifunc): Likewise.
12450         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
12451         (foo_protected_ifunc): Likewise.
12452         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
12453         (foo_protected_ifunc): Likewise.
12454         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12455         * sysdeps/nacl/nacl_interface_query.c
12456         (nacl_interface_query_ifunc): Likewise.
12457         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12458         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
12459         Likewise.
12460         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
12461         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
12462         the generated vDSO syscall resolver.
12464 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12465             Florian Weimer  <fweimer@redhat.com>
12467         [BZ #7065]
12468         Initialize the stack guard earlier when linking statically.
12469         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
12470         (__pthread_initialize_minimal): Declare.
12471         * csu/libc-start.c (__pthread_initialize_minimal): Remove
12472         declaration.
12473         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
12474         stack canary and apply_irel initialization up.  Call
12475         __pthread_initialize_minimal only if linked in.
12476         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
12477         constant values.
12478         (__pthread_initialize_minimal): Remove.
12479         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
12480         (__pthread_initialize_minimal_internal): Do not call
12481         __libc_setup_tls.
12483 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12485         [BZ #7065]
12486         * configure.ac (libc_cv_ssp): Move up.
12487         (libc_cv_ssp_strong): Likewise.
12488         (libc_cv_ssp_all): New.
12489         (stack_protector): Augment, adding -fstack-protector-all.
12490         (no_stack_protector): New.
12491         (STACK_PROTECTOR_LEVEL): New.
12492         (AC_ARG_ENABLE(stack-protector)): New configure flag.
12493         * manual/install.texi (--enable-stack-protector): Document it.
12494         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
12496 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
12498         * README.pretty-printers: Must specify CPPFLAGS-* also.
12499         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
12500         (CPPFLAGS-test-mutex-printers.c): Define.
12501         (CPPFLAGS-test-condattr-printers.c): Define.
12502         (CPPFLAGS-test-cond-printers.c): Define.
12503         (CPPFLAGS-test-rwlockattr-printers.c): Define.
12504         (CPPFLAGS-test-rwlock-printers.c): Define.
12506         * nss/Makefile [ifeq (yes,$(have-thread-library))]
12507         (tests): Add tst-cancel-getpwuid_r.
12508         * nss/tst-cancel-getpwuid_r.c: New file.
12510         [BZ #11941]
12511         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
12512         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
12513         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
12514         tst-nodelete-dlclose.
12515         (modules-names): Add tst-nodelete-dlclose-dso and
12516         tst-nodelete-dlclose-plugin.
12517         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
12518         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
12519         ($(objpfx)tst-nodelete-dlclose): Define.
12520         ($(objpfx)tst-nodelete-dlclose.out): Define.
12522 2016-12-23  Florian Weimer  <fweimer@redhat.com>
12524         * scripts/test_printers_common.py: Log GDB output in case of
12525         Python detection failure.
12527 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12529         * configure.ac: Check for python3 or python.
12530         * configure: Regenerated.
12531         * config.make.in (PYTHON): New variable.
12532         * benchtests/Makefile: Don't define PYTHON.
12533         (bench): Define target only if PYTHON was defined.
12534         * Rules: Don't define PYTHON.
12535         Define pretty printer targets only if PYTHON was defined.
12536         (tests-printers): Add to tests-unsupported if PYTHON is not
12537         found.
12538         (python-flags, python-invoke): Remove.
12539         (tests-printers-out): Use PYTHON instead of python-invoke.
12541 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
12543         [BZ #20978]
12544         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12545         Compare name == NULL, not name != NULL.
12547         * manual/texinfo.tex: Update to version 2016-09-18.18 with
12548         trailing whitespace removed.
12549         * scripts/config.guess: Update to version 2016-10-02.
12550         * scripts/config.sub: Update to version 2016-11-19.
12551         * scripts/install-sh: Update to version 2016-01-11.22.
12552         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
12553         * scripts/move-if-change: Update to version 2016-01-11 22:04.
12555 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
12557         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
12558         (do_one_test) Restore original string so iteration works.
12559         * string/string-inlines.c (do_test): Create better input strings.
12560         (test_main) Reduce number of testruns.
12561         * string/string-inlines.c (__old_strsep_1c): New function.
12562         (__old_strsep_2c): Likewise.
12563         (__old_strsep_3c): Likewise.
12564         * string/strsep.c (__strsep): Remove case of small delim string.
12565         Call strcspn directly rather than strpbrk.
12566         * string/bits/string2.h (__strsep): Remove define.
12567         (__strsep_1c): Remove.
12568         (__strsep_2c): Remove.
12569         (__strsep_3c): Remove.
12570         (strsep): Remove.
12571         * sysdeps/unix/sysv/linux/internal_statvfs.c
12572         (__statvfs_getflags): Rename to __strsep.
12574 2016-12-21  Florian Weimer  <fweimer@redhat.com>
12576         * csu/libc-tls.c (_dl_tls_setup): Remove.
12577         * elf/dl-tls.c (_dl_tls_setup): Likewise.
12578         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
12579         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
12581 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
12583         [BZ #7065]
12584         * sysdeps/x86_64/Makefile [$(subdir) = elf]
12585         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
12587 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
12588             Florian Weimer  <fweimer@redhat.com>
12590         [BZ #7065]
12591         * csu/Makefile (tests): Empty assignment and document it.
12592         (tests-static): Remove.
12593         * csu/tst-empty.c: Move to...
12594         * misc/tst-empty.c: ... here.  Switch to new test driver.
12595         * csu/tst-atomic.c: Move to...
12596         * misc/tst-atomic.c: ... here.  Switch to new test driver.
12597         * csu/tst-atomic-long.c: Move to...
12598         * misc/tst-atomic-long.c: ... here.
12599         * misc/Makefile (tests): Add tst-empty, tst-atomic,
12600         tst-atomic-long.
12601         (tests-static): Add tst-empty.
12603 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
12605         * manual/nss.texi: Change incorrect @vtable to @table.
12606         * manual/arith.texi: Convert @tables of variables to @vtables
12607         and remove unnecessary indexing.
12608         * manual/filesys.texi: Likewise.
12609         * manual/llio.texi: Likewise.
12610         * manual/memory.texi: Likewise.
12611         * manual/process.texi: Likewise.
12612         * manual/resource.texi: Likewise.
12613         * manual/search.texi: Likewise.
12614         * manual/signal.texi: Likewise.
12615         * manual/socket.texi: Likewise.
12616         * manual/stdio.texi: Likewise.
12617         * manual/sysinfo.texi: Likewise.
12618         * manual/syslog.texi: Likewise.
12619         * manual/terminal.texi: Likewise.
12620         * manual/time.texi: Likewise.
12621         * manual/users.texi: Likewise.
12623 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
12625         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12626         (roundeven): New declaration.
12627         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
12628         macro.
12629         * math/Versions (roundeven): New libm symbol at version
12630         GLIBC_2.25.
12631         (roundevenf): Likewise.
12632         (roundevenl): Likewise.
12633         * math/Makefile (libm-calls): Add s_roundevenF.
12634         * math/libm-test.inc (roundeven_test_data): New array.
12635         (roundeven_test): New function.
12636         (main): Call roundeven_test.
12637         * math/test-tgmath.c (NCALLS): Increase to 134.
12638         (F(compile_test)): Call roundeven.
12639         (F(roundeven)): New function.
12640         * manual/arith.texi (Rounding Functions): Document roundeven,
12641         roundevenf and roundevenl.
12642         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
12643         * include/math.h (roundeven): Use libm_hidden_proto.
12644         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
12645         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
12646         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
12647         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
12648         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
12649         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
12650         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12651         roundeven.
12652         (CFLAGS-nldbl-roundeven.c): New variable.
12653         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
12654         * sysdeps/nacl/libm.abilist: Update.
12655         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12656         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12657         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12658         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12659         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12660         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12661         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12662         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12663         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12664         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12665         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12666         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12668         Likewise.
12669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12670         Likewise.
12671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12672         Likewise.
12673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12674         Likewise.
12675         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12676         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12677         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12678         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12679         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12681         Likewise.
12682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12683         Likewise.
12684         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12685         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12686         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12688 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
12690         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
12691         preprocessor indentation inside #if.
12693 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12695         * math/libm-test.inc (fmt_ftostr): New function.
12696         (print_float, check_float_internal): Replace some uses of
12697         FTOSTR with uses of fmt_ftostr.
12698         (print_max_error, print_complex_max_error, print_function_ulps)
12699         (print_complex_function_ulps): Remove uses of the macros
12700         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
12701         * math/test-double.h (FTOSTR): Define to strfromd.
12702         (PRINTF_EXPR): Delete.
12703         (PRINTF_XEXPR): Likewise.
12704         (PRINTF_NEXPR): Likewise.
12705         * math/test-float.h (FTOSTR): Define to strfromf.
12706         (PRINTF_EXPR): Delete.
12707         (PRINTF_XEXPR): Likewise.
12708         (PRINTF_NEXPR): Likewise.
12709         * math/test-ldouble.h (FTOSTR): Define to strfroml.
12710         (PRINTF_EXPR): Delete.
12711         (PRINTF_XEXPR): Likewise.
12712         (PRINTF_NEXPR): Likewise.
12714 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12716         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12717         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
12718         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12719         (__lll_lock_elision): Decrement adapt_count while unlocking
12720         instead of before locking.
12721         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12722         (__lll_trylock_elision): Likewise.
12723         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
12724         (__lll_unlock_elision): Likewise.
12726 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12728         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
12729         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
12730         Use __libc_tbegin_retry macro.
12732 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12734         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
12735         Add -msoft-float.
12736         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
12737         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12738         Use __libc_t* transaction macros instead of __builtin_t*.
12739         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12740         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12742 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12744         * sysdeps/unix/sysv/linux/s390/elision-lock.c
12745         (__lll_lock_elision): Use atomics to load / store adapt_count.
12746         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12747         (__lll_trylock_elision): Likewise.
12749 2016-12-20  Florian Weimer  <fweimer@redhat.com>
12751         Do not require memset elimination in explicit_bzero test.
12752         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
12753         (enum test_expectation): Add NO_EXPECTATIONS.
12754         (subtests): NO_EXPECTATIONS for ordinary clear.
12755         (check_test_buffer): Handle NO_EXPECTATIONS.
12756         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
12758 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
12760         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12761         (fmaxmag): New declaration.
12762         (fminmag): Likewise.
12763         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
12764         macro.
12765         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
12766         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
12767         (fmaxmagf): Likewise.
12768         (fmaxmagl): Likewise.
12769         (fminmag): Likewise.
12770         (fminmagf): Likewise.
12771         (fminmagl): Likewise.
12772         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
12773         * math/s_fmaxmag_template.c: New file.
12774         * math/s_fminmag_template.c: Likewise.
12775         * math/libm-test.inc (fmaxmag_test_data): New array.
12776         (fmaxmag_test): New function.
12777         (fminmag_test_data): New array.
12778         (fminmag_test): New function.
12779         (main): Call fmaxmag_test and fminmag_test.
12780         * math/test-tgmath.c (NCALLS): Increase to 132.
12781         (F(compile_test)): Call fmaxmag and fminmag.
12782         (F(fminmag)): New function.
12783         (F(fmaxmag)): Likewise.
12784         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
12785         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
12786         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
12787         fminmag.
12788         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
12789         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
12790         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
12791         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
12792         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
12793         and fminmag.
12794         (CFLAGS-nldbl-fmaxmag.c): New variable.
12795         (CFLAGS-nldbl-fminmag.c): Likewise.
12796         * sysdeps/nacl/libm.abilist: Update.
12797         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12798         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12799         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12800         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12801         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12802         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12803         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12804         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12805         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12806         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12807         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12808         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12810         Likewise.
12811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12812         Likewise.
12813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12814         Likewise.
12815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12816         Likewise.
12817         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12818         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12819         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12820         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12821         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12823         Likewise.
12824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12825         Likewise.
12826         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12827         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12828         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12830 2016-12-19  Torvald Riegel  <triegel@redhat.com>
12832         [BZ #20973]
12833         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
12834         wake-up in robust mutexes.
12835         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12837 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12839         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
12840         (CFLAGS-bench-fmaxf.c): New rule.
12841         (CFLAGS-bench-fminf.c): Likewise.
12842         * benchtests/fmaxf-inputs: New file.
12843         * benchtests/fminf-inputs: Likewise.
12845         * benchtests/Makefile (bench-math): Add fmin and fmax.
12846         (CFLAGS-bench-fmax.c): New rule.
12847         (CFLAGS-bench-fmin.c): Likewise.
12848         * benchtests/fmax-inputs: New file.
12849         * benchtests/fmin-inputs: Likewise.
12851         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
12852         parenthesis.
12853         (CMDLINE_PROCESS): Define using function instead of macro.
12854         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
12855         of test-skeleton.
12856         * benchtests/bench-memchr.c: Likewise.
12857         * benchtests/bench-memcmp.c: Likewise.
12858         * benchtests/bench-memcpy-large.c: Likewise.
12859         * benchtests/bench-memcpy.c: Likewise.
12860         * benchtests/bench-memmem.c: Likewise.
12861         * benchtests/bench-memmove-large.c: Likewise.
12862         * benchtests/bench-memmove.c: Likewise.
12863         * benchtests/bench-memset-large.c: Likewise.
12864         * benchtests/bench-memset.c: Likewise.
12865         * benchtests/bench-rawmemchr.c: Likewise.
12866         * benchtests/bench-strcasecmp.c: Likewise.
12867         * benchtests/bench-strcasestr.c: Likewise.
12868         * benchtests/bench-strcat.c: Likewise.
12869         * benchtests/bench-strchr.c: Likewise.
12870         * benchtests/bench-strcmp.c: Likewise.
12871         * benchtests/bench-strcpy.c: Likewise.
12872         * benchtests/bench-strcpy_chk.c: Likewise.
12873         * benchtests/bench-strlen.c: Likewise.
12874         * benchtests/bench-strncasecmp.c: Likewise.
12875         * benchtests/bench-strncmp.c: Likewise.
12876         * benchtests/bench-strncpy.c: Likewise.
12877         * benchtests/bench-strnlen.c: Likewise.
12878         * benchtests/bench-strpbrk.c: Likewise.
12879         * benchtests/bench-strrchr.c: Likewise.
12880         * benchtests/bench-strsep.c: Likewise.
12881         * benchtests/bench-strspn.c: Likewise.
12882         * benchtests/bench-strstr.c: Likewise.
12883         * benchtests/bench-strtok.c: Likewise.
12885 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12887         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
12888         stepping identification.
12889         (init_cpu_features): Add handle of Haswell.
12891 2016-11-25  Jim Meyering  <meyering@fb.com>
12893         [BZ #20386]
12894         Let gcc detect assert(a = 1) errors.
12895         * assert/assert.h (assert): Rewrite, retaining the old definintion
12896         when required, but otherwise putting the expression as-is in an "if"
12897         expression (hence, with no added parentheses) within a statement
12898         expression.
12900 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12902         * benchtests/Makefile (binaries-benchset): Depend on libsupport
12903         DSO.
12905 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
12907         * Rules (python-flags, python-invoke): New.
12908         ($(test-printers-out)): Use $(python-flags).
12910 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12912         * manual/arith.texi (Math Error Reporting): Document that sNaN
12913         arguments are not considered domain errors.
12915 2016-12-16  Zack Weinberg <zackw@panix.com>
12916             Florian Weimer <fweimer@redhat.com>
12917             Nick Mathewson <nickm@torproject.org>
12919         * string/explicit_bzero.c: New routine.
12920         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
12921         * string/Makefile (routines, strop-tests, tests): Add them.
12922         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
12923         * string/string.h [__USE_MISC]: Declare explicit_bzero.
12925         * debug/explicit_bzero_chk.c: New routine.
12926         * debug/Makefile (routines): Add it.
12927         * debug/tst-chk1.c: Test fortification of explicit_bzero.
12928         * string/bits/string3.h: Fortify explicit_bzero.
12930         * manual/string.texi: Document explicit_bzero.
12931         * NEWS: Mention addition of explicit_bzero.
12933         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
12934         data before returning, using explicit_bzero.
12935         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
12936         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12937         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12939         * include/string.h: Redirect internal uses of explicit_bzero
12940         to __explicit_bzero_chk[_internal].
12941         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
12942         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
12943         * sysdeps/arm/nacl/libc.abilist
12944         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12945         * sysdeps/unix/sysv/linux/alpha/libc.abilist
12946         * sysdeps/unix/sysv/linux/arm/libc.abilist
12947         * sysdeps/unix/sysv/linux/hppa/libc.abilist
12948         * sysdeps/unix/sysv/linux/i386/libc.abilist
12949         * sysdeps/unix/sysv/linux/ia64/libc.abilist
12950         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12951         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12952         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12953         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12954         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12955         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12956         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12957         * sysdeps/unix/sysv/linux/nios2/libc.abilist
12958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12962         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12963         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12964         * sysdeps/unix/sysv/linux/sh/libc.abilist
12965         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12966         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12969         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12970         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12971         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12972         Add entries for explicit_bzero and __explicit_bzero_chk.
12974 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12976         * math/fenv.h
12977         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
12978         (FE_SNANS_ALWAYS_SIGNAL): New macro.
12979         * math/test-fe-snans-always-signal.c: New file.
12980         * math/Makefile (tests): Add test-fe-snans-always-signal.
12981         (CFLAGS-test-fe-snans-always-signal.c): New variable.
12982         * manual/arith.texi (Infinity and NaN): Document
12983         FE_SNANS_ALWAYS_SIGNAL.
12985 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12987         * string/test-memchr.c (do_test): Typo on â€˜byte’ and missing closing
12988         bracket.
12990 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12992         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
12993         before calling execv.
12995 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12997         [BZ #20971]
12998         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
12999         overflow in pointer addition.
13000         * string/test-memchr.c (do_test): Add an argument to pass as
13001         the size on memchr.
13002         (test_main): Add check for SIZE_MAX.
13004 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13006         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
13007         (libm-calls): Add w_scalblnF.
13008         * math/w_scalbln.c: Remove.
13009         * math/w_scalblnf.c: Likewise.
13010         * math/w_scalblnl.c: Likewise.
13011         * math/w_scalbln_template.c: New file with type-generic
13012         implementation based on math/w_scalbln.c.
13013         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
13014         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
13016 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
13018         [BZ #20947]
13019         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
13020         either is a signaling NaN.
13021         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
13022         follow fmaxl more closely.
13023         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
13024         when either is a signaling NaN.
13025         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
13026         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
13027         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
13028         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
13029         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
13030         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
13031         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
13032         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
13033         (fmin_test_data): Likewise.
13035 2016-12-15  Andreas Schwab  <schwab@suse.de>
13037         * support/support_test_main.c (support_test_main): Don't shadow
13038         file-local variable test_pid.
13040 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
13042         [BZ #20947]
13043         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
13044         either is a signaling NaN.
13045         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
13047 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
13049         [BZ #20947]
13050         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
13051         when either is a signaling NaN.
13052         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
13054         * bits/long-double.h: New file.
13055         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
13056         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
13057         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
13058         * sysdeps/mips/bits/long-double.h: Likewise.
13059         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
13060         * math/Makefile (headers): Add bits/long-double.h.
13061         * misc/sys/cdefs.h: Include <bits/long-double.h>.
13062         * stdlib/strtold.c: Include <bits/long-double.h> instead of
13063         <bits/wordsize.h>.
13064         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
13065         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
13066         * math/math.h: Do not include <bits/mathdef.h>.
13067         * sysdeps/aarch64/bits/mathdef.h: Remove file.
13068         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
13069         inclusion.
13070         * sysdeps/ia64/bits/mathdef.h: Remove file.
13071         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
13072         * sysdeps/mips/bits/mathdef.h: Likewise.
13073         * sysdeps/powerpc/bits/mathdef.h: Likewise.
13074         * sysdeps/s390/bits/mathdef.h: Likewise.
13075         * sysdeps/sparc/bits/mathdef.h: Likewise.
13076         * sysdeps/x86/bits/mathdef.h: Likewise.
13077         * sysdeps/s390/s390-32/bits/wordsize.h
13078         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
13079         conditional code.
13080         * sysdeps/s390/s390-64/bits/wordsize.h
13081         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13082         Likewise.
13083         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
13084         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13085         Likewise.
13086         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
13087         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13088         Likewise.
13089         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
13090         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13091         Likewise.
13093         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
13094         <linux/falloc.h>.
13095         (FALLOC_FL_KEEP_SIZE): Remove.
13096         (FALLOC_FL_PUNCH_HOLE): Likewise.
13097         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
13098         (FALLOC_FL_ZERO_RANGE): Likewise.
13100 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13102         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
13104 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13106         * sysdeps/unix/sysv/linux/renameat.c: New file.
13107         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
13109         * sysdeps/unix/sysv/linux/rename.c: New file.
13110         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
13112 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
13114         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
13115         * string/strtok.c (strtok): Change to tailcall __strtok_r.
13116         * string/strtok_r.c (__strtok_r): Optimize for performance.
13117         * string/string-inlines.c (__old_strtok_r_1c): New function.
13118         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
13120 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13122         * math/Makefile (gen-libm-calls): Add w_log1pF.
13123         (libm-calls): Remove w_log1pF.
13124         * math/w_log1p.c: Remove.
13125         * math/w_log1pf.c: Likewise.
13126         * math/w_log1pl.c: Likewise.
13127         * math/w_log1p_template.c: New file with type-generic
13128         implementation based on math/w_log1p.c.
13129         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
13130         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
13132 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
13134         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
13136 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
13138         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13139         kernel version to 4.9.
13141 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
13143         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
13144         ($(inst_libdir)/libm.a): Fix rule to create the target only.
13146 2016-12-13  Andreas Schwab  <schwab@suse.de>
13148         * sysdeps/powerpc/dl-procinfo.c: Don't define
13149         _dl_powerpc_platforms.
13150         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
13151         constants instead of referencing _dl_powerpc_platforms.
13152         (_dl_platform_string): Remove.
13154 2016-12-13  Florian Weimer  <fweimer@redhat.com>
13156         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
13158 2016-12-13  Florian Weimer  <fweimer@redhat.com>
13160         * Rules (binaries-shared-tests, binaries-pie-tests)
13161         (binaries-static-tests): Link with $(link-extra-libs-tests).
13162         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
13163         Remove $(link-extra-libs-tests).
13165 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13167         * sysdeps/powerpc/powerpc64/multiarch/Makefile
13168         (sysdep_routines): Add strncmp_power9.
13169         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13170         (strncmp): Add __strncmp_power9 to list of strncmp functions.
13171         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
13172         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13173         (strncmp): Add __strncmp_power9 to ifunc list.
13174         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
13176 2016-12-12  Florian Weimer  <fweimer@redhat.com>
13178         [BZ #17252]
13179         Add getentropy, getrandom.
13180         * stdlib/sys/random.h: New file.
13181         (headers): Add it.
13182         * stdlib/Makefile (routines): Add getentropy, getrandom.
13183         (tests): Add tst-getrandom.
13184         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
13185         * stdlib/getentropy.c: New file.
13186         * stdlib/getrandom.c: Likewise.
13187         * stdlib/tst-getrandom.c: Likewise.
13188         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
13189         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
13190         * manual/crypt.texi (Unpredictable Bytes): New section.
13191         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
13192         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
13193         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13194         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13195         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13196         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13197         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13198         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13199         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13200         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13201         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13202         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13203         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13204         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13205         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13206         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13208         Likewise.
13209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13210         Likewise.
13211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13213         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13214         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13215         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13216         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13217         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13220         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13221         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13222         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13224 2016-12-10  Florian Weimer  <fweimer@redhat.com>
13226         [BZ #20956]
13227         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
13228         as additional compiler barriers.
13229         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
13230         (fn2, do_test): Declare with external linkage.
13231         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
13232         (do_test): Declare with external linkage.
13233         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
13234         (do_test): Declare with external linkage.
13235         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
13236         (do_test): Declare with external linkage.
13238 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
13240         * support/support_test_main.c (support_test_main): Use correct
13241         timeout.
13243 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
13244             Florian Weimer  <fweimer@redhat.com>
13246         [BZ #16421]
13247         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
13248         and __u6_addr32 members.
13249         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
13250         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
13251         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
13252         Use __u6_addr32.
13253         * inet/tst-checks.c: Use <support/test-driver.c>
13254         * inet/tst-checks-posix.c: New file.
13255         * inet/Makefile (tests): Add it.
13256         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
13258 2016-12-09  Florian Weimer  <fweimer@redhat.com>
13260         New subdirectory support for build and test infrastructure.
13261         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
13262         setting install-lib.
13263         * Makeconfig (link-extra-libs-tests): Define.
13264         (+link-pie-tests, +link-static-tests, +link-tests): Use
13265         link-extra-libs-tests.
13266         (rpath-dirs, all-subdirs): Add support.
13267         (built-modules): Add libsupport.
13268         (libsupport): Define.
13269         * support: New directory.
13270         * support/Makefile: New file.
13271         * support/check.c: Likewise.
13272         * support/check.h: Likewise.
13273         * support/delayed_exit.c: Likewise.
13274         * support/ignore_stderr.c: Likewise.
13275         * support/oom_error.c: Likewise.
13276         * support/set_fortify_handler.c: Likewise.
13277         * support/support.h: Likewise.
13278         * support/temp_file-internal.h: Likewise.
13279         * support/temp_file.c: Likewise.
13280         * support/test-driver.c: Likewise.
13281         * support/test-driver.h: Likewise.
13282         * support/test_main.c: Likewise.
13283         * support/write_message.c: Likewise.
13284         * support/xasprintf.c: Likewise.
13285         * support/xcalloc.c: Likewise.
13286         * support/xmalloc.c: Likewise.
13287         * support/xpthread_barrier_destroy.c: Likewise.
13288         * support/xpthread_barrier_init.c: Likewise.
13289         * support/xpthread_barrier_wait.c: Likewise.
13290         * support/xpthread_cancel.c: Likewise.
13291         * support/xpthread_check_return.c: Likewise.
13292         * support/xpthread_cond_wait.c: Likewise.
13293         * support/xpthread_create.c: Likewise.
13294         * support/xpthread_detach.c: Likewise.
13295         * support/xpthread_join.c: Likewise.
13296         * support/xpthread_mutex_lock.c: Likewise.
13297         * support/xpthread_mutex_unlock.c: Likewise.
13298         * support/xpthread_sigmask.c: Likewise.
13299         * support/xpthread_spin_lock.c: Likewise.
13300         * support/xpthread_spin_unlock.c: Likewise.
13301         * support/xrealloc.c: Likewise.
13302         * support/xsignal.h: Likewise.
13303         * support/xthread.h: Likewise.
13304         * support_tempfile.h: Likewise.
13305         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
13306         (TEST_DATA_LIMIT): Remove unused macro.
13307         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
13308         <support/check.h>.
13309         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
13310         (ignore_stderr, set_fortify_handler): Remove.  Now in
13311         <support/support.h>.
13312         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
13313         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
13314         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
13315         (xpthread_join): Remove.  Now in <support/xthread.h>.
13316         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
13317         Introduce legacy wrappers.
13318         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
13319         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
13320         (write_message): Remove.
13321         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
13322         test-skeleton.c.
13323         * io/test-open-tmpfile: Likewise.
13324         * io/tst-posix_fallocate-common.c: Likewise.
13325         * libio/tst-fseek.c: Likewise.
13326         * malloc/tst-malloc-backtrace.c: Likewise.
13327         * malloc/tst-malloc-fork-deadlock.c: Likewise.
13328         * malloc/tst-malloc-thread-exit.c: Likewise.
13329         * nptl/tst-cancel7.c: Likewise.
13330         * nptl/tst-cleanup0.c: Likewise.
13331         * posix/tst-posix_fadvise-common.c: Likewise.
13332         * rt/tst-shm.c: Likewise.
13333         * time/bug-getdate1.c: Likewise.
13334         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13335         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
13336         * elf/Makefile (tst-piemod1.so): Link against libsupport.
13338 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
13340         * Rules [$(run-built-tests) != no] (tests-expected): Add
13341         $(tests-printers).
13342         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
13344 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
13346         [BZ #20539]
13347         * math/Makefile (install-lib-ldscripts): Add libm.a.
13348         (install_subdir): Remove.
13349         (install-others): Add.
13350         ($(inst_libdir)/libm.a): Add rule for installation as
13351         linker script.
13352         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
13354 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
13356         * INSTALL: Regenerated.
13357         * Makeconfig: Add comments and whitespace to make the control flow
13358         clearer.
13359         (+link-printers-tests, +link-pie-printers-tests,
13360         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
13361         built-rtld-LDFLAGS, link-libc-rpath,
13362         link-libc-tests-after-rpath-link,
13363         link-libc-printers-tests): New.
13364         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
13365         link-libc-tests): Use the new variables as required.
13366         * Makerules ($(py-const)): New rule.
13367         generated: Add $(py-const).
13368         * README.pretty-printers: New file.
13369         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
13370         (others): Depend on $(py-const).
13371         (tests): Depend on $(tests-printers-programs) or
13372         $(tests-printers-out),
13373         as required.  Pass $(tests-printers) to merge-test-results.sh.
13374         * manual/install.texi: Add requirements for testing the pretty
13375         printers.
13376         * nptl/Makefile (gen-py-const-headers, pretty-printers,
13377         tests-printers, CFLAGS-test-mutexattr-printers.c
13378         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
13379         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
13380         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
13381         * nptl/nptl-printers.py: New file.
13382         * nptl/nptl_lock_constants.pysym: Likewise.
13383         * nptl/test-cond-printers.c: Likewise.
13384         * nptl/test-cond-printers.py: Likewise.
13385         * nptl/test-condattr-printers.c: Likewise.
13386         * nptl/test-condattr-printers.py: Likewise.
13387         * nptl/test-mutex-printers.c: Likewise.
13388         * nptl/test-mutex-printers.py: Likewise.
13389         * nptl/test-mutexattr-printers.c: Likewise.
13390         * nptl/test-mutexattr-printers.py: Likewise.
13391         * nptl/test-rwlock-printers.c: Likewise.
13392         * nptl/test-rwlock-printers.py: Likewise.
13393         * nptl/test-rwlockattr-printers.c: Likewise.
13394         * nptl/test-rwlockattr-printers.py: Likewise.
13395         * scripts/gen-py-const.awk: Likewise.
13396         * scripts/test_printers_common.py: Likewise.
13397         * scripts/test_printers_exceptions.py: Likewise.
13399 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
13401         * scripts/build-many-glibcs.py (Context.__init__): Take strip
13402         argument.
13403         (Glibc.build_glibc): Strip installed shared libraries if
13404         requested.
13405         (get_parser): Add --strip option.
13406         (main): Update Context call.
13408 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13409             Dominik Vogt  <vogt@linux.vnet.ibm.com>
13411         [BZ #20847]
13412         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13413         array bounds for else branch.
13414         (__execvpe): Style fixes.
13415         * posix/tst-vfork3.c (run_script): New function.
13416         (create_script): Likewise.
13417         (do_test): Use run_script internal function.
13418         (do_prepare): Use create_script internal function.
13420 2016-12-07  Andreas Schwab  <schwab@suse.de>
13422         * sysdeps/unix/sysv/linux/x86/elision-conf.h
13423         (__elision_available): Don't declare.
13424         * sysdeps/unix/sysv/linux/x86/elision-conf.c
13425         (__elision_available): Don't define.
13426         (elision_init): Don't set __elision_available.
13428 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
13430         [BZ #20940]
13431         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
13432         return Inf for arguments Inf and sNaN.
13433         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13434         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13435         Likewise.
13436         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13437         Likewise.
13438         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13439         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
13440         for arguments Inf and sNaN.  When returning a NaN, compute it by
13441         arithmetic on the arguments.
13442         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
13443         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
13444         arguments.
13446 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
13448         [BZ #20916]
13449         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
13450         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
13451         to compute result.
13452         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13453         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
13455 2016-12-05  Torvald Riegel  <triegel@redhat.com>
13457         * include/atomic.h (__atomic_check_size_ls): New.
13458         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
13459         atomic_store_release): Use it.
13460         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
13461         (elision_adapt, ELIDE_LOCK): Use atomics.
13462         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
13463         atomics and improve code comments.
13464         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
13465         (__lll_trylock_elision): Likewise.
13467 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13469         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
13470         programs.
13472 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
13474         [BZ #20916]
13475         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
13476         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
13477         arguments to compute result.
13478         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
13479         1 for arguments (sNaN, 0) or (1, sNaN).
13480         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13481         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13483         [BZ #20919]
13484         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
13485         NaN first argument when raised to power 0.
13486         * math/w_pow.c (__pow): Do not check for NaN or zero results from
13487         raising to power zero.
13488         * math/w_powf.c (__powf): Likewise.
13489         * math/w_powl.c (__powl): Likewise.
13490         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
13491         pow (0, 0) or pow (NaN, 0).
13493 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
13495         [BZ #20918]
13496         * configure.ac: Test for static NSS cryptographic libraries and set
13497         libc_cv_static_nss_crypt.
13498         * configure: Regenerate.
13499         * config.make.in (static-nss-crypt): Define.
13500         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
13501         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
13502         (CFLAGS-tst-linkall-static.c): Define.
13503         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
13504         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
13505         ($(objpfx)tst-linkall-static): Define.
13506         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
13507         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
13509 2016-12-02  Florian Weimer  <fweimer@redhat.com>
13511         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
13512         (one-hundred, tst-tls-many-dynamic-modules): Define.
13513         (modules-names): Add $(tst-tls-many-dynamic-modules).
13514         (tst-tls-manydynamic%mod.os): Build with special preprocessor
13515         macros.
13516         (tst-tls-manydynamic): Link against libdl, libpthread.
13517         (tst-tls-manydynamic.out): The test needs the test modules at run
13518         time.
13519         * elf/tst-tls-manydynamic.c: New file.
13520         * elf/tst-tls-manydynamic.h: Likewise.
13521         * elf/tst-tls-manydynamicmod.c: Likewise.
13523 2016-12-02  Florian Weimer  <fweimer@redhat.com>
13525         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
13526         (TLS_DTV_UNALLOCATED): Add.
13527         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
13528         offsets.
13530 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
13532         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13534 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
13536         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
13537         Add -fno-optimize-sibling-calls.
13539 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
13541         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
13542         New declaration.
13543         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
13544         macro.
13545         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
13546         New macro.
13547         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
13548         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
13549         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
13550         (llogbf): Likewise.
13551         (llogbl): Likewise.
13552         * math/Makefile (gen-libm-calls): Add w_llogbF.
13553         (tests): Add test-fp-llogb-constants.
13554         * math/w_llogb_template.c: New file.  Based on
13555         math/w_ilogb_template.c.
13556         * math/libm-test.inc (llogb_test_data): New array.
13557         (llogb_test): New function.
13558         (main): Call llogb_test.
13559         * math/test-fp-llogb-constants.c: New file.  Based on
13560         math/test-fp-ilogb-constants.c.
13561         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
13562         (do_test): Call check_return_llogb.
13563         * math/test-tgmath.c (NCALLS): Increase to 126.
13564         (F(compile_test)): Call llogb.
13565         (F(llogb)): New function.
13566         * manual/math.texi (Exponents and Logarithms): Document llogb,
13567         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
13568         * manual/libm-err-tab.pl (@all_functions): Add llogb.
13569         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
13570         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
13571         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
13572         (CFLAGS-nldbl-llogb.c): New variable.
13573         * sysdeps/nacl/libm.abilist: Update.
13574         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13575         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13576         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13577         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13578         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13579         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13580         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13581         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13582         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13583         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13584         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13585         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13587         Likewise.
13588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13589         Likewise.
13590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13591         Likewise.
13592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13593         Likewise.
13594         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13595         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13596         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13597         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13598         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13600         Likewise.
13601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13602         Likewise.
13603         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13604         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13605         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13607 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
13609         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
13610         _Float128 instead of long double.
13611         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
13613         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
13614         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
13615         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
13616         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
13617         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
13618         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
13619         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
13620         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
13621         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
13622         Likewise.
13624 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13626         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
13627         Remove redirection to __strrchr_ppc.
13629 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13631         * sysdeps/powerpc/powerpc64/multiarch/Makefile
13632         (sysdep_routines): Add strcmp_power9.
13633         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13634         (strcmp): Add __strcmp_power9 to list of strcmp functions.
13635         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
13636         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13637         (strcmp): Add __strcmp_power9 to ifunc list.
13638         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
13640 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
13642         * bits/fp-logb.h: New file.
13643         * sysdeps/ia64/bits/fp-logb.h: Likewise.
13644         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
13645         * sysdeps/x86/bits/fp-logb.h: Likewise.
13646         * math/Makefile (headers): Add bits/fp-logb.h.
13647         * math/math.h: Include <bits/fp-logb.h>.
13648         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
13649         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
13650         * bits/mathdef.h (FP_ILOGB0): Remove.
13651         (FP_ILOGBNAN): Likewise.
13652         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
13653         (FP_ILOGBNAN): Likewise.
13654         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
13655         (FP_ILOGBNAN): Likewise.
13656         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
13657         (FP_ILOGBNAN): Likewise.
13658         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
13659         (FP_ILOGBNAN): Likewise.
13660         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
13661         (FP_ILOGBNAN): Likewise.
13662         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
13663         (FP_ILOGBNAN): Likewise.
13664         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
13665         (FP_ILOGBNAN): Likewise.
13666         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
13667         (FP_ILOGBNAN): Likewise.
13668         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
13669         (FP_ILOGBNAN): Likewise.
13671         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
13672         time module.
13673         (Context.__init__): Initialize self.logsdir_old.
13674         (Context.run_builds): Handle bot action.
13675         (Context.bot_cycle): Copy logs directory before running builds.
13676         (Context.bot_run_self): Take argument for whether to check
13677         subprocess result.  Flush stdout before running subprocess.
13678         (Context.bot): New function.
13679         (get_parser): Allow bot action.
13681 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
13683         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
13684         Import email.mime.text, email.utils and smtplib modules.
13685         (Context.__init__): Initialize self.bot_config_json.
13686         (Context.run_builds): Handle bot-cycle action.
13687         (Context.load_bot_config_json): New function.
13688         (Context.part_build_old): Likewise.
13689         (Context.bot_cycle): Likewise.
13690         (Context.bot_build_mail): Likewise.
13691         (Context.bot_run_self): Likewise.
13692         (get_parser): Allow bot-cycle action.
13694 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13696         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
13697         Remove redirection to __stpcpy_ppc.
13699 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13701         Remove __libc_memalign from ld.so because it is unused.
13702         * elf/dl-minimal.c: Update comment on the malloc implementation.
13703         (malloc): Renamed from __libc_memalign, replacing the original
13704         malloc implementation.  Replace the align parameter with
13705         MALLOC_ALIGNMENT.
13706         * elf/Versions (ld): Update comment and remove __libc_memalign.
13707         * sysdeps/nacl/ld.abilist: Likewise.
13708         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13709         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13710         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13711         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13712         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13713         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13714         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13715         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13716         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13717         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13718         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13719         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13720         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13724         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13725         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13726         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13727         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13728         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
13730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
13731         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
13732         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13733         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13734         * sysdeps/generic/localplt.data (ld.so): Likewise.
13735         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13736         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13737         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13738         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13739         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13740         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13741         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13742         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
13743         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13745         (ld.so): Likewise.
13746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13747         (ld.so): Likewise.
13748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13749         Likewise.
13750         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13751         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13752         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
13753         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
13754         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13756 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13758         [BZ #16628]
13759         Implement _dl_catch_error, _dl_signal_error in libc.so.
13760         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
13761         (catch_hook): Define as thread-local or regular variable,
13762         depending on DL_ERROR_BOOTSTRAP.
13763         (CATCH_HOOK): Remove.
13764         (dl_signal_error, _dl_catch_error): Use
13765         catch_hook.  Add hidden definition for libc.
13766         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
13767         for DL_ERROR_BOOTSTRAP only.
13768         * elf/dl-error.c: New file.
13769         * elf/dl-error-minimal.c: Likewise.
13770         * elf/tst-latepthread.c: Likewise.
13771         * elf/tst-latepthreadmod.c: Likewise.
13772         * elf/Makefile (routines): Add dl-error.
13773         (dl-routines): Remove dl-error.
13774         (rtld-routines): Add dl-error-minimal.
13775         [build-shared] (tests): Add tst-latepthread.
13776         (module-names): Add tst-latepthreadmod.
13777         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
13778         symbol.
13779         (tst-latepthreadmod.so): Link against libpthread.
13780         (tst-latepthread): Link against libdbl.
13781         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
13782         _dl_catch_error.
13783         [ld] (GLIBC_PRIVATE): Likewise.
13784         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
13785         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
13786         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
13787         directly.
13788         * elf/dl-tsd.c: Remove file.
13789         * elf/rtld.c (_rtld_global_ro): Remove initializers for
13790         _dl_catch_error, _dl_signal_error.
13791         (_dl_initial_error_catch_tsd): Remove definition.
13792         (do_preload): Remove initialization of dl_error_catch_tsd.
13793         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
13794         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
13795         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13796         * dlfcn/dlopen.c (dlopen_doit): Likewise.
13797         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
13798         set dl_error_catch_tsd.
13799         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
13800         _dl_error_catch_tsd member.
13801         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
13802         members.
13803         (_dl_initial_error_catch_tsd): Remove declaration.
13804         (_dl_dprintf): Provide definition for use outside of ld.so.
13805         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
13806         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
13807         prototype for libc.
13808         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
13809         _dl_catch_error.
13810         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13811         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13812         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13813         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13814         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13815         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13816         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13817         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13818         Likewise.
13819         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13821         (ld.so): Likewise.
13822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13823         (ld.so): Likewise.
13824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13825         Likewise.
13826         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13827         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13828         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
13829         Likewise.
13830         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
13831         Likewise.
13832         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13834 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13836         [BZ #4099]
13837         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
13838         _IO_BUFSIZ (8192).
13840 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
13842         * PROJECTS: Remove file.
13844 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13846         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
13848 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
13849             Steve Ellcey  <sellcey@caviumnetworks.com>
13851         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
13852         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
13853         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
13854         fxstatat.
13855         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
13856         lxstat.
13857         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
13858         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
13859         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
13860         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
13861         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
13862         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
13863         __xstat.
13865 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13867         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
13868         Define.
13869         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
13870         definition.
13872 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13874         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
13875         version and turn into strong alias.  Remove compat symbol.
13877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13878         (__longjmp): Remove.
13880 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
13882         * bits/fp-fast.h: New file.
13883         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
13884         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
13885         * math/Makefile (headers): Add bits/fp-fast.h.
13886         * math/math.h: Include <bits/fp-fast.h>.
13887         * bits/mathdef.h (FP_FAST_FMA): Remove.
13888         (FP_FAST_FMAF): Likewise.
13889         (FP_FAST_FMAL): Likewise.
13890         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
13891         (FP_FAST_FMAF): Likewise.
13892         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
13893         (FP_FAST_FMAF): Likewise.
13894         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
13895         (FP_FAST_FMAF): Likewise.
13896         (FP_FAST_FMAL): Likewise.
13897         * sysdeps/arm/bits/mathdef.h: Remove file.
13898         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
13899         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13900         * sysdeps/tile/bits/mathdef.h: Likewise.
13902 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
13904         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
13905         * math/w_ilogb.c: Remove.
13906         * math/w_ilogbf.c: Likewise.
13907         * math/w_ilogbl.c: Likewise.
13908         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
13909         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
13910         * math/Makefile (gen-libm-calls): Add w_ilogbF.
13911         (libm-calls): Remove w_ilogbF.
13912         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
13913         (LDOUBLE_ilogbl_libm_version): New macro.
13915         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
13917         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
13918         [!__STRICT_ANSI__ && !__cplusplus].
13920 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
13922         [BZ #20750]
13923         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
13924         of PIC.
13926 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
13927             Yury Norov  <ynorov@caviumnetworks.com>
13928             Steve Ellcey  <sellcey@caviumnetworks.com>
13930         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
13931         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
13932         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
13933         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
13934         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
13935         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
13936         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
13937         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
13938         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
13939         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
13940         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
13941         to get correct reg name for ILP32.
13942         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
13943         (RELA_SIZE): New Macro.
13944         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
13945         to support ILP32.
13946         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
13947         cast for ILP32 mode.
13948         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
13949         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
13950         * sysdeps/aarch64/memset.S (__memset): Ditto.
13951         * sysdeps/aarch64/strchr.S (strchr): Ditto.
13952         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
13953         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
13954         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
13955         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
13956         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
13957         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
13958         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
13959         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
13960         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
13961         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
13962         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
13963         change PTR_MANGLE call to use register numbers instead of names.
13964         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
13965         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
13966         ILP32 mode, change PTR_MANGLE calls to use register numbers.
13967         * sysdeps/aarch64/start.S (_start): Ditto.
13968         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
13969         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
13970         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
13971         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
13972         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
13973         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
13974         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
13975         Make defined values dependent on __ILP32__.
13976         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
13977         (sem_t): Change __align type.
13978         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
13979         PTR_SIZE): New Macros.
13980         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
13981         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
13982         Set when in ILP32 mode.
13983         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
13984         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
13985         Set elf flags for ILP32.
13986         (add_system_dir): Set ILP32 library directories.
13987         * sysdeps/unix/sysv/linux/aarch64/init-first.c
13988         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
13989         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
13990         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
13991         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
13992         New Macros.
13993         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
13995 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
13997         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
13998         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
13999         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
14001 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
14003         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
14004         <asm/cachectl.h>.
14006 2016-11-27  Zack Weinberg  <zackw@panix.com>
14008         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
14009         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
14011 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14013         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
14014         error_t to fix usage in C++ programs.
14016 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
14018         * scripts/build-many-glibcs.py: Import datetime module.
14019         (Context.__init__): Load JSON build state.  Initialize list of
14020         status logs.
14021         (Context.run_builds): Update saved build state.
14022         (Context.add_makefile_cmdlist): Update list of status logs.
14023         (Context.load_build_state_json): New function.
14024         (Context.store_build_state_json): Likewise.
14025         (Context.clear_last_build_state): Likewise.
14026         (Context.update_build_state): Likewise.
14027         (CommandList.status_logs): Likewise.
14029 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
14031         * scripts/build-many-glibcs.py (Context.__init__): Save text of
14032         script being executed.
14033         (Context.get_script_text): New function.
14034         (Context.exec_self): Likewise.
14035         (Context.checkout): Re-exec script if changed by checkout process.
14037 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
14039         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14040         (setpayloadsig): New declaration.
14041         * math/Versions (setpayloadsig): New libm symbol at version
14042         GLIBC_2.25.
14043         (setpayloadsigf): Likewise.
14044         (setpayloadsigl): Likewise.
14045         * math/Makefile (libm-calls): Add s_setpayloadsigF.
14046         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
14047         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
14048         (setpayloadsig_test_data): New array.
14049         (setpayloadsig_test): New function.
14050         (main): Call setpayloadsig_test.
14051         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
14052         setpayloadsigf and setpayloadsigl.
14053         * manual/libm-err-tab.pl: Update comment on interfaces without
14054         ulps tabulated.
14055         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
14056         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
14057         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
14058         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
14059         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
14060         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
14061         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14062         setpayloadsig.
14063         (CFLAGS-nldbl-setpayloadsig.c): New variable.
14064         * sysdeps/nacl/libm.abilist: Update.
14065         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14066         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14067         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14068         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14069         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14070         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14071         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14072         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14073         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14074         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14075         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14076         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14078         Likewise.
14079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14080         Likewise.
14081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14082         Likewise.
14083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14084         Likewise.
14085         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14086         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14087         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14088         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14089         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14091         Likewise.
14092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14093         Likewise.
14094         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14095         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14096         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14098         * scripts/build-many-glibcs.py: Import json module.
14099         (Context.__init__): Take replace_sources argument.  Load
14100         versions.json.
14101         (Context.load_versions_json): New function.
14102         (Context.store_json): Likewise.
14103         (Context.store_versions_json): Likewise.
14104         (Context.set_component_version): Likewise.
14105         (Context.checkout): Update versions.json.  Check for and handle
14106         changes of version.  Prefer previously explicitly specified
14107         version to default version.
14108         (Context.checkout_vcs): Return a revision identifier.
14109         (Context.git_checkout): Likewise.
14110         (Context.gcc_checkout): Likewise.
14111         (get_parser): Add --replace-sources option.
14112         (main): Pass replace_sources argument to Context call.
14114 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14116         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
14117         * nptl/allocatestack.c (allocate_stack): Likewise.
14118         (__reclaim_stacks): Likewise.
14119         (setxid_signal_thread): Obtain pid through syscall.
14120         * nptl/nptl-init.c (sigcancel_handler): Likewise.
14121         (sighandle_setxid): Likewise.
14122         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
14123         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
14124         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
14125         Likewise.
14126         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
14127         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
14128         comment.
14129         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
14130         * nptl/descr.h (struct pthread): Change comment about pid value.
14131         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
14132         pid assert.
14133         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
14134         Do not set pid value.
14135         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
14136         pid cache check.
14137         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
14138         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
14139         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
14140         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
14141         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
14142         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14143         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
14144         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
14145         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
14146         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
14147         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
14148         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14149         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
14150         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14151         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
14152         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
14153         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14154         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
14155         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
14156         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
14157         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
14158         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14159         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
14160         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
14161         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
14162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
14164         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14165         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14166         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14167         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
14168         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
14169         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
14170         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14171         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
14172         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
14173         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
14174         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14175         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
14176         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
14177         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14178         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
14179         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
14180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14182         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14183         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14184         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14185         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14186         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14187         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
14188         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14189         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
14190         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
14191         struct access.
14192         (clone_test): Remove function.
14193         (do_test): Rewrite to take in consideration pid is not cached anymore.
14195 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
14197         * bits/flt-eval-method.h: New file.
14198         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
14199         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
14200         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
14201         * math/Makefile (headers): Add bits/flt-eval-method.h.
14202         * math/math.h: Include <bits/flt-eval-method.h>.
14203         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
14204         [__USE_ISOC99] (double_t): Likewise.
14205         * bits/mathdef.h (float_t): Remove.
14206         (double_t): Likewise.
14207         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
14208         (double_t): Likewise.
14209         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
14210         (double_t): Likewise.
14211         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
14212         (double_t): Likewise.
14213         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
14214         (double_t): Likewise.
14215         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
14216         (double_t): Likewise.
14217         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
14218         (double_t): Likewise.
14219         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
14220         (double_t): Likewise.
14221         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
14222         (double_t): Likewise.
14223         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
14224         (double_t): Likewise.
14225         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
14226         (double_t): Likewise.
14227         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
14228         (double_t): Likewise.
14229         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
14230         (double_t): Likewise.
14231         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
14232         (double_t): Likewise.
14234 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
14236         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
14237         instead of PIC.
14239 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
14241         [BZ #20859]
14242         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
14243         (-0x7fffffff) instead of 0x80000001.
14244         * math/test-fp-ilogb-constants.c: New file.
14245         * math/Makefile (tests): Add test-fp-ilogb-constants.
14247 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
14249         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
14250         (_init): Use it in place of hardcoded R_MIPS_JALR.
14251         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
14252         (_init): Use it in place of hardcoded R_MIPS_JALR.
14253         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
14254         (_init): Use it in place of hardcoded R_MIPS_JALR.
14256 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
14258         [BZ #20787]
14259         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
14260         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
14261         (double_t): Do not define to double if [__x86_64__] when
14262         __FLT_EVAL_METHOD__ is nonzero.
14263         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
14264         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
14265         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14266         test-flt-eval-method-387 and test-flt-eval-method-sse.
14267         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
14268         variable.
14269         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
14271 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
14273         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
14274         use of -fno-isolate-erroneous-paths options for tilepro.
14276 2016-11-23  Florian Weimer  <fweimer@redhat.com>
14278         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
14279         structure initialization is no longer needed.
14281 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
14283         [BZ #20855]
14284         * bits/mathdef.h (float_t): Define to float.
14285         * math/test-flt-eval-method.c: New file.
14286         * math/Makefile (tests): Add test-flt-eval-method.
14287         (CFLAGS-test-flt-eval-method.c): New variable.
14289 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
14291         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
14292         and __fstatfs.  Make them aliases of __fstatfs64 if
14293         STATFS_IS_STATFS64 is set to non-zero.
14294         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
14295         and __statfs64.
14296         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
14297         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
14298         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
14299         for __statfs and statfs.
14300         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
14301         to 0.
14302         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
14303         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
14304         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
14305         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14306         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14307         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
14310         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
14311         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14312         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
14313         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
14315 2016-11-22  Andreas Schwab  <schwab@suse.de>
14317         * misc/mkstemp.c: Include <fcntl.h>.
14318         * misc/mkstemps.c: Likewise.
14319         * misc/mkostemp.c: Likewise.
14320         * misc/mkostemps.c: Likewise.
14322 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
14324         [BZ #20847]
14325         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
14326         array bounds.
14327         (__execvpe): Likewise.
14329 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
14331         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
14332         -fno-isolate-erroneous-paths options for tilepro.
14334 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
14336         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
14337         to 0 when in 32 bit mode.
14338         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
14339         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14340         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14341         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14343         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14344         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
14345         XSTAT_IS_XSTAT64 test.
14346         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
14347         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
14348         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
14349         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
14350         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
14351         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
14352         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
14353         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
14354         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
14355         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
14356         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
14358 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
14360         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14361         (setpayload): New declaration.
14362         * math/Versions (setpayload): New libm symbol at version
14363         GLIBC_2.25.
14364         (setpayloadf): Likewise.
14365         (setpayloadl): Likewise.
14366         * math/Makefile (libm-calls): Add s_setpayloadF.
14367         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
14368         test_Ff_b1_data.
14369         (RUN_TEST_Ff_b1): New macro.
14370         (RUN_TEST_LOOP_Ff_b1): Likewise.
14371         (canonicalize_test_data): Update type.
14372         (setpayload_test_data): New array.
14373         (setpayload_test): New function.
14374         (main): Call setpayload_test.
14375         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
14376         setpayloadf and setpayloadl.
14377         * manual/libm-err-tab.pl: Update comment on interfaces without
14378         ulps tabulated.
14379         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
14380         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
14381         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
14382         Likewise.
14383         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
14384         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
14385         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
14386         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
14387         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
14388         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
14389         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
14390         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
14391         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
14392         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14393         setpayload.
14394         (CFLAGS-nldbl-setpayload.c): New variable.
14395         * sysdeps/nacl/libm.abilist: Update.
14396         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14397         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14398         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14399         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14400         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14401         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14402         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14403         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14404         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14405         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14406         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14407         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14409         Likewise.
14410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14411         Likewise.
14412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14413         Likewise.
14414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14415         Likewise.
14416         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14417         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14418         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14419         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14420         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14422         Likewise.
14423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14424         Likewise.
14425         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14426         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14427         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14429 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14431         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
14432         * include/unistd.h: Extend comment about __access_noerrno return
14433         semantics.
14434         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
14435         (access_common): Correct typo for EACCES.
14437 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
14439         * sysdeps/tile/math-tests.h: New file.
14441         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
14442         (__old_set_dataplane): Rename from set_dataplane and make a
14443         compatibility symbol.
14444         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
14445         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
14446         sys/dataplane.h.
14448 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
14450         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
14451         script quote words in command output to log suitably for input to
14452         the shell.
14454 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
14455             Maciej W. Rozycki  <macro@imgtec.com>
14457         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
14458         `.Lno_weak_fn' label.
14459         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
14460         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
14462 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14463             Yury Norov  <ynorov@caviumnetworks.com>
14465         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
14466         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
14467         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14468         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
14469         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14470         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
14471         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14472         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14473         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14474         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
14475         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14476         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
14477         (sysdep_routines): Remove oldgetrlimit64.
14478         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
14479         (sysdep_routines): Likewise.
14480         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
14481         (sysdep_routines): Likewise.
14482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14483         [$(subdir) = resource] (sysdep_routines): Likewise.
14484         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
14485         [$(subdir) = resource] (sysdep_routines): Likewise.
14486         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
14487         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
14488         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
14489         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
14490         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
14491         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14492         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
14493         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
14494         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
14495         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
14496         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
14497         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
14498         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
14499         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
14500         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
14501         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
14502         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
14503         setrlimit and getrlimit.
14504         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
14505         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14506         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
14507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
14509         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14510         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
14511         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14512         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14513         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
14514         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
14515         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
14516         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
14517         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
14518         (__old_getrlimit64): Add compatibility symbol.
14519         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
14521 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
14523         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
14524         newly built gmp, mpfr and mpc.
14526         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
14528 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
14530         * conform/Makefile (linknamespace-libs): Rename to
14531         linknamespace-libs-thr.
14532         (linknamespace-libs-posix): New variable.
14533         (linknamespace-libs-xsi): Likewise.
14534         (linknamespace-libs-XPG3): Include libcrypt.a.
14535         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
14536         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
14537         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
14538         (linknamespace-libs-XOPEN2K): Likewise.
14539         (linknamespace-libs-XOPEN2K8): Likewise.
14540         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
14542         [BZ #20829]
14543         * stdio-common/Versions (__snprintf): Add to version
14544         GLIBC_PRIVATE.
14545         * include/stdio.h (__snprintf): Use libc_hidden_proto.
14546         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
14547         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
14548         of snprintf.
14549         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14551 2016-11-16  Zack Weinberg  <zackw@panix.com>
14553         * string/string.h: Remove obsolete comment stating that
14554         strcoll_l and strxfrm_l have not yet been standardized.
14556 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14558         * hurd/hurd.h (__hurd_fail_noerrno): New function.
14559         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
14560         __access_noerrno.
14561         * io/access.c (__access_noerrno): New function.
14562         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
14563         (hurd_fail_seterrno): Likewise.
14564         (access_common): Likewise.
14565         (__access_noerrno): Likewise.
14566         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
14567         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
14568         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
14569         macro.
14571 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
14573         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
14574         Only declare fpregs if [__SH_FPU_ANY__].
14576 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
14578         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
14579         Make code unconditional.
14580         [!(__SH4__ || __SH4A__)]: Remove conditional code.
14582 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
14584         * manual/sysinfo.texi (S_APPEND): Delete.
14585         (S_IMMUTABLE): Likewise.
14587 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
14588             Magnus Granberg  <zorry@gentoo.org>
14589             Mike Frysinger  <vapier@gentoo.org>
14591         [BZ #20662]
14592         * configure.ac (libc_cv_predef_stack_protector): Also check for
14593         __stack_chk_fail_local symbols.
14594         * configure: Regenerated.
14596 2016-11-15  Florian Weimer  <fweimer@redhat.com>
14598         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14599         (libc_hidden_def): Remove redefinition.
14600         (__sigsetjmp): Add hidden definition.
14601         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14602         (libc_hidden_def): Remove redefinition.
14603         (__sigsetjmp): Add hidden definition.
14605 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
14607         * scripts/build-many-glibcs.py (os.path): Do not import.
14608         (Context): Inherit explicitly from object.  Remove blank line
14609         between class and docstring.
14610         (Config): Likewise.
14611         (Glibc): Likewise.
14612         (Command): Likewise.
14613         (CommandList): Likewise.
14614         (Context.write_files): Store chmod mode in a variable.
14616         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
14617         LIBC_SLIBDIR_RTLDDIR for tilegx32.
14618         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
14620 2016-11-14  Zack Weinberg  <zackw@panix.com>
14622         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
14623         creating or re-creating it.
14625         * string/bits/string2.h: Fix typo in comment.
14627 2016-11-14  Zack Weinberg  <zackw@panix.com>
14629         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
14630         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
14631         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
14632         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
14633         of redirected function names.
14635         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
14636         as well.  Document that MESSAGE must be a single string literal.
14638 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
14640         * scripts/build-many-glibcs.py: New file.
14642         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
14643         (do_test): Disable -Wmaybe-uninitialized around uses of
14644         except_mask.
14646         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
14648 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
14650         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
14651         (atomic_store_release): Provide tilepro-specific implementations.
14653 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
14655         * math/math.h (__MATH_TG): New macro.
14656         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
14657         [__USE_ISOC99] (signbit): Likewise.
14658         [__USE_ISOC99] (isfinite): Likewise.
14659         [__USE_ISOC99] (isnan): Likewise.
14660         [__USE_ISOC99] (isinf): Likewise.
14661         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
14662         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
14663         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
14664         __MATH_TG and __MATH_EVAL_FMT2.
14665         * sysdeps/generic/math_private.h (fabs_tg): Define using
14666         __MATH_TG.
14667         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14668         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
14669         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
14670         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
14671         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
14672         macro.
14673         (__iscanonical): Likewise.
14674         (iscanonical): Define using __MATH_TG.
14676 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14678         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
14679         guards.
14681         * sysdeps/unix/sysv/linux/access.c: New file.
14682         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
14684 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
14686         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
14687         and __WORDSIZE32_PTRDIFF_LONG.
14689 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14691         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14693 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14695         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
14696         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
14697         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
14698         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
14699         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
14700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
14701         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
14702         * sysdeps/unix/sysv/linux/truncate.c: New file.
14703         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
14704         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14705         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
14706         Remove.
14707         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
14708         Likewise.
14710         * posix/tst-truncate-common.c: New file.
14711         * posix/tst-truncate.c: Use tst-truncate-common.c.
14712         * posix/tst-truncate64.c: Likewise and add LFS tests.
14713         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
14714         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
14715         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
14716         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
14717         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
14718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
14719         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
14720         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
14721         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
14722         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14723         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
14724         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
14725         Remove.
14726         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
14727         Likewise.
14729 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
14731         [BZ #20790]
14732         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
14733         to MAXLINESIZE.
14734         * sunrpc/bug20790.x: New file.
14735         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
14736         variable.
14737         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
14738         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
14740         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
14742         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
14744         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
14745         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
14746         calloc, realloc, free, memalign and __libc_memalign rather than
14747         making them optional.
14749         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
14750         for libc.so.
14752 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14754         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
14755         ptw-lseek64.
14756         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
14757         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
14758         Likewise.
14759         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
14760         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
14761         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
14762         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
14763         * sysdeps/unix/sysv/linux/lseek.c: New file.
14764         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
14765         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
14766         __libc_lseek64 from auto-generation.
14767         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14768         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
14770 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14772         * nptl/tst-basic1.c (tf, do_test): Use write_message.
14773         * nptl/tst-cleanup1.c (do_test): Likewise.
14774         * nptl/tst-cleanup3.c (do_test): Likewise.
14775         * nptl/tst-key1.c (do_test): Likewise.
14776         * nptl/tst-key2.c (tf, do_test): Likewise.
14777         * nptl/tst-key3.c (tf, do_test): Likewise.
14778         * nptl/tst-stdio1.c (do_test): Likewise.
14779         * nptl/tst-stdio2.c (do_test): Likewise.
14781         * nptl/tst-kill3.c (handler): Use write_message in place of write.
14782         * nptl/tst-kill6.c (handler): Likewise.
14783         * nptl/tst-tls2.c (CB): Likewise.
14784         * nptl/tst-tls3.c (CB): Likewise.
14786 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
14788         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
14790 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
14791             Steve Ellcey  <sellcey@caviumnetworks.com>
14793         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
14794           __ASSUME_ST_INO_64_BIT as 0
14795         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
14796         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
14797           over the code where __ASSUME_ST_INO_64_BIT is used.
14798         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
14799         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
14800         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14802 2016-11-07  Florian Weimer  <fweimer@redhat.com>
14804         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14805         Document ABI exposure of the __kind offset.
14806         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14807         Mention reason for the __kind offset exposure in the ABI.
14808         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14809         Likewise.
14810         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14811         Likewise.
14812         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14813         Likewise.
14814         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
14815         (struct __pthread_mutex_s): Likewise.
14816         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14817         Likewise.
14818         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14819         Likewise.
14820         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14821         Likewise.
14822         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14823         Likewise.
14824         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14825         Likewise.
14826         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14827         Likewise.
14828         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
14829         (struct __pthread_mutex_s): Likewise.
14830         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14831         (struct __pthread_mutex_s): Likewise.
14832         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
14833         Likewise.
14835 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
14837         * test-skeleton.c: Document do_test usage.
14839 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
14841         * iconv/gconv.h (__gconv_info): Define __data element using a
14842         zero-length array.
14844 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
14846         * math/test-tgmath2.c: Split up test function.
14848 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
14850         * Rules (tests-expected): New variable, depending on
14851         $(run-built-tests).
14852         (tests): Pass $(tests-expected) to merge-test-results.sh, not
14853         $(tests).
14855         * Rules [$(run-built-tests) = no] (tests): Do not depend on
14856         $(tests-unsupported).
14858 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14860         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
14861         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
14863 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
14865         [BZ #20768]
14866         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
14867         __fegetenv instead of fegetenv.
14869         [BZ #14139]
14870         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
14871         (find_files): Obtain platform name from libm-test-ulps-name and
14872         store in %pplatforms.
14873         (canonicalize_platform): Remove.
14874         (print_platforms): Use $pplatforms directly.
14875         (by_platforms): Do not allow for platforms missing from
14876         %pplatforms.
14877         * sysdeps/aarch64/libm-test-ulps-name: New file.
14878         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
14879         * sysdeps/arm/libm-test-ulps-name: Likewise.
14880         * sysdeps/generic/libm-test-ulps-name: Likewise.
14881         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
14882         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
14883         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
14884         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
14885         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
14886         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
14887         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
14888         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
14889         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
14890         * sysdeps/nios2/libm-test-ulps-name: Likewise.
14891         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
14892         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
14893         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
14894         * sysdeps/sh/libm-test-ulps-name: Likewise.
14895         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
14896         * sysdeps/tile/libm-test-ulps-name: Likewise.
14897         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
14899         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
14901         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
14902         (test-xfail-check-execstack): New variable.
14904         * sysdeps/mips/localplt.data: New file.
14906 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
14907             Steve Ellcey  <sellcey@caviumnetworks.com>
14909         * bits/wordsize.h: Add documentation.
14910         * sysdeps/aarch64/bits/wordsize.h : New file
14911         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
14912         definitions.
14913         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
14914         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
14915         with #if instead of #ifdef.
14916         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
14917         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
14918         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
14919         Add or change defines.
14920         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
14921         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14922         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
14923         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
14924         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14925         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14926         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
14927         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
14928         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
14929         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14930         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
14931         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
14932         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
14933         * sysdeps/x86/bits/wordsize.h: Likewise.
14935 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
14936             Kevin Petit  <kevin.petit@arm.com>
14938         * sysdeps/aarch64/memchr.S (__memchr): New file.
14940 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
14942         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
14944 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
14946         [BZ #19398]
14947         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
14948         $(linknamespace-symlists-tests).
14950 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
14952         * time/tst-strptime2.c: Ignore -Wformat-length warning.
14954 2016-11-02  Florian Weimer  <fweimer@redhat.com>
14955             Carlos O'Donell  <carlos@redhat.com>
14957         [Bug #20729]
14958         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
14959         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
14960         for -Os related change.
14962 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
14964         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
14966 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
14968         [BZ #19673]
14969         * manual/math.texi (Exponents and Logarithms): Correct description
14970         of clog10.
14972 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
14974         [Bz #20729]
14975         * locale/weight.h: Include libc-internal.h.
14976         * locale/weightwc.h: Likewise.
14977         * nptl/nptl_dbP.h: Likewise.
14979 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
14981         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
14982         when it is MACH_PORT_NULL.
14984 2016-10-31  Andreas Schwab  <schwab@suse.de>
14986         [BZ #20707]
14987         * posix/glob.c (glob): Initialize pglob before checking for
14988         GLOB_BRACE.  Don't call glob recursively if pattern contains no
14989         valid brace expression despite GLOB_BRACE.
14990         * posix/globtest.sh: Test it.
14992 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
14994         [BZ #20729]
14995         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
14996         Define.
14997         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
14998         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
14999         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
15000         for seq2.back_us and seq1.back_us only for -Os compiles.
15001         * locale/weightwc.h (findix): Likewise.
15002         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
15003         DB_GET_FIELD_ADDRESS only for -Os compiles.
15004         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
15005         for slen only for -Os compiles.
15006         * string/strcoll_l.c (get_next_seq): Ignore
15007         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
15008         for -Os compiles.
15010         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
15011         * include/crypt.h: New file.
15013 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15015         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
15016         from test-skeleton.c.
15017         (statclass): Replace calls to write with calls to write_message.
15019 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
15021         * math/math.h
15022         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
15023         New macro.
15024         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
15025         Likewise.
15026         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
15027         Likewise.
15028         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
15029         SNANL.
15030         * math/test-double.h (snan_value_MACRO): New macro.
15031         * math/test-float.h (snan_value_MACRO): Likewise.
15032         * math/test-ldouble.h (snan_value_MACRO): Likewise.
15033         * math/libm-test.inc (issignaling_test_data): Add tests of
15034         snan_value_MACRO.
15036 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15038         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
15039         behavior when eliding a lock not held by the current thread.
15040         * sysdeps/powerpc/nptl/elide.h: Likewise.
15042 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15044         [BZ #20728]
15045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
15046         branch to _exit() by a function call.
15048 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15050         * malloc/malloc.c: Update chunk layout comments.
15051         (chunk_main_arena): Update comment.
15053 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15055         * crypt/sha256.c, crypt/sha256-block.c,
15056         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
15057         sha256_process_block to __sha256_process_block.
15058         * crypt/sha512.c, crypt/sha512-block.c,
15059         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
15060         sha512_process_block to __sha512_process_block.
15062 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
15064         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
15066         * math/test-nan-overflow.c: Include stdlib.h for malloc.
15068 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
15070         [BZ #20019]
15071         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
15072         definition in unrelocated shared library.
15073         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15075 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15077         [BZ #20729]
15078         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
15079         * sysdeps/unix/sysv/linux/i386/Makefile
15080         (uses-6-syscall-arguments): Define.
15081         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
15082         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
15083         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
15084         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
15085         Likewise.
15086         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
15087         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
15088         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
15089         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
15090         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
15091         (CFLAGS-fallocate64.os): Likewise.
15092         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
15093         (CFLAGS-pthread_rwlock_timedrdlock.os)
15094         (CFLAGS-pthread_rwlock_timedwrlock.o)
15095         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
15096         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
15097         (CFLAGS-sem_timedwait.os): Likewise.
15099 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15101         * elf/tst-linkall-static.c: New file.
15102         * elf/Makefile (tests-static): Add tst-linkall-static.
15103         (tst-linkall-static): Link against static libraries.
15105 2016-10-27  Florian Weimer  <fweimer@redhat.com>
15107         * malloc/malloc.c (sysmalloc): Initialize previous size field of
15108         mmaped chunks.
15110 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15112         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
15113         members to mchunk_prev_size, mchunk_size.
15114         (chunk_main_arena): Reverse sense and rename from
15115         chunk_non_main_arena.
15116         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
15117         mchunk_size instead of size.
15118         (set_non_main_arena): Define.
15119         (chunksize): Use chunksize_nomask instead of direct member access.
15120         (chunksize_nomask): Define.
15121         (next_chunk): Use chunksize instead of direct member access.
15122         (prev_size, set_prev_size): Define.
15123         (prev_chunk): Use prev_size instead of direct member access.
15124         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
15125         (inuse_bit_at_offset, set_inuse_bit_at_offset)
15126         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
15127         (mchunk_prev_size, mchunk_size): Poison tokens.
15128         (unlink): Use chunksize_nomask, prev_size accessors.
15129         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
15130         (do_check_free_chunk): Use prev_size accessor.
15131         (sysmalloc): Use set_prev_size, set_head accessors.
15132         (munmap_chunk, mremap_chunk): Use prev_size accessor.
15133         (__libc_free): Use chunksize_nomask accessor.
15134         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
15135         chunk_main_arena accessors.
15136         (_int_free): Use chunksize_nomask, prev_size accessors.
15137         (malloc_consolidate): Use chunksize, prev_size accessors.
15138         (_int_realloc): Use chunksize_nomask accessor.
15139         (_int_memalign): Use set_prev_size accessor.
15140         (__malloc_info): Use chunksize_nomask accessor.
15141         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
15142         accessors.
15143         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
15144         (heap_trim): Use chunksize_nomask, prev_size accessors.
15146 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
15148         [BZ #19380]
15149         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
15150         for inexact results.
15151         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
15152         of inexact result where mpfr_subnormalize is the only inexact
15153         step.
15154         * stdlib/tst-strtod-round-data.h: Regenerated.
15155         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
15156         Define to 0.
15157         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
15159 2016-10-27  David S. Miller  <davem@davemloft.net>
15161         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
15163 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15165         * malloc/malloc.c (do_set_mallopt_check): New function.
15166         (do_set_mmap_threshold): Likewise.
15167         (do_set_mmaps_max): Likewise.
15168         (do_set_top_pad): Likewise.
15169         (do_set_perturb_byte): Likewise.
15170         (do_set_trim_threshold): Likewise.
15171         (do_set_arena_max): Likewise.
15172         (do_set_arena_test): Likewise.
15173         (__libc_mallopt): Use them.
15175 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
15177         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15178         (canonicalize): New declaration.
15179         * math/Versions (canonicalize): New libm symbol at version
15180         GLIBC_2.25.
15181         (canonicalizef): Likewise.
15182         (canonicalizel): Likewise.
15183         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
15184         * math/s_canonicalize_template.c: New file.
15185         * math/libm-test.inc: Update comment on functions tested and
15186         testing of NaN payloads.
15187         (TEST_NAN_PAYLOAD): New macro.
15188         (NO_TEST_INLINE): Update value.
15189         (XFAIL_TEST): Likewise.
15190         (ERRNO_UNCHANGED): Likewise.
15191         (ERRNO_EDOM): Likewise.
15192         (ERRNO_ERANGE): Likewise.
15193         (IGNORE_RESULT): Likewise.
15194         (NON_FINITE): Likewise.
15195         (TEST_SNAN): Likewise.
15196         (NO_TEST_MATHVEC): Likewise.
15197         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
15198         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
15199         (struct test_Ffp_b1_data): New type.
15200         (RUN_TEST_Ffp_b1): New macro.
15201         (RUN_TEST_LOOP_Ffp_b1): Likewise.
15202         (canonicalize_test_data): New array.
15203         (canonicalize_test): New function.
15204         (main): Call canonicalize_test.
15205         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
15206         canonicalizef and canonicalizel.
15207         * manual/libm-err-tab.pl: Update comment on interfaces without
15208         ulps tabulated.
15209         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
15210         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
15211         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15212         canonicalize.
15213         (CFLAGS-nldbl-canonicalize.c): New variable.
15214         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
15215         to ...
15216         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
15217         ... here.
15218         (do_test): Also test canonicalizel.
15219         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
15220         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
15221         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
15222         file.
15223         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
15224         Use libm_hidden_def.
15225         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
15226         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
15227         (do_test): Also test canonicalizel.
15228         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
15229         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
15230         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
15231         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
15232         libm_hidden_def.
15233         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
15234         macro.
15235         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
15236         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
15237         * sysdeps/nacl/libm.abilist: Update.
15238         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15239         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15240         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15241         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15242         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15243         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15244         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15245         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15246         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15247         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15248         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15249         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15251         Likewise.
15252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15253         Likewise.
15254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15255         Likewise.
15256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15257         Likewise.
15258         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15259         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15260         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15261         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15262         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15264         Likewise.
15265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15266         Likewise.
15267         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15268         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15269         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15271         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
15272         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15273         getpayload.
15274         (CFLAGS-nldbl-getpayload.c): New variable.
15276 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15278         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
15279         integer from the format string.
15281 2016-10-26  Florian Weimer  <fweimer@redhat.com>
15283         [BZ #19473]
15284         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
15285         declarations.
15286         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
15287         weak aliases.
15288         * malloc/hooks.c (__malloc_get_state): Remove definition.
15289         (malloc_get_state): New stub implementation as
15290         compatibility symbol.
15291         (malloc_set_state): Rename from __malloc_set_state.  Turn into
15292         compat symbol.
15293         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
15294         malloc_set_state.
15295         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
15297 2016-10-26  Florian Weimer  <fweimer@redhat.com>
15299         * iconvdata/iso646.c (enum variant): Drop illegal_var.
15300         (names): Turn into concatenation of strings.
15301         (gconv_init): Adapt iteration over names.
15303 2016-10-26  Florian Weimer  <fweimer@redhat.com>
15305         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
15306         make const.
15307         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
15308         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
15309         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
15310         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
15311         character in sbconv.
15312         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
15313         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
15314         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
15316 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15318         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
15320         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
15321         (M_TRIM_THRESHOLD): Likewise.
15323         * manual/memory.texi (M_ARENA_TEST): Add documentation.
15324         (M_ARENA_MAX): Likewise.
15325         * malloc/malloc.c: Remove obsolete comment.
15327         * manual/memory.texi: Add environment variable alternatives to
15328         setting mallopt parameters.
15330 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
15332         * include/atomic.h
15333         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
15334         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
15336 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15338         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
15339         * stdlib/tst-strfrom.h: New file.
15340         * stdlib/tst-strfrom.c: New file.
15341         * stdlib/tst-strfrom-locale.c: New file.
15343         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
15344         * stdlib/bug-strtod2.c: Likewise.
15345         * stdlib/tst-strtod-round-skeleton.c: Likewise.
15346         * stdlib/tst-strtod6.c: Likewise.
15347         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
15349 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15351         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
15352         * manual/arith.texi: Document strfromd, strfromf, strfroml.
15353         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
15354         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
15355         * stdlib/stdlib.h (strfromd): New declaration.
15356         (strfromf): Likewise.
15357         (strfroml): Likewise.
15358         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
15359         strfrom.
15360         * stdlib/strfromd.c: New file.
15361         * stdlib/strfromf.c: Likewise.
15362         * stdlib/strfroml.c: Likewise.
15363         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
15364         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
15365         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
15366         * sysdeps/arm/nacl/libc.abilist: Update.
15367         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15368         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15369         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15370         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15371         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15372         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15373         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15374         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15375         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15376         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15377         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15378         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15379         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15380         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15385         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15386         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15387         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15388         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15389         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15392         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15393         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15394         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15396 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
15398         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
15399         instead of cmpli.
15400         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
15401         instead of cmpli.
15403 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
15405         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
15406         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
15407         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
15408         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15409         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15410         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15412 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15414         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
15415         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15416         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
15417         SYSCALL_LL64_PRW.
15418         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15419         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
15420         __ASSUME_PRW_DUMMY_ARG.
15421         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
15422         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15423         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15424         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15425         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
15426         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
15428 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
15430         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
15432 2016-10-22  Florian Weimer  <fweimer@redhat.com>
15434         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
15435         "C++", to override a potential extern "C" directive around the
15436         header file inclusion.
15438 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
15440         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
15442 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15444         * sysdeps/powerpc/fpu/fenv_private.h:
15445         (_FPU_MASK_ALL): Rename to...
15446         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
15447         XE FPSCR bits.
15449         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
15451         (_FPU_MASK_ROUNDING): Rename to...
15452         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
15453         NI bits.
15455         (_FPU_MASK_EXCEPT_ROUND): Rename to...
15456         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
15457         bits and rounding bits.
15459         (__libc_feholdbits_ppc): New inline function to mask, set,
15460         and pontentially clear FSPCR bits, and change MSR[FE] bits.
15461         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
15462         (libc_feholdexcept_setround_ppc): Likewise.
15464         (__libc_femergeenv_ppc): New function to dynamically mask both
15465         old and new FP environments and merge.
15466         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
15467         (libc_feresetround_ppc): Likewise.
15468         (libc_feupdateenv_test_ppc): Likewise.
15469         (libc_feupdateenv_ppc): Likewise.
15471         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
15472         of ISA RN bits, and update macro names.
15473         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
15474         effectively the same as the previously mentioned function.
15476         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
15477         usage with fe_resetround_ppc.
15479         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
15480         to be used.
15481         (libc_feholdexcept_setround_ctxf): Likewise.
15482         (libc_feholdexcept_setround_ctxl): Likewise.
15484 2016-10-21  Florian Weimer  <fweimer@redhat.com>
15486         [BZ #20715]
15487         * math/math.h [__cplusplus] (iszero): Define as function template.
15488         * math/Makefile [CXX] (tests): Add test-math-iszero.
15489         (CFLAGS-test-math-iszero.cc): Set.
15490         * math/test-math-iszero.cc: New file.
15492 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
15494         [BZ #20660]
15495         * sysdeps/arm/e_sqrt.c: New file.
15496         * sysdeps/arm/e_sqrtf.c: Likewise.
15498 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
15500         [BZ #20718]
15501         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
15502         not use floating-point comparisons to test sign.
15503         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
15504         Likewise.
15506         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15507         (getpayload): New declaration.
15508         * math/Versions (getpayload): New libm symbol at version
15509         GLIBC_2.25.
15510         (getpayloadf): Likewise.
15511         (getpayloadl): Likewise.
15512         * math/Makefile (libm-calls): Add s_getpayloadF.
15513         * math/libm-test.inc: Include <nan-high-order-bit.h>.
15514         (struct test_f_f_data): Add comment.
15515         (RUN_TEST_fp_f): New macro.
15516         (RUN_TEST_LOOP_fp_f): Likewise.
15517         (getpayload_test_data): New array.
15518         (getpayload_test): New function.
15519         (main): Call getpayload_test.
15520         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
15521         descriptor.
15522         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
15523         getpayloadf and getpayloadl.
15524         * manual/libm-err-tab.pl: Update comment on interfaces without
15525         ulps tabulated.
15526         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
15527         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
15528         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
15529         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
15530         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
15531         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
15532         * sysdeps/nacl/libm.abilist: Update.
15533         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15534         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15535         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15536         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15537         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15538         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15539         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15540         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15541         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15542         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15543         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15544         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15546         Likewise.
15547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15548         Likewise.
15549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15550         Likewise.
15551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15552         Likewise.
15553         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15554         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15555         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15556         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15557         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15559         Likewise.
15560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15561         Likewise.
15562         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15563         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15564         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15566 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15568         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
15569         tst-fallocate{64}.
15570         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
15571         on syscall return.
15573 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
15575         [BZ #20689]
15576         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
15577         usable.
15579 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
15581         * sysdeps/generic/nan-high-order-bit.h: New file.
15582         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
15583         * sysdeps/mips/nan-high-order-bit.h: Likewise.
15584         * sysdeps/hppa/math_private.h: Remove file.
15585         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
15586         not define here.
15587         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
15588         <nan-high-order-bit.h>.
15589         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15590         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
15591         <nan-high-order-bit.h>.
15592         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15593         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
15594         <nan-high-order-bit.h>.
15595         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15596         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
15597         <nan-high-order-bit.h>.
15598         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15599         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
15600         <nan-high-order-bit.h>.
15601         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15602         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
15603         <nan-high-order-bit.h>.
15604         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15605         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
15606         <nan-high-order-bit.h>.
15607         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15608         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
15609         <nan-high-order-bit.h>.
15610         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15611         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
15612         <nan-high-order-bit.h>.
15613         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15614         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
15615         <nan-high-order-bit.h>.
15616         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15617         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
15618         <nan-high-order-bit.h>.
15619         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15620         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
15621         <nan-high-order-bit.h>.
15622         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15623         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
15624         <nan-high-order-bit.h>.
15625         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15626         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
15627         <nan-high-order-bit.h>.
15628         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15629         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
15630         <nan-high-order-bit.h>.
15631         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15632         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
15633         <nan-high-order-bit.h>.
15634         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15635         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
15636         <nan-high-order-bit.h>.
15637         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15638         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
15639         <nan-high-order-bit.h>.
15640         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15642 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15644         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
15646 2016-09-22  John David Anglin  <dave.anglin@bell.net>
15648         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
15649         abort-instr.h.
15650         (EFAULT): Remove conditional define.
15651         (ENOSYS): Likewise.
15652         (atomic_compare_and_exchange_val_acq): Use instruction nullification
15653         instead of conditional branch instructions.
15655 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
15657         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15658         (totalordermag): New declaration.
15659         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
15660         New macro.
15661         * math/Versions (totalordermag): New libm symbol at version
15662         GLIBC_2.25.
15663         (totalordermagf): Likewise.
15664         (totalordermagl): Likewise.
15665         * math/Makefile (libm-calls): Add s_totalordermagF.
15666         * math/libm-test.inc (totalordermag_test_data): New array.
15667         (totalordermag_test): New function.
15668         (main): Call totalordermag_test.
15669         * math/test-tgmath.c (NCALLS): Increase to 125.
15670         (F(compile_test)): Call totalordermag.
15671         (F(totalordermag)): New function.
15672         * manual/arith.texi (FP Comparison Functions): Document
15673         totalordermag, totalordermagf and totalordermagl.
15674         * manual/libm-err-tab.pl: Update comment on interfaces without
15675         ulps tabulated.
15676         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
15677         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
15678         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
15679         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
15680         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
15681         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
15682         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
15683         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15684         totalordermag.
15685         (CFLAGS-nldbl-totalordermag.c): New variable.
15686         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
15687         (do_test): Also test totalordermagl.
15688         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
15689         Likewise.
15690         * sysdeps/nacl/libm.abilist: Update.
15691         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15692         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15693         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15694         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15695         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15696         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15697         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15698         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15699         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15700         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15701         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15702         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15704         Likewise.
15705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15706         Likewise.
15707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15708         Likewise.
15709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15710         Likewise.
15711         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15712         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15713         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15714         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15715         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15717         Likewise.
15718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15719         Likewise.
15720         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15721         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15722         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15724 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
15726         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
15727         boolean.
15729 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
15731         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
15732         raising FE_INVALID with feraisexcept in case where part of
15733         argument is infinite, subtract that part of argument from itself.
15734         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
15735         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
15736         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15738 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
15740         * math/libm-test.inc (totalorder_test_data): Add more tests.
15742 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
15744         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
15745         Undefine weak_alias and add a comment why mips64 require
15746         versioning.
15748 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
15750         [BZ #20647]
15751         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
15752         maximum CPUID level is less than 2.
15754 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
15756         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15757         (totalorder): New declaration.
15758         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
15759         New macro.
15760         * math/Versions (totalorder): New libm symbol at version
15761         GLIBC_2.25.
15762         (totalorderf): Likewise.
15763         (totalorderl): Likewise.
15764         * math/Makefile (libm-calls): Add s_totalorderF.
15765         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
15766         string.
15767         * math/libm-test.inc (PAYLOAD_DIG): New macro.
15768         (qnan_value_pl): Likewise.
15769         (snan_value_pl): Likewise.
15770         (qnan_value): Define using qnan_value_pl.
15771         (snan_value): Define using snan_value_pl.
15772         (struct test_ff_i_data): Add comment about which tests use this
15773         structure.
15774         (RUN_TEST_ff_b): New macro.
15775         (RUN_TEST_LOOP_ff_b): Likewise.
15776         (totalorder_test_data): New array.
15777         (totalorder_test): New function.
15778         (main): Call totalorder_test.
15779         * math/test-tgmath.c (NCALLS): Increase to 122.
15780         (F(compile_test)): Call totalorder.
15781         (F(totalorder)): New function.
15782         * manual/arith.texi (FP Comparison Functions): Document
15783         totalorder, totalorderf and totalorderl.
15784         * manual/libm-err-tab.pl: Update comment on interfaces without
15785         ulps tabulated.
15786         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
15787         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
15788         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
15789         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
15790         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
15791         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
15792         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
15793         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15794         totalorder.
15795         (CFLAGS-nldbl-totalorder.c): New variable.
15796         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
15797         file.
15798         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15799         Add test-totalorderl-ldbl-128ibm.
15800         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
15801         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
15802         test-totalorderl-ldbl-96.
15803         * sysdeps/nacl/libm.abilist: Update.
15804         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15805         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15806         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15807         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15808         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15809         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15810         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15811         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15812         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15813         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15814         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15815         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15817         Likewise.
15818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15819         Likewise.
15820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15821         Likewise.
15822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15823         Likewise.
15824         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15825         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15826         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15827         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15828         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15830         Likewise.
15831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15832         Likewise.
15833         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15834         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15835         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15837 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15839         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
15840         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
15841         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
15842         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
15843         remove ENOSYS implementation.
15844         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
15845         Consolidate all Linux implementations.
15847 2016-10-11  Florian Weimer  <fweimer@redhat.com>
15849         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
15850         * resolv/herror.c (herror): Cast away const-ness.
15851         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
15852         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
15854 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
15856         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
15857         instead of M_NAN + M_NAN.
15858         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15860 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15862         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
15863         unused variable 'p'.
15865 2016-10-09  Alan Modra  <amodra@gmail.com>
15866             Andreas Schwab  <schwab@linux-m68k.org>
15868         [BZ #20554]
15869         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
15870         [PIC && !SHARED]: Set up PIC register for PLT call.
15872 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
15874         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
15875         conditional on value of [__FLT_EVAL_METHOD__].
15876         * math/test-iseqsig-excess-precision.c: New file.
15877         * math/Makefile (tests): Add test-iseqsig-excess-precision.
15879 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15881         * math/s_iseqsig_template.c: Include math-private.h.
15883         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
15884         * posix/tst-posix_fadvise.c: New file.
15885         * posix/tst-posix_fadvise64.c: Likewise.
15886         * posix/tst-posix_fadvise-common.c: Likewise.
15887         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15888         (__ASSUME_FADVISE64_64_6ARG): Define.
15889         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15890         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
15891         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15892         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
15893         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
15894         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
15895         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
15896         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
15897         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
15898         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
15899         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
15900         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
15901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
15902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
15903         Likewise.
15904         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
15905         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
15906         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
15907         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15908         Alias to __posix_fadvise64_l32.
15909         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
15910         Add compat definition to posix_fadvise64.
15911         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15912         Add versioned definition to posix_fadvise64.
15913         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
15914         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
15915         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
15916         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
15917         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
15919         * io/Makefile (tests): Add tst-posix_fallocate and
15920         tst-posix_fallocate64.
15921         * io/tst-posix_fallocate-common.c: New file.
15922         * io/tst-posix_fallocate.c: Likewise.
15923         * io/tst-posix_fallocate64.c: Likewise.
15924         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
15925         file.
15926         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
15927         Likewise.
15928         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
15929         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
15930         Likewise.
15931         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
15932         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
15933         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
15934         SYSCALL_LL to pass both offset and len arguments.
15935         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
15936         Likewise.
15937         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
15938         __libc_pwrite64 alias used by posix_fallocate64.
15940         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15941         tst-fallocate64.
15942         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15943         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15944         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15945         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15946         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15947         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15948         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15949         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15950         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15951         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15952         macro on offset argument.
15953         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15954         SYSCALL_LL64 on offset argument.
15956         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15957         tst-fallocate64.
15958         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15959         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15960         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15961         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15962         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15963         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15964         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15965         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15966         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15967         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15968         macro on offset argument.
15969         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15970         SYSCALL_LL64 on offset argument.
15971         * test-skeleton.c (FAIL_RET): Add macro.
15972         (FAIL_EXIT): Likewise.
15973         (FAIL_EXIT1): Likewise.
15974         (_FAIL): Likewise.
15976 2016-10-07  Florian Weimer  <fweimer@redhat.com>
15978         [BZ #20629]
15979         resolv: Remove RES_USEBSTRING and its implementation.
15980         * resolv/resolv.h (RES_USEBSTRING): Remove.
15981         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
15982         (digitvalue, encode_bitstring, decode_bitstring): Remove.
15983         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
15984         (labellen): Remove extended label types support.
15985         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
15986         * resolv/res_init.c (res_setoptions): Likewise.
15987         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15989 2016-10-07  Florian Weimer  <fweimer@redhat.com>
15991         resolv: Remove RES_NOIP6DOTINT and its implementation.
15992         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
15993         (RES_NOIP6DOTINT): Remove.
15994         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
15995         handling.
15996         * resolv/res_debug.c (p_option): Likewise.
15997         * resolv/res_init.c (res_setoptions): Likewise.
15998         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
16000 2016-10-07  Florian Weimer  <fweimer@redhat.com>
16002         resolv: Deprecate unimplemented flags.
16003         * misc/sys/cdefs.h (__glibc_macro_warning1)
16004         (__glibc_macro_warning): Define.
16005         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
16006         (RES_KEEPTSIG): Mark as deprecated.
16007         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
16008         RES_NOCHECKNAME, RES_KEEPTSIG.
16009         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
16011 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16013         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
16014         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
16015         Use strong_alias to create symbols for glibc verison 2.19.
16017 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16019         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
16021 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16023         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
16025 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16027         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
16029 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16031         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16032         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
16033         in header for using it as type for ifunc function because __GI_* symbols
16034         for ppc32 do not target the ifunc symbols.
16035         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16037 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16039         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
16040         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
16041         libc_ifunc_hidden_def.
16042         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
16043         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
16044         Redirect ifunced function in header for using it as type of ifunc'ed
16045         function. Redefine libc_hidden_def to use fallback non ifunc'ed
16046         function for __GI_* symbol.
16047         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
16048         * include/libc-symbols.h
16049         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
16051 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16053         [BZ #20478]
16054         * sysdeps/s390/multiarch/ifunc-resolve.h
16055         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
16056         to create ifunc symbols.
16057         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
16058         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
16059         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
16060         for using it as type for ifunc function.
16061         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
16062         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16063         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16064         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16065         * sysdeps/s390/multiarch/strcat.c: Likewise.
16066         * sysdeps/s390/multiarch/strchr.c: Likewise.
16067         * sysdeps/s390/multiarch/strcmp.c: Likewise.
16068         * sysdeps/s390/multiarch/strcpy.c: Likewise.
16069         * sysdeps/s390/multiarch/strcspn.c: Likewise.
16070         * sysdeps/s390/multiarch/strlen.c: Likewise.
16071         * sysdeps/s390/multiarch/strncmp.c: Likewise.
16072         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16073         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16074         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16075         * sysdeps/s390/multiarch/strrchr.c: Likewise.
16076         * sysdeps/s390/multiarch/strspn.c: Likewise.
16077         * sysdeps/s390/multiarch/wcschr.c: Likewise.
16078         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16079         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16080         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16081         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16082         * sysdeps/s390/multiarch/wmemset.c: Likewise.
16083         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
16084         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
16085         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
16086         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
16087         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
16088         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
16090 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16092         * include/libc-symbols.h (__ifunc_resolver):
16093         New macro is used by __ifunc* macros.
16094         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
16095         depending on HAVE_GCC_IFUNC.
16096         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
16097         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
16098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
16099         Redirect ifunced function in header for using as type for ifunc function.
16100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
16101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
16102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
16103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
16104         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
16105         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
16106         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
16107         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
16108         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
16109         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
16110         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
16111         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
16112         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
16113         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
16114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
16115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
16116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
16117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
16118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
16119         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
16120         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
16121         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
16122         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
16123         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
16124         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
16125         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
16126         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
16127         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
16128         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
16129         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
16130         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
16131         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
16132         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
16133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
16134         Add libc_hidden_def() and use libc_ifunc_hidden() macro
16135         instead of libc_ifunc() macro.
16136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
16137         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
16139 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16141         * config.h.in (HAVE_GCC_IFUNC): New undef.
16142         * configure.ac: Add check if gcc supports attribute ifunc feature.
16143         * configure: Regenerated.
16144         * manual/install.texi: Add recommendation for gcc with
16145         indirect-function support.
16146         * INSTALL: Regenerated.
16148 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
16150         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
16151         macro.
16152         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16153         (__iseqsig): New declaration.
16154         * math/s_iseqsig_template.c: New file.
16155         * math/Versions (__iseqsigf): New libm symbol at version
16156         GLIBC_2.25.
16157         (__iseqsig): Likewise.
16158         (__iseqsigl): Likewise.
16159         * math/libm-test.inc (iseqsig_test_data): New array.
16160         (iseqsig_test): New function.
16161         (main): Call iseqsig_test.
16162         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
16163         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
16164         * manual/libm-err-tab.pl: Update comment on interfaces without
16165         ulps tabulated.
16166         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
16167         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
16168         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
16169         * sysdeps/nacl/libm.abilist: Update.
16170         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16171         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16172         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16173         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16174         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16175         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16176         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16177         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16178         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16179         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16180         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16181         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16183         Likewise.
16184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16185         Likewise.
16186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16187         Likewise.
16188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16189         Likewise.
16190         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16191         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16192         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16193         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16194         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16196         Likewise.
16197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16198         Likewise.
16199         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16200         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16201         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16203 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16205         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
16206         do_sincos_2, sloww, sloww1): Update comments.
16208         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
16209         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
16211         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
16212         K boolean and rename it.
16213         (__sin): Adjust.
16214         (__cos): Adjust.
16216 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
16217             Siddhesh Poyarekar  <siddhesh@sourceware.org>
16219         * manual/nss.texi: Fix typos in the manual.
16221 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
16223         * manual/contrib.texi: Fix typos in the manual.
16225         * manual/maint.texi: Fix typos in the manual.
16227         * manual/install.texi: Fix typos in the manual.
16228         * INSTALL: Regenerated.
16230         * manual/lang.texi: Fix typos in the manual.
16232         * manual/probes.texi: Fix typos in the manual.
16234         * manual/threads.texi: Fix typos in the manual.
16236         * manual/debug.texi: Fix typos in the manual.
16238         * manual/crypt.texi: Fix typos in the manual.
16240         * manual/conf.texi: Fix typos in the manual.
16242         * manual/sysinfo.texi: Fix typos in the manual.
16244         * manual/users.texi: Fix typos in the manual.
16246         * manual/job.texi: Fix typos in the manual.
16248         * manual/process.texi: Fix typos in the manual.
16250         * manual/argp.texi: Fix typos in the manual.
16251         * manual/getopt.texi: Likewise.
16252         * manual/startup.texi: Likewise.
16254         * manual/signal.texi: Fix typos in the manual.
16256         * manual/setjmp.texi: Fix typos in the manual.
16258         * manual/resource.texi: Fix typos in the manual.
16260         * manual/time.texi: Fix typos in the manual.
16262         * manual/arith.texi: Fix typos in the manual.
16264         * manual/math.texi: Fix typos in the manual.
16266         * manual/syslog.texi: Fix typos in the manual.
16268         * manual/terminal.texi: Fix typos in the manual.
16270         * manual/socket.texi: Fix typos in the manual.
16272         * manual/filesys.texi: Fix typos in the manual.
16274         * manual/llio.texi: Fix typos in the manual.
16276         * manual/stdio.text: Fix typos in the manual.
16278 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16280         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
16281         instead of K1.
16283         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
16284         SHIFT_QUADRANT and make it bool.
16285         (do_sincos_2): Likewise.
16286         (sloww): Likewise.
16287         (sloww1): Likewise.
16288         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
16289         (__cos): Likewise.
16291 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16293         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16295 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
16297         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
16298         Define to __WORDSIZE, not conditional on [LONG_MAX ==
16299         0x7fffffffL].
16300         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16302 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16304         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
16305         inline by __inline__.
16306         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
16307         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
16308         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
16309         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
16310         sigset_t from signal.h.
16311         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
16312         which is already required.
16314 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
16316         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16318 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
16320         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
16321         (struct tcp_repair_window): New type.
16323 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16325         * libio/tst-memstream3.c: Include string.h.
16327 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16329         [BZ #18241]
16330         [BZ #20181]
16331         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
16332         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
16333         write position is at the end the buffer.
16334         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
16335         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
16336         (_IO_str_seekoff): Set correct offset from negative displacement and
16337         set EINVAL for invalid ones.
16338         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
16339         buffer length.
16340         (_IO_wstr_switch_to_get_mode): New function.
16341         (_IO_wstr_seekoff): Set correct offset from negative displacement and
16342         set EINVAL for invalid ones.
16343         * libio/tst-memstream3.c: New file.
16344         * libio/tst-wmemstream3.c: Likewise.
16345         * manual/examples/memstrm.c: Remove warning when priting size_t.
16347 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
16349         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
16350         macro to use __builtin_fma.
16351         * sysdeps/x86_64/fpu/dla.h: Remove file.
16353         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
16354         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
16355         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
16357 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
16359         [BZ #20292]
16360         * elf/Makefile (routines): Add dl-addr-obj.
16361         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
16362         tst-_dl_addr_inside_object.
16363         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
16364         [ifeq (yesyes,$(have-fpie)$(build-shared))]
16365         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
16366         [ifeq (yesyes,$(have-fpie)$(build-shared))]
16367         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
16368         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
16369         * elf/dl-open.c: Likewise.
16370         * elf/dl-addr-obj.c: New file.
16371         * elf/tst-_dl_addr_inside_object.c: New file.
16373 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
16375         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
16376         <bits/iscanonical.h>.
16377         * bits/iscanonical.h: New file.
16378         * math/s_iscanonicall.c: Likewise.
16379         * math/Versions (__iscanonicall): New libm symbol at version
16380         GLIBC_2.25.
16381         * math/libm-test.inc (iscanonical_test_data): New array.
16382         (iscanonical_test): New function.
16383         (main): Call iscanonical_test.
16384         * math/Makefile (headers): Add bits/iscanonical.h.
16385         (type-ldouble-routines): Add s_iscanonicall.
16386         * manual/arith.texi (Floating Point Classes): Document
16387         iscanonical.
16388         * manual/libm-err-tab.pl: Update comment on interfaces without
16389         ulps tabulated.
16390         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
16391         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
16392         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
16393         Likewise.
16394         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16395         test-iscanonical-ldbl-128ibm.
16396         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
16397         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
16398         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
16399         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
16400         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
16401         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16402         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16404         Likewise.
16405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16406         Likewise.
16407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16408         Likewise.
16409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16410         Likewise.
16411         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16412         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16414 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16416         * string/bits/string3.h: Remove C++ style comments.
16418 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16420         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
16421         instead of ternary condition.
16422         (do_sincos_2): Likewise.
16423         (__sin): Likewise.
16424         (__cos): Likewise.
16425         (slow): Likewise.
16426         (sloww): Likewise.
16427         (sloww1): Likewise.
16428         (bsloww): Likewise.
16429         (bsloww1): Likewise.
16431         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
16432         instead of ternary condition.
16433         (do_sin_slow): Likewise.
16434         (do_sincos_1): Likewise.
16435         (do_sincos_2): Likewise.
16436         (__cos): Likewise.
16437         (sloww): Likewise.
16438         (sloww1): Likewise.
16439         (sloww2): Likewise.
16440         (bsloww): Likewise.
16441         (bsloww1): Likewise.
16442         (bsloww2): Likewise.
16444         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
16445         check from here...
16446         (slow2): ... and here...
16447         (__sin): ... to here.
16449 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
16451         * math/math.h
16452         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
16453         Cast argument to its own type.
16454         * math/test-iszero-excess-precision.c: New file.
16455         * math/Makefile (tests): Add test-iszero-excess-precision.
16456         (CFLAGS-test-iszero-excess-precision.c): New variable.
16458 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
16460         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
16461         field, add err field.
16462         (__spawni_child): Report error through err member instead of pipe.
16463         (__spawnix): Likewise.
16465 2016-09-28  Zack Weinberg  <zackw@panix.com>
16467         * scripts/check-installed-headers.sh: Generalize treatment of
16468         sys/elf.h to all target architectures.
16470         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
16471         deleted typedef ucontext_t.
16473 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16475         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
16476         (__INTERNAL_SYSCALL1): Likewise.
16477         (__INTERNAL_SYSCALL2): Likewise.
16478         (__INTERNAL_SYSCALL3): Likewise.
16479         (__INTERNAL_SYSCALL4): Likewise.
16480         (__INTERNAL_SYSCALL5): Likewise.
16481         (__INTERNAL_SYSCALL6): Likewise.
16482         (__INTERNAL_SYSCALL7): Likewise.
16483         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
16484         (__INTERNAL_SYSCALL_NARGS): Likewise.
16485         (__INTERNAL_SYSCALL_DISP): Likewise.
16486         (INTERNAL_SYSCALL_CALL): Likewise.
16487         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
16488         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
16489         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
16490         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
16491         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
16492         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
16493         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
16494         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
16495         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
16496         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
16497         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
16498         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
16499         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
16501 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
16503         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
16504         macro.
16505         * math/libm-test.inc (iszero_test_data): New array.
16506         (iszero_test): New function.
16507         (main): Call iszero_test.
16508         * manual/arith.texi (Floating Point Classes): Document iszero.
16509         * manual/libm-err-tab.pl: Update comment on interfaces without
16510         ulps tabulated.
16512 2016-09-23  Zack Weinberg  <zackw@panix.com>
16514         * scripts/check-installed-headers.sh: New script.
16515         * Rules: In each directory that defines header files to be installed,
16516         run check-installed-headers.sh on them as a special test.
16517         * Makefile: Likewise for the headers installed at top level.
16519         * include/aliases.h, include/alloca.h, include/argz.h
16520         * include/arpa/nameser.h, include/arpa/nameser_compat.h
16521         * include/elf.h, include/envz.h, include/err.h
16522         * include/execinfo.h, include/fpu_control.h, include/getopt.h
16523         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
16524         * include/link.h, include/malloc.h, include/mcheck.h
16525         * include/mntent.h, include/netinet/ether.h
16526         * include/nss.h, include/obstack.h, include/printf.h
16527         * include/pty.h, include/resolv.h, include/rpc/auth.h
16528         * include/rpc/auth_des.h, include/rpc/auth_unix.h
16529         * include/rpc/clnt.h, include/rpc/des_crypt.h
16530         * include/rpc/key_prot.h, include/rpc/netdb.h
16531         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
16532         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
16533         * include/rpc/rpc_msg.h, include/rpc/svc.h
16534         * include/rpc/svc_auth.h, include/rpc/xdr.h
16535         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
16536         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
16537         * include/rpcsvc/ypupd.h, include/shadow.h
16538         * include/stdio_ext.h, include/sys/epoll.h
16539         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
16540         * include/sys/prctl.h, include/sys/profil.h
16541         * include/sys/statfs.h, include/sys/sysctl.h
16542         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
16543         * sysdeps/arm/nacl/include/bits/setjmp.h
16544         * sysdeps/mips/include/sys/asm.h
16545         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
16546         * sysdeps/unix/sysv/linux/include/sys/timex.h
16547         * sysdeps/x86/fpu/include/bits/fenv.h:
16548         Add #ifndef _ISOMAC guard around internal declarations.
16549         Add multiple-inclusion guard if not already present.
16551 2016-09-23  Zack Weinberg  <zackw@panix.com>
16553         * sysdeps/generic/sys/ucontext.h
16554         * sysdeps/arm/sys/ucontext.h
16555         * sysdeps/i386/sys/ucontext.h
16556         * sysdeps/m68k/sys/ucontext.h
16557         * sysdeps/mips/sys/ucontext.h
16558         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
16559         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
16560         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
16561         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
16562         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
16563         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
16564         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
16565         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
16566         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
16567         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
16568         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
16569         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
16570         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
16571         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
16572         Include both bits/sigcontext.h and bits/sigstack.h.
16573         Fix grammar error in comment, if present.
16575         * bits/sigstack.h
16576         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
16577         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
16578         * sysdeps/unix/sysv/linux/bits/sigstack.h
16579         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
16580         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
16581         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
16582         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
16583         * bits/sigcontext.h
16584         * sysdeps/mach/hurd/i386/bits/sigcontext.h
16585         * sysdeps/unix/sysv/linux/bits/sigcontext.h
16586         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
16587         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
16588         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
16589         as well as signal.h, if this was not already allowed.  Request
16590         definition of size_t if necessary.  Minimize semantically-null
16591         differences across files.
16593 2016-09-23  Zack Weinberg  <zackw@panix.com>
16595         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
16596         Remove all logic conditional on __need macros.  Move all the
16597         conditionally defined types to their own headers...
16598         * time/bits/types/clock_t.h: Define clock_t here.
16599         * time/bits/types/clockid_t.h: Define clockid_t here.
16600         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
16601         * time/bits/types/struct_timespec.h: Define struct timespec here.
16602         * time/bits/types/struct_timeval.h: Define struct timeval here.
16603         * time/bits/types/struct_tm.h: Define struct tm here.
16604         * time/bits/types/time_t.h: Define time_t here.
16605         * time/bits/types/timer_t.h: Define timer_t here.
16606         * time/Makefile: Install the new headers.
16608         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
16609         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
16610         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
16611         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
16612         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
16613         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
16614         * sysdeps/unix/sysv/linux/bits/resource.h
16615         * sysdeps/unix/sysv/linux/bits/timex.h
16616         * sysdeps/unix/sysv/linux/mips/bits/resource.h
16617         * sysdeps/unix/sysv/linux/net/ppp_defs.h
16618         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
16619         * sysdeps/unix/sysv/linux/sys/acct.h
16620         * sysdeps/unix/sysv/linux/sys/timerfd.h
16621         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
16622         * time/sys/time.h, time/sys/timeb.h
16623         Use the new bits/types headers.
16625         * include/time.h: Remove __need logic.
16626         * include/bits/time.h
16627         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
16628         * include/bits/types/time_t.h, include/bits/types/timer_t.h
16629         * include/bits/types/struct_itimerspec.h
16630         * include/bits/types/struct_timespec.h
16631         * include/bits/types/struct_timeval.h
16632         * include/bits/types/struct_tm.h:
16633         New wrapper headers.
16635 2016-09-23  Zack Weinberg  <zackw@panix.com>
16637         * sysdeps/mach/hurd/net/if_ppp.h
16638         * sysdeps/unix/sysv/linux/net/if_ppp.h:
16639         Only define struct ifpppstatsreq and struct ifpppcstatsreq
16640         if __USE_MISC is defined, to ensure struct ifreq is declared.
16642         * inet/netinet/ether.h: Condition all function prototypes
16643         on __USE_MISC, to ensure struct ether_addr is declared.
16645         * socket/bits/types/struct_osockaddr.h: New header.
16646         * include/bits/types/struct_osockaddr.h: New wrapper.
16647         * socket/Makefile: Install the new header.
16648         * socket/sys/socket.h, inet/protocols/talkd.h:
16649         Refer to bits/types/struct_osockaddr.h for the definition of
16650         struct osockaddr.
16652 2016-09-23  Zack Weinberg  <zackw@panix.com>
16654         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
16655         * inet/protocols/routed.h, inet/protocols/talkd.h
16656         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
16657         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
16658         * sysdeps/generic/netinet/if_ether.h
16659         * sysdeps/generic/netinet/in_systm.h
16660         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
16661         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16662         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
16663         * sysdeps/mach/hurd/net/if_arp.h
16664         * sysdeps/mach/hurd/net/if_ppp.h
16665         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
16666         * sysdeps/unix/sysv/linux/bits/in.h
16667         * sysdeps/unix/sysv/linux/net/ethernet.h
16668         * sysdeps/unix/sysv/linux/net/if_arp.h
16669         * sysdeps/unix/sysv/linux/net/if_ppp.h
16670         * sysdeps/unix/sysv/linux/net/if_shaper.h
16671         * sysdeps/unix/sysv/linux/net/route.h
16672         * sysdeps/unix/sysv/linux/netinet/if_ether.h
16673         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16674         * sysdeps/unix/sysv/linux/netinet/if_tr.h
16675         * sysdeps/unix/sysv/linux/netipx/ipx.h
16676         * sysdeps/unix/sysv/linux/sys/acct.h
16677         * include/arpa/nameser.h, include/resolv.h:
16678         Change all uses of u_char to unsigned char,
16679         u_short and ushort to unsigned short, u_int and uint to unsigned int,
16680         u_long and ulong to unsigned long, u_int8_t to uint8_t,
16681         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
16682         and u_int64_t and u_quad_t to uint64_t.
16684         * mach/sys/reboot.h: Remove two casts of integer literals
16685         to the types they already have.
16687         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
16688         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
16689         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
16690         from referring to 'unsigned char' to 'uint8_t' for consistency with
16691         the macro definition below.
16693         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
16694         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
16695         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
16696         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
16697         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
16698         * sysdeps/unix/sysv/linux/sys/acct.h
16699         * include/arpa/nameser.h, include/resolv.h:
16700         Fix indentation disrupted by mechanical edits.
16702         * inet/protocols/talkd.h, resolv/arpa/nameser.h
16703         * sysdeps/generic/netinet/in_systm.h
16704         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16705         * sysdeps/gnu/netinet/udp.h
16706         * sysdeps/unix/sysv/linux/net/ethernet.h
16707         * sysdeps/unix/sysv/linux/net/if_arp.h
16708         * sysdeps/unix/sysv/linux/net/if_ppp.h
16709         * sysdeps/unix/sysv/linux/net/if_shaper.h
16710         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16711         * sysdeps/unix/sysv/linux/netinet/if_tr.h
16712         * sysdeps/unix/sysv/linux/netipx/ipx.h
16713         * sysdeps/unix/sysv/linux/sys/acct.h
16714         Include stdint.h for uintNN_t definitions.
16715         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
16717 2016-09-23  Zack Weinberg  <zackw@panix.com>
16719         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
16720         * sysdeps/unix/sysv/linux/netrose/rose.h:
16721         Include sys/socket.h and netax25/ax25.h.
16723         * inet/netinet/icmp6.h, inet/netinet/ip6.h
16724         * resolv/arpa/nameser_compat.h:
16725         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
16727         * sysdeps/unix/sysv/linux/sys/quota.h:
16728         Use __caddr_t instead of caddr_t.
16729         * sysdeps/unix/sysv/linux/sys/timerfd.h:
16730         Use __clockid_t instead of clockid_t.
16732         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
16734         * argp/argp.h: Check whether _LIBC is defined before expanding it.
16735         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
16736         expanding it.
16738         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
16739         Define __glibc_c99_flexarr_available to 1 when the compiler
16740         supports C99-compatible flexible array members, 0 otherwise.
16741         * sysdeps/unix/sysv/linux/bits/socket.h
16742         * sysdeps/mach/hurd/bits/socket.h
16743         * bits/socket.h: Use __glibc_c99_flexarr_available in
16744         definitions of struct cmsghdr and CMSG_DATA.
16746 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16748         * manual/nss.texi (NSS Modules Interface): Adjust function return
16749         type to enum nss_status.  Document errnop argument.  Clarify
16750         h_errnop semantics.  Fix cross-reference formatting.
16751         (NSS Module Function Internals): Mention that *errnop needs to be
16752         set on failure, but not to zero.
16754 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16756         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
16757         (get_random_name): New functions.
16758         (check_wrapper_flags_mode): Use linkat to give the new file a name
16759         determined by get_random_name.
16760         (do_test): Add calls to test open64 and openat64.
16762 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16764         * test-skeleton.c: Remove #include <stdarg.h>.
16766 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
16768         [BZ #19826]
16769         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
16770         initialization of static TLS entries.
16771         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
16772         * nptl/allocatestack.c (init_one_static_tls): Likewise.
16774 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16776         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
16777         _hurd_malloc_fork_prepare.
16778         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
16779         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
16780         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
16781         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
16782         (_hurd_fork_child_hook): Drop malloc_fork_child.
16783         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
16784         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
16785         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
16786         after locking locks (notably hurd_dtable_lock). Call
16787         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
16788         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
16789         __malloc_fork_unlock_child.
16790         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
16792 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
16794         * soft-fp/extendhftf2.c: New.
16795         * soft-fp/fixhfti.c: Likewise.
16796         * soft-fp/fixunshfti.c: Likewise.
16797         * soft-fp/floattihf.c: Likewise.
16798         * soft-fp/floatuntihf.c: Likewise.
16799         * soft-fp/half.h: Likewise.
16800         * soft-fp/trunctfhf2.c: Likewise.
16802 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
16804         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
16805         macro.
16806         * math/libm-test.inc (issubnormal_test_data): New array.
16807         (issubnormal_test): New function.
16808         * manual/arith.texi (Floating Point Classes): Document
16809         issubnormal.
16810         * manual/libm-err-tab.pl: Update comment on interfaces without
16811         ulps tabulated.
16813         * sysdeps/generic/stdint.h: Define
16814         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16815         <bits/libc-header-start.h> instead of including <features.h>.
16816         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
16817         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
16818         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
16819         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
16820         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
16821         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
16822         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
16823         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
16824         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
16825         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
16826         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
16827         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
16828         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
16829         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
16830         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
16831         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
16832         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
16833         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
16834         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
16835         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
16836         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
16837         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
16838         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
16839         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
16840         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
16841         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
16842         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
16843         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
16844         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
16845         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
16846         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
16847         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
16848         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
16849         * manual/arith.texi (Integers): Document these macros for types
16850         specified by width properties.
16851         * manual/lang.texi (Width of Type): Document these macros for
16852         other standard typedefs.
16853         * stdlib/tst-width-stdint.c: New file.
16854         * stdlib/Makefile (tests): Add tst-width-stdint.
16856 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16858         [BZ #20016]
16859         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
16860         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
16861         Move ...
16862         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
16863         ... here, as compatibility symbols in a new file.
16864         * resolv/Makefile (libresolv-routines): Add compat-hooks.
16865         * resolv/res_init.c (__res_vinit): Adjust member names.
16866         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
16867         * resolv/resolv.h (res_sendhookact, res_send_qhook)
16868         (res_send_rhook): Remove.
16869         (struct __res_state): Rename qhook, rhook members.
16871 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16873         malloc: Use __libc_lock wrappers.
16874         * malloc/arena.c (list_lock, free_list_lock): Define using
16875         __libc_lock_define_initialized.
16876         (arena_lock): Adjust formatting.
16877         * malloc/malloc.c (struct malloc_state): Define mutex using
16878         __libc_lock_define.
16879         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
16880         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
16881         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
16882         (mutex_unlock, mutex_trylock): Remove.
16883         (__pthread_initialize): Remove unused macro.
16884         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
16885         (mutex_unlock, mutex_trylock): Remove.
16887 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16889         [BZ #20592]
16890         Remove RR type classification macros.
16891         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
16892         (ns_t_udp_p, ns_t_xfr_p): Remove.
16894 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16896         Remove misleading version information.
16897         * resolv/arpa/nameser.h (__NAMESER): Remove.
16898         * resolv/arpa/nameser_compat.h (__BIND): Remove.
16900 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16902         Remove the always-defined BIND_4_COMPAT macro.
16903         * resolv/arpa/nameser.h: Unconditionally include
16904         <arpa/nameser_compat.h>.
16905         (BIND_4_COMPAT): Remove.
16906         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
16908 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16910         [BZ #20591]
16911         Remove obsolete DNSSEC support.
16912         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
16913         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
16914         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
16915         (ns_verify_tcp, ns_verify_tcp_init): Remove.
16916         (ns_cert_types): Add comment.
16917         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
16918         separately.
16919         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
16920         (dst_s_dns_key_id): Remove.
16921         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
16922         variables.
16924 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16926         [BZ #20524]
16927         * manual/string.texi (String/Array Comparison): Clarify the
16928         strverscmp behavior.
16930 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16932         * test-skeleton.c (xasprintf): Add function.
16933         * io/tst-open-tmpfile.c: New test.
16934         * io/Makefile (tests): Add it.
16936 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16938         Avoid running $(CXX) during build to obtain header file paths.
16939         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
16940         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
16941         * Makerules (cstdlib, cmath): Remove variables.  Use
16942         $(c++-cstdlib-header), $(c++-cmath-header) instead.
16943         * configure: Regenerate.
16945 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16947         * Makeconfig (all-object-suffixes): Include .op only if
16948         $(build-profile).
16950 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16952         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
16953         conditionals.  Do not define PATH_MAX.
16955 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16957         * posix/Makefile (tests): Add tst-spawn3.
16958         * posix/tst-spawn3.c: New file.
16959         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
16960         if it is already opened for open action.
16962         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
16963         all signals when executing the clone vfork child.
16964         (SIGALL_SET): Remove macro.
16966         * nptl/Makefile (tests): Add tst-exec5.
16967         * nptl/tst-exec5.c: New file.
16968         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
16969         asynchronous cancellation.
16971 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16973         * hurd/exc2signal.c: #include <hurd/signal.h>
16974         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
16975         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
16976         accordingly.
16977         * mach/mach_error.c (mach_error): Fix old-style function definition.
16978         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
16980 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16982         * math/Makefile (libm-calls): Remove s_nanF.
16983         (gen-libm-calls): Add s_nanF.
16985         * math/s_nan.c: Refactor into ...
16986         * math/s_nan_template.c: New file.
16988         * math/s_nanf.c: Removed.
16989         * math/s_nanl.c: Removed.
16990         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
16991         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
16993         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16994         (LDOUBLE_nanl_libm_version): New macro.
16996         * sysdeps/generic/math-type-macros-double.h:
16997         (M_STRTO_NAN): New macro.
16998         * sysdeps/generic/math-type-macros-float.h: Likewise.
16999         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
17001         * sysdeps/generic/math-type-macros.h: Document
17002         M_STRTO_NAN.
17004 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17006         * math/s_nanf.c: Remove __nanf undef.
17007         * math/s_nan.c: Remove __nan undef.
17008         * math/s_nanl.c: Remove __nanl undef.
17010         * sysdeps/generic/math_private.h (__nan): Remove macro
17011         override.
17012         (__nanf): Likewise.
17013         (__nanl): Likewise.
17015 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17017         * math/Makefile (gen-all-calls): New variable.
17018         (generated): Replace gen-libm-calls with gen-all-calls.
17019         (gen-libm-templates.stmp): Likewise.  Also, ensure
17020         the output directory exists or is created and add
17021         dependency on the Makefile.
17022         (calls): Move s_ldexpF into gen-calls.
17023         (gen-calls): New variable.
17025         * math/s_ldexpf.c: Removed.
17026         * math/s_ldexpl.c: Removed.
17027         * math/s_ldexp.c: Refactored into ...
17028         * math/s_ldexp_template.c: New file.
17030         * sysdeps/generic/math-type-macros-double.h: Remove
17031         redundant fall-through definition of declare_mgen_alias.
17032         (declare_mgen_alias_2): New macro.
17034         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
17035         New macro for function aliased to two exported symbols.
17037         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
17038         new template file.
17039         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
17041 2016-09-20  Florian Weimer  <fweimer@redhat.com>
17043         * Makeconfig (all-object-suffixes): Remove .og.
17044         * Makerules (elide-routines.og): Remove.
17045         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
17046         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
17047         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
17049 2016-09-20  Florian Weimer  <fweimer@redhat.com>
17051         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
17052         .os objects.
17054 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17056         [BZ #20615]
17057         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
17058         fpu directory by non-fpu.
17059         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
17060         on non-fpu directory from a fpu directory.
17062 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
17064         * include/limits.h: Define
17065         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17066         <bits/libc-header-start.h> instead of including <features.h>.
17067         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
17068         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
17069         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
17070         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
17071         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
17072         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
17073         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
17074         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
17075         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
17076         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
17077         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
17078         * manual/lang.texi (Width of Type): Document these macros.
17079         * stdlib/tst-width.c: New file.
17080         * stdlib/Makefile (tests): Add tst-width.
17082 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17084         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
17085         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
17087 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17089         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
17090         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
17091         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
17093 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17095         [BZ #18243]
17096         * rt/Makefile (test): Add tst-shm-cancel.
17097         * rt/tst-shm-cancel.c: New file.
17098         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
17100         [BZ #18243]
17101         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
17102         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
17103         definition.
17104         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
17105         uncontended case.
17106         * nptl/sem_wait.c (__new_sem_wait): Likewise.
17107         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
17108         (tf): Fix check for uncontended case.
17109         (do_test): Likewise.
17110         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
17111         (tf): Fix check for uncontended case.
17112         (do_test): Likewise.
17113         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
17114         (tf): Fix check for uncontended case.
17115         (do_test): Likewise.
17116         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
17117         (tf): Fix check for uncontended case.
17118         (do_test): Likewise.
17120         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
17121         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
17123         [BZ #15765]
17124         * nptl/Makefile (tests): Add tst-sem16.
17125         * nptl/tst-sem16.c: New file.
17126         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
17128         * nptl/sem_open.c (sem_open): Init pad value to 0.
17129         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
17130         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
17132 2016-09-15  Florian Weimer  <fweimer@redhat.com>
17134         [BZ #20611]
17135         * inet/Makefile (routines): Add inet6_scopeid_pton.
17136         (tests): Add tst-inet6_scopeid_pton.
17137         * inet/inet6_scopeid_pton.c: New file.
17138         * inet/net-internal.h: Likewise.
17139         * inet/tst-inet6_scopeid_pton.c: New test.
17140         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
17141         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
17142         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17144 2016-09-14  Florian Weimer  <fweimer@redhat.com>
17146         Remove support for compiling wrappers with PTW.
17147         * sysdeps/nptl/Makeconfig: Drop ptw- support.
17148         * nptl/Makefile (pthread-compat-wrappers): Define.
17149         (libpthread-routines): Use pthread-compat-wrappers.
17150         * sysdeps/unix/sysv/linux/alpha/Makefile
17151         (libpthread-routines, libpthread-shared-only-routines): Remove
17152         ptw- prefix.
17153         * sysdeps/s390/nptl/Makefile
17154         (libpthread-routines, libpthread-shared-only-routines): Likewise.
17155         * sysdeps/ia64/nptl/Makefile
17156         (libpthread-routines, libpthread-shared-only-routines): Likewise.
17157         * sysdeps/nacl/Makefile (libpthread-routines): Use
17158         pthread-compat-wrappers to filter the routines list instead of the
17159         ptw- prefix.
17161 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17163         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
17164         with L() and remove explicit suffix, convert real literals
17165         which can be equivalentally substituted with integers, and
17166         transform -L(x) to L(-x).
17168         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17169         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17170         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17171         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17172         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17173         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17174         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17175         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17176         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17177         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17178         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17179         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17180         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17181         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17182         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17183         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17184         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17185         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17186         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17187         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17188         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17189         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17190         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17191         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17192         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17193         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17194         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17195         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17196         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17197         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17198         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17199         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17200         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17201         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17202         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17203         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17204         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17205         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17206         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17207         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17208         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17209         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17210         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17211         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17212         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17213         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17214         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17215         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17216         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17217         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17219 2016-09-13  Florian Weimer  <fweimer@redhat.com>
17221         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
17223 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17225         * malloc/Makefile (tests): Remove individual static test names
17226         and just add all of tests-static.
17228         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
17230 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
17232         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
17233         file.
17235         * sysdeps/sparc/fpu/fegetmode.c: New file.
17236         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
17238         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
17239         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
17241         * sysdeps/s390/fpu/fegetmode.c: New file.
17242         * sysdeps/s390/fpu/fesetmode.c: Likewise.
17244         * sysdeps/powerpc/fpu/fegetmode.c: New file.
17245         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
17246         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
17247         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
17248         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
17249         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
17251         * sysdeps/mips/fpu/fegetmode.c: New file.
17252         * sysdeps/mips/fpu/fesetmode.c: Likewise.
17254         * sysdeps/m68k/fpu/fegetmode.c: New file.
17255         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
17257         * sysdeps/ia64/fpu/fegetmode.c: New file.
17258         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
17260         * sysdeps/hppa/fpu/fegetmode.c: New file.
17261         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
17263         * sysdeps/arm/fegetmode.c: New file.
17264         * sysdeps/arm/fesetmode.c: Likewise.
17266         * sysdeps/alpha/fpu/fegetmode.c: New file.
17267         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
17269         * sysdeps/aarch64/fpu/fegetmode.c: New file.
17270         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
17272         * math/fegetmode.c: New file.
17273         * math/fesetmode.c: Likewise.
17274         * sysdeps/i386/fpu/fegetmode.c: Likewise.
17275         * sysdeps/i386/fpu/fesetmode.c: Likewise.
17276         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
17277         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
17278         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
17279         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
17280         declaration.
17281         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
17282         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
17283         typedef.
17284         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17285         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17286         (femode_t): New typedef.
17287         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17288         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17289         (femode_t): New typedef.
17290         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17291         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17292         (femode_t): New typedef.
17293         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17294         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17295         (femode_t): New typedef.
17296         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17297         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17298         (femode_t): New typedef.
17299         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17300         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17301         (femode_t): New typedef.
17302         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17303         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17304         (femode_t): New typedef.
17305         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17306         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17307         (femode_t): New typedef.
17308         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17309         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17310         (femode_t): New typedef.
17311         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17312         * sysdeps/powerpc/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 variable
17315         declaration.
17316         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17317         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17318         (femode_t): New typedef.
17319         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17320         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17321         (femode_t): New typedef.
17322         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17323         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17324         (femode_t): New typedef.
17325         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17326         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17327         (femode_t): New typedef.
17328         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17329         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17330         (femode_t): New typedef.
17331         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17332         * manual/arith.texi (FE_DFL_MODE): Document macro.
17333         (fegetmode): Document function.
17334         (fesetmode): Likewise.
17335         * math/Versions (fegetmode): New libm symbol at version
17336         GLIBC_2.25.
17337         (fesetmode): Likewise.
17338         * math/Makefile (libm-support): Add fegetmode and fesetmode.
17339         (tests): Add test-femode and test-femode-traps.
17340         * math/test-femode-traps.c: New file.
17341         * math/test-femode.c: Likewise.
17342         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
17343         alias for __fe_dfl_env.
17344         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
17345         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
17346         (__fe_dfl_mode): Likewise.
17347         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
17348         version GLIBC_2.25.
17349         * sysdeps/nacl/libm.abilist: Update.
17350         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17351         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17352         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17353         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17354         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17355         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17356         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17357         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17358         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17359         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17360         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17361         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17363         Likewise.
17364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17365         Likewise.
17366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17367         Likewise.
17368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17369         Likewise.
17370         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17371         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17372         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17373         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17374         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17376         Likewise.
17377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17378         Likewise.
17379         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17380         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17381         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17383 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17385         [BZ #20495]
17386         [BZ #20508]
17387         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
17388         processors, set Use_dl_runtime_resolve_slow and set
17389         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
17390         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
17391         New.
17392         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
17393         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
17394         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
17395         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
17396         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
17397         if Use_dl_runtime_resolve_opt is set.  Use
17398         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
17399         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
17400         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
17401         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
17402         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
17403         New.
17404         (_dl_runtime_resolve_opt): Likewise.
17405         (_dl_runtime_profile): Define only if _dl_runtime_profile is
17406         defined.
17408 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17410         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
17411         __libc_memalign with "+ RELA R_390_GLOB_DAT".
17413 2016-09-06  Florian Weimer  <fweimer@redhat.com>
17415         Convert malloc to __libc_lock.  Automated part, using this Perl
17416         s/// command:
17417           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
17418             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
17419         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
17420         conversion.
17422 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
17424         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
17425         (linknamespace-symlists-tests): Likewise.
17426         (linknamespace-header-tests): Likewise.
17428 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
17430         [BZ #19810]
17431         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
17432         * elf/tst-noload.c: New test case.
17433         * elf/Makefile (tests): Add tst-noload.
17435 2016-09-02  Roland McGrath  <roland@hack.frob.com>
17437         * sysdeps/nacl/dup.c: Add libc_hidden_def.
17439         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
17440         not any more.
17442         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
17444 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17446         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
17447         (do_cos_slow): Likewise.
17448         (do_sin): Likewise.
17449         (do_sin_slow): Likewise.
17450         (slow): Likewise.
17451         (slow1): Likewise.
17452         (slow2): Likewise.
17453         (sloww): Likewise.
17454         (sloww1): Likewise.
17455         (sloww2): Likewise.
17456         (bsloww): Likewise.
17457         (bsloww1): Likewise.
17458         (bsloww2): Likewise.
17459         (cslow2): Likewise.
17461         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
17463         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
17464         arguments.  Consolidate input partitioning from callers here.
17465         (do_cos_slow): Likewise.
17466         (do_sin): Likewise.
17467         (do_sin_slow): Likewise.
17468         (do_sincos_1): Remove the no longer necessary input partitioning.
17469         (do_sincos_2): Likewise.
17470         (__sin): Likewise.
17471         (__cos): Likewise.
17472         (slow1): Likewise.
17473         (slow2): Likewise.
17474         (sloww1): Likewise.
17475         (sloww2): Likewise.
17476         (bsloww1): Likewise.
17477         (bsloww2): Likewise.
17478         (cslow2): Likewise.
17480 2016-09-02  Florian Weimer  <fweimer@redhat.com>
17482         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
17483         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
17484         outside of allocated array.
17486 2016-09-02  Florian Weimer  <fweimer@redhat.com>
17488         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
17489         instead of MB_CUR_MAX to avoid variable-length array.
17491 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17493         * math/Makefile (libm-calls): Remove k_rem_pio2F.
17494         (type-double-routines): Add k_rem_pio2.
17495         (type-float-routines): Add k_rem_pio2f.
17497         * sysdeps/generic/math_private.h:
17498         (__kernel_rem_pio2l): Removed.
17500         * math/k_rem_pio2l.c: Removed.
17501         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
17502         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
17503         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
17504         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
17506 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17508         * math/Makefile (gen-libm-calls): Add s_fmin
17509         (libm-calls): Remove above.
17511         * math/s_fmin.c: Refactor into ...
17512         * math/s_fmin_template.c: New file.
17514         * math/s_fminf.c: Removed.
17515         * math/s_fminl.c: Removed.
17516         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17517         (LDOUBLE_fmin_libm_version): New macro.
17519         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
17520         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
17522 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17524         * math/Makefile: (gen-libm-calls): Add s_fmax.
17525         (libm-calls): Remove above.
17527         * math/s_fmax.c: Refactor into ...
17528         * math/s_fmax_template.c: New file.
17529         * math/s_fmaxf.c: Removed.
17530         * math/s_fmaxl.c: Removed.
17532         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17533         (LDOUBLE_fmaxl_libm_version): New macro.
17535         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
17536         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
17538         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
17539         s_fmin.c to pick the aarch64 version of the file.
17540         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
17541         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
17543 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17545         * math/Makefile: (gen-libm-calls): Add s_nextdown.
17546         (libm-calls): Remove above.
17548         * math/s_nextdown.c: Refactor into ...
17549         * math/s_nextdown_template.c: New file.
17550         * math/s_nextdownf.c: Removed.
17551         * math/s_nextdownl.c: Removed.
17553         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
17555 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17557         * math/Makefile (gen-libm-calls): Add s_fdim.
17558         (libm-calls): Move to above.
17560         * math/s_fdim.c: Renamed and refactored into to ...
17561         * math/s_fdim_template.c: New file.
17562         * math/s_fdiml.c: Removed.
17563         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
17564         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
17566         * sysdeps/generic/math-type-macros-double.h:
17567         (declare_mgen_alias): Don't declare if already declared.
17568         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
17569         Likewise.
17571         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17572         (declare_mgen_alias): Don't declare if already declared.
17573         (M_LIBM_NEED_COMPAT): Likewise.
17574         (declare_mgen_libm_compat): Likewise.
17575         (LDOUBLE_fdiml_libm_version): New macro.
17577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17578         Include math/s_fdim.c now that ldbl-opt version is not needed.
17579         (declare_mgen_alias): New macro to disable aliasing.
17581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
17582         (declare_mgen_alias): Likewise.
17583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
17584         (declare_mgen_alias): Likewise.
17585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
17586         (declare_mgen_alias): Likewise.
17587         (M_LIBM_NEED_COMPAT): Likewise.
17589 2016-09-01  Florian Weimer  <fweimer@redhat.com>
17591         [BZ #20525]
17592         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
17593         Include <linux/quota.h>.
17594         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
17595         and btodb.
17596         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
17597         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
17598         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
17599         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
17600         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
17601         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
17602         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
17603         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
17604         types.
17605         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
17606         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
17608 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17610         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
17611         (gammal_positive): Fix spacing.
17612         (__ieee754_gammal_r): Likewise.
17614 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17616         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
17617         (_Float128): Define as long double, always.
17618         (L): Apply long double type suffix, always.
17620         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
17621         _Float128, excepting comments.
17623         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17624         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17625         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17626         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17627         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17628         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17629         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17630         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17631         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17632         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
17633         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17634         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17635         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17636         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17637         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17638         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17639         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17640         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17641         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17642         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17643         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17644         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17645         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17646         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17647         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17648         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17649         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17650         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17651         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17652         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17653         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17654         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17655         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17656         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17657         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17658         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17659         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17660         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17661         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17662         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17663         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17664         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17665         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17666         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17667         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17668         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17669         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17670         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17671         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17672         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17673         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17674         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17675         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17676         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17677         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17678         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17679         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17680         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17681         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17682         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17683         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17684         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17685         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17686         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17687         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17688         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17689         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17690         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17692         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
17693         _Float128, and include math_private.h.
17694         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17696         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
17697         long double semantics.
17698         (_Float128): Likewise.
17699         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
17700         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17701         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
17702         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
17704 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17706         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
17707         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
17708         * sysdeps/s390/configure: Regenerated.
17709         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
17710         instruction for raising over-/underflow if z196 zarch is supported
17711         by default.
17712         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
17714 2016-08-30  Svante Signell  <svante.signell@gmail.com>
17716         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
17717         it point to a dumb buffer for RPC to fill it.
17719 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17721         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
17722         instead of if/else.
17723         (do_sin_slow): Likewise.
17724         (do_sincos_1): Use fabs instead of if/else.
17725         (do_sincos_2): Likewise.
17726         (__sin): Likewise.
17727         (__cos): Likewise.
17728         (slow2): Likewise.
17729         (sloww): Likewise.
17730         (sloww1): Likewise.  Drop argument M.
17731         (sloww2): Use fabs instead of if/else.
17732         (bsloww): Likewise.
17733         (bsloww1): Likewise.
17734         (bsloww2): Likewise.
17736         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
17737         fall through comment.
17738         (do_sincos_1): Likewise.
17740         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
17741         Consolidate switch cases 0 and 2.
17743 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17745         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
17746         (libm-calls): Remove the above.
17748         * math/s_cexp_template.c: Update using type-generic macros.
17749         * math/s_clog10_template.c: Likewise.
17750         * math/s_cpow_template.c: Likewise.
17751         * math/s_clog_template.c: Likewise.
17752         * math/s_cproj_template.c: Likewise.
17753         * math/s_csqrt_template.c: Likewise.
17755         * math/s_cexp.c: Removed.
17756         * math/s_cexpf.c: Removed.
17757         * math/s_cexpl.c: Removed.
17758         * math/s_clog10.c: Removed.
17759         * math/s_clog10f.c: Removed.
17760         * math/s_clog10l.c: Removed.
17761         * math/s_cpow.c: Removed.
17762         * math/s_cpowf.c: Removed.
17763         * math/s_cpowl.c: Removed.
17764         * math/s_clog.c: Removed.
17765         * math/s_clogf.c: Removed.
17766         * math/s_clogl.c: Removed.
17767         * math/s_cproj.c: Removed.
17768         * math/s_cprojf.c: Removed.
17769         * math/s_cprojl.c: Removed.
17770         * math/s_csqrt.c: Removed.
17771         * math/s_csqrtf.c: Removed.
17772         * math/s_csqrtl.c: Removed.
17774         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
17775         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
17776         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
17777         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
17778         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
17779         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
17781         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
17782         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
17783         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
17784         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
17785         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
17786         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
17787         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
17788         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
17789         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
17790         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
17791         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
17793         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
17794         version.
17796         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
17797         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
17798         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
17799         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
17801 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17803         * s_cexp_template.c: Copy of s_cexp.c.
17804         * s_clog_template.c: Copy of s_clog.c.
17805         * s_clog10_template.c: Copy of s_clog10.c.
17806         * s_cpow_template.c: Copy of s_cpow.c.
17807         * s_cproj_template.c: Copy of s_cproj.c.
17808         * s_csqrt_template.c: Copy of s_csqrt.c.
17810 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17812         [BZ #20517]
17813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17814         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
17815         exported.
17817 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
17819         * math/fetestexceptflag.c: New file.
17820         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
17821         Stefan Liebler.
17822         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17823         (fetestexceptflag): New function declaration.
17824         * manual/arith.texi (fetestexceptflag): Document function.
17825         * math/Versions (fetestexceptflag): New libm symbol at version
17826         GLIBC_2.25.
17827         * math/Makefile (libm-support): Add fetestexceptflag.
17828         (tests): Add test-fetestexceptflag.
17829         * math/test-fetestexceptflag.c: New file.
17830         * sysdeps/nacl/libm.abilist: Update.
17831         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17832         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17833         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17834         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17835         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17836         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17837         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17838         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17839         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17840         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17841         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17842         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17844         Likewise.
17845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17846         Likewise.
17847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17848         Likewise.
17849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17850         Likewise.
17851         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17852         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17853         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17854         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17855         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17857         Likewise.
17858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17859         Likewise.
17860         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17861         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17862         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17864 2016-08-26  Florian Weimer  <fweimer@redhat.com>
17866         [BZ #20432]
17867         Avoid strong references to malloc-internal symbols when linking
17868         statically, to support statically interposed mallocs.
17869         * include/libc-symbols.h (call_function_static_weak): New macro.
17870         * malloc/Makefile (tests): Add tst-interpose-nothread,
17871         tst-interpose-thread, tst-interpose-static-nothread,
17872         tst-interpose-static-thread.
17873         (tests-static): Add tst-interpose-static-nothread,
17874         tst-interpose-static-thread.
17875         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
17876         tst-interpose-aux-thread.o.
17877         (test-extras): Add tst-interpose-aux-nothread,
17878         tst-interpose-aux-thread.
17879         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
17880         tst-interpose-aux-nothread.o.
17881         (tst-interpose-thread, tst-interpose-static-thread): Link with
17882         tst-interpose-aux-thread.o and libthread.
17883         * malloc/tst-interpose-aux-nothread.c: New file.
17884         * malloc/tst-interpose-aux-thread.c: Likewise.
17885         * malloc/tst-interpose-aux.c: Likewise.
17886         * malloc/tst-interpose-aux.h: Likewise.
17887         * malloc/tst-interpose-nothread.c: Likewise.
17888         * malloc/tst-interpose-skeleton.c: Likewise.
17889         * malloc/tst-interpose-static-nothread.c: Likewise.
17890         * malloc/tst-interpose-static-thread.c: Likewise.
17891         * malloc/tst-interpose-thread.c: Likewise.
17892         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
17893         * sysdeps/mach/hurd/fork.c (__fork): Only call
17894         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17895         __malloc_fork_unlock_child if defined.
17896         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17898 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17900         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
17901         timespec C99 designated initialization.
17903 2016-08-26  Florian Weimer  <fweimer@redhat.com>
17905         [BZ #19946]
17906         Avoid expected SIGALRM signals.
17907         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
17908         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
17909         (xpthread_create, xpthread_detach, xpthread_join)
17910         (delayed_exit_thread, delayed_exit): New functions.
17911         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
17912         (tf): Use xpthread_cond_wait.
17913         (do_test): Likewise.  Replace alarm with delayed_exit.
17914         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17915         (do_test): Call delayed_exit.  Report failure.
17916         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17917         (do_test): Call delayed_exit.
17918         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17919         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
17920         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17921         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
17922         error.
17923         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17924         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
17925         error.
17926         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
17927         (do_test): Call delayed_exit.
17928         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
17929         (do_test): Call delayed_exit.
17930         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
17931         (do_test): Call delayed_exit instead of alarm.  Use
17932         xpthread_mutex_lock.
17933         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
17934         (do_test): Call delayed_exit instead of alarm.  Use
17935         xpthread_mutex_lock.
17936         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
17937         (do_test): Call delayed_exit instead of alarm.
17938         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
17939         (do_test): Call delayed_exit instead of alarm.  Use
17940         xpthread_spin_lock.
17941         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
17942         (do_test): Call delayed_exit instead of alarm.  Use
17943         xpthread_join.
17945 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
17947         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
17948         adjust CFA when allocating register save area on re-aligned
17949         stack.
17951 2016-08-26  Florian Weimer  <fweimer@redhat.com>
17953         * string/tst-cmp.c: New test.
17954         * string/Makefile (tests): Add it.
17956 2016-08-25  Mark Wielaard  <mark@klomp.org>
17958         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
17959         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
17960         (check_tree_recurse): Use newly defined accessors.
17961         (check_tree): Likewise.
17962         (maybe_split_for_insert): Likewise.
17963         (__tfind): Likewise.
17964         (__tdelete): Likewise.
17965         (trecurse): Likewise.
17966         (tdestroy_recurse): Likewise.
17967         (__tsearch): Likewise. And add asserts for malloc alignment.
17968         (__twalk): Cast root to node in case CHECK_TREE is defined.
17970 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17972         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
17974 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17976         * math/Makefile (libm-gen-calls): Add
17977         catan, catanh, ctan, ctanh.
17978         (libm-calls): Remove the above.
17980         * math/s_catan_template.c: Update using type-generic macros.
17981         * math/s_catanh_template.c: Likewise.
17982         * math/s_ctan_template.c: Likewise.
17983         * math/s_ctanh_template.c: Likewise.
17985         * math/s_catanf.c: Removed.
17986         * math/s_catan.c: Removed.
17987         * math/s_catanl.c: Removed.
17988         * math/s_catanhf.c: Removed.
17989         * math/s_catanh.c: Removed.
17990         * math/s_catanhl.c: Removed.
17991         * math/s_ctanf.c: Removed.
17992         * math/s_ctan.c: Removed.
17993         * math/s_ctanl.c: Removed.
17994         * math/s_ctanhf.c: Removed.
17995         * math/s_ctanh.c: Removed.
17996         * math/s_ctanhl.c: Removed.
17998         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
17999         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
18000         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
18001         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
18002         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
18003         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
18005         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
18006         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
18007         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
18008         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
18010 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18012         * s_catan_template.c: Copy of s_catan.c.
18013         * s_catanh_template.c: Copy of s_catanh.c.
18014         * s_ctan_template.c: Copy of s_ctan.c.
18015         * s_ctanh_template.c: Copy of s_ctanh.c.
18017 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18019         * math/Makefile (gen-libm-calls): Move
18020         casin, casinh, csin, csinh here.
18021         (libm-calls): Remove the above.
18023         * math/s_casin_template.c: Update using type-generic macros.
18024         * math/s_casinh_template.c: Likewise.
18025         * math/s_csin_template.c: Likewise.
18026         * math/s_csinh_template.c: Likewise.
18027         * math/k_casinh_template.c: Likewise.
18029         * math/s_casinf.c: Removed.
18030         * math/s_casin.c: Removed.
18031         * math/s_casinl.c: Removed.
18032         * math/s_casinh.c: Removed.
18033         * math/s_casinhf.c: Removed.
18034         * math/s_casinhl.c: Removed.
18035         * math/s_csin.c: Removed.
18036         * math/s_csinf.c: Removed.
18037         * math/s_csinl.c: Removed.
18038         * math/s_csinh.c: Removed.
18039         * math/s_csinhf.c: Removed.
18040         * math/s_csinhl.c: Removed.
18041         * math/k_casinh.c: Removed.
18042         * math/k_casinhf.c: Removed.
18043         * math/k_casinhl.c: Removed.
18045         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
18046         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
18047         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
18048         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
18050         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
18051         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
18052         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
18053         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
18054         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
18055         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
18056         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
18057         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
18059         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
18060         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
18061         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
18062         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
18064         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
18065         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
18066         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
18067         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
18069 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18071         * s_casin_template.c: Copy of s_casin.c.
18072         * s_casinh_template.c: Copy of s_casinh.c.
18073         * s_csin_template.c: Copy of s_csin.c.
18074         * s_csinh_template.c: Copy of s_csinh.c.
18075         * k_casinh_template.c: Copy of k_casinh.c.
18077 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18079         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
18081 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18083         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
18084         (mul_split) Remove, rename as mul_splitl, remove
18085         redundant float.h include, and include via mul_splitl.h
18087         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18088         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18089         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18090         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18091         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18093         * math/mul_splitl.h: New file.
18095         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
18096         Move into mul_split.h, and remove redundant float.h include.
18098         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18099         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
18100         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18101         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
18103         * math/mul_split.h: New file.
18105 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18107         * math/Makefile (libm-gen-calls): Move
18108         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
18109         (libm-calls): Remove above.
18111         * math/s_cacos_template.c: Update using type-generic macros.
18112         * math/s_cacosh_template.c: Likewise.
18113         * math/s_ccos_template.c: Likewise.
18114         * math/s_ccosh_template.c: Likewise.
18116         * math/s_cacosf.c: Removed.
18117         * math/s_cacos.c: Removed.
18118         * math/s_cacosl.c: Removed.
18119         * math/s_cacoshf.c: Removed.
18120         * math/s_cacosh.c: Removed.
18121         * math/s_cacoshl.c: Removed.
18122         * math/s_ccosf.c: Removed.
18123         * math/s_ccos.c: Removed.
18124         * math/s_ccosl.c: Removed.
18125         * math/s_ccoshf.c: Removed.
18126         * math/s_ccosh.c: Removed.
18127         * math/s_ccoshl.c: Removed.
18129         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
18130         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
18131         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
18132         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
18133         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
18134         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
18136         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
18137         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
18138         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
18139         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
18141         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
18142         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
18143         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
18144         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
18146 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18148         * s_cacos_template.c: Copy of s_cacos.c.
18149         * s_cacosh_template.c: Copy of s_cacosh.c.
18150         * s_ccos_template.c: Copy of s_ccos.c.
18151         * s_ccosh_template.c: Copy of s_ccosh.c.
18153 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18155         * stdlib/tst-strtod-round-skeleton.c:
18156         Refactored from tst-strtod-round.c.
18158         (L_): New macro to apply literal modifier.
18159         (FNPFX): New macro to select str or wcs prefix.
18160         (CHAR): New macro to choose wchar_t or char.
18161         (STRM): New macro to choose printf for tested character type.
18163         (STRTO): New macro to choose appropriate string -> real function.
18164         (FNPFXS): Stringitized version of FNPFX.
18165         (STR): Support for above macro.
18166         (STRX): Likewise.
18168         (TEST): Update with above macros.
18169         (test): Likewise.
18170         (GEN_ONE_TEST): Likewise.
18171         (test_in_one_mode): Likewise.
18173         * stdlib/tst-strtod-round.c: New file.
18174         * wcsmbs/tst-wcstod-round.c: New file.
18176         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
18177         (tst-wcstod-round): Add libm depencency for fesetround.
18179 2016-08-19  Zack Weinberg  <zackw@panix.com>
18181         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
18183 2016-08-18  Torvald Riegel  <triegel@redhat.com>
18185         [BZ #20477]
18186         * resolv/res_hconf.c (do_init): Use atomic access.
18187         * resolv/res_hconf.h: Add comments.
18188         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
18189         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
18190         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18192 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
18194         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
18195         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
18196         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18197         Likewise.
18199 2016-08-18  Florian Weimer  <fweimer@redhat.com>
18201         [BZ #16907]
18202         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
18203         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
18204         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
18205         (__attribute__): Remove definition.
18207 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18209         * sysdeps/ieee754/ldbl-128/e_asinl.c:
18210         Remove unused sqrtl declaration.
18212 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18214         * math/Makefile: (gen-libm-templates.stmp): New rule.
18215         (libm-calls): Move carg conj cimag and cabs into ...
18216         (gen-libm-calls): New variable.
18217         (generated): Inform Make objects from gen-libm-calls
18218         may be generated.
18220         * sysdeps/generic/math-type-macros.h: New file.
18221         * sysdeps/generic/math-type-macros-float.h: Likewise.
18222         * sysdeps/generic/math-type-macros-double.h: Likewise.
18223         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
18224         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
18225         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
18227         * math/cabs.c: Refactor into
18228         * math/cabs_template.c: new file.
18229         * math/cabsf.c: Removed.
18230         * math/cabsl.c: Removed.
18231         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
18232         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
18234         * math/carg.c: Refactor into
18235         * math/carg_template.c: new file.
18236         * math/cargf.c: Removed.
18237         * math/cargl.c: Removed.
18238         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
18239         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
18241         * math/conj.c: Refactor into
18242         * math/conj_template.c: new file.
18243         * math/conjf.c: Removed.
18244         * math/conjl.c: Removed.
18245         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
18246         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
18248         * math/cimag.c: Refactor into
18249         * math/cimag_template.c: new file.
18250         * math/cimagf.c: Removed.
18251         * math/cimagl.c: Removed.
18252         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18253         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18255         * math/cimag.c: Refactor into
18256         * math/cimag_template.c: new file.
18257         * math/cimagf.c: Removed.
18258         * math/cimagl.c: Removed.
18259         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18260         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18262 2016-08-17  Florian Weimer  <fweimer@redhat.com>
18264         Reduce time to expected nptl/tst-once5 failure.
18265         * nptl/tst-once5.cc (TIMEOUT): Define.
18267 2016-08-17  Florian Weimer  <fweimer@redhat.com>
18269         [BZ #20452]
18270         Avoid additional copies of objects in libc.a in static libraries.
18271         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
18272         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
18273         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
18274         rt-sysdep.
18275         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
18276         Add nptl-sysdep.
18277         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
18278         Add ptw-sysdep.
18279         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
18280         rt-sysdep.
18281         * sysdeps/unix/sysv/linux/alpha/Makefile
18282         (libpthread-shared-only-routines): Add ptw-sysdep,
18283         ptw-sigprocmask, ptw-rt_sigaction.
18284         * sysdeps/unix/sysv/linux/ia64/Makefile
18285         (librt-shared-only-routines): Add rt-sysdep.
18286         * sysdeps/unix/sysv/linux/i386/Makefile
18287         (libpthread-shared-only-routines): Add libc-do-syscall.
18288         * sysdeps/unix/sysv/linux/microblaze/Makefile
18289         (libpthread-shared-only-routines): Add sysdep.
18290         * sysdeps/unix/sysv/linux/powerpc/Makefile
18291         (librt-shared-only-routines): Add rt-sysdep.
18292         (libpthread-shared-only-routines): Add sysdep.
18293         * sysdeps/unix/sysv/linux/s390/Makefile
18294         (librt-shared-only-routines): Add rt-sysdep.
18295         * sysdeps/unix/sysv/linux/sparc/Makefile
18296         (librt-shared-only-routines): Add rt-sysdep.
18297         (libpthread-shared-only-routines): Add sysdep.
18298         * sysdeps/unix/sysv/linux/tile/Makefile
18299         (libpthread-shared-only-routines): Likewise.
18301 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
18303         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
18304         Mask implicit bit out of unpacked value.
18305         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
18306         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
18307         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
18309         * sysdeps/sparc/fpu/fesetexcept.c: New file.
18311         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
18313         * sysdeps/s390/fpu/fesetexcept.c: New file.
18315         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
18316         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
18317         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
18319         * sysdeps/mips/fpu/fesetexcept.c: New file.
18321         * sysdeps/m68k/fpu/fesetexcept.c: New file.
18323         * sysdeps/ia64/fpu/fesetexcept.c: New file.
18325         * sysdeps/hppa/fpu/fesetexcept.c: New file.
18327         * sysdeps/arm/fesetexcept.c: New file.
18329         * sysdeps/alpha/fpu/fesetexcept.c: New file.
18331         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
18333         * math/fesetexcept.c: New file.
18334         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
18335         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
18336         * math/fenv.h: Define
18337         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18338         <bits/libc-header-start.h> instead of including <features.h>.
18339         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
18340         declaration.
18341         * manual/arith.texi (fesetexcept): Document function.
18342         * math/Versions (fesetexcept): New libm symbol at version
18343         GLIBC_2.25.
18344         * math/Makefile (libm-support): Add fesetexcept.
18345         (tests): Add test-fesetexcept and test-fesetexcept-traps.
18346         * math/test-fesetexcept.c: New file.
18347         * math/test-fesetexcept-traps.c: Likewise.
18348         * sysdeps/nacl/libm.abilist: Update.
18349         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18350         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18351         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18352         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18353         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18354         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18355         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18356         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18357         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18358         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18359         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18360         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18362         Likewise.
18363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18364         Likewise.
18365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18366         Likewise.
18367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18368         Likewise.
18369         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18370         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18371         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18372         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18373         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18375         Likewise.
18376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18377         Likewise.
18378         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18379         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18380         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18382 2016-08-16  Florian Weimer  <fweimer@redhat.com>
18384         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
18385         New.
18386         (do_test): Apply default_stack_size_in_mb if not set.
18387         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
18389 2016-08-15  Andreas Schwab  <schwab@suse.de>
18391         [BZ #20435]
18392         CVE-2016-6323
18393         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
18394         as .cantunwind.
18396 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
18398         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
18399         comment from fraiseexcpt.c.
18401         * math/test-fexcept.c (feraiseexcept_exact): New function.
18402         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
18403         (test_except): Likewise.
18405 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
18407         [BZ #20455]
18408         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
18409         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
18410         to be restored.
18412         * math/test-fexcept-traps.c: New file.
18413         * math/test-fexcept.c: Likewise.
18414         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
18415         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
18416         macro.
18417         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
18418         (EXCEPTION_SET_FORCES_TRAP): Likewise.
18420 2016-08-09  Torvald Riegel  <triegel@redhat.com>
18422         * include/atomic.h (atomic_fetch_and_relaxed,
18423         atomic_fetch_and_release, atomic_fetch_or_release,
18424         atomic_fetch_xor_release): New.
18426 2016-08-06  Christian Seiler  <christian@iwakd.de>
18428         [BZ #20444]
18429         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
18430         MACH_PORT_NULL.
18432 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18434         * math/s_fdim.c: Avoid alias renamed.
18435         * math/s_fdimf.c: Likewise.
18436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18437         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18438         Add s_fdimf-vis3, s_fdim-vis3.
18439         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18440         (CFLAGS-s_fdim-vis3.c): Likewise.
18441         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
18442         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
18444 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18447         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18448         Remove s_fdimf-vis3, s_fdim-vis3.
18449         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
18450         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
18451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
18452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
18453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
18454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
18455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
18456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
18457         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
18458         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
18460 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18462         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
18463         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
18464         -Wa,-Av9a -mvis.
18466 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18468         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
18469         LIT() to individual constants in simple expressions
18470         after splitting on spaces.
18471         (_apply_lit): Rename replaced version, and use it to
18472         apply to what appears to be a token.
18474         * math/libm-test.inc: Fix many, many issues with
18475         spacing.
18477 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
18479         * math/math.h: Move comment about <bits/mathdef.h> definitions
18480         above inclusion of <bits/mathdef.h>.  Do not mention
18481         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
18483 2016-08-05  Torvald Riegel  <triegel@redhat.com>
18485         * include/atomic.h (atomic_exchange_relaxed): New.
18487 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
18489         * math/e_scalb.c: Do not include <fenv.h>.
18490         (invalid_fn): Do calculation resulting in NaN instead of raising
18491         FE_INVALID and returning a NaN explicitly.
18492         * math/e_scalbf.c: Do not include <fenv.h>.
18493         (invalid_fn): Do calculation resulting in NaN instead of raising
18494         FE_INVALID and returning a NaN explicitly.
18495         * math/e_scalbl.c: Do not include <fenv.h>.
18496         (invalid_fn): Do calculation resulting in NaN instead of raising
18497         FE_INVALID and returning a NaN explicitly.
18499 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
18501         * po/de.po: Updated from Translation Project.
18502         * po/fi.po: Likewise.
18503         * po/sv.po: Likewise.
18505 2016-08-04  Florian Weimer  <fweimer@redhat.com>
18507         [BZ #20452]
18508         Use sysdep.o from libc.a in static libraries.
18509         * sysdeps/unix/sysv/linux/i386/Makefile
18510         (libpthread-shared-only-routines): Add sysdep.
18511         (librt-shared-only-routines): Likewise.
18513 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18515         * math/tgmath.h (nextdown): Define if
18516         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
18517         (nextup): Likewise.
18519         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
18520         macro.
18521         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18522         Document.
18523         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18524         Document macro.
18525         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
18526         (exp10f): Likewise.
18527         (exp10l): Likewise.
18528         * math/bits/mathcalls.h (exp10): Declare if
18529         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
18531         * manual/arith.texi (nextup): Fix typo in last change.
18533 2016-08-03  Zack Weinberg  <zackw@panix.com>
18535         [BZ #19239]
18536         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
18537         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
18538         define major, minor, and makedev to issue deprecation warnings on use.
18539         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
18540         previously-activated deprecation warnings for these macros and prevent
18541         subsequent inclusions of this header from having any effect.
18542         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
18543         including <sys/sysmacros.h>, and undefine it again afterward.
18545 2016-08-03  Zack Weinberg  <zackw@panix.com>
18547         * sysdeps/generic/sys/sysmacros.h: Delete file.
18548         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
18549         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
18550         * bits/sysmacros.h: ... here; this encoding is now the generic
18551         encoding.  Now defines only the following macros:
18552         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
18553         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
18554         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
18556         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
18557         bits/sysmacros.h and the above new macros to generate the
18558         public implementations of major, minor, and makedev.
18559         * misc/tst-makedev.c: New test.
18560         * include/sys/sysmacros.h: New wrapper.
18562         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
18563         (routines): Add makedev.
18564         (tests): Add tst-makedev.
18565         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
18566         gnu_dev_makedev.
18567         * posix/Makefile (headers): Remove sys/sysmacros.h.
18568         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
18570         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
18571         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
18572         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
18573         * sysdeps/unix/sysv/linux/alpha/libc.abilist
18574         * sysdeps/unix/sysv/linux/arm/libc.abilist
18575         * sysdeps/unix/sysv/linux/hppa/libc.abilist
18576         * sysdeps/unix/sysv/linux/i386/libc.abilist
18577         * sysdeps/unix/sysv/linux/ia64/libc.abilist
18578         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18579         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
18580         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
18581         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18582         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18583         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18584         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18585         * sysdeps/unix/sysv/linux/nios2/libc.abilist
18586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18590         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
18591         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
18592         * sysdeps/unix/sysv/linux/sh/libc.abilist
18593         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18594         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18597         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
18598         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
18599         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
18600         Add GLIBC_2.25.
18602         * include/features.h (__glibc_clang_prereq): New macro.
18603         * misc/sys/cdefs.h (__glibc_clang_has_extension)
18604         (__attribute_deprecated_msg__): New macros.
18606 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18608         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
18609         macro.
18610         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
18611         * manual/arith.texi (issignaling): Document as ISO from TS
18612         18661-1:2014.
18613         (nextup): Likewise.
18614         (nextupf): Likewise.
18615         (nextupl): Likewise.
18616         (nextdown): Likewise.
18617         (nextdownf): Likewise.
18618         (nextdownl): Likewise.
18619         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
18620         macro.
18621         * math/math.h: Define
18622         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18623         <bits/libc-header-start.h> instead of including <features.h>.
18624         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
18625         [__USE_GNU].
18626         * math/bits/mathcalls.h (nextdown): Declare if
18627         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
18628         (nextup): Likewise.
18629         (__issignaling): Likewise.
18631 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18633         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
18634         check, and remove __glibc_likely hint
18635         from FP_INFINITE check.
18636         * s_csinhf.c (__csinhf): Likewise.
18638         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
18639         hint from FP_INFINITE check.
18640         * s_csinhl.c (__csinhl): Likewise.
18642 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18644         * math/Makefile (libm-calls): Insert F placeholder into
18645         object names.  Move w_lgamma_compat* routines into
18646         (libm-compat-calls): New variable.
18647         (libm-compat-calls-ldouble-yes): New variable.
18648         (calls): Insert F placeholder.
18649         (generated): Redefine using new type-foreach macro call.
18650         (routines): Likewise.
18652         (types): New variable to hold a list of symbolic names
18653         for each type supported by the target machine.
18654         (libm-routines): Redefine using new types variable.
18655         (type-foreach): macro to replace fooF with the
18656         appropriately suffixed foo for each types.
18658         (type-ldouble-suffix): New variable.
18659         (type-ldouble-routines): Likewise.
18660         (type-ldouble-yes): Likewise.
18661         (type-double-suffix): Likewise.
18662         (type-double-routines): Likewise.
18663         (type-float-suffix): Likewise.
18664         (type-float-routines): Likewise.
18666         (dbl-only-routines): Remove.
18667         (long-c-yes): Likewise.
18668         (long-m-routines): Likewise.
18669         (long-m-support): Likewise.
18670         (long-m-yes): Likewise.
18671         (test-longdouble-yes): Likewise.
18673         (test-float.o): Simplify by increasing the scope of the
18674         recipe which adds libm-test.stmp to the vector types.
18675         (test-ifloat.o): Likewise.
18676         (test-float-finite.o): Likewise.
18677         (test-double.o): Likewise
18678         (test-idouble.o): Likewise.
18679         (test-double-finite.o): Likewise.
18680         (test-ldouble.o): Likewise
18681         (test-ildoubl.o): Likewise.
18682         (test-ldouble-finite.o): Likewise.
18684         (libm-tests): Redefine type tests using foreach and the
18685         list of types in types.
18687         (CPPFLAGS-test-ildoubl.c): Rename to
18688         (CPPFLAGS-test-ildouble.c): New variable
18690         * math/test-ildoubl.c: Rename to
18691         * math/test-ildouble.c: New file.
18693 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18695         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
18696         Use fabsl instead of fabs.
18697         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
18698         Likewise.
18699         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
18700         Add long double suffix to constant to ensure proper
18701         promotion to long double.
18703 2016-08-03  Tom Tromey  <tom@tromey.com>
18705         [BZ #20311]
18706         * nptl_db/Makefile (headers): Add proc_service.h.
18707         * nptl_db/proc_service.h: Add include guard.  Use
18708         __BEGIN/__END_DECLS.
18709         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
18710         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
18711         arguments.
18714 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18716         [BZ #17730]
18717         Avoid using memalign for TCB allocations.
18718         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
18719         (_dl_allocate_tls_storage): Use malloc and manual alignment.
18720         Avoid alignment gap in the TLS_DTV_AT_TP case.
18721         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
18722         determine the pointer to free.
18723         * nptl/tst-tls3-malloc.c: New test.
18724         * nptl/Makefile (tests): Add it.
18725         (tst-tls3-malloc): Link with libdl, libpthread.
18726         (LDFLAGS-tst-tls3-malloc): Set.
18727         (tst-tls3-malloc.out): Depend on DSO used in test.
18729 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18731         [BZ #17730]
18732         Avoid using memalign for TLS allocations.
18733         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
18734         is_static member with to_free member.
18735         (union dtv): Use struct dtv_pointer.
18736         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
18737         dtv_pointer instead of is_static.
18738         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
18739         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
18740         instead of val.
18741         (allocate_dtv_entry): New function.
18742         (allocate_and_init): Return struct dtv_pointer.  Call
18743         allocate_dtv_entry instead of __libc_memalign.
18744         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
18745         instead of val.
18746         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
18747         instead of is_static.  Adjust call to allocate_and_init.
18748         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
18749         struct dtv_pointer instead of val.
18751 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18753         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
18754         (MALLOC_ALIGN_MASK): Move ...
18755         * malloc/malloc-internal.h: ... to here.
18756         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
18758 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18760         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
18761         (UDP_ENCAP_GTP1U): Likewise.
18763         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
18764         (PF_MAX): Update value.
18765         (AF_QIPCRTR): New macro.
18767 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
18769         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
18770         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18771         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18772         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18773         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18774         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18775         s_truncf-vis3, s_trunc-vis3.
18776         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18777         (CFLAGS-s_ceil-vis3.c): Likewise.
18778         (CFLAGS-s_floorf-vis3.c): Likewise.
18779         (CFLAGS-s_floor-vis3.c): Likewise.
18780         (CFLAGS-s_truncf-vis3.c): Likewise.
18781         (CFLAGS-s_trunc-vis3.c): Likewise.
18782         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
18783         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18784         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
18785         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18786         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
18787         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18788         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
18789         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18790         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
18791         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18792         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
18793         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18795 2016-08-02  David S. Miller  <davem@davemloft.net>
18797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18798         (__nearbyint_vis3): Don't check for sNaN before float register is
18799         loaded with the incoming argument.
18800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18801         (__nearbyintf_vis3): Likewise.
18802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
18803         Likewise.
18804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
18805         Likewise.
18807         * string/test-strncmp.c (do_test_limit): Make sure the test data
18808         stream is aligned as required for the type "CHAR".
18809         (do_test): Likewise.
18811 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
18813         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
18814         by beq instructions jumping to the end of the function.
18815         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
18816         clobber list. Use "i" constraint instead of "X".
18817         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
18818         of "X".
18820 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
18822         * bits/libc-header-start.h: New file.
18823         * Makefile (headers): Add bits/libc-header-start.h.
18824         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
18825         (__GLIBC_USE): New macro.
18826         * libio/stdio.h: Define
18827         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18828         <bits/libc-header-start.h> instead of including <features.h>.
18829         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
18830         (open_memstream): Likewise.
18831         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
18832         (__asprintf): Likewise.
18833         (asprintf): Likewise.
18834         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
18835         (getdelim): Likewise.
18836         (getline): Likewise.
18837         * string/string.h: Define
18838         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18839         <bits/libc-header-start.h> instead of including <features.h>.
18840         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
18841         (strndup): Likewise.
18842         * wcsmbs/wchar.h: Define
18843         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18844         <bits/libc-header-start.h> instead of including <features.h>.
18845         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
18846         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
18848 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18850         Support linking against compatibility symbols, for use in tests.
18851         * include/libc-symbols.h (symbol_version_reference): New macro.
18852         (symbol_version): Use it.
18853         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
18854         (compat_symbol): Use compat_symbol_reference.
18855         (compat_symbol_1, compat_symbol_2): Remove.
18856         (compat_symbol_reference, compat_symbol_reference_1)
18857         (compat_symbol_reference_2): New macro.  Use
18858         symbol_version_reference.
18860 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18862         [BZ #19469]
18863         * malloc/Makefile (CPPFLAGS): Compile tests with
18864         -DTEST_NO_MALLOPT.
18865         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
18867 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
18869         [BZ #20033]
18870         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
18871         finite version.
18872         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
18873         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
18874         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
18875         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
18876         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
18877         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
18878         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
18879         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
18880         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
18881         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
18882         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
18883         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
18884         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
18885         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
18886         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
18887         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
18888         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
18889         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
18890         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
18891         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
18892         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
18893         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
18894         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
18895         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
18896         in zero power.
18898 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18900         [BZ #20370]
18901         * malloc/arena.c (get_free_list): Update comment.  Assert that
18902         arenas on the free list have no attached threads.
18903         (remove_from_free_list): New function.
18904         (reused_arena): Call it.
18906 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
18908         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
18909         when it is a NaN.
18910         [_IEEE_FP_INEXACT] Remove.
18911         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
18912         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
18913         when it is a NaN.
18914         [_IEEE_FP_INEXACT] Remove.
18915         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
18916         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
18917         when it is a NaN.
18918         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
18919         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
18920         when its absolute value is greater than 0x1.0p52.
18921         [_IEEE_FP_INEXACT] Remove.
18922         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
18923         when its absolute value is greater than 0x1.0p23.
18924         [_IEEE_FP_INEXACT] Remove.
18926 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
18928         * version.h (RELEASE): Set to "development"
18929         (VERSION): Set to 2.24.90.
18930         * NEWS: Add 2.25 section.
18932         * version.h (RELEASE): Set to "stable"
18933         (VERSION): Set to 2.24.
18934         * include/features.h (__GLIBC_MINOR__): Set to 24.
18936         * NEWS: Add 2.24 fixed bugs.
18937         * po/libc.pot: Regenerate.
18939 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
18941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18942         [$(subdir) = math] (libm-sysdep_routines): Remove.
18943         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18944         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18945         s_truncf-vis3, s_trunc-vis3.
18946         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
18948         file.
18949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
18950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
18951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
18955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
18956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
18958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
18959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
18960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
18961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
18962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
18963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
18964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
18968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
18969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
18970         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
18971         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18972         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18973         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18974         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18975         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18976         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
18977         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18978         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18979         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
18980         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18981         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18982         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
18983         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
18984         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
18985         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
18986         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18987         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18988         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
18989         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
18990         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
18991         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
18993 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
18995         [BZ #20384]
18996         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
18997         test-double-libmvec-sincos-avx-main.o,
18998         test-double-libmvec-sincos-avx2-main.o,
18999         test-double-libmvec-sincos-main.o,
19000         test-float-libmvec-sincosf-avx-main.o,
19001         test-float-libmvec-sincosf-avx2-main.o and
19002         test-float-libmvec-sincosf-main.o.
19003         test-float-libmvec-sincosf-avx512-main.o.
19004         ($(objpfx)test-double-libmvec-sincos): Also link with
19005         $(objpfx)test-double-libmvec-sincos-main.o.
19006         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
19007         $(objpfx)test-double-libmvec-sincos-avx-main.o.
19008         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
19009         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
19010         ($(objpfx)test-float-libmvec-sincosf): Also link with
19011         $(objpfx)test-float-libmvec-sincosf-main.o.
19012         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
19013         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
19014         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
19015         test-double-libmvec-sincos-avx512-main.o and
19016         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
19017         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
19018         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
19019         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
19020         (CFLAGS-test-double-libmvec-sincos.c): Removed.
19021         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
19022         (CFLAGS-test-double-libmvec-sincos-main.c): New.
19023         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
19024         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
19025         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
19026         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
19027         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
19028         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
19029         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
19030         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
19031         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
19032         -DREQUIRE_AVX2.
19033         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
19034         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
19035         -DREQUIRE_AVX512F.
19036         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
19037         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
19038         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19039         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
19040         file.
19041         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
19042         Likewise.
19043         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
19044         Likewise.
19045         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
19046         Likewise.
19047         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
19048         Likewise.
19049         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
19050         Likewise.
19051         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
19052         Likewise.
19053         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
19054         Likewise.
19056 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
19058         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
19060 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
19062         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
19063         and typo in a comment about AT_HWCAP entry.
19065 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19067         * sysdeps/aarch64/libm-test-ulps: Updated.
19069 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19071         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
19072         of r13 as it is not restored in mvcle case.
19074 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
19076         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
19077         Rename "ret" to "__ret".
19078         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
19079         inline_syscall5, inline_syscall6): Likewise.
19081 2016-07-19   Will Newton  <will.newton@gmail.com>
19083         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
19084         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
19085         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
19086         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
19087         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
19089 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
19091         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
19092         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
19093         -mfpmath=387 with $(rtld-CFLAGS).
19094         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
19095         $(rtld-CFLAGS).
19097 2016-07-18   Ross Burton  <ross.burton@intel.com>
19098              Khem Raj  <raj.khem@gmail.com>
19100         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
19101         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
19102         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
19103         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
19104         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
19105         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
19106         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
19107         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
19108         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
19109         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
19110         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
19111         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
19112         R_METAG_TLS_DTPOFF): New.
19114 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
19115             Matt Clay  <mclay@lycos.com>
19117         [BZ #20357]
19118         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
19119         to call __mpsin/__mpcos and to negate values.
19120         * math/auto-libm-test-in: Add test.
19121         * math/auto-libm-test-out: Regenerate.
19123 2016-07-18  Zack Weinberg  <zackw@panix.com>
19125         * grp/Makefile: Don't install the internal header grp-merge.h.
19127 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19129         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19131 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19133         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
19135 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19137         [BZ #15368]
19138         * sysdeps/unix/sysv/linux/nptl-signals.h
19139         (__nptl_clear_internal_signals): New function.
19140         (__libc_signal_block_all): Likewise.
19141         (__libc_signal_block_app): Likewise.
19142         (__libc_signal_restore_set): Likewise.
19143         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
19144         implementation.
19145         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
19146         the cached pid/tid value in pthread structure.
19148 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
19150         [BZ #20347]
19151         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19153 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
19155         [BZ #20348]
19156         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
19157         preadv64, pwrite64 and pwritev64.
19159 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
19161         [BZ #20350]
19162         * posix/tst-preadwrite.c: Renamed to ...
19163         * posix/tst-preadwrite-common.c: This.
19164         (PREAD): Removed.
19165         (PWRITE): Likewise.
19166         (STRINGIFY): Likewise.
19167         (STRINGIFY2): Likewise.
19168         (do_prepare): Make it static and remove function arguments.
19169         (do_test): Likewise.
19170         (PREPARE): Updated.
19171         (TEST_FUNCTION): New.
19172         (name): Make it static.
19173         (fd): Likewise.
19174         (do_prepare): Use create_temp_file.
19175         (do_test): Renamed to ...
19176         (do_test_with_offset): This.  Make it static and accept offset.
19177         Properly check return value of PWRITE and PREAD.  Return bytes
19178         read.  Don't close fd nor unlink name.
19179         * posix/tst-preadwrite.c: Rewrite.
19180         * posix/tst-preadwrite64.c: Likewise.
19182 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
19184         [BZ #20309]
19185         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
19186         -mtls-dialect=gnu2 works.
19187         * configure: Regenerated.
19188         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
19189         (tests): Add tst-gnu2-tls1.
19190         (modules-names): Add tst-gnu2-tls1mod.
19191         ($(objpfx)tst-gnu2-tls1): New.
19192         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
19193         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
19194         * elf/tst-gnu2-tls1.c: New file.
19195         * elf/tst-gnu2-tls1mod.c: Likewise.
19196         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
19197         bytes for push in the PLT entry to align the stack.
19199 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
19201         [BZ #20349]
19202         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
19204 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19206         [BZ #18707]
19207         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
19208         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
19210 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19212         * sysdeps/unix/sysv/linux/sysdep.h
19213         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
19214         guards.
19215         * misc/tst-preadvwritev-common.c: New file.
19216         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
19217         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
19218         a check for files larger than 2GB.
19220         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19221         (__ASSUME_OFF_DIFF_OFF64): Remove define.
19222         * sysdeps/unix/sysv/linux/pread.c
19223         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
19224         __OFF_T_MATCHES_OFF64_T.
19225         * sysdeps/unix/sysv/linux/pread64.c
19226         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
19227         * sysdeps/unix/sysv/linux/preadv.c
19228         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
19229         * sysdeps/unix/sysv/linux/preadv64.c
19230         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
19231         * sysdeps/unix/sysv/linux/pwrite.c
19232         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
19233         * sysdeps/unix/sysv/linux/pwrite64.c
19234         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
19235         * sysdeps/unix/sysv/linux/pwritev.c
19236         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
19237         * sysdeps/unix/sysv/linux/pwritev64.c
19238         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
19240 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
19242         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19243         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
19245 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
19247         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
19249 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
19251         [BZ #20240]
19252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
19253         (CFLAGS-s_modf-ppc32.c): New variable.
19254         (CFLAGS-s_modff-ppc32.c): Likewise.
19255         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19256         (CFLAGS-s_modf-ppc64.c): Likewise.
19257         (CFLAGS-s_modff-ppc64.c): Likewise.
19259 2016-07-07  Andreas Schwab  <schwab@suse.de>
19261         [BZ #20263]
19262         * nptl/tst-robust10.c: New test.
19263         * nptl/Makefile (tests): Add tst-robust10.
19265 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
19267         [BZ #20263]
19268         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
19270 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
19272         * sysdeps/s390/linkmap.h (struct link_map_machine):
19273         Remove member gotplt and add member jmprel.
19274         * sysdeps/s390/s390-32/dl-machine.h
19275         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
19276         instead of gotplt with &got[3].
19277         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
19278         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19280 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
19282         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
19284 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19286         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
19287         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
19288         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19289         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
19290         * libio/vtables.c (_IO_vtable_check)
19291         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19292         * libio/libioP.h (IO_set_accept_foreign_vtables)
19293         [!PTR_MANGLE]: Do not call PTR_MANGLE.
19295 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
19297         [BZ #20314]
19298         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
19299         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
19300         $(common-objpfx)cmath.
19301         ($(common-objpfx)cstdlib): New target.
19302         ($(common-objpfx)cmath): Likewise.
19304 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
19306         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
19308 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19310         [BZ #20327]
19311         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
19312         are not part of the string.
19314 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19316         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
19317         * nptl/tst-cancel4-common.h (fifoname): New variable.
19318         (fifofd): Likewise.
19319         (cl_fifo): New function.
19320         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
19321         SIGINT.
19322         (tf_open): Add early cancel test.
19324 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
19326         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
19328 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
19330         * sysdeps/generic/ldsodefs.h
19331         (dl_symbol_visibility_binds_local_p): New inline function.
19332         * elf/dl-addr.c (determine_info): Treat hidden and internal
19333         symbols as local.
19334         * elf/dl-lookup.c (do_lookup_x): Likewise.
19335         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
19337 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
19339         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
19340         invalid exception for a sNaN input.
19341         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19342         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
19343         (__nearbyint_vis3): Likewise
19344         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
19345         (__nearbyintf_vis3): Likewise
19346         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
19347         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19348         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
19349         Likewise.
19350         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
19351         Likewise.
19353 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
19355         [BZ #20139]
19356         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
19357         (HAVE_AVX512DQ_ASM_SUPPORT): This.
19358         * sysdeps/x86_64/configure.ac: Require assembler from binutils
19359         2.24 or above.
19360         (HAVE_AVX512_ASM_SUPPORT): Removed.
19361         (HAVE_AVX512DQ_ASM_SUPPORT): New.
19362         * sysdeps/x86_64/configure: Regenerated.
19363         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
19364         check unconditional.
19365         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19366         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19367         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19368         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
19369         Likewise.
19370         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19371         Likewise.
19372         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
19373         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
19374         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19375         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19376         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19377         Likewise.
19378         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19379         Likewise.
19380         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19381         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19382         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
19383         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
19384         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
19385         Likewise.
19386         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
19387         Likewise.
19388         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
19389         Likewise.
19390         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
19391         Likewise.
19392         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
19393         Likewise.
19394         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
19395         Likewise.
19396         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
19397         Likewise.
19398         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
19399         Likewise.
19400         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
19401         Likewise.
19402         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
19403         Likewise.
19404         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
19405         Likewise.
19407 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
19409         [BZ #20024]
19410         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
19411         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
19412         of this implementation of vector function.
19413         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19414         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19415         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
19416         Likewise.
19417         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19418         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19419         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
19420         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
19421         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
19422         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
19423         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
19424         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
19425         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
19426         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
19427         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
19428         for testing vector sincos with fixed ABI.
19429         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19430         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19431         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19432         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19433         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19434         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19435         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19436         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
19437         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
19438         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
19439         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
19440         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
19441         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
19442         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
19443         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19444         * sysdeps/x86_64/fpu/Makefile: Added new tests.
19446 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
19448         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
19450 2016-06-30  Anton Blanchard  <anton@samba.org>
19452         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19453         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
19454         s_sinf-ppc64.
19455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
19456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
19457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
19458         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
19460 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19462         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19463         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19464         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
19465         e_expf-ppc64.
19466         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
19467         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
19468         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
19469         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
19471 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
19473         [BZ #20277]
19474         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
19475         when SHARED is defined.
19477 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
19479         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
19480         (index_arch_Prefer_ERMS): Likewise.
19481         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
19482         __memcpy_erms for Prefer_ERMS.
19483         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19484         (__memmove_erms): Enabled for libc.a.
19485         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
19486         __memmove_erms or Prefer_ERMS.
19487         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
19488         __mempcpy_erms for Prefer_ERMS.
19489         * sysdeps/x86_64/multiarch/memset.S (memset): Return
19490         __memset_erms for Prefer_ERMS.
19492 2016-06-30  Andreas Schwab  <schwab@suse.de>
19494         [BZ #20262]
19495         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
19496         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
19497         of memory.
19499 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
19501         [BZ #18645]
19502         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
19503         (test-extras): Add tst-cleanupx4aux.
19504         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
19505         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
19506         tst-cleanupx4aux.o.
19507         * nptl/tst-cleanupx4aux.c: New file.
19509 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
19511         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19513 2016-06-29  Andreas Schwab  <schwab@suse.de>
19515         [BZ #20260]
19516         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
19517         address before the beginning of the string as an integer to avoid
19518         array-bounds warning.
19520 2016-06-28  Richard Henderson  <rth@redhat.com>
19522         * elf/elf.h (EM_BPF): New.
19523         (EM_NUM): Update.
19524         (R_BPF_NONE, R_BPF_MAP_FD): New.
19526         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
19527         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
19528         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
19529         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
19530         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
19531         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
19532         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
19533         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
19534         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
19535         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
19536         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
19537         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
19538         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
19539         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
19540         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
19541         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
19542         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
19543         (EM_NUM): Update.
19545 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
19547         [BZ #18960]
19548         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
19549         Set _nl_current_LC_CATEGORY_used to two instead of one.
19551 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
19553         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
19554         (do_test): ... this.
19555         (TEST_FUNCTION): New macro.
19556          Include test-skeleton.c.
19557         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
19558         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
19560 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
19562         [BZ #15479]
19563         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
19564         floating-point environment rather than just control word.
19565         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19566         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
19567         floating-point environment, with "invalid" exceptions merged in,
19568         rather than just control word.
19569         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
19570         * math/libm-test.inc (trunc_test_data): Do not allow spurious
19571         "inexact" exceptions.
19573         [BZ #15479]
19574         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
19575         floating-point environment rather than just control word.
19576         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19577         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
19578         floating-point environment, with "invalid" exceptions merged in,
19579         rather than just control word.
19580         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
19581         * math/libm-test.inc (floor_test_data): Do not allow spurious
19582         "inexact" exceptions.
19584         [BZ #15479]
19585         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
19586         floating-point environment rather than just control word.
19587         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19588         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
19589         floating-point environment, with "invalid" exceptions merged in,
19590         rather than just control word.
19591         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
19592         * math/libm-test.inc (ceil_test_data): Do not allow spurious
19593         "inexact" exceptions.
19595 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
19597         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
19598         __libc_vfork.
19599         (__vfork) [IS_IN (libc)]: Remove alias.
19600         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
19601         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19602         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19604 2016-06-24  Torvald Riegel  <triegel@redhat.com>
19606         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
19607         of atomic_compare_and_exchange_bool_rel.
19608         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19609         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
19610         catomic_compare_and_exchange_bool_rel): Remove.
19611         * sysdeps/aarch64/atomic-machine.h
19612         (atomic_compare_and_exchange_bool_rel): Likewise.
19613         * sysdeps/alpha/atomic-machine.h
19614         (atomic_compare_and_exchange_bool_rel): Likewise.
19615         * sysdeps/arm/atomic-machine.h
19616         (atomic_compare_and_exchange_bool_rel): Likewise.
19617         * sysdeps/mips/atomic-machine.h
19618         (atomic_compare_and_exchange_bool_rel): Likewise.
19619         * sysdeps/microblaze/atomic-machine.h
19620         ( __arch_compare_and_exchange_bool_8_rel,
19621         __arch_compare_and_exchange_bool_16_rel): Likewise.
19622         * sysdeps/powerpc/atomic-machine.h
19623         ( __arch_compare_and_exchange_bool_8_rel,
19624         __arch_compare_and_exchange_bool_16_rel): Likewise.
19625         * sysdeps/powerpc/powerpc32/atomic-machine.h
19626         ( __arch_compare_and_exchange_bool_32_rel,
19627         __arch_compare_and_exchange_bool_64_rel): Likewise.
19628         * sysdeps/powerpc/powerpc64/atomic-machine.h
19629         ( __arch_compare_and_exchange_bool_32_rel,
19630         __arch_compare_and_exchange_bool_64_rel): Likewise.
19631         * sysdeps/tile/atomic-machine.h
19632         (atomic_compare_and_exchange_bool_rel): Likewise.
19634 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
19636         [BZ #20296]
19637         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
19638         when either argument is a NaN.
19639         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19640         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
19642         * math/libm-test.inc (snan_value_ld): New macro.
19643         (isgreater_test_data): Add sNaN tests.
19644         (isgreaterequal_test_data): Likewise.
19645         (isless_test_data): Likewise.
19646         (islessequal_test_data): Likewise.
19647         (islessgreater_test_data): Likewise.
19648         (isunordered_test_data): Likewise.
19649         (nextafter_test_data): Likewise.
19650         (nexttoward_test_data): Likewise.
19651         (remainder_test_data): Likewise.
19652         (remquo_test_data): Likewise.
19653         (significand_test_data): Likewise.
19654         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
19656 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
19658         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
19659         environment macros are defined.
19660         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
19662 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19664         [BZ #20191]
19665         Implement vtable verification in libio.
19666         * Makerules (shlib.lds): Place __libc_IO_vtables section.
19667         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
19668         * debug/vdprintf_chk.c (__vdprintf_chk): Call
19669         _IO_new_file_init_internal instead of _IO_file_init.
19670         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
19671         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
19672         * libio/Makefile (routines): Add vtables.
19673         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
19674         (_IO_init): Remove, not for internal use.
19675         (_IO_init_internal): Declare, internal replacement for _IO_init.
19676         (_IO_file_init): Remove, not for internal use.
19677         (_IO_new_file_init): Remove, not for internal use.
19678         (_IO_new_file_init_internal): Declare, internal replacement for
19679         _IO_new_file_init.
19680         (_IO_old_file_init): Remove, not for internal use.
19681         (_IO_old_file_init_internal): Declare, internal replacement for
19682         _IO_old_file_init.
19683         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
19684         internal use.
19685         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
19686         Declare.
19687         (libio_vtable): New macro.
19688         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
19689         functions.
19690         * libio/fileops.c (_IO_new_file_init_internal): Rename from
19691         _IO_new_file_init.
19692         (_IO_new_file_init): New externally visible wrapper which disables
19693         vtable verification.
19694         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
19695         Define as vtables.
19696         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
19697         (_IO_init): New externally visible wrapper which disables
19698         vtable verification.
19699         * libio/iofdopen.c (_IO_new_fdopen): Call
19700         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
19701         comment.
19702         * libio/iofopen.c (__fopen_internal): Call
19703         _IO_new_file_init_internal instead of _IO_file_init.
19704         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
19705         Define as vtables.
19706         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
19707         _IO_new_file_init_internal instead of _IO_file_init.
19708         * libio/iopopen.c (_IO_new_popen): Likewise.
19709         (_IO_proc_jumps): Define as vtable.
19710         * libio/iovdprintf.c (_IO_vdprintf): Call
19711         _IO_new_file_init_internal instead of _IO_file_init.
19712         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
19713         (__open_memstream): Call _IO_init_internal instead of _IO_init.
19714         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
19715         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
19716         _IO_old_file_init.
19717         (_IO_old_file_init): New externally visible wrapper which disables
19718         vtable verification.
19719         (_IO_old_file_jumps): Define as vtable.
19720         * libio/oldiofdopen.c (_IO_old_fdopen): Call
19721         _IO_old_file_init_internal instead of _IO_old_file_init.
19722         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19723         * libio/oldiopopen.c (_IO_old_popen): Likewise.
19724         (_IO_old_proc_jumps): Define as vtable.
19725         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
19726         Define as vtables.
19727         * libio/vtables.c: New file.
19728         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
19729         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
19730         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
19731         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
19732         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
19733         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
19734         instead of _IO_init.
19736 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19738         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
19740 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19742         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
19743         potentially unused.
19745 2016-06-22  Florian Weimer  <fweimer@redhat.com>
19747         * test-skeleton.c (write_message): New function.
19748         * malloc/tst-mallocfork2.c (write_message): Remove.
19749         * debug/tst-longjmp_chk2.c (write_indented): New function.
19750         (write_message): Remove.
19751         (stackoverflow_handler): Call write_indented.
19753 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
19755         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
19756         "inexact" exceptions after fnstenv.
19757         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19758         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19759         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19761 2015-06-22  Zack Weinberg  <zackw@panix.com>
19763         * sysdeps/generic/bits/hwcap.h: Moved to ...
19764         * bits/hwcap.h: Here.
19766 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
19768         * sysdeps/aarch64/memcpy.S (memcpy):
19769         Further tuning for performance.
19771 2016-06-21  Florian Weimer  <fweimer@redhat.com>
19773         [BZ #20284]
19774         * malloc/arena.c (reused_arena): Do not return NULL if we start
19775         out with a non-corrupted arena.
19777 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19779         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
19780         * misc/tst-preadvwritev.c: New file.
19781         * misc/tst-preadvwritev64.c: Likewise.
19782         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
19783         usage.
19784         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
19785         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
19786         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
19787         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
19789 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
19791         [BZ #19654]
19792         * sysdeps/x86_64/fpu/Makefile: Added new tests.
19793         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
19794         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
19795         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
19796         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
19797         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
19798         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
19799         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
19800         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
19801         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
19802         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
19803         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
19804         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
19805         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
19806         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
19807         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
19808         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
19809         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
19810         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
19811         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
19812         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
19813         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
19814         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
19815         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
19816         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
19817         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
19819 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
19821         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
19822         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
19824 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
19826         * sysdeps/aarch64/memcpy.S (memcpy):
19827         Rewrite of optimized memcpy and memmove.
19828         * sysdeps/aarch64/memmove.S (memmove): Remove
19829         memmove code (merged into memcpy.S).
19831 2016-06-20  Florian Weimer  <fweimer@redhat.com>
19833         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
19834         * sysdeps/generic/dl-dtv.h: New file.
19835         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19836         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
19837         (dtv_t): Remove.
19838         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19839         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
19840         (dtv_t): Remove.
19841         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19842         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
19843         (dtv_t): Remove.
19844         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19845         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
19846         (dtv_t): Remove.
19847         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19848         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
19849         (dtv_t): Remove.
19850         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19851         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
19852         (dtv_t): Remove.
19853         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19854         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
19855         (dtv_t): Remove.
19856         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
19857         (dtv_t): Remove.
19858         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19859         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
19860         (dtv_t): Remove.
19861         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19862         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
19863         (dtv_t): Remove.
19864         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19865         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
19866         (dtv_t): Remove.
19867         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19868         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
19869         (dtv_t): Remove.
19870         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19871         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
19872         (dtv_t): Remove.
19873         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19874         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
19875         (dtv_t): Remove.
19876         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19877         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
19878         (dtv_t): Remove.
19879         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19880         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
19881         (dtv_t): Remove.
19883 2016-06-20  Florian Weimer  <fweimer@redhat.com>
19885         Revert symbol poisoning of  __malloc_initialize_hook.
19886         * include/stdc-predef.h (__malloc_initialize_hook): Remove
19887         poisoning.
19888         * malloc/Makefile: Remove un-poisoning.
19889         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
19890         instead of old__malloc_initialize_hook.
19891         * malloc/malloc-hooks.h: Likewise.
19892         * malloc/malloc.c: Likewise.
19893         * malloc/mcheck-init.c: Likewise.
19895 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
19897         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
19899 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
19901         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
19902         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
19903         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19904         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19906 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19908         * NEWS: Mention addition of nextup and nextdown.
19909         * manual/arith.texi: Document nextup and nextdown.
19910         * manual/libm-err-tab.pl: Add nextup and nextdown.
19911         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
19912         * math/Versions (libm): Add GLIBC_2.24.
19913         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
19914         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19915         Add new test.
19916         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
19917         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
19918         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
19919         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
19920         (nextup_test_data): Likewise.
19921         (nextdown_test_data): Likewise.
19922         * math/s_nextdown.c: New file.
19923         * math/s_nextdownf.c: Likewise.
19924         * math/s_nextdownl.c: Likewise.
19925         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
19926         F(nextup): New function.
19927         F(nextdown): Likewise.
19928         * math/tgmath.h: Add nextup and nextdown.
19929         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
19930         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
19931         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
19932         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
19933         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
19934         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
19935         Add nextup and nextdown.
19936         (CFLAGS-nldbl-nextup.c): New variable.
19937         (CFLAGS-nldbl-nextdown.c): Likewise.
19938         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
19939         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
19940         * sysdeps/nacl/libm.abilist: Update.
19941         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19942         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19943         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19944         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19945         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19946         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19947         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19948         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19949         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19950         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19951         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19952         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19955         Likewise.
19956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19958         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19959         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19960         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19961         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19962         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
19964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
19965         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19966         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19967         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
19968         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19970 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19972         * manual/pattern.texi: Fix typos & grammar errors.
19974 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19976         * manual/search.texi: Fix typos & grammar errors.
19978 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19980         * manual/message.texi: Fix typos & grammar errors.
19982 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
19984         * manual/contrib.texi: Fix spelling typos.
19985         * manual/crypt.texi: Likewise.
19986         * manual/filesys.texi: Likewise.
19987         * manual/locale.texi: Likewise.
19988         * manual/message.texi: Likewise.
19989         * manual/nss.texi: Likewise.
19990         * manual/string.texi: Likewise.
19992 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19994         * manual/locale.texi: Fix typos & grammar errors.
19996 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19998         * manual/charset.texi: Fix typos & grammar errors.
20000 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20002         * manual/string.texi: Fix typos.
20004 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20006         * manual/ctype.texi: Fix typos.
20008 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20010         * manual/memory.texi: Fix various typos & grammar errors.
20012 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
20014         [BZ #20255]
20015         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
20016         * math/libm-test.inc (fdim_test_data): Add another test.
20018         [BZ #6796]
20019         [BZ #20255]
20020         [BZ #20256]
20021         * math/s_fdim.c: Include <math_private.h>.
20022         (__fdim): Use math_narrow_eval on result.
20023         * math/s_fdimf.c: Include <math_private.h>.
20024         (__fdimf): Use math_narrow_eval on result.
20025         * sysdeps/i386/fpu/s_fdim.S: Remove file.
20026         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
20027         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
20028         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
20029         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
20030         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
20031         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
20032         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
20033         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
20034         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
20035         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
20036         * math/libm-test.inc (fdim_test_data): Expect errno setting on
20037         overflow.  Add sNaN tests.
20039         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
20040         fpclassify.
20041         * math/s_fdimf.c (__fdimf): Likewise.
20042         * math/s_fdiml.c (__fdiml): Likewise.
20044 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20046         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20047         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
20048         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20049         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
20050         ifunc'ed strcasecmp/strncasecmp.
20051         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
20052         [EALIGN]: Removed.
20053         [END]: Likewise.
20054         [__strcasecmp]: Define instead of the above to control symbol name.
20055         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
20056         for __strcasecmp_power8.
20057         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
20058         for __strncasecmp_power8.
20059         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
20060         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
20061         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
20062         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
20063         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
20064         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
20066 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
20068         [BZ #20252]
20069         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
20070         arguments when second argument is a NaN.
20071         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
20072         qNaN tests.
20074         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
20075         (conj_test_data): Likewise.
20076         (copysign_test_data): Likewise.
20077         (creal_test_data): Likewise.
20078         (fma_test_data): Likewise.
20079         (fmod_test_data): Likewise.
20081         [BZ #20250]
20082         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
20083         itself.
20084         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
20085         zero input to itself.
20086         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
20087         Likewise.
20088         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
20089         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
20090         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20091         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
20092         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
20094 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20096         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
20097         * nptl/tst-cancel4-common.c: New file.
20098         * nptl/tst-cancel4-common.h: Likewise.
20099         * nptl/tst-cancel4.c: Move common definitions to
20100         tst-cancel4-common.{c,h} file.
20101         * nptl/tst-cancel4_1.c: New test.
20102         * nptl/tst-cancel4_2.c: New test.
20104 2016-06-13  Florian Weimer  <fweimer@redhat.com>
20106         [BZ #20248]
20107         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
20108         (write_message): New function.
20109         (stackoverflow_handler): Call it instead of printf, to avoid
20110         excessive stack usage by printf.
20111         (do_test): Restore SIGSEGV, SIGBUS default handlers.
20113 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20115         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
20116         (prio_inherit_missing): Remove define.
20117         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20118         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20119         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
20120         Likewise.
20121         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20122         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20123         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20124         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20125         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20126         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20128 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20130         [BZ #19670]
20131         [BZ #19672]
20133         * io/test-lfs.c (do_prepare): Use xmalloc.
20134         * io/tst-fcntl.c (do_prepare): Likewise.
20135         * libio/tst-fopenloc.c (do_bz17916): Likewise.
20136         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
20137         * login/tst-utmp.c (do_prepare): Likewise.
20138         * posix/tst-exec.c (do_prepare): Likewise.
20139         * posix/tst-pathconf.c (prepare): Likewise.
20140         * posix/tst-spawn.c (do_prepare): Likewise.
20141         * posix/tst-truncate.c (do_prepare): Likewise.
20142         * rt/tst-aio.c (do_prepare): Likewise.
20143         * rt/tst-aio64.c (do_prepare): Likewise.
20145 2016-06-11  Florian Weimer  <fweimer@redhat.com>
20147         [BZ #20237]
20148         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
20149         (get*ent): Set entidx to NULL during initialization.  If entidx is
20150         NULL, start iteration from the beginning.
20152 2016-06-11  Florian Weimer  <fweimer@redhat.com>
20154         * malloc/malloc.c (musable): Return correct size for dumped fake
20155         mmapped chunk.
20157 2016-06-11  Florian Weimer  <fweimer@redhat.com>
20159         [BZ #20222]
20160         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
20161         (_IO_cookie_write): Likewise.
20162         (_IO_cookie_seek): Likewise.
20163         (_IO_cookie_close): Likewise.
20164         (_IO_old_cookie_seek): Likewise.
20165         (set_callbacks): New function.
20166         (_IO_cookie_init): Call set_callbacks to copy callbacks.
20168 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
20170         * locale/programs/localedef.c (oldstyle_tables): Remove.
20171         * locale/programs/localedef.h (oldstyle_tables): Likewise.
20173 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
20175         [BZ #20240]
20176         * math/Makefile (CFLAGS-s_modf.c): New variable.
20177         (CFLAGS-s_modff.c): Likewise.
20178         (CFLAGS-s_modfl.c): Likewise.
20179         * math/libm-test.inc (modf_test_data): Add sNaN tests.
20181 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
20183         [BZ #20215]
20184         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
20185         [!__GNUC_PREREQ (3,2)]: Likewise.
20187 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
20189         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
20190         (msghdr.msg_controllen): Likewise.
20191         (cmsghdr.cmsg_len): Likewise.
20192         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
20193         ptw-oldsendmsg.
20194         (CFLAGS-oldrecvmsg.c): Remove rule.
20195         (CFLAGS-oldsendmsg.c): Likewise.
20196         (CFLAGS-recvmsg.c): Add rule.
20197         (CFLAGS-sendmsg.c): Likewise.
20198         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
20199         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
20200         (CFLAGS-recvmsg.c): Remove rule.
20201         (CFLAGS-sendmsg.c): Likewise.
20202         (CFLAGS-oldrecvmsg.c): Likewise.
20203         (CFLAGS-oldsendmsg.c): Likewise.
20204         (CFLAGS-recvmmsg.c): Likewise.
20205         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
20206         to kernel defined interfaces.
20207         (msghdr.msg_controllen): Likewise.
20208         (cmsghdr.cmsg_len): Likewise.
20209         (msghdr.__glibc_reserved1): Remove member.
20210         (msghdr.__glibc_reserved2): Likewise.
20211         (cmsghdr.__glibc_reserved1): Likewise.
20212         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
20213         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
20214         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20215         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
20216         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
20217         version.
20218         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20219         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
20220         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20221         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
20222         Remove recvmsg and sendmsg.
20223         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
20224         Likewise.
20225         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20226         Likewise.
20227         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20228         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20229         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20230         Likewise.
20231         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20232         Likewise.
20233         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
20234         [libc] (GLIBC_2.24): Likewise.
20235         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20236         Likewise.
20237         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20238         Likewise.
20239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20240         [libc] (GLIBC_2.24): Likewise.
20241         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20242         Likewise.
20243         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
20244         Likewise.
20245         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
20246         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20247         Likewise.
20248         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20249         Likewise.
20250         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20251         Likewise.
20252         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
20253         Likewise.
20254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
20255         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
20256         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
20257         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
20258         version for {recv,send,recm,sendm}msg.
20259         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20260         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20261         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20262         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20263         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20264         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20265         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20266         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20267         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20268         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20269         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20270         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20272         Likewise.
20273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20274         Likewise.
20275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20277         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20278         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20279         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20280         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20281         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20282         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20285         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20286         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20287         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20289 2016-06-10  Florian Weimer  <fweimer@redhat.com>
20291         [BZ #19564]
20292         Remove __malloc_initialize_hook from the API.
20293         * malloc/malloc.h (__malloc_initialize_hook): Remove.
20294         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
20295         #pragma GCC poison.
20296         * malloc/malloc-hooks.h: New file.
20297         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
20298         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
20299         (old__malloc_initialize_hook): Rename from
20300         __malloc_initialize_hook to evade poisoning.  Turn into compat
20301         symbol.
20302         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
20303         __malloc_initialize_hook.
20304         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
20305         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
20306         * manual/memory.texi (Hooks for Malloc): Remove
20307         __malloc_initialize_hook.  Adjust hook example.
20309 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
20311         [BZ #20235]
20312         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
20313         itself.
20314         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20315         * math/libm-test.inc (log2_test_data): Add sNaN tests.
20317         [BZ #20234]
20318         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
20319         infinity or NaN input to itself.
20321         [BZ #20233]
20322         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
20323         to itself.
20325         [BZ #20232]
20326         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
20327         itself.
20329 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
20331         * sysdeps/x86_64/start.S (_start): Always indirect branch to
20332         __libc_start_main via GOT.
20334 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
20336         * sysdeps/x86_64/memcopy.h: New file.
20337         * sysdeps/x86_64/wordcopy.c: Likewise.
20339 2016-06-09  Florian Weimer  <fweimer@redhat.com>
20341         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
20342         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
20343         <cstdlib>.
20344         (optimization_barrier): New.
20345         (do_test): Use it.  Call quick_exit in the global namespace.
20346         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
20347         instead of <cstdlib>, <thread>.
20348         (optimization_barrier): New.
20349         (non_main_thread): Adjust declaration.  Call optimization_barrier.
20350         Call quick_exit in the global namespace.
20351         (do_test): Call optimization_barrier.  Use pthread_create,
20352         pthread_join instead of std::thread.
20354 2016-06-09  Andreas Schwab  <schwab@suse.de>
20356         [BZ #19755]
20357         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
20358         new entries in auto-propagate mode.
20359         * nscd/grpcache.c (cache_addgr): Likewise.
20361 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20363         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
20364         New functions.
20365         (add_temp_file): Use them.
20367 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
20369         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
20371 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
20373         [BZ #20229]
20374         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
20375         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
20376         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
20378         [BZ #20228]
20379         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
20380         itself.
20381         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20382         * math/libm-test.inc (log10_test_data): Add sNaN tests.
20384         [BZ #20227]
20385         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
20386         itself.
20387         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20388         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20389         * math/libm-test.inc (log_test_data): Add sNaN tests.
20391         [BZ #20226]
20392         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
20393         itself.
20394         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20395         * math/libm-test.inc (exp_test_data): Add sNaN tests.
20396         (exp10_test_data): Likewise.
20397         (expm1_test_data): Likewise.
20399         [BZ #20225]
20400         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
20401         itself.
20402         * math/s_ldexpf.c (__ldexpf): Likewise.
20403         * math/s_ldexpl.c (__ldexpl): Likewise.
20404         * math/w_scalbln.c (__w_scalbln): Likewise.
20405         * math/w_scalblnf.c (__w_scalblnf): Likewise.
20406         * math/w_scalblnl.c (__w_scalblnl): Likewise.
20407         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
20408         (scalbln_test_data): Likewise.
20410         [BZ #20224]
20411         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
20412         argument to itself.
20413         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
20415 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
20417         [BZ #19776]
20418         * sysdeps/x86_64/memcpy.S: Make it dummy.
20419         * sysdeps/x86_64/mempcpy.S: Likewise.
20420         * sysdeps/x86_64/memmove.S: New file.
20421         * sysdeps/x86_64/memmove_chk.S: Likewise.
20422         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
20423         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
20424         * sysdeps/x86_64/memmove.c: Removed.
20425         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20426         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20427         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
20428         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20429         Likewise.
20430         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20431         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20432         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20433         memcpy-sse2-unaligned, memmove-avx-unaligned,
20434         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
20435         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20436         (__libc_ifunc_impl_list): Replace
20437         __memmove_chk_avx512_unaligned_2 with
20438         __memmove_chk_avx512_unaligned.  Remove
20439         __memmove_chk_avx_unaligned_2.  Replace
20440         __memmove_chk_sse2_unaligned_2 with
20441         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
20442         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
20443         with __memmove_avx512_unaligned.  Replace
20444         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
20445         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
20446         with __memcpy_chk_avx512_unaligned.  Remove
20447         __memcpy_chk_avx_unaligned_2.  Replace
20448         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
20449         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
20450         Replace __memcpy_avx512_unaligned_2 with
20451         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
20452         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
20453         with __mempcpy_chk_avx512_unaligned.  Remove
20454         __mempcpy_chk_avx_unaligned_2.  Replace
20455         __mempcpy_chk_sse2_unaligned_2 with
20456         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
20457         Replace __mempcpy_avx512_unaligned_2 with
20458         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
20459         Replace __mempcpy_sse2_unaligned_2 with
20460         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
20461         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
20462         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
20463         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
20464         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
20465         (ENTRY): Removed.
20466         (END): Likewise.
20467         (ENTRY_CHK): Likewise.
20468         (libc_hidden_builtin_def): Likewise.
20469         Don't include ../memcpy.S.
20470         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
20471         __memcpy_chk_avx512_unaligned_erms and
20472         __memcpy_chk_avx512_unaligned.  Use
20473         __memcpy_chk_avx_unaligned_erms and
20474         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20475         Default to __memcpy_chk_sse2_unaligned.
20476         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20477         Change function suffix from unaligned_2 to unaligned.
20478         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
20479         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
20480         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
20481         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
20482         (ENTRY): Removed.
20483         (END): Likewise.
20484         (ENTRY_CHK): Likewise.
20485         (libc_hidden_builtin_def): Likewise.
20486         Don't include ../mempcpy.S.
20487         (mempcpy): New.  Add a weak alias.
20488         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
20489         __mempcpy_chk_avx512_unaligned_erms and
20490         __mempcpy_chk_avx512_unaligned.  Use
20491         __mempcpy_chk_avx_unaligned_erms and
20492         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20493         Default to __mempcpy_chk_sse2_unaligned.
20495 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
20497         [BZ #19881]
20498         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
20499         into ...
20500         * sysdeps/x86_64/memset.S: This.
20501         (__bzero): Removed.
20502         (__memset_tail): Likewise.
20503         (__memset_chk): Likewise.
20504         (memset): Likewise.
20505         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
20506         defined.
20507         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
20508         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
20509         (__memset_zero_constant_len_parameter): Check SHARED instead of
20510         PIC.
20511         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20512         memset-avx2 and memset-sse2-unaligned-erms.
20513         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20514         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
20515         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
20516         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20517         (__bzero): Enabled.
20518         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
20519         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
20520         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
20521         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
20522         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20523         (memset): Removed.
20524         (__memset_chk): Likewise.
20525         (MEMSET_SYMBOL): New.
20526         (libc_hidden_builtin_def): Replace __memset_sse2 with
20527         __memset_sse2_unaligned.
20528         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
20529         __memset_chk_sse2 and __memset_chk_avx2 with
20530         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
20531         Use __memset_chk_sse2_unaligned_erms or
20532         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
20533         __memset_chk_avx512_unaligned_erms and
20534         __memset_chk_avx512_unaligned.
20536 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20538         * math/gen-auto-libm-test.c (fp_format_desc): remove
20539         suffix member.
20540         (output_generic_value): Remove usage of suffix member,
20541         and the resulting unuse of the fp_format argument.
20542         (output_for_one_input_case): Remove unused fp_format
20543         parameter.
20545         * math/auto-libm-test-out: Regenerate.
20547         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
20548         usage with TEST_COND_ibm128.
20549         (TEST_COND_flt_32): Remove.
20550         (TEST_COND_dbl_64): Remove.
20551         (TEST_COND_ldbl_96_intel): Remove.
20552         (TEST_COND_ldbl_96_m68k): Remove.
20553         (TEST_COND_ldbl_128): Remove.
20555 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20557         * auto-libm-test-in:
20558         Replace flt-32 usage with binary32.
20559         Replace dbl-64 usage with binary64.
20560         Replace ldbl-intel-96 usage with intel96.
20561         Replace ldbl-m68k-96 usage with m68k96.
20562         Replace ldbl-128ibm usage with ibm128.
20563         Replace ldbl-128 usage with binary128.
20565         * auto-libm-test-out: Regenerate.
20567 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20569         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
20570         (parse_ulps): Dynamically generate type name matching
20571         string from all_floats.
20572         (get_ulps): Generate the ulps as an array instead.
20573         (output_ulps): Dynamically compose the type based
20574         on the number of supported formats, and print
20575         the indices as type specific helper macros.
20577         * math/libm-test.inc: Remove comment about CHOOSE.
20578         (ulp_data): Generate the type in libm-test-ulps.h.
20579         (ULP_IDX): New macro.
20580         (find_ulps): Update usage of max_ulp.
20582         * math/test-double-vlen2.h (CHOOSE): Remove.
20583         * math/test-double-vlen4.h (CHOOSE): Likewise.
20584         * math/test-double-vlen8.h (CHOOSE): Likewise.
20585         * math/test-float.c (CHOOSE): Likewise.
20586         * math/test-float-finite.c (CHOOSE): Likewise.
20587         * math/test-double.c (CHOOSE): Likewise.
20588         * math/test-double-finite.c (CHOOSE): Likewise.
20589         * math/test-idouble.c (CHOOSE): Likewise.
20590         * math/test-ifloat.c (CHOOSE): Likewise.
20591         * math/test-ildoubl.c (CHOOSE): Likewise.
20592         * math/test-ldouble-finite.c (CHOOSE): Likewise.
20593         * math/test-ldouble.c (CHOOSE): Likewise.
20595         * math/test-float.h (TEST_FLOAT): Remove.
20596         * math/test-double.h (TEST_DOUBLE): Likewise.
20597         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
20599 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20601         * math/gen-libm-test.pl: (apply_lit): New subroutine.
20602         (parse_args): Strip C suffix from floating point literals
20603         typed with 'f' and wrap them with LIT().
20605         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
20606         (test_ff_f_data_nexttoward): Rename to
20607         (test_fj_f_data): New struct.
20608         (nexttoward_test_data): Relabel tests as
20609         TEST_fj_f instead of TEST_ff_f.
20611 2016-06-08  Florian Weimer  <fweimer@redhat.com>
20613         Emacs bug 23726.
20614         * malloc/malloc.c (dumped_main_arena_start): Update comment.
20615         (__libc_realloc): Correct size computation for dumped fake mmapped
20616         chunks.
20618 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
20620         [BZ #20219]
20621         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
20622         to itself.
20623         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
20625         [BZ #20218]
20626         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
20627         to itself.
20628         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
20630 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
20632         [BZ #20195]
20633         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
20634         check to ...
20635         (init_cpu_features): Here.
20637 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
20639         [BZ #20214]
20640         * sysdeps/unix/sysv/linux/bits/in.h
20641         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20642          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
20643         Define to 1.
20644         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20645          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
20646         Define to 0.
20647         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
20648         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
20650 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
20652         [BZ #20198]
20653         * stdlib/Makefile (tests): Add tst-quick_exit, and
20654         tst-thread-quick_exit.
20655         [ifeq ($(have-cxx-thread_local),yes)]
20656         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
20657         (CFLAGS-tst-thread-quick_exit.o): Likewise.
20658         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
20659         (LDLIBS-tst-thread-quick_exit): Likewise.
20660         [ifneq ($(have-cxx-thread_local),yes)]
20661         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
20662         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
20663         If run_dtors is true call __call_tls_dtors.
20664         (exit): Call __run_exit_handlers with run_dtors set to true.
20665         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
20666         definition.
20667         * stdlib/quick_exit.c (quick_exit): Remove function.
20668         (__new_quick_exit): New function.
20669         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
20670         function.
20671         * stdlib/tst-quick_exit.cc: New file.
20672         * stdlib/tst-thread-quick_exit.cc: New file.
20673         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
20674         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
20675         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
20676         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
20677         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
20678         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
20679         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
20680         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
20681         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
20682         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
20683         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
20684         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
20685         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
20686         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
20687         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
20688         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
20690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
20691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
20692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
20693         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
20694         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
20695         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
20696         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
20697         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
20698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
20699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
20700         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
20701         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
20702         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
20704 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
20706         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
20707         a typo in comments.
20709 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
20711         [BZ #20213]
20712         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
20713         argument to itself.
20714         * math/libm-test.inc (asin_test_data): Add sNaN tests.
20716 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20718         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
20719         required flags.
20720         (CFLAGS-pwritev64.c): Likewise.
20721         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
20722         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20723         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
20724         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20725         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
20726         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
20727         syscall from auto-generation.
20728         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
20729         [WORDSIZE == 64] (pwritev64): Remove macro.
20730         [!PWRITEV] (PWRITEV): Likewise.
20731         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20732         [!PWRITEV] (PWRITE): Likewise.
20733         [!PWRITEV] (OFF_T): Likewise.
20734         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20735         (LO_HI_LONG): Remove macro.
20736         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
20737         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
20738         (PWRITEV): Remove macro.
20739         (PWRITEV_REPLACEMENTE): Likewise.
20740         (PWRITE): Likewise.
20741         (OFF_T): Likewise.
20742         (pwritev64): New function.
20743         * nptl/tst-cancel4.c (tf_writev): Add test.
20745         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
20746         required flags.
20747         (CFLAGS-preadv64.c): Likewise.
20748         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
20749         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20750         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
20751         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
20752         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
20753         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
20754         syscall from auto-generation.
20755         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
20756         [WORDSIZE == 64] (preadv64): Remove macro.
20757         [!PREADV] (PREADV): Likewise.
20758         [!PREADV] (PREADV_REPLACEMENT): Likewise.
20759         [!PREADV] (PREAD): Likewise.
20760         [!PREADV] (OFF_T): Likewise.
20761         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
20762         (LO_HI_LONG): Remove macro.
20763         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
20764         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
20765         (PREADV): Remove macro.
20766         (PREADV_REPLACEMENTE): Likewise.
20767         (PREAD): Likewise.
20768         (OFF_T): Likewise.
20769         (preadv64): New function.
20770         * nptl/tst-cancel4.c (tf_preadv): Add test.
20772 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
20774         [BZ #20212]
20775         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
20776         argument to itself.
20777         * math/libm-test.inc (acos_test_data): Add sNaN tests.
20779 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20781         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
20782         New symbol defined as libc_hidden_def.
20783         (strcasestr): Became a weak alias to __strcasestr.
20784         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
20785         according to multi-arch support.  Move __stpncpy hidden
20786         definition from here to...
20787         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
20788         symbol stpncpy.
20789         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
20790         libc_hidden_builtin_def.
20791         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
20792         memset symbol to use when multi-arch support is available.
20794 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
20796         * dlfcn/tst-rec-dlopen.c: Include string.h.
20798 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20800         * manual/install.texi: Remove mention of --without-tls
20801         * INSTALL: Regenerate.
20803 2016-06-05  Florian Weimer  <fweimer@redhat.com>
20805         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
20806         Remove.
20807         (call_function, interposed_malloc_called): New variables.
20808         (malloc): New function.
20809         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
20810         and clear call_function as needed.
20812 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
20814         * include/wchar.h (__wmemset): Use __typeof.
20816 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
20818         * include/wchar.h (__wmemset): Declare function without typeof.
20820 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
20822         [BZ #20205]
20823         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
20824         exponent when incrementing negative subnormal with low mantissa
20825         word zero.
20826         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20827         Add another test.
20829 2016-06-03  Florian Weimer  <fweimer@redhat.com>
20831         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
20832         __wmemset instead of wmemset.
20834 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
20836         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
20837         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
20838         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
20839         __USE_KERNEL_IPV6_DEFS to 0.
20840         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
20841         Update comment.
20843 2016-06-01  Florian Weimer  <fweimer@redhat.com>
20845         [BZ #19861]
20846         Do not use IFUNC resolver with potentially unrelocated symbol.
20847         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
20848         (DEFINE_FORK): Remove macro and inline definition.
20849         (fork_alias): Renamed from fork_ifunc.
20850         (__fork_alias): Renamed from __fork_ifunc.
20852 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
20854         [BZ 19653]
20855         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
20856         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
20858 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20860         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
20861         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
20862         i386-linux-gnu).
20863         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
20864         Set to no.
20865         * sysdeps/mach/hurd/configure: Refresh.
20867 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20869         [BZ #20178]
20870         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
20871         on failure instead of exit.
20873 2016-05-30  Roland McGrath  <roland@hack.frob.com>
20875         [BZ #3629]
20876         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
20877         of POSIX.1-2008.
20879 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20881         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
20882           Use PLT entry for calling _hurd_self_sigstate.
20884 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
20886         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
20887         available logical processors with SMT level type sharing L2
20888         cache for Intel processors.
20890 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
20892         [BZ #20160]
20893         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
20894         argument to itself before returning the result.
20895         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
20896         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
20897         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
20898         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20899         Likewise.
20900         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20901         Likewise.
20902         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
20903         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
20904         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20905         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20906         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
20907         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
20909         [BZ #20160]
20910         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
20911         argument to itself before returning the result.
20912         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
20913         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
20914         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
20915         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
20916         Likewise.
20917         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20918         Likewise.
20919         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
20920         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
20921         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
20922         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20923         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
20924         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
20926 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20928         * libm-test.inc: Replace usage of M_El with
20929         (lit_e): New macro.
20931 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20933         * libm-test.inc: Replace usage of M_PI_4l with
20934         (lit_pi_4_d): New macro.
20936 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20938         * libm-test.inc: Replace usage of M_PIl with
20939         (lit_pi): New macro.
20941 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20943         * libm-test.inc: Replace usage of M_PI2l with
20944         (lit_pi_2_d): New macro.
20946         * math/test-double.h (LITM): New macro.
20947         * math/test-float.h (LITM): Likewise.
20948         * math/test-ldouble.h (LITM): Likewise.
20950 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20952         * libm-test.inc (M_PI_34l): Rename to
20953         (lit_pi_3_m_4_d): New Macro.
20954         (M_PI_34_LOG10El): Rename to
20955         (lit_pi_3_m_4_ln10_m_d): New Macro.
20956         (M_PI2_LOG10El): Rename to
20957         (lit_pi_2_ln10_m_d):  New Macro.
20958         (M_PI4_LOG10El): Rename to
20959         (lit_pi_4_ln10_m_d):  New Macro.
20960         (M_PI_LOG10El): Rename to
20961         (lit_pi_ln10_d):  New Macro.
20963 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
20965         [BZ #20157]
20966         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
20967         determine whether to negate low half if [_ARCH_PPCGR], and integer
20968         comparison otherwise.
20969         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
20970         determine whether to negate low half.
20972         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
20973         (NO_TEST_INLINE_DOUBLE): Likewise.
20974         (TEST_COND_x86_64): Likewise.
20975         (TEST_COND_x86): Likewise.
20976         (M_PI_6l): Likewise.
20978 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20980         * math/libm-test.inc:
20981         (TEST_FLOAT): Change usage to TEST_COND_binary32.
20982         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
20983         (TEST_LDOUBLE): Update usage to evaluate as true if
20984         the guarded tests match the property being tested.
20985         (LDBL_MAX_EXP): Change to MAX_EXP.
20986         (LDBL_MIN_EXP): Change to MIN_EXP.
20987         (LDBL_MANT_DIG): Change to MANT_DIG, except for
20988         nexttoward tests.
20990 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20992         * math/libm-test.inc:
20993         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
20994         (TYPE_MIN): Likewise.
20995         (TYPE_TRUE_MIN): Likewise.
20996         (TYPE_MAX): Likewise.
20997         (MIN_EXP): Likewise.
20998         (MAX_EXP): Likewise.
20999         (MANT_DIG): Likewise.
21001         (FSTR_MAX): New macro.
21002         (__CONCATX): Likewise.
21003         (QTYPE_STR): Likewise.
21004         (TEST_COND_binary32): Likewise.
21005         (TEST_COND_binary64): Likewise.
21006         (TEST_COND_binary128): Likewise.
21007         (TEST_COND_ibm128): Likewise.
21008         (TEST_COND_intel96): Likewise.
21009         (TEST_COND_m68k96): Likewise.
21011         (TEST_COND_flt_32): Redefine as equivalent format test macro.
21012         (TEST_COND_dbl_64): Likewise.
21013         (TEST_COND_ldbl_96_intel): Likewise.
21014         (TEST_COND_ldbl_96_m68k): Likewise.
21015         (TEST_COND_ldbl_128): Likewise.
21016         (TEST_COND_ldbl_128ibm): Likewise.
21018         (plus_zero): Redefine using LIT macro.
21019         (minus_zero): Likewise.
21020         (plus_infty): Redefine as (INF).
21021         (minux_infty): Redefine as (-INF).
21022         (max_value): Redefine as TYPE_MAX.
21023         (min_value): Redefine as TYPE_MIN.
21024         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
21026         (print_float): Refactor to use snprintf to convert FLOAT values
21027         to string. This brings it closer to dropin replacement of strtof
21028         for the TS 18661 defined types.
21029         (update_stats): Likewise.
21030         (print_complex_function_ulps): Likewise.
21031         (print_max_error): Likewise.
21032         (print_complex_max_error): Likewise.
21033         (check_float_internal): Likewise.
21035         * math/test-float.h (PREFIX): New macro.
21036         (LIT): Likewise.
21037         (TYPE_STR): Likewise.
21038         (FTOSTR): Likewise.
21040         * math/test-double.h (PREFIX): New macro.
21041         (LIT): Likewise.
21042         (TYPE_STR): Likewise.
21043         (FTOSTR): Likewise.
21045         * math/test-ldouble.h (PREFIX): New macro.
21046         (LIT): Likewise.
21047         (TYPE_STR): Likewise.
21048         (FTOSTR): Likewise.
21050 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
21052         [BZ #20156]
21053         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
21054         to itself when zero or not finite.
21055         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
21056         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21057         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
21058         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
21060 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
21062         [BZ #20153]
21063         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
21064         x * x + x for infinities and NaNs.
21066         [BZ #20151]
21067         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
21068         argument to itself before returning result.
21069         (__ieee754_y0l): Likewise.
21070         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21071         (__ieee754_y1l).
21073         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
21074         (atan_test_data): Likewise.
21075         (ceil_test_data): Likewise.
21076         (cos_test_data): Likewise.
21077         (cosh_test_data): Likewise.
21078         (erf_test_data): Likewise.
21079         (exp2_test_data): Likewise.
21080         (fabs_test_data): Likewise.
21081         (floor_test_data): Likewise.
21082         (ilogb_test_data): Likewise.
21083         (j0_test_data): Likewise.
21084         (j1_test_data): Likewise.
21085         (jn_test_data): Likewise.
21086         (lgamma_test_data): Likewise.
21087         (lrint_test_data): Likewise.
21088         (llrint_test_data): Likewise.
21089         (logb_test_data): Likewise.
21090         (lround_test_data): Likewise.
21091         (llround_test_data): Likewise.
21092         (nearbyint_test_data): Likewise.
21093         (rint_test_data): Likewise.
21094         (round_test_data): Likewise.
21095         (sin_test_data): Likewise.
21096         (sincos_test_data): Likewise.
21097         (sinh_test_data): Likewise.
21098         (sqrt_test_data): Likewise.
21099         (tan_test_data): Likewise.
21100         (tanh_test_data): Likewise.
21101         (tgamma_test_data): Likewise.
21102         (trunc_test_data): Likewise.
21103         (y0_test_data): Likewise.
21104         (y1_test_data): Likewise.
21105         (yn_test_data): Likewise.
21107         * math/libm-test.inc: Update comment about NaN testing.
21108         (TEST_SNAN): New macro.
21109         (snan_value): Likewise.
21110         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
21111         (fpclassify_test_data): Add sNaN tests.
21112         (isfinite_test_data): Likewise.
21113         (isinf_test_data): Likewise.
21114         (isnan_test_data): Likewise.
21115         (isnormal_test_data): Likewise.
21116         (issignaling_test_data): Likewise.
21117         (signbit_test_data): Likewise.
21118         * math/gen-libm-test.pl (%beautify): Add snan_value.
21119         (show_exceptions): Add argument $test_snan.
21120         (parse_args): Handle snan_value as non-finite.  Update call to
21121         show_exceptions.
21122         * math/Makefile (libm-test-no-inline-cflags): Add
21123         -fsignaling-nans.
21125 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21127         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
21128         (CFLAGS-oldsendmsg.c): Add rule.
21129         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
21130         Correct recvmsg symbol name.
21131         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
21132         Likewise.
21134 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21136         * sysdeps/unix/sysv/linux/Makefile
21137         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
21138         oldsendmmsg.
21139         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
21140         sendmmsg.
21141         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21142         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21143         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21144         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21146         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21147         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21149         Likewise.
21150         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21151         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
21152         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
21153         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
21154         iovlen and controllen fields to adjust to POSIX specification.
21155         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21157         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
21158         and change to correct expected type.
21159         (msghdr.msg_controllen): Likewise.
21160         (cmsghdr.cmsg_len): Likewise.
21161         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
21162         expected POSIX assumption about the size.
21163         (msghdr.msg_controllen): Likewise.
21164         (msghdr.__glibc_reserved1): Likewise.
21165         (msghdr.__glibc_reserved2): Likewise.
21166         (cmsghdr.cmsg_len): Likewise.
21167         (cmsghdr.__glibc_reserved1): Likewise.
21168         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
21169         Add ptw-oldrecvmsg and ptw-oldsendmsg.
21170         (CFLAGS-sendmsg.c): Remove rule.
21171         (CFLAGS-recvmsg.c): Likewise.
21172         (CFLAGS-oldsendmsg.c): Add rule.
21173         (CFLAGS-oldrecvmsg.c): Likewise.
21174         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
21175         recvmsg and sendmsg.
21176         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
21177         Likewise.
21178         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
21179         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
21180         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
21181         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
21182         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
21183         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
21184         Likewise.
21185         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
21186         Likewise.
21187         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
21188         Likewise.
21189         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
21190         Likewise.
21191         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
21192         Likewise.
21193         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
21194         Likewise.
21195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
21196         (GLIBC_2.24): Likewise.
21197         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
21198         Likewise.
21199         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
21200         Likewise.
21201         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
21202         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
21203         Likewise.
21204         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
21205         Likewise.
21206         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
21207         Likewise.
21208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
21209         (GLIBC_2.24): Likewise.
21210         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
21211         Likewise.
21212         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
21213         Likewise.
21214         * sysdeps/unix/sysv/linux/Makefile
21215         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
21216         (CFLAGS-sendmsg.c): Add rule.
21217         (CFLAGS-recvmsg.c): Likewise.
21218         (CFLAGS-oldsendmsg.c): Likewise.
21219         (CFLAGS-oldrecvmsg.c): Likewise.
21220         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
21221         initialization.
21222         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
21223         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
21224         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
21225         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
21226         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
21227         iovlen and controllen fields to adjust to POSIX specification.
21228         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
21229         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
21230         added recvmsg and sendmsg.
21231         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21232         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21233         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21234         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21235         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21236         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21237         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21238         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21239         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
21240         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21241         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21242         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
21243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21244         Likewise.
21245         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
21246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21247         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21248         Likewise.
21249         Likewise.
21250         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21251         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21252         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21253         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21254         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21255         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21256         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
21257         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
21259         Likewise.
21260         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21261         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21263         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
21264         from auto-generation.
21265         (sendmsg): Likewise.
21266         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
21267         (sendmsg): Likewise.
21268         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
21269         (sendmsg): Likewise.
21270         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
21271         (sendmsg): Likewise.
21272         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
21273         (sendmsg): Likewise.
21274         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
21275         (sendmsg): Likewise.
21276         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
21277         Likewise.
21278         (sendmsg): Likewise.
21279         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
21280         (sendmsg): Likewise.
21281         * sysdeps/unix/sysv/linux/i386/kernel-features.h
21282         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21283         Remove.
21284         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21285         Likewise.
21286         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21287         Undefine.
21288         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21289         Likewise.
21290         * sysdeps/unix/sysv/linux/kernel-features.h
21291         (__ASSUME_SENDMSG_SYSCALL): Define.
21292         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21293         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21294         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21295         Remove.
21296         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21297         Likewise.
21298         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21299         Undefine.
21300         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21301         Likewise.
21302         * sysdeps/unix/sysv/linux/s390/kernel-features.h
21303         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21304         Remove.
21305         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21306         Likewise.
21307         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21308         Undefine.
21309         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21310         Likewise.
21311         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21312         (__ASSUME_SENDMSG_SYSCALL): Undefine.
21313         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21314         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21315         (__ASSUME_SENDMSG_SYSCALL): Likewise.
21316         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21317         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21318         (__ASSUME_SENDMSG_SYSCALL): Likewise.
21319         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21321 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21323         * stdlib/gen-tst-strtod-round.c: Add backslash to
21324         compile command in comment.
21325         (printfp): Remove the literal suffix, and define an infinite
21326         value as INF to avoid expansion clash with INFINITY.
21327         (round_str): Remove the literal suffix.
21328         (round_for_all): Likewise, remove the now duplicate ldbl-64
21329         entry, and remove some magic constants.
21331         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
21332         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
21333         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
21334         (_CONCAT): New macro.
21335         (CONCAT): Likewise.
21336         (CHOOSE_ld): Likewise.
21337         (CHOOSE_f): Likewise.
21338         (CHOOSE_d): Likewise.
21339         (FTYPE_MEMBER): Likewise.
21340         (BOOL_MEMBER): Likewise.
21341         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
21342         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
21343         (_XNTRY): Likewise.
21344         (XNTRY): Likewise.
21345         (_ENTRY): Likewise.
21346         (ENTRY): Likewise.
21347         (test_exactness): Generate members via macro.
21348         (test_results): Likewise.
21349         (test): Update members.
21350         (TEST): Redefine using new macros.
21351         (INF): New macro.
21352         (fetestmodes): New structure.
21353         (do_test): Refactor to be type generic.
21354         (test_in_one_mode): Refactor duplicate code into
21355         (GEN_ONE_TEST): New macro.
21357         * stdlib/tst-strtod-round-data.h: Regenerate.
21359         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
21360         Extend to pass additional arbitrary parameters to
21361         generators.
21363 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
21365         [BZ #15479]
21366         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
21367         floating-point state after first floating-point operation on
21368         input.  Restore full floating-point state instead of just rounding
21369         mode.
21370         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
21371         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
21372         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
21373         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
21374         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
21376         [BZ #15479]
21377         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
21378         floating-point state after first floating-point operation on
21379         input.  Restore full floating-point state instead of just rounding
21380         mode.
21381         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
21382         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21383         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
21384         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21385         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21387 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21389         [BZ #19727]
21390         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
21391         valid high surrogate.
21392         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
21393         of an utf16 surrogate.
21394         * iconv/gconv_simple.c (BODY): Likewise.
21395         * iconvdata/bug-iconv12.c: New file.
21396         * iconvdata/Makefile (tests): Add bug-iconv12.
21398 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21400         [BZ #19726]
21401         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
21402         outptrp in case of an illegal input.
21403         * iconv/tst-iconv6.c: New file.
21404         * iconv/Makefile (tests): Add tst-iconv6.
21406 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21408         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 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/utf8-utf32-z9.c: Disable cu41 instruction and report
21414         an error in case of a value in range of an utf16 low surrogate.
21416 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21418         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
21419         Move to ...
21420         * sysdeps/s390/Makefile: ... here.
21421         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
21422         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
21423         (BRANCH_ON_COUNT): New define.
21424         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
21425         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
21426         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
21427         run on s390-32, too.
21428         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
21429         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
21430         run on s390-32, too.
21431         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
21432         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
21433         run on s390-32, too.
21435 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21437         * sysdeps/s390/s390-64/utf16-utf32-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-utf16-z9.c: Use ifunc to select c,
21443         etf3eh or new vector loop-variant.
21445 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21447         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
21448         or new vector loop-variant.
21450 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21452         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
21453         Rename to TR_LOOP and usage of tr instead of troo instruction.
21455 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21457         * sysdeps/s390/multiarch/gconv_simple.c: New File.
21458         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
21460 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21462         * sysdeps/s390/multiarch/8bit-generic.c: New File.
21463         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
21464         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
21465         New override define.
21466         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
21468 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21470         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
21471         * sysdeps/s390/configure.ac: Add test for S390 vector register
21472         support in gcc.
21473         * sysdeps/s390/configure: Regenerated.
21475 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21477         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
21478         Install file from $(objpfx)gconv-modules.
21479         ($(objpfx)gconv-modules): Concatenate architecture specific file
21480         in variable sysdeps-gconv-modules and gconv-modules in src dir.
21481         * sysdeps/s390/gconv-modules: New file.
21482         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
21483         Deleted.
21484         ($(objpfx)gconv-modules-s390): Deleted.
21485         (sysdeps-gconv-modules): New variable.
21487 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
21489         [BZ #15479]
21490         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
21491         of immediate operand to rounding instruction.
21492         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
21493         Likewise.
21494         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
21495         Likewise.
21496         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
21497         Likewise.
21499 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21501         * math/libm-test.inc (MIN_EXP): Directly define as
21502         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
21504 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21506         * math/libm-test.inc (MANT_DIG): Directly define as
21507         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
21509 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21511         * stdlib/gen-tst-strtod-round.c (main):
21512           Change usage to more closely match the generated
21513           output.  Add usage and compilation instructions.
21514           (string_to_fp): Add and use FILE* parameter as
21515           output target.
21516           (print_fp): Likewise.
21517           (round_str): Likewise.
21518           (round_for_all): Likewise.
21519         * stdlib/tst-strtod-round.c (tests): Move into
21520         * stdlib/tst-strtod-round-data.h: New file.
21522 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
21524         [BZ #15479]
21525         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
21526         (__round): Do not force "inexact" exception.
21527         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
21528         variable.
21529         (__round): Do not force "inexact" exception.
21530         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
21531         (__roundf): Do not force "inexact" exception.
21532         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
21533         (__roundl): Do not force "inexact" exception.
21534         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
21535         (__roundl): Do not force "inexact" exception.
21536         * math/libm-test.inc (round_test_data): Do not allow spurious
21537         "inexact" exceptions.
21539         [BZ #15479]
21540         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
21541         exception in comment.
21542         (huge): Remove variable.
21543         (__floor): Do not force "inexact" exception.
21544         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
21545         "inexact" exception in comment.
21546         (huge): Remove variable.
21547         (__floor): Do not force "inexact" exception.
21548         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
21549         exception in comment.
21550         (huge): Remove variable.
21551         (__floorf): Do not force "inexact" exception.
21552         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
21553         exception in comment.
21554         (huge): Remove variable.
21555         (__floorl): Do not force "inexact" exception.
21557         [BZ #15479]
21558         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
21559         exception in comment.
21560         (huge): Remove variable.
21561         (__ceil): Do not force "inexact" exception.
21562         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
21563         "inexact" exception in comment.
21564         (huge): Remove variable.
21565         (__ceil): Do not force "inexact" exception.
21566         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
21567         (__ceilf): Do not force "inexact" exception.
21568         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
21569         exception in comment.
21570         (huge): Remove variable.
21571         (__ceill): Do not force "inexact" exception.
21573 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
21575         * config.h.in (BIND_NOW): New.
21576         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
21577         * configure: Regenerated.
21578         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
21579         indirect branch via the GOT slot.
21581 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21583         [BZ #19765]
21584         * sysdeps/s390/mempcpy.S: New File.
21585         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
21586         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
21587         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21588         Add mempcpy variants.
21589         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
21590         (memcpy): Adjust to be usable from mempcpy entry point.
21591         (__memcpy_mvcle): Likewise.
21592         * sysdeps/s390/s390-64/memcpy.S: Likewise.
21593         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
21594         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
21595         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
21596         (__memcpy_z10): Likewise.
21597         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21599 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21601         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
21602         Remove __GI_ symbol.
21603         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
21604         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
21605         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
21606         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21607         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
21608         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
21610 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21612         * sysdeps/s390/s390-64/memcpy.S (memcpy):
21613         Use cghi instead of chi to compare 64bit value.
21615 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21617         * sysdeps/s390/s390-32/memcpy.S (memcpy):
21618         Jump to 1MB check before executing mvc-loop.
21620 2016-05-24  Florian Weimer  <fweimer@redhat.com>
21622         [BZ #6527]
21623         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
21624         unconditionally.
21625         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
21627 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21629         * stdlib/tst-strtod6.c (do_test): Use new type generic
21630         invocation of the test function.
21631         (test): Refactor into ...
21632         (TEST_STRTOD): New macro base function.
21634 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21636         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
21637         (TEST_STRTOD): New macro.
21638         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
21640 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21642         * stdlib/tst-strtod6.c (do_test): Use new type generic
21643         invocation of the test function.
21644         (test): Refactor into ...
21645         (TEST_STRTOD): New macro base function.
21647 2016-05-23  Florian Weimer  <fweimer@redhat.com>
21649         CVE-2016-4429
21650         [BZ #20112]
21651         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
21652         payload.
21654 2016-05-23  Florian Weimer  <fweimer@redhat.com>
21656         [BZ #20111]
21657         * bits/sockaddr.h (_SS_SIZE): Define.
21658         * bits/socket.h (_SS_SIZE): Remove.
21659         (_SS_PADSIZE): Adjust to account for all padding.
21660         (struct sockaddr_storage): Update comment.  Avoid implicit
21661         padding.
21662         * sysdeps/mach/hurd/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/bsd/bits/sockaddr.h (_SS_SIZE): Define.
21667         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
21668         (_SS_PADSIZE): Adjust to account for all padding.
21669         (struct sockaddr_storage): Update comment.  Avoid implicit
21670         padding.
21671         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
21672         __SS_SIZE is 126 in this version.
21673         * inet/tst-sockaddr.c: New file.
21674         * inet/Makefile (tests): Add tst-sockaddr.c
21675         (tst-sockaddr.c): Compile with non-strict aliasing.
21677 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
21679         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
21680         [XPG3 || XPG4].
21681         (NL_ARGMAX): Also expect for [XPG3].
21682         (NL_LANGMAX): Likewise.
21683         (NL_MSGMAX): Likewise.
21684         (NL_NMAX): Likewise.
21685         (NL_SETMAX): Likewise.
21686         (NL_TEXTMAX): Likewise.
21687         (NZERO): Likewise.
21688         (TMP_MAX): Likewise.
21689         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
21690         variable.
21692         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
21693         (PF_MAX): Update value.
21694         (AF_KCM): New macro.
21695         (SOL_NETBEUI): Likewise.
21696         (SOL_LLC): Likewise.
21697         (SOL_DCCP): Likewise.
21698         (SOL_NETLINK): Likewise.
21699         (SOL_TIPC): Likewise.
21700         (SOL_RXRPC): Likewise.
21701         (SOL_PPPOL2TP): Likewise.
21702         (SOL_BLUETOOTH): Likewise.
21703         (SOL_PNPIPE): Likewise.
21704         (SOL_RDS): Likewise.
21705         (SOL_IUCV): Likewise.
21706         (SOL_CAIF): Likewise.
21707         (SOL_ALG): Likewise.
21708         (SOL_NFC): Likewise.
21709         (SOL_KCM): Likewise.
21710         (MSG_BATCH): New enum value and macro.
21712 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
21714         [BZ #18185]
21715         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
21716         sharing L2 cache to 2 for Knights Landing.
21718 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
21720         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
21721         (FTW_DP): Do not expect for [XPG3 || XPG4].
21722         (FTW_SL): Do not expect for [XPG3].
21723         (FTW_SLN): Likewise.
21724         (FTW_PHYS): Likewise.
21725         (FTW_MOUNT): Likewise.
21726         (FTW_DEPTH): Likewise.
21727         (FTW_CHDIR): Likewise.
21728         (nftw): Likewise.
21729         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
21730         variable.
21732 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
21734         * manual/errno.texi: Fix various typos & grammar errors.
21736 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
21738         * manual/intro.texi: Fix duplicated typo.
21740 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
21742         [BZ #13304]
21743         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
21744         <float.h>, <math_private.h> and <stdlib.h>.
21745         (add_split): New function.
21746         (mul_split): Likewise.
21747         (ext_val): New typedef.
21748         (store_ext_val): New function.
21749         (mul_ext_val): New function.
21750         (compare): New function.
21751         (add_split_ext): New function.
21752         (__fmal): After checking for Inf, NaN and zero, compute result as
21753         an exact sum of scaled double values in round-to-nearest before
21754         adding those up and adjusting for other rounding modes.
21755         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
21756         tests of fma.
21757         * math/auto-libm-test-out: Regenerated.
21759 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21761         [BZ #20119]
21762         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
21763         processor level type mask for CPUID with EAX == 11.
21765 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21767         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
21768         logical threads if the HTT bit is 0.
21769         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
21770         (index_cpu_HTT): Likewise.
21771         (reg_HTT): Likewise.
21773 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21775         [BZ #20115]
21776         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
21777         Remove alignments on jump targets.
21779 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
21781         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
21782         (getpwent): Likewise.
21783         (setpwent): Likewise.
21784         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
21785         variable.
21787         * conform/data/search.h-data (insque): Do not expect for [XPG3].
21788         (remque): Likewise.
21789         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
21790         variable.
21792 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
21794         * math/libm-test.inc: Update comment not to refer to signs of NaNs
21795         not being tested.
21797 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21799         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21800         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
21801         call.
21802         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21803         (__condvar_cleanup1): Likewise.
21805 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21807         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
21808         New
21809         (__pthread_unwind): Renamed to ...
21810         (PTHREAD_UNWIND): This.
21811         (__pthread_enable_asynccancel): Replace
21812         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
21814 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
21816         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
21817         (CLONE_NEWCGROUP): New macro.
21819         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
21820         (Q_GETNEXTQUOTA): New macro.
21822 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21824         [BZ #19907]
21825         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
21826         buffer updated by the previous run.
21827         * string/test-memcpy.c (do_one_test): Likewise.
21828         * benchtests/bench-memmove.c (do_one_test): Add a comment.
21829         * string/test-memmove.c (do_one_test): Likewise.
21831 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
21833         [BZ #20094]
21834         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
21835         not [__USE_XOPEN].
21836         (unlockpt): Likewise.
21837         (ptsname): Likewise.
21838         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
21839         variable.
21841         [BZ #20076]
21842         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
21843         instead of [__USE_UNIX98].
21844         (S_ISSOCK): Likewise.
21845         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
21846         variable.
21848         [BZ #20074]
21849         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
21850         [__USE_POSIX].
21851         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
21852         variable.
21854         [BZ #20051]
21855         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
21856         (ttyslot): Do not declare.
21857         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
21858         (ttyslot): New prototype.
21859         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
21860         variable.
21861         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21863 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21865         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
21867 2016-05-13  Florian Weimer  <fweimer@redhat.com>
21869         Fix race condition in tst-mallocfork2, use fewer resources.
21870         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
21871         to current process group.
21872         (signal_sender): Yield in the non-sleeping case.
21874 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
21876         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
21877         (ecvt): Likewise.
21878         (fcvt): Likewise.
21879         (gcvt): Likewise.
21880         (getsubopt): Likewise.
21881         (grantpt): Likewise.
21882         (initstate): Likewise.
21883         (l64a): Likewise.
21884         (mktemp): Likewise.
21885         (mkstemp): Likewise.
21886         (ptsname): Likewise.
21887         (random): Likewise.
21888         (realpath): Likewise.
21889         (setstate): Likewise.
21890         (srandom): Likewise.
21891         (ttyslot): Likewise.
21892         (unlockpt): Likewise.
21893         (valloc): Likewise.
21895         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
21896         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
21897         variable.
21899 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21901         [BZ #20072]
21902         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
21903         init_cpu_features only if SHARED is defined.
21904         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
21906 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21908         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
21909         non-inclusive caches on Intel processors.
21911 2016-05-13  Florian Weimer  <fweimer@redhat.com>
21913         * malloc/malloc.c (dumped_main_arena_start)
21914         (dumped_main_arena_end): New variables.
21915         (DUMPED_MAIN_ARENA_CHUNK): New macro.
21916         (do_check_chunk): Skip dumped fake mmapped chunks.
21917         (munmap_chunk): Likewise.
21918         (__libc_free): Do not adjust statistics for fake mmapped chunks.
21919         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
21920         mmapped chunks.
21921         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
21922         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
21923         and dumped_main_arena_end to cover the dumped heap.
21925 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
21927         * conform/data/time.h-data (getdate_err): Do not expect for
21928         [XPG3].
21929         (getdate): Likewise.
21930         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
21931         variable.
21933         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
21934         (F_ULOCK): Likewise.
21935         (F_TEST): Likewise.
21936         (F_TLOCK): Likewise.
21937         (useconds_t): Likewise.
21938         (intptr_t): Do not expect for [XPG3] or [XPG4].
21939         (brk): Do not expect for [XPG3]
21940         (fchown): Likewise.
21941         (fchdir): Likewise.
21942         (ftruncate): Likewise.
21943         (getdtablesize): Likewise.
21944         (gethostid): Likewise.
21945         (getpagesize): Likewise.
21946         (getpgid): Likewise.
21947         (getsid): Likewise.
21948         (getwd): Likewise.
21949         (lchown): Likewise.
21950         (lockf): Likewise.
21951         (readlink): Likewise.
21952         (sbrk): Likewise.
21953         (setpgrp): Likewise.
21954         (setregid): Likewise.
21955         (setreuid): Likewise.
21956         (symlink): Likewise.
21957         (sync): Likewise.
21958         (truncate): Likewise.
21959         (ualarm): Likewise.
21960         (usleep): Likewise.
21961         (vfork): Likewise.
21962         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
21963         variable.
21965         [BZ #20054]
21966         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
21967         not [__USE_UNIX98].
21968         * conform/data/unistd.h-data (gethostname): Do not expect for
21969         [XPG3].
21971         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
21972         [!POSIX] (S_IFBLK): Likewise.
21973         [!POSIX] (S_IFCHR): Likewise.
21974         [!POSIX] (S_IFIFO): Likewise.
21975         [!POSIX] (S_IFREG): Likewise.
21976         [!POSIX] (S_IFDIR): Likewise.
21977         [!POSIX] (S_IFLNK): Likewise.
21978         [!POSIX] (S_IFSOCK): Likewise.
21979         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
21980         variable.
21981         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21983 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
21985         * sysdeps/aarch64/memset.S (__memset):
21986         Rewrite of optimized memset.
21988 2016-05-12  Florian Weimer  <fweimer@redhat.com>
21990         [BZ #19703]
21991         Partially async-signal-safe fork for single-threaded processes.
21992         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
21993         variable.  Do not acquire and reset/release malloc and libio locks
21994         in single-threaded processes.
21995         * malloc/tst-mallocfork2.c: New file.
21996         * malloc/Makefile (tests): Add it.
21998 2016-05-12  Florian Weimer  <fweimer@redhat.com>
22000         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
22001         argument.  Use scratch buffer instead of extend_alloca.
22002         (gethosts): Use scratch buffer instead of extend_alloca.
22003         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
22004         extend_alloca.
22005         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
22007 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
22009         [BZ #20055]
22010         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
22011         instead of [__USE_UNIX98].
22012         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
22013         [__USE_UNIX98].
22014         * conform/data/termios.h-data (tcgetsid): Do not expect for
22015         [XPG3].
22016         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
22017         variable.
22018         (test-xfail-XPG4/termios.h/conform): Likewise.
22020 2016-05-11  Florian Weimer  <fweimer@redhat.com>
22022         Do not use mcheck in localedef.
22023         * locale/programs/localedef.c (turn_on_mcheck)
22024         (__malloc_initialize_hook): Remove.
22026 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22028         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
22029         * sysdeps/s390/s390-64/Makefile: Likewise.
22031 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
22033         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
22034         Remove ifunc-defines.sym.
22035         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
22036         Likewise.
22037         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
22038         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
22039         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
22040         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
22041         rtld-global-offsets.sym.
22042         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
22043         * sysdeps/x86/cpu-features-offsets.sym: This.
22044         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
22045         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
22047 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
22049         [BZ #20073]
22050         * io/sys/stat.h (fchmod): Declare for
22051         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
22052         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
22053         variable.
22055         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
22056         [XPG3] (S_IFSOCK): Likewise.
22057         [XPG3] (S_ISVTX): Likewise.
22058         [XPG3] (S_ISLNK): Likewise.
22059         [XPG3] (S_ISSOCK): Likewise.
22060         [XPG3] (fchmod): Likewise.
22061         [XPG3] (lstat): Likewise.
22062         [XPG3] (mknod): Likewise.
22064         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
22065         [XPG3].  Expect type long and XFAIL for [XPG4].
22066         (st_blocks): Likewise.
22068         [BZ #20044]
22069         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
22070         (pthread_atfork): New prototype.
22071         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
22072         variable.
22074         [BZ #20043]
22075         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
22076         prototype.
22078 2016-05-10  Florian Weimer  <fweimer@redhat.com>
22080         [BZ #20017]
22081         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
22082         gmtime.
22084 2016-05-10  Florian Weimer  <fweimer@redhat.com>
22086         [BZ #19994]
22087         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
22088         flag in _res.options.
22090 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
22092         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
22093         [XPG3 || XPG4].
22094         (blksize_t): Likewise.
22095         (clockid_t): Likewise.
22096         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
22097         variable.
22098         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22100 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
22102         * sysdeps/unix/sysv/linux/s390/init-first.c:
22103         Add VDSO_SYMBOL(getcpu).
22104         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
22105         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
22106         Add VDSO_SYMBOL(getcpu).
22107         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
22108         New define HAVE_GETCPU_VSYSCALL.
22109         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22111 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
22113         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
22114         instead of <sysdeps/x86_64/cacheinfo.c>.
22115         * sysdeps/x86_64/cacheinfo.c: Moved to ...
22116         * sysdeps/x86/cacheinfo.c: Here.
22118 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22120         * malloc/malloc-internal.h: Adjust header file guard.
22122 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22124         [BZ #19787]
22125         * inet/getnameinfo.c (check_sprintf_result): New function.
22126         (CHECKED_SNPRINTF): New macro.
22127         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
22128         to the host buffer.
22129         (gni_host_local): Use checked_copy to copy the host name.
22130         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
22131         (gni_serv_local): Use checked_copy to copy the service name.
22132         (getnameinfo): Remove unnecessary truncation of result buffers.
22134 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22136         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
22137         in case of inet_ntop failure.
22139 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22141         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
22142         avoid long lines.
22143         (gni_host_inet_numeric): Likewise.  Reduce scope of local
22144         variables.
22145         (gni_host_inet, gni_host_local): Add comment.
22146         (gni_host): Add comment.  Use temporary to avoid long lines.
22148 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22150         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
22151         registers specifiers where general purpose registers specifiers should
22152         have been used.
22154 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22156         [BZ #19779]
22157         CVE-2016-1234
22158         Avoid copying names of directory entries.
22159         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
22160         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
22161         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
22162         (struct readdir_result): New type.
22163         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
22164         (GL_READDIR): New macros.
22165         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
22166         (convert_dirent, convert_dirent64): New functions.
22167         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
22168         convert_dirent64.  Adjust references to the readdir result.
22169         * sysdeps/unix/sysv/linux/i386/glob64.c:
22170         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
22171         * posix/bug-glob2.c (LONG_NAME): Define.
22172         (filesystem): Add LONG_NAME.
22173         (my_DIR): Increase the size of room_for_dirent.
22175 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
22177         [BZ #20041]
22178         * misc/sys/select.h (__need_timespec): Only define if
22179         [__USE_XOPEN2K].
22180         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
22181         variable.
22182         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22183         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22184         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22186 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22187             Segher Boessenkool  <segher@gcc.gnu.org>
22189         [BZ #20004]
22190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
22191         (__novec_swapcontext): Add missing load.
22193 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
22195         [BZ #20023]
22196         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
22197         <time.h>.
22198         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
22199         variable.
22200         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22202 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
22205         flags CLONE_VM compare.
22207 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22209         [BZ #20031]
22210         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
22211         completely empty.
22213 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22215         [BZ #19573]
22216         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
22217         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
22218         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
22219         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
22220         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
22221         (hesiod_free_list): Mark as hidden.
22222         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
22223         res_set, res_get.
22224         * hesiod/hesiod.c: Remove unnecessary forward declarations.
22225         (init, __hesiod_res_get, __hesiod_res_set): Remove.
22226         (hesiod_init): Remove obsolete res_ninit call.
22227         (hesiod_end): Do not free resolver state.  Do not invoke callback.
22228         (hesiod_bind): Do not call init.
22229         (get_txt_records): Use res_mkquery, res_send instead of
22230         res_nmkquery, res_nsend.
22231         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
22232         instead of _nss_hesiod_init.
22233         (_nss_hesiod_initgroups_dyn): Likewise.
22234         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
22235         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
22236         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
22238 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22240         * hesiod/hesiod_p.h (DEF_RHS): Remove.
22241         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
22243 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22245         * hesiod/hesiod.h: Remove RCS keyword.
22246         * hesiod/hesiod_p.h: Likewise.
22248         * hesiod/hesiod.c: Likewise.
22250 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
22252         [BZ #12450]
22253         * locale/iso-639.def: Add Samogitian/sgs.
22255 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
22257         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
22259         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
22261 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
22262             Carlos O'Donell  <carlos@redhat.com>
22264         [BZ #19072]
22265         * grp/Makefile (headers): Add grp-merge.h
22266         (routines): Add grp-merge.
22267         * grp/getgrgid_r.c: Include grp-merge.h.
22268         (DEEPCOPY_FN): Define.
22269         (MERGE_FN): Define.
22270         * grp/getgrname_r.c: Include grp-merge.h.
22271         (DEEPCOPY_FN): Define.
22272         (MERGE_FN): Define.
22273         * grp/grp-merge.c: New file.
22274         * grp/grp-merge.h: New file.
22275         * include/grp-merge.h: New file.
22276         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
22277         __copy_grp@GLIBC_PRIVATE.
22278         * manual/nss.texi (Actions in the NSS configuration): Describe
22279         return, continue, and merge.
22280         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
22281         (DEEPCOPY_FN): Define.
22282         (MERGE_FN): Define.
22283         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
22284         (DEEPCOPY_FN): Define.
22285         (MERGE_FN): Define.
22286         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
22287         [!MERGE_FN]: Define __merge_einval.
22288         (CHECK_MERGE): Define.
22289         (REENTRANT_NAME): Process merge if do_merge is true.
22290         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
22291         (__nss_getent_r): Likewise.
22292         * nss/nsswitch.c (nss_parse_service_list): Likewise.
22293         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
22295 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22297         [BZ #20012]
22298         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
22299         length to calculate the buffer to read.
22300         (fmemopen_write): Set the buffer position based on bytes written.
22301         (fmemopen_seek): Return EINVAL for invalid whence modes.
22303         [BZ #19957]
22304         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
22305         tst-getpid2.
22306         (test): Add tst-clone2.
22307         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
22308         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
22309         pid/tid fields for CLONE_VM.
22310         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
22311         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
22312         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
22313         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
22314         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22315         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22316         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22317         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22319         Likewise.
22320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22321         Likewise.
22322         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22323         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22324         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22325         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22326         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22327         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22328         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22329         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
22331 2016-04-29  Florian Weimer  <fweimer@redhat.com>
22333         [BZ #19642]
22334         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
22335         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
22336         (gni_serv_local, gni_serv): New functions extracted from
22337         getnameinfo.
22338         (getnameinfo): Call gni_host and gni_serv to perform the
22339         processing.  Always free scratch buffer.
22341 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22343         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
22344         remaining bytes in the dest string, with zeros.
22346 2016-04-29  Florian Weimer  <fweimer@redhat.com>
22348         [BZ #20010]
22349         CVE-2016-3706
22350         * sysdeps/posix/getaddrinfo.c
22351         (convert_hostent_to_gaih_addrtuple): New function.
22352         (gethosts): Call convert_hostent_to_gaih_addrtuple.
22353         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
22354         AF_INET data.
22356 2016-04-29  Florian Weimer  <fweimer@redhat.com>
22358         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
22359         callback function gl_readdir.
22360         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
22361         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
22362         (glob_in_dir): Remove len.  Use strdup instead of malloc and
22363         memcpy to copy the name.
22364         * manual/pattern.texi (Calling Glob): Document requirements for
22365         implementations of the gl_readdir callback function.
22366         * manual/examples/mkdirent.c: New example.
22367         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
22368         per the manual guidance.
22369         * posix/tst-gnuglob.c (my_readdir): Likewise.
22371 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
22373         [BZ #20014]
22374         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
22375         not [__USE_POSIX].
22376         (getchar_unlocked): Likewise.
22377         (putc_unlocked): Likewise.
22378         (putchar_unlocked): Likewise.
22379         (flockfile): Likewise.
22380         (ftrylockfile): Likewise.
22381         (funlockfile): Likewise.
22382         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
22383         variable.
22384         (test-xfail-XPG4/stdio.h/conform): Likewise.
22386         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
22387         Expect constant.
22388         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
22389         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
22390         variable.
22391         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22392         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22394         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
22395         [__USE_LARGEFILE64] (off64_t): Likewise.
22396         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
22397         variable.
22399 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22401         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
22403 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22405         * resolv/inet_addr.c: Reindent preprocessor conditionals.
22406         * resolv/res_init.c: Likewise.
22407         * resolv/res_mkquery.c: Likewise.
22409 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22411         * resolv/res_init.c (isascii): Do not define.  Use definition in
22412         <ctype.h>.
22413         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
22414         (LOG_AUTH): Remove.
22415         (SPRINTF): Remove, adjust caller.
22416         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
22418 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22420         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
22421         SUNSECURITY conditional.
22422         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
22424 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22426         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
22427         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
22428         Remove BSD-related preprocessor conditionals.
22429         * conf/portability.h: Remove.
22431 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22433         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
22434         * resolv/res_data.c: Likewise.
22436 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22438         * resolv/res_comp.c: Remove code conditional on __ultrix__.
22439         * resolv/res_data.c: Remove code conditional on ultrix.
22441 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22443         * resolv/res_init.c (RFC1535): Do not define.  Remove
22444         RFC1535 preprocessor conditionals.
22445         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
22446         because there configuration options which make the resolver
22447         behavior different.
22449 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22451         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
22452         RESOLVSORT preprocessor conditionals.
22453         * resolv/nss_dns/dns-host.c: Likewise.
22454         * resolv/res_init.c: Likewise.
22456 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22458         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
22459         is never defined.
22461 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22463         * inet/inet_lnaof.c: Remove SCSS keyword.
22464         * inet/inet_mkadr.c: Likewise.
22465         * inet/inet_net.c: Likewise.
22466         * inet/inet_netof.c: Likewise.
22467         * inet/rcmd.c: Likewise.
22468         * inet/rexec.c: Likewise.
22469         * inet/ruserpass.c: Likewise.
22471 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22473         * resolv/inet_addr.c: Remove _LIBC conditionals.
22474         * resolv/res_data.c: Likewise.
22475         * resolv/res_init.c: Likewise.
22476         * resolv/res_mkquery.c: Likewise.
22477         * resolv/res_libc.c: Update comment.
22478         * resolv/README: Update.
22480 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22482         * resolv/gethnamaddr.c: Remove SCSS keyword.
22483         * resolv/herror.c: Likewise.
22484         * resolv/inet_addr.c: Likewise.
22485         * resolv/inet_net_ntop.c: Likewise.
22486         * resolv/inet_net_pton.c: Likewise.
22487         * resolv/inet_neta.c: Likewise.
22488         * resolv/inet_ntop.c: Likewise.
22489         * resolv/inet_pton.c: Likewise.
22490         * resolv/ns_date.c: Remove RCS keyword.
22491         * resolv/ns_name.c: Likewise.
22492         * resolv/ns_netint.c: Likewise.
22493         * resolv/ns_parse.c: Likewise.
22494         * resolv/ns_print.c: Likewise.
22495         * resolv/ns_samedomain.c: Likewise.
22496         * resolv/ns_ttl.c: Likewise.
22497         * resolv/nsap_addr.c: Likewise.
22498         * resolv/res_comp.c: Remove SCSS and RCS keyword.
22499         * resolv/res_data.c: Remove RCS keyword.
22500         * resolv/res_debug.c: Remove SCSS and RCS keyword.
22501         * resolv/res_init.c: Likewise.
22502         * resolv/res_mkquery.c: Likewise.
22503         * resolv/res_query.c: Likewise.
22504         * resolv/res_send.c: Likewise.
22506 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
22508         * conform/data/stdio.h-data (fdopen): Expect also for
22509         [XPG3 || XPG4].
22511         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
22512         (fseeko): Likewise.
22513         (ftello): Likewise.
22514         (ftrylockfile): Likewise.
22515         (funlockfile): Likewise.
22516         (getc_unlocked): Likewise.
22517         (getchar_unlocked): Likewise.
22518         (putc_unlocked): Likewise.
22519         (putchar_unlocked): Likewise.
22521 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22523         [BZ #19868]
22524         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
22525         DNS packet syntax checks (which were not needed before).  Skip
22526         over non-PTR records.
22528 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22530         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
22531         definition.  Include <stddef.h> instead.
22533 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22535         [BZ #19831]
22536         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
22537         function.
22538         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
22539         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
22541 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22543         [BZ #19862]
22544         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
22545         (getanswer_r): Do not call syslog.
22546         (gaih_getanswer_slice): Likewise.
22547         * resolv/gethnamaddr.c (AskedForGot): Remove.
22548         (getanswer): Do not call syslog.
22549         (gethostbyaddr): Likewise.
22551 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
22553         * conform/data/signal.h-data (union sigval): Expect also if
22554         [XOPEN2K].
22555         (struct sigevent): Likewise.
22556         (SIGEV_NONE): Likewise.
22557         (SIGEV_SIGNAL): Likewise.
22558         (SIGEV_THREAD): Likewise.
22559         (SIGRTMIN): Likewise.
22560         (SIGRTMAX): Likewise.
22561         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
22562         variable.
22563         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22565 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22567         [BZ #19830]
22568         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
22569         (gaih_getanswer_slice): Likewise.
22570         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
22571         Also check for availability of RR metadata.
22573 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22575         [BZ #19825]
22576         * resolv/res_send.c (send_vc): Remove early *resplen2
22577         initialization.  Set *resplen2 on socket error.  Call
22578         close_and_return_error for other errors.
22580 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
22582         * sysdeps/unix/sysv/linux/netiucv/iucv.h
22583         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
22584         (SCM_IUCV_TRGCLS): New define.
22586 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22588         [BZ #20005]
22589         * libio/fmemopen.c (fmemopen_write): Update internal position after
22590         write.
22591         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
22592         * stdio-common/tst-fmemopen4.c: New file..
22594 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
22596         [BZ #19996]
22597         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
22598         not [__USE_XOPEN2K].
22599         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
22600         variable.
22602         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
22603         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
22604         variable.
22606         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
22607         [__USE_XOPEN2K8].
22608         [__USE_LARGEFILE64] (off64_t): Likewise.
22609         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
22610         variable.
22612 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
22614         [BZ #19989]
22615         * libio/stdio.h (cuserid): Do not declare if
22616         [__USE_XOPEN2K && !__USE_GNU].
22617         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
22618         variable.
22620 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22622         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22623         (sysdep_routines): Add P8 and PPC64 strcspn targets.
22624         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22625         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
22626         ifunc'ed strcspn.
22627         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22628         [EALIGN]: Removed.
22629         [END]: Likewise
22630         [STRSPN]: Define instead of the above to control symbol name.
22631         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
22632         New file.
22633         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
22634         Likewise.
22635         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
22636         Likewise.
22637         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
22638         Likewise.
22639         * sysdeps/powerpc/powerpc64/power8/strspn.S:
22640         [INITIAL_MASK]: New macro.
22641         [STRCSPN]: Likewise.
22642         [UPDATE_MASK]: Likewise.
22643         [USE_AS_STRCSPN]: Likewise.
22645 2016-04-25  Florian Weimer  <fweimer@redhat.com>
22647         [BZ #19931]
22648         * stdio-common/tst-vfprintf-width-prec.c: New file.
22649         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
22650         (tests-special): Add tst-vfprintf-width-prec-mem.out.
22651         (generated): Add mtrace-related files.
22652         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
22653         (tst-%-mem.out): New pattern rule, replaces
22654         tst-printf-bz18872-mem.out.
22655         * stdio-common/vfprintf.c (vfprintf): When handling a precision
22656         specifier, deallocate any previously allocated work buffer.
22658 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
22660         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
22661         Add nop before __startcontext, add explaining comments.
22663 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
22665         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
22666         any more. Notably since IPV6_PKTINFO has been reintroduced with a
22667         completely different API.
22669         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
22670         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
22671         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
22672         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
22673         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
22674         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
22675         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
22676         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
22677         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
22678         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
22680 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
22682         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
22684 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
22686         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
22687         when it is the default of 0.
22689 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22691         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
22692         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22693         (sysdep_routines): Add new strcasestr targets.
22694         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22695         (__libc_ifunc_impl_list): Likewise.
22696         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
22697         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
22698         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
22699         * sysdeps/powerpc/powerpc64/power8/Makefile:
22700         New file to add strcasestr-ppc64 to sysdep_routines.
22701         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
22702         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
22704 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
22706         * benchtests/Makefile (wcsmbs-benchset): Include only for
22707         native builds and runs.
22708         (LOCALES): Likewise.
22709         (bench-build): Build timing-type here instead of the bench
22710         target.  Generate locale only for native builds.
22711         * benchtests/README: Add note for cross-building.
22713         * benchtests/Makefile (bench-clean): Clean up extra-objs.
22715         * benchtests/README: Update README to include instructions on
22716         using bench-build.
22718         * Makefile.in (bench-build): New target.
22719         * Rules (PHONY): Add bench-build target.
22720         * benchtests/Makefile (bench): Depend on bench-build.
22721         (bench-build): New target.
22723 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22725         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
22726         profil_reply_port.
22727         (profile_waiter): Do not initialize profil_reply_port.
22728         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
22729         frequency instead of tick length in us.
22731 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
22733         [BZ #18712]
22734         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
22735         (__old_mempcpy_small): Likewise.
22736         (__old_strcpy_small): Likewise.
22737         (__old_stpcpy_small): Likewise.
22738         (__old_strpbrk_c2): Fix compat symbol name.
22739         (__old_strpbrk_c3): Likewise.
22740         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
22741         (__mempcpy_small): Remove.
22742         (__strcpy_small): Remove.
22743         (__stpcpy_small): Remove.
22745 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
22747         [BZ #19400]
22748         * locale/iso-639.def: Add the Talossan/tzl language.
22750 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
22752         [BZ #16983]
22753         * locale/programs/ld-address.c (address_finish): Update postal_fmt
22754         comment.  Add "ln" to strchr check on postal_fmt.
22756 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
22758         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
22759         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
22760         tel_dom_fmt.
22762 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22764         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22765         (sysdep_routines): Added __strlen_power8.
22766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
22767         __strlen_power8 entry.
22768         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
22769         Implementation for POWER8.
22770         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
22771         for __strlen_power8.
22772         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
22773         Implementation for POWER8.
22775 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
22777         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
22779 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
22781         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
22782         Goldmont and Airmont processors.
22784 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
22786         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
22787         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
22788         (__STRING2_SMALL_GET32): Remove.
22789         (memset): Remove.
22790         (__memset_1): Remove.
22791         (__memset_gc): Remove.
22792         (__mempcpy): Remove.
22793         (mempcpy): Remove.
22794         (__mempcpy_args): Remove.
22795         (strchr): Remove.
22796         (strcpy): Remove.
22797         (strcpy_args): Remove.
22798         (__stpcpy_args): Remove.
22799         (__strcmp_cc): Remove.
22800         (__strcmp_gc): Remove.
22801         (strstr): Remove.
22803 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
22805         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
22806         * nis/nis_call.c (nis_server_cache_add): Likewise.
22808 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22810         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
22812 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22814         * malloc/arena.c (__malloc_fork_lock_parent)
22815         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
22816         internal_function attribute.
22818 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
22820         * stdio-common/printf_fp.c (__printf_fp_l):
22821         Rename ___printf_fp_l to __printf_fp_l and
22822         remove strong alias. Use libc_hidden_def instead
22823         of ldbl_hidden_def macro.
22825 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22827         Remove malloc hooks from fork handler.  They are no longer needed
22828         because malloc runs right before fork, and no malloc calls from
22829         other fork handlers are not possible anymore.
22830         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
22831         declarations.
22832         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
22833         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
22834         (atfork_recursive_cntr): Remove.
22835         (__malloc_fork_lock_parent): Do not override malloc hooks and
22836         thread_arena.
22837         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
22838         thread_arena.
22839         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
22840         thread_arena instead of save_arena.
22842 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22844         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
22845         (thread_atfork, thread_atfork_static): Remove.
22846         * sysdeps/mach/hurd/malloc-machine.h:
22847         (thread_atfork, thread_atfork_static): Remove.
22849 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22851         [BZ #19431]
22852         Run the malloc fork handler as late as possible to avoid deadlocks.
22853         * malloc/malloc-internal.h: New file.
22854         * malloc/malloc.c: Include it.
22855         * malloc/arena.c (ATFORK_MEM): Remove.
22856         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
22857         Update comment.
22858         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
22859         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
22860         Remove outdated comment.
22861         (ptmalloc_init): Do not call thread_atfork.  Remove
22862         thread_atfork_static.
22863         * malloc/tst-malloc-fork-deadlock.c: New file.
22864         * Makefile (tests): Add tst-malloc-fork-deadlock.
22865         (tst-malloc-fork-deadlock): Link against libpthread.
22866         * manual/memory.texi (Aligned Memory Blocks): Update safety
22867         annotation comments.
22868         * sysdeps/nptl/fork.c (__libc_fork): Call
22869         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
22870         __malloc_fork_unlock_child.
22871         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
22873 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22875         [BZ #19613]
22876         Remove union wait.
22877         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
22878         (w_stopsig, w_stopval): Remove.
22879         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
22880         stat_loc argument.
22881         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
22882         (__WAIT_STATUS_DEFN): Remove.
22883         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22884         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
22885         (wait, wait3, wait4): Use int * for the stat_loc argument.
22886         * posix/wait.c (__wait): Likewise.
22887         * posix/wait3.c (__wait3): Likewise.
22888         * posix/wait4.c (__wait4): Likewise.
22889         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
22890         (__WAIT_STATUS_DEFN): Remove.
22891         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22892         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
22893         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
22894         argument.
22895         * sysdeps/posix/wait.c (__libc_wait): Likewise.
22896         * sysdeps/posix/wait3.c (__wait3): Likewise.
22897         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
22898         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22899         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
22900         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
22901         stat_loc argument.
22902         * manual/process.texi (BSD Wait Functions): Remove union wait.
22904 2016-04-13  Andreas Schwab  <schwab@suse.de>
22906         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
22907         (test-extras): Add tst-tlsalign-vars.
22908         * math/Makefile: Wrap long lines.
22909         (libm-vec-test-wrappers): Define.
22910         (test-extras): Add $(libm-vec-test-wrappers).
22911         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
22912         * nss/Makefile (extra-test-objs): Add nss_test1.os.
22913         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
22914         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
22915         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
22916         (extra-test-objs): Add corresponding objects.
22918 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
22920         [BZ #19928]
22921         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
22922         New.
22923         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
22924         times of shared cache size.
22925         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
22926         (VMOVNT): New.
22927         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
22928         (VMOVNT): Likewise.
22929         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
22930         (VMOVNT): Likewise.
22931         (VMOVU): Changed to movups for smaller code sizes.
22932         (VMOVA): Changed to movaps for smaller code sizes.
22933         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
22934         comments.
22935         (PREFETCH): New.
22936         (PREFETCH_SIZE): Likewise.
22937         (PREFETCHED_LOAD_SIZE): Likewise.
22938         (PREFETCH_ONE_SET): Likewise.
22939         Rewrite to use forward and backward loops, which move 4 vector
22940         registers at a time, to support overlapping addresses and use
22941         non temporal store if size is above the threshold and there is
22942         no overlap between destination and source.
22944 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
22946         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
22947         Include dl-vdso.
22948         * sysdeps/unix/sysv/linux/mips/Versions: Add
22949         __vdso_clock_gettime.
22950         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
22951         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
22952         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
22953         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
22954         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
22955         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
22956         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22957         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22958         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22960 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22962         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
22963         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
22964         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22965         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22966         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22967         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22970         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
22971         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
22972         syscalls generation.
22973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22974         [__NR_pwrite64] (__NR_write): Remove define.
22975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22976         [__NR_pwrite64] (__NR_write): Remove define.
22977         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
22978         Remove define.
22979         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
22980         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
22981         Remove define.
22982         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
22983         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
22984         Linux implementation as base.
22985         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22987         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
22988         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
22989         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22990         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
22992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22993         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
22994         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
22995         syscall generation.
22996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22997         [__NR_pread64] (__NR_pread): Remove define.
22998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22999         [__NR_pread64] (__NR_pread): Likewise.
23000         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
23001         define.
23002         (__libc_pread): Use SYSCALL_LL macro on offset argument.
23003         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
23004         Remove define.
23005         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
23006         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
23007         Linux implementation as base.
23008         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
23009         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
23010         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
23012         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
23013         definition.
23014         (__ALIGNMENT_COUNT): Likewise.
23015         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
23016         (__ALIGNMENT_COUNT): Likewise.
23017         (SYSCALL_LL): New define.
23018         (SYSCALL_LL64): Likewise.
23019         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
23020         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
23021         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
23022         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
23024         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23025         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
23026         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23027         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
23028         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23029         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
23031 2016-04-11  Florian Weimer  <fweimer@redhat.com>
23033         [BZ #19865]
23034         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
23035         original buffer before retry.
23037 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23039         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
23040         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
23041         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
23042         GLRO(dl_auxv) list.
23043         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
23044         including <ldsodefs.h>.
23045         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
23047 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
23049         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
23050         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
23051         $(CPPFLAGS).
23053 2016-04-09  Khem Raj  <raj.khem@gmail.com>
23055         [BZ #17950]
23056         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
23057         Add -mfpmath=387.
23059 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
23061         * sysdeps/i386/configure.ac: Change == to = when calling test.
23062         * sysdeps/x86_64/configure.ac: Likewise.
23063         * sysdeps/i386/configure: Regenerated.
23064         * sysdeps/x86_64/configure: Likewise.
23066 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
23068         [BZ #16137]
23069         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
23070         * benchtests/bench-strcoll.c (input_files): Likewise.
23071         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
23072         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
23073         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
23075 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
23077         [BZ #19929]
23078         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
23079         [__USE_XOPEN2K8 && !__USE_GNU].
23080         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
23081         variable.
23083         [BZ #19925]
23084         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
23085         define if [!__USE_MISC && __USE_XOPEN2K].
23086         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
23087         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
23088         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
23089         Likewise.
23090         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
23091         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
23092         variable.
23093         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23095 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23097         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
23098         (sysdep_routines): Add new strspn targets.
23099         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23100         (__libc_ifunc_impl_list): Add strspn.
23101         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
23102         New file.
23103         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
23104         Likewise.
23105         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
23106         Likewise.
23107         * sysdeps/powerpc/powerpc64/power8/strspn.S:
23108         Likewise.
23110 2016-04-07  Florian Weimer  <fweimer@redhat.com>
23112         * misc/hsearch_r.c: Include <limits.h>.
23114 2016-04-07  Florian Weimer  <fweimer@redhat.com>
23116         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
23118 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
23120         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
23121         (MEMCPY_SYMBOL): New.
23122         (MEMPCPY_SYMBOL): Likewise.
23123         (MEMMOVE_CHK_SYMBOL): Likewise.
23124         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
23125         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
23126         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
23127         Provide alias for memcpy in libc.a and ld.so.
23129 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
23131         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
23132         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
23133         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
23134         Disabled fro now.
23135         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
23136         symbols.  Properly check USE_MULTIARCH on __memset symbols.
23138 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
23140         * benchtests/Makefile (string-benchset): Add memcpy-large,
23141         memmove-large and memset-large.
23142         * benchtests/bench-memcpy-large.c: New file.
23143         * benchtests/bench-memmove-large.c: Likewise.
23144         * benchtests/bench-memmove-large.c: Likewise.
23145         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
23147 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
23149         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
23150         32-bit displacement to avoid long nop between instructions.
23152 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
23154         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
23155         a comment on VMOVU and VMOVA.
23157 2016-04-04  Florian Weimer  <fweimer@redhat.com>
23159         [BZ #19633]
23160         Use specified locale for number formatting in strfmon_l.
23161         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
23162         (__nl_lookup_word): New inline functions.
23163         * include/printf.h (__print_fp_l): Declare.
23164         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
23165         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
23166         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
23167         (___printf_fp): New function.
23168         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
23169         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
23170         * stdlib/tst-strfmon_l.c (do_test): New test.
23171         * stdlib/Makefile (tests): Add kt.
23172         (LOCALES): Build additional locales.
23173         (tst-strfmon_l.out): Require locales.
23175 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
23177         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
23178         if not in libc.
23179         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23180         Likewise.
23181         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
23182         Likewise.
23183         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23184         Likewise.
23186 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
23188         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23189         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
23190         with unaligned_erms.
23191         (__memmove_erms): Skip if source == destination.
23192         (__memmove_unaligned_erms): Don't check source == destination
23193         first.
23195 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23197         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23198         bit_arch_Fast_Copy_Backward for Intel Core proessors.
23200 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23202         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
23203         * string/strspn.c (strspn): Likewise.
23205 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23207         * benchtests/bench-memset.c (do_test): Support 64-byte
23208         alignment.
23209         (test_main): Test 64-byte alignment.
23211 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23213         * benchtests/bench-memmove.c (test_main): Test 64-byte
23214         alignment.
23216 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23218         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
23220 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23222         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
23223         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
23224         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
23226         * string/strpbrk.c (strpbrk): Rewrite function.
23227         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
23228         (__strpbrk_c2): Likewise.
23229         (__strpbrk_c3): Likewise.
23230         * string/string-inlines.c
23231         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
23232         Likewise.
23233         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
23234         Likewise.
23236         * string/strspn.c (strcspn): Rewrite function.
23237         * string/bits/string2.h (strspn): Use __builtin_strcspn.
23238         (__strspn_c1): Remove inline function.
23239         (__strspn_c2): Likewise.
23240         (__strspn_c3): Likewise.
23241         * string/string-inlines.c
23242         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
23243         compatibility symbol.
23244         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
23245         Likewise.
23246         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
23247         Likewise.
23248         * string/string-inlines.c: Include generic version.
23250 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
23251             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23253         * string/Version (libc): Add GLIBC_2.24.
23254         * string/strcspn.c (strcspn): Rewrite function.
23255         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
23256         (__strcspn_c1): Remove inline function.
23257         (__strcspn_c2): Likewise.
23258         (__strcspn_c3): Likewise.
23259         * string/string-inline.c
23260         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
23261         compatibility symbol.
23262         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
23263         Likewise.
23264         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
23265         Likewise.
23266         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
23268 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23270         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23271         Use ahi instead of aghi to adjust stack pointer.
23273 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23275         [BZ #19853]
23276         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
23277         TEST to take significant digits as second parameter.
23278         [TEST]: Redefine in terms of TEST_N taking 30
23279         significant digits.
23280         (do_test): Add test case to demonstrate precision
23281         failure in the ldbl-128ibm printf.
23282         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
23283         (__mpn_extract_long_double): Carry 7 extra intermediate
23284         bits of precision to aide computing difference when
23285         signs differ.
23287 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
23289         [BZ #19881]
23290         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23291         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
23292         memset-avx512-unaligned-erms.
23293         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23294         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
23295         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
23296         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
23297         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
23298         __memset_sse2_unaligned_erms, __memset_erms,
23299         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
23300         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
23301         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
23302         file.
23303         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23304         Likewise.
23305         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
23306         Likewise.
23307         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
23308         Likewise.
23310 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
23312         [BZ #19776]
23313         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23314         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
23315         memmove-avx512-unaligned-erms.
23316         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23317         (__libc_ifunc_impl_list): Test
23318         __memmove_chk_avx512_unaligned_2,
23319         __memmove_chk_avx512_unaligned_erms,
23320         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
23321         __memmove_chk_sse2_unaligned_2,
23322         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
23323         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
23324         __memmove_avx512_unaligned_erms, __memmove_erms,
23325         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
23326         __memcpy_chk_avx512_unaligned_2,
23327         __memcpy_chk_avx512_unaligned_erms,
23328         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
23329         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
23330         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
23331         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
23332         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
23333         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
23334         __mempcpy_chk_avx512_unaligned_erms,
23335         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
23336         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
23337         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
23338         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
23339         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
23340         __mempcpy_erms.
23341         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
23342         file.
23343         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23344         Likewise.
23345         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
23346         Likewise.
23347         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23348         Likewise.
23350 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23352         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
23353         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
23354         (La_s390_64_regs): Likewise.
23355         (La_s390_32_retval): Append vector register lrv_v24.
23356         (La_s390_64_retval): Likeweise.
23357         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
23358         Handle extended structs La_s390_32_regs and La_s390_32_retval.
23359         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
23360         Handle extended structs La_s390_64_regs and La_s390_64_retval.
23362 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23364         [BZ #19916]
23365         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
23366         to create a non-vector/vector version for _dl_runtime_resolve and
23367         _dl_runtime_profile. Move implementation to ...
23368         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
23369         (_dl_runtime_resolve) Save and restore fpr/vrs.
23370         (_dl_runtime_profile) Save and restore vrs and fix some issues
23371         if _dl_call_pltexit is called.
23372         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
23373         Choose the correct resolver function if running on a machine with vx.
23374         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
23375         to create a non-vector/vector version for _dl_runtime_resolve and
23376         _dl_runtime_profile. Move implementation to ...
23377         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
23378         (_dl_runtime_resolve) Save and restore fpr/vrs.
23379         (_dl_runtime_profile) Save and restore vrs and fix some issues
23380         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
23381         Choose the correct resolver function if running on a machine with vx.
23383 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23385         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
23387 2016-03-31  Florian Weimer  <fweimer@redhat.com>
23389         [BZ #19509]
23390         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
23391         skip_map != NULL.
23392         * elf/tst-dlsym-error.c: New file.
23393         * elf/Makefile (tests): Add tst-dlsym-error.
23394         (tst-dlsym-error): Link against libdl.
23396 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
23398         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23399         (__ASSUME_FUTIMESAT): Remove macro.
23400         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
23402 2016-03-29  Florian Weimer  <fweimer@redhat.com>
23404         [BZ #19879]
23405         CVE-2016-3075
23406         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
23407         copy name.
23409 2016-03-29  Florian Weimer  <fweimer@redhat.com>
23411         [BZ #19837]
23412         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
23413         error if parse_line fails.
23415 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23417         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
23418         (index_cpu_ERMS): Likewise.
23419         (reg_ERMS): Likewise.
23421 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
23423         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
23424         PER_LINUX_FDPIC): Add.
23426 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23428         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23429         memcpy-avx512-no-vzeroupper.
23430         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
23431         to ...
23432         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
23433         (MEMCPY): Don't define.
23434         (MEMCPY_CHK): Likewise.
23435         (MEMPCPY): Likewise.
23436         (MEMPCPY_CHK): Likewise.
23437         (MEMPCPY_CHK): Renamed to ...
23438         (__mempcpy_chk_avx512_no_vzeroupper): This.
23439         (MEMPCPY_CHK): Renamed to ...
23440         (__mempcpy_chk_avx512_no_vzeroupper): This.
23441         (MEMCPY_CHK): Renamed to ...
23442         (__memmove_chk_avx512_no_vzeroupper): This.
23443         (MEMCPY): Renamed to ...
23444         (__memmove_avx512_no_vzeroupper): This.
23445         (__memcpy_avx512_no_vzeroupper): New alias.
23446         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
23448 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23450         [BZ #18858]
23451         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23452         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
23453         and mempcpy-avx512-no-vzeroupper.
23454         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
23455         New.
23456         (MEMPCPY): Likewise.
23457         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
23458         (MEMPCPY_CHK): New.
23459         (MEMPCPY): Likewise.
23460         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
23461         (MEMPCPY): Likewise.
23462         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
23463         (MEMPCPY): Likewise.
23464         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
23465         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
23466         Likewise.
23467         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
23468         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
23470 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23471              Amit Pawar  <Amit.Pawar@amd.com>
23473         [BZ #19583]
23474         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23475         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
23476         processors.  Set Fast_Copy_Backward for AMD Excavator
23477         processors.
23478         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
23479         New.
23480         (index_arch_Fast_Unaligned_Copy): Likewise.
23481         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
23482         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
23484 2016-03-25  Florian Weimer  <fweimer@redhat.com>
23486         [BZ #19791]
23487         * resolv/res_send.c (close_and_return_error): New function.
23488         (send_dg): Initialize *resplen2 after reopen failure.  Call
23489         close_and_return_error for error returns.  On error paths without
23490         __res_iclose, initialze *resplen2 explicitly.  Update comment for
23491         successful return.
23493 2016-03-25  Florian Weimer  <fweimer@redhat.com>
23495         [BZ #19860]
23496         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
23497         zero if the compiler does not provide the AVX512F bit.
23499 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
23501         [BZ #19848]
23502         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
23503         from 8 to 4.
23504         (__ieee754_powl): Compare integer exponent against 4 not 8.
23505         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
23506         from 8 to 4.
23507         (__ieee754_powl): Compare integer exponent against 4 not 8.
23508         * math/auto-libm-test-in: Add more tests of pow.
23509         * math/auto-libm-test-out: Regenerated.
23510         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
23511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23513 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
23515         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
23516         Make code unconditional.
23517         [!__NR_utimensat]: Remove conditional code.
23518         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
23519         Make code unconditional.
23520         [!__NR_utimensat]: Remove conditional code.
23521         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
23522         Make code unconditional.
23523         [!__NR_utimensat]: Remove conditional code.
23525 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
23527         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
23528         Make code unconditional.
23530 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
23532         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
23533         call-clobbered %eax on retry path.
23534         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23536 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23538         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
23539         Don't set %rcx twice before "rep movsb".
23541 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23543         [BZ #19583]
23544         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
23545         inline.  Check family before setting family, model and
23546         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
23547         bits here.
23548         (init_cpu_features): Replace HAS_CPU_FEATURE and
23549         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
23550         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
23551         for Intel processors with usable AVX2.  Call get_common_indeces
23552         for other processors with family == NULL.
23553         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
23554         (CPU_FEATURES_ARCH_P): Likewise.
23555         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
23556         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
23558 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23560         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
23561         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
23562         $(shared-thread-library) instead of hardcoding the path to libpthread.
23564 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
23566         * sysdeps/unix/sysv/linux/kernel-features.h
23567         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
23568         * sysdeps/unix/sysv/linux/getdents.c
23569         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
23570         [!have_no_getdents64_defined]: Likewise.
23571         (__GETDENTS): Remove __have_no_getdents64 conditional.
23573 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
23575         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
23576         Remove macro.
23577         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
23578         <kernel-features.h>.
23579         (signalfd) [__NR_signalfd4]: Make code unconditional.
23580         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
23582 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23584         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
23585         style.
23587 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23589         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
23590         (__pthread_enable_asynccancel): Use JUMPTARGET to call
23591         __pthread_unwind.
23592         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23593         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
23594         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23595         (__condvar_cleanup1): Likewise.
23597 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
23599         [BZ #19822]
23600         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
23601         move it to the final $@ location.
23603 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23605         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
23606         access where posix_spawn success and pid argument is null.
23607         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
23608         success case.
23610 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
23612         * sysdeps/mach/hurd/i386/c++-types.data: New file.
23614         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
23616         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
23617         and __fcntl.
23618         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
23619         __fcntl only.
23620         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
23621         adding attribute_hidden to __open and __fcntl.
23623         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
23624         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
23625         depend on libc-modules.h,
23626         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
23628 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
23630         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
23631         Remove macro.
23632         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
23633         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
23634         entry.
23636         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
23637         Remove macro.
23638         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
23639         include <kernel-features.h>.
23640         [!__ASSUME_FALLOCATE]: Remove conditional code.
23641         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
23643 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23645         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
23646         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
23647         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
23648         (_ZGVdN4v_cos_avx2): Likewise.
23649         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
23650         (_ZGVdN4v_cos): Likewise.
23651         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
23652         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
23653         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
23654         (_ZGVdN4v_exp_avx2): Likewise.
23655         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
23656         (_ZGVdN4v_exp): Likewise.
23657         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
23658         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
23659         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
23660         (_ZGVdN4v_log_avx2): Likewise.
23661         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
23662         (_ZGVdN4v_log): Likewise.
23663         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
23664         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
23665         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
23666         (_ZGVdN4vv_pow_avx2): Likewise.
23667         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
23668         (_ZGVdN4vv_pow): Likewise.
23669         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
23670         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
23671         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
23672         (_ZGVdN4v_sin_avx2): Likewise.
23673         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
23674         (_ZGVdN4v_sin): Likewise.
23675         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
23676         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
23677         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
23678         (_ZGVdN4vvv_sincos_avx2): Likewise.
23679         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
23680         (_ZGVdN4vvv_sincos): Likewise.
23681         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
23682         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
23683         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
23684         (_ZGVbN4v_cosf_sse4): Likewise.
23685         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
23686         (_ZGVdN8v_cosf_avx2): Likewise.
23687         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
23688         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
23689         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
23690         (_ZGVbN4v_expf_sse4): Likewise.
23691         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
23692         (_ZGVdN8v_expf_avx2): Likewise.
23693         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
23694         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
23695         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
23696         (_ZGVbN4v_logf_sse4): Likewise.
23697         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
23698         (_ZGVdN8v_logf_avx2): Likewise.
23699         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
23700         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
23701         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
23702         (_ZGVbN4vv_powf_sse4): Likewise.
23703         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
23704         (_ZGVdN8vv_powf_avx2): Likewise.
23705         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23706         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
23707         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23708         (_ZGVbN4vvv_sincosf_sse4): Likewise.
23709         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23710         (_ZGVdN8vvv_sincosf_avx2): Likewise.
23711         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
23712         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
23713         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
23714         (_ZGVbN4v_sinf_sse4): Likewise.
23715         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
23716         (_ZGVdN8v_sinf_avx2): Likewise.
23717         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23718         Use JUMPTARGET to call callee.
23719         (WRAPPER_IMPL_SSE2_ff): Likewise.
23720         (WRAPPER_IMPL_SSE2_fFF): Likewise.
23721         (WRAPPER_IMPL_AVX): Likewise.
23722         (WRAPPER_IMPL_AVX_ff): Likewise.
23723         (WRAPPER_IMPL_AVX_fFF): Likewise.
23724         (WRAPPER_IMPL_AVX512): Likewise.
23725         (WRAPPER_IMPL_AVX512_ff): Likewise.
23726         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23727         Likewise.
23728         (WRAPPER_IMPL_SSE2_ff): Likewise.
23729         (WRAPPER_IMPL_SSE2_fFF): Likewise.
23730         (WRAPPER_IMPL_AVX): Likewise.
23731         (WRAPPER_IMPL_AVX_ff): Likewise.
23732         (WRAPPER_IMPL_AVX_fFF): Likewise.
23733         (WRAPPER_IMPL_AVX512): Likewise.
23734         (WRAPPER_IMPL_AVX512_ff): Likewise.
23735         (WRAPPER_IMPL_AVX512_fFF): Likewise.
23737 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23739         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
23740         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
23741         qualifier.
23742         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
23743         internal_function qualifiers.
23745 2016-03-15  Carlos O'Donell <carlos@redhat.com>
23747         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
23748         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
23749         * math/atest-exp.c (exp_mpn): Mark chk unused.
23750         * math/atest-exp2.c (exp_mpn): Likewise.
23751         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
23752         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
23754 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
23756         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
23757         Remove macro.
23758         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
23759         <kernel-features.h>.
23760         [__NR_ppoll]: Make code unconditional.
23761         [!__ASSUME_PPOLL]: Remove conditional code.
23763         * sysdeps/unix/sysv/linux/kernel-features.h
23764         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
23765         (__ASSUME_ACCEPT4): Likewise.
23766         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23767         Define.
23768         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
23769         Likewise.
23770         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23771         Likewise.
23772         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
23773         Likewise.
23774         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
23775         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
23776         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23777         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23778         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23779         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23780         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23781         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23782         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23783         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23784         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23785         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23786         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23787         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23788         * sysdeps/unix/sysv/linux/i386/kernel-features.h
23789         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23790         Likewise.
23791         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23792         Likewise.
23793         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23794         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23795         0x040300].
23796         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23797         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23798         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23799         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23800         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23801         0x030300].
23802         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
23803         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23804         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23805         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23806         0x040300].
23807         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23808         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23809         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23810         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23811         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23812         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23813         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23814         0x030300].
23815         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23816         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23817         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23818         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23819         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23820         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23821         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23822         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23823         * sysdeps/unix/sysv/linux/s390/kernel-features.h
23824         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23825         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23826         0x040300].
23827         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23828         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23829         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23830         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23831         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23832         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23833         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23834         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23835         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23836         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23837         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23838         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23839         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23840         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23841         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
23842         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23843         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23844         Likewise.
23845         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23846         Likewise.
23848 2016-03-15  Andreas Schwab  <schwab@suse.de>
23850         [BZ #19257]
23851         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
23852         statp->_u._ext.nscount as loop count.
23854 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
23856         * math/test-signgam-finite-c99.c: Also #undef
23857         __LIBC_INTERNAL_MATH_INLINES.
23858         * math/test-signgam-main.c: Likewise.
23860 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
23862         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
23863         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
23864         (MADV_FREE): Likewise.
23865         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
23866         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
23867         EPOLLEXCLUSIVE.
23869 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
23871         * timezone/README: Remove mention of checktab.awk. Mention wiki
23872         SharedSourceFiles.
23874 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
23876         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
23877         WUNTRACED.
23879 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23881         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
23882         order to match the type of p when calling atomic_exchange_acq().
23884 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23886         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
23887         cfi_offset calls.
23888         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
23889         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
23890         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
23891         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
23892         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
23894 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
23896         * timezone/checktab.awk: Removed.
23898 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
23900         * manual/math.texi (Errors in Math Functions): Document relaxed
23901         accuracy goals for IBM long double.
23902         * math/libm-test.inc (test_exceptions): Always allow spurious
23903         "underflow" and "inexact" exceptions for IBM long double.
23905 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
23907         [BZ #19762]
23908         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23909         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
23910         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
23911         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
23912         (bit_arch_*): This for feature array.
23913         (bit_*): Renamed to ...
23914         (bit_cpu_*): This for cpu array.
23915         (index_*): Renamed to ...
23916         (index_arch_*): This for feature array.
23917         (index_*): Renamed to ...
23918         (index_cpu_*): This for cpu array.
23919         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
23920         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
23921         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
23922         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
23923         bit_##name with index_cpu_##name and bit_cpu_##name.
23924         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
23925         bit_##name with index_arch_##name and bit_arch_##name.
23927 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
23929         [BZ #19792]
23930         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
23931         Terminate FDE before return label.
23933 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
23935         [BZ #19790]
23936         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
23937         (rintl): Define as macro.
23938         [USE_AS_NEARBYINTL] (__rintl): Likewise.
23939         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
23940         of fesetround.  Ensure results are evaluated before end of scope.
23941         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
23942         USE_AS_NEARBYINTL and include s_rintl.c.
23943         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
23944         Disable exception traps in new environment.
23945         (libc_feholdsetround_ppc_ctx): Likewise.
23947 2016-03-08  Roland McGrath  <roland@hack.frob.com>
23949         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
23950         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
23951         (tst_audit10_aux) [__AVX512F__]: ... here.
23953 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
23955         * include/sys/auxv.h: New file.
23957 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
23959         [BZ #19759]
23960         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
23962 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23964         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
23965         operand modifier.
23966         (feclearexcept): Likewise.
23968 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23970         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
23971         to reflect the entire 32-bit HWCAP.
23972         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
23973         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
23975 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
23977         [BZ #19783]
23978         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
23979         $(test-via-rtld-prefix).
23980         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
23982 2016-03-08  Florian Weimer  <fweimer@redhat.com>
23984         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
23985         union wait.  Report any non-zero exit status as error.
23987 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23989         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
23990         configured with --enable-hardcoded-path-in-tests.
23992 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
23994         [BZ #19677]
23995         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
23996         (__ieee754_remainderl): Put zero low parts in canonical form.
23997         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
23998         file.  Based on
23999         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
24000         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
24001         with wrapper round test-fmodrem-ldbl-128ibm.c.
24002         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
24003         file.
24004         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
24005         Likewise.
24006         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
24007         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
24009 2016-03-07  Florian Weimer  <fweimer@redhat.com>
24011         [BZ #19610]
24012         * elf/ldconfig.c (opt_link): Update comment.
24013         (options): Update help string for option -X.
24014         (search_dir): Unlink stale symbolic link only if updating symbolic
24015         links.
24016         * elf/tst-ldconfig-X.sh: New file.
24017         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
24018         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
24020 2016-03-07  Andreas Schwab  <schwab@suse.de>
24022         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
24023         needed arguments.
24025 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
24027         [BZ #15333]
24028         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
24029         to lstat64.
24031 2016-03-07  Florian Weimer  <fweimer@redhat.com>
24033         * libio/filedoalloc.c (isatty): Remove.
24034         (local_isatty): Add comment.  Call __isatty directly.
24035         (_IO_file_doallocate): Update comment.  Assume _LIBC.
24036         * libio/wfiledoalloc.c (isatty): Remove.
24037         (_IO_wfile_doallocate): Update comment.
24039 2016-03-07  Florian Weimer  <fweimer@redhat.com>
24041         [BZ #19269]
24042         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
24043         tst-audit4-aux.o.
24044         (tst-audit10): Depend on tst-audit10-aux.o.
24045         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
24046         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
24047         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
24048         instead of inline AVX code.
24049         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
24050         instead of inline AVX512 code.
24051         * sysdeps/x86_64/tst-audit4-aux.c: New file
24052         * sysdeps/x86_64/tst-audit10-aux.c: New file
24054         [BZ #19648]
24055         * test-skeleton.c (main): Do not set RLIMIT_DATA.
24057 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24059         [BZ #14750]
24060         [BZ #10354]
24061         [BZ #18433]
24062         * include/sched.h (__clone): Add hidden prototype.
24063         (__clone2): Likewise.
24064         * include/unistd.h (__dup): Likewise.
24065         * posix/Makefile (tests): Add tst-spawn2.
24066         * posix/tst-spawn2.c: New file.
24067         * sysdeps/posix/dup.c (__dup): Add hidden definition.
24068         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
24069         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
24070         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
24071         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
24072         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
24073         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
24074         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
24075         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
24076         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
24077         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
24078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
24079         Likewise.
24080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24081         Likewise.
24082         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
24083         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
24084         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
24085         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
24086         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
24087         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
24088         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
24089         * sysdeps/unix/sysv/linux/nptl-signals.h
24090         (____nptl_is_internal_signal): New function.
24091         * sysdeps/unix/sysv/linux/spawni.c: New file.
24093         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
24094         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
24095         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
24096         * posix/tst-execvp2.c (do_test): Likewise.
24097         * posix/tst-execvp3.c (do_test): Likewise.
24098         * posix/tst-execvp4.c (do_test): Likewise.
24099         * posix/tst-execvpe1.c: New file.
24100         * posix/tst-execvpe2.c: Likewise.
24101         * posix/tst-execvpe3.c: Likewise.
24102         * posix/tst-execvpe4.c: Likewise.
24103         * posix/tst-execvpe5.c: Likewise.
24104         * posix/tst-execvpe6.c: Likewise.
24106         [BZ #19534]
24107         * posix/execl.c (execl): Remove dynamic memory allocation.
24108         * posix/execle.c (execle): Likewise.
24109         * posix/execlp.c (execlp): Likewise.
24111 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
24113         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
24114         Replace .text with .text.avx512.
24115         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
24116         Likewise.
24118 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
24120         * sysdeps/generic/libnsl.abilist: New file.
24121         * sysdeps/generic/libutil.abilist: New file.
24123 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
24125         [BZ #19762]
24126         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
24127         HAS_ARCH_FEATURE with Fast_Rep_String.
24128         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
24129         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
24130         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
24131         Likewise.
24132         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
24133         Likewise.
24134         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
24135         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
24136         Likewise.
24137         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
24138         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
24139         Likewise.
24141 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
24143         [BZ #19745]
24144         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
24145         with *%rax in call.
24147 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
24149         [BZ #19745]
24150         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
24151         with *__libc_start_main@GOTPCREL(%rip) in call.
24153 2016-03-04  Roland McGrath  <roland@hack.frob.com>
24155         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
24156         inside conditional for nonempty $(CXX).
24158         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
24159         nonempty.
24161         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
24162         to test for empty $(CXX) rather than $(CXX) of "no".
24164 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
24166         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
24168 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
24169             H.J. Lu  <hongjiu.lu@intel.com>
24171         [BZ #18880]
24172         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
24173         instead of Slow_BSF, and also check for Fast_Copy_Backward to
24174         enable __memcpy_ssse3_back.
24176 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
24178         [BZ #19758]
24179         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
24180         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
24182 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
24184         [BZ #19490]
24185         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
24186         (__fentry__): Likewise.
24188 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
24190         * gmon/Makefile (noprof): Add $(sysdep_noprof).
24191         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
24193 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
24195         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
24196         __mcount_internal directly.
24197         (C_LABEL(__fentry__)): Likewise.
24198         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
24199         directly.
24201 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
24203         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24204         (__start_context): Call __setcontext directly.
24206 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
24208         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24209         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24210         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
24211         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24212         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24213         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24214         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
24215         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24216         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24217         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
24218         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24219         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24220         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24221         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24222         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24223         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24224         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
24225         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24226         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24227         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24228         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
24229         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24230         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24231         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24232         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
24233         Remove conditional code.
24234         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24235         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
24236         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24237         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24238         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
24239         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24240         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24241         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
24242         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24243         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24244         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24245         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24247 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
24249         * NEWS (2.23): Fix typo in bug 19048 text.
24251 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
24253         [BZ #14259]
24254         * Makeconfig: Rename msgcatdir to localedir.
24255         Rename inst_msgcatdir to inst_localedir.
24256         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
24257         * config.make.in: Add localedir.
24258         * elf/Makefile ($(objpfx)sotruss): Use localedir.
24259         (ldd-rewrite): Likewise.
24260         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
24261         (install-others): Use inst_localedir.
24262         (CPPFLAGS): Use localedir.
24263         * locale/Makefile (locale-CPPFLAGS): Likewise.
24264         * po/Makefile (mo-installed): Use inst_localedir.
24266         [BZ #19575]
24267         * localedata/charmaps/GB18030: Update comments regarding PAU to
24268         non-PUA mappings.
24270 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
24272         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
24273         test for header.
24274         * sysdeps/unix/sysv/linux/configure: Regenerated.
24275         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
24276         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
24277         Remove conditional code.
24278         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
24280         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
24281         Define to 3.2.0.
24282         (arch_minimum_kernel): Likewise.
24283         * sysdeps/unix/sysv/linux/configure: Regenerated.
24284         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
24285         Define to 2.6.32.
24286         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
24287         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
24288         (arch_minimum_kernel): Define to 2.6.32.
24289         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
24290         * README: Document Linux 3.2 requirement.
24291         * manual/install.texi (Linux): Document Linux 3.2 headers
24292         requirement.
24293         * INSTALL: Regenerated.
24295 2016-02-24  Andreas Schwab  <schwab@suse.de>
24297         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
24298         if !NO_LONG_DOUBLE.
24300 2016-02-22  Roland McGrath  <roland@hack.frob.com>
24302         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
24303         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
24305 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
24307         [BZ #19512]
24308         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
24310 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
24312         * posix/tst-dir.c: Include libc-internal.h.
24314 2016-02-20  Florian Weimer  <fweimer@redhat.com>
24316         [BZ #19056]
24317         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
24318         * manual/filesys.texi (Reading/Closing Directory): Mention
24319         deprecaion.
24320         * posix/tst-dir.c (main): Disable deprecation warning in test.
24322 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
24324         [BZ #19679]
24325         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
24326         Renamed to ...
24327         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
24328         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24329         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
24330         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24331         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24332         * sysdeps/x86_64/dl-trampoline.h
24333         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24334         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24336 2016-02-19  Mark Wielaard  <mjw@redhat.com>
24338         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
24340 2016-02-19  Mark Wielaard  <mjw@redhat.com>
24342         * elf/elf.h (R_386_GOT32X): New.
24343         (R_386_NUM): Update.
24344         (R_X86_64_GOTPCRELX: New.
24345         (R_X86_64_REX_GOTPCRELX): New.
24346         (R_X86_64_NUM): Update.
24348 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
24350         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
24352 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
24354         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
24355         assign attr->stackaddr to it, and adjust it down when
24356         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
24357         [_STACK_GROWS_UP]: Delete assert.
24358         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
24359         Implement stack grows up logic.
24360         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
24361         stack grows up logic.
24363 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24365         * NEWS: Update with 2.24 template.
24367 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
24369         [BZ #19678]
24370         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24371         Ensure +0.0 is returned when taking the next value below the least
24372         positive value.
24374 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24376         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
24377         available.  Do not define NO_THREADS.
24378         * malloc/malloc.c: Do not check NO_THREADS.
24379         * malloc/arena.c: Likewise.
24381 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24383         * malloc/malloc.c (__libc_mallinfo): Update comment.
24384         (struct malloc_par): Remove max_total_mem member, it was always 0.
24385         (int_mallinfo): Store 0 into usmblks (no functional change).
24386         * malloc/hooks.c (struct malloc_state): Document that
24387         max_total_mem is always 0.
24388         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
24389         always 0.
24390         * manual/memory.texi (Statistics of Malloc): Likewise.
24392 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24394         * malloc/malloc.c (sysmalloc): Do not update arena_max.
24395         * malloc/arena.c (arena_max): Remove.
24396         (heap_trim, _int_new_arena): Do not update arena_max.
24398 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24400         * resolv/res_init.c (res_ninit): Update comment.
24402 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24404         [BZ #19505]
24405         * posix/spawn_int.h: Add headers and include guard.
24406         (__spawn_valid_fd): New function.
24407         * posix/spawn_faction_addopen.c
24408         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
24409         * posix/spawn_faction_addclose.c
24410         (posix_spawn_file_actions_addclose): Likewise.
24411         * posix/spawn_faction_adddup2.c
24412         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
24413         second file descriptor.
24414         * posix/spawn_valid_fd.c: New file.
24415         * posix/tst-posix_spawn-fd.c: New file.
24416         * posix/Makefile (routines): Add spawn_valid_fd.
24417         (tests): Add tst-posix_spawn-fd.
24419 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24421         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
24422         (do_test): Limit the number of arenas, so that we can use fewer
24423         outer threads.  Limit timeout to 3 seconds, in preparation for a
24424         larger TIMEOUT value.
24426 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
24428         [BZ #19674]
24429         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
24430         sign in overflowing and underflowing results when overflow or
24431         underflow is detected early.  Include sign in result before rather
24432         than after scaling.
24434         [BZ #19603]
24435         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24436         (__ieee754_remainderl): Adjust sign of integer version of low part
24437         when taking absolute value of high part.
24438         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24439         * math/libm-test.inc (remainder_test_data): Add another test.
24440         (remquo_test_data): Likewise.
24442 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
24444         [BZ #19602]
24445         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
24446         equal high parts and both low parts zero specially.
24447         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
24448         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
24449         Add test-fmodl-ldbl-128ibm.
24451         [BZ #19595]
24452         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
24453         common logic for all cases of shifting subnormal results.  Do not
24454         insert sign bit in shifted mantissa.  Always pass -1023 as biased
24455         exponent to ldbl_insert_mantissa in subnormal case.
24457         [BZ #19594]
24458         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
24459         on high and low parts then adjust result and use
24460         ldbl_canonicalize_int if needed.
24462         [BZ #19593]
24463         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
24464         on high part and __floor or __ceil on low part then use
24465         ldbl_canonicalize_int if needed.
24467         [BZ #19592]
24468         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
24469         high and low parts then use ldbl_canonicalize_int if needed.
24471         [BZ #17899]
24472         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
24473         New function.
24474         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
24475         on high and low parts then use ldbl_canonicalize_int if needed.
24477 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24479         * configure: Regenerated.
24481         * po/libc.pot: Regenerated.
24483         * po/be.po: Updated translation.
24484         * po/bg.po: Likewise.
24485         * po/ca.po: Likewise.
24486         * po/cs.po: Likewise.
24487         * po/da.po: Likewise.
24488         * po/el.po: Likewise.
24489         * po/eo.po: Likewise.
24490         * po/es.po: Likewise.
24491         * po/fi.po: Likewise.
24492         * po/fr.po: Likewise.
24493         * po/gl.po: Likewise.
24494         * po/hr.po: Likewise.
24495         * po/hu.po: Likewise.
24496         * po/ia.po: Likewise.
24497         * po/id.po: Likewise.
24498         * po/it.po: Likewise.
24499         * po/ja.po: Likewise.
24500         * po/lt.po: Likewise.
24501         * po/nb.po: Likewise.
24502         * po/nl.po: Likewise.
24503         * po/pt_BR.po: Likewise.
24504         * po/rw.po: Likewise.
24505         * po/sk.po: Likewise.
24506         * po/sl.po: Likewise.
24507         * po/sv.po: Likewise.
24508         * po/tr.po: Likewise.
24509         * po/zh_CN.po: Likewise.
24510         * po/zh_TW.po: Likewise.
24512         * version.h (RELEAES): Set to "development".
24513         (VERSION): Set to 2.23.90.
24515         * version.h (RELEASE): Set to "stable".
24516         (VERSION): Set to 2.23.
24517         * include/feature.h (__GLIBC_MINOR__): Set to 23.
24519         * NEWS: Updated fixed bugs.
24521 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
24522             Wilco Dijkstra  <wdijkstr@arm.com>
24524         [BZ #19462]
24525         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
24526         (_STRING_INLINE_unaligned): This.
24527         * include/string.h: Include <string_private.h>.
24528         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
24529         _STRING_INLINE_unaligned.
24530         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
24531         (_STRING_INLINE_unaligned): New.
24532         * sysdeps/aarch64/string_private.h: New file.
24533         * sysdeps/generic/string_private.h: Likewise.
24534         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
24535         * sysdeps/s390/string_private.h: Likewise.
24536         * sysdeps/x86/string_private.h: Likewise.
24537         * sysdeps/m68k/m680x0/m68020/bits/string.h
24538         (_STRING_ARCH_unaligned): Renamed to ...
24539         (_STRING_INLINE_unaligned): This.
24540         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
24541         to ...
24542         (_STRING_INLINE_unaligned): This.
24543         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
24544         to ...
24545         (_STRING_INLINE_unaligned): This.
24546         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
24547         to ...
24548         (_STRING_INLINE_unaligned): This.
24550 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
24551             H.J. Lu  <hongjiu.lu@intel.com>
24553         [BZ #19590]
24554         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
24555         relocation.
24557 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
24559         [BZ #18665]
24560         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
24561         *herrno_p.
24562         (gaih_getanswer): Document functional behviour. Return tryagain
24563         if any result is tryagain.
24564         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
24565         when freed.
24566         * resolv/res_send.c: Add copyright text.
24567         (__libc_res_nsend): Document that MAXPACKET is expected.
24568         (send_vc): Document. Remove buffer reuse.
24569         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
24570         size of the buffer. Add Dprint for truncated UDP buffer.
24572 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
24574         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
24575         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
24576         * INSTALL: Regenerate.
24578 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
24579             Jonathan Wakely  <jwakely@redhat.com>
24580             Carlos O'Donell  <carlos@redhat.com>
24582         [BZ 19439]
24583         * math/Makefile (tests): Add test-math-isinff.
24584         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
24585         * math/bits/mathcalls.h [__USE_MISC]: Use
24586         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
24587         functions not in C++11 and which don't conflict e.g. isinff,
24588         isinfl etc.
24589         * math/test-math-isinff.cc: New file.
24591 2016-02-12  Florian Weimer  <fweimer@redhat.com>
24593         * misc/bug18240.c (do_test): Set RLIMIT_AS.
24595 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24597         [BZ #19529]
24598         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
24600 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24602         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24604 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
24606         [BZ #19550]
24607         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
24608         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
24609         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
24610         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
24611         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
24612         New syscall entry.
24613         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
24614         New syscall entry.
24615         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
24616         syscall entry.
24618 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
24620         [BZ #18240]
24621         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
24622         unsigned int wraparound.
24624 2016-01-27  Florian Weimer  <fweimer@redhat.com>
24626         [BZ #18240]
24627         * misc/bug18240.c: New test.
24628         * misc/Makefile (tests): Add it.
24630 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
24631             Joseph Myers  <joseph@codesourcery.com>
24633         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
24634         load in branch delay slot when less than a word of input left.
24636 2016-01-27  Andreas Schwab  <schwab@suse.de>
24638         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
24639         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
24640         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
24641         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
24643 2016-01-26  David S. Miller  <davem@davemloft.net>
24645         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
24647 2016-01-25  David S. Miller  <davem@davemloft.net>
24649         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
24650         __sqrtl_finite.
24651         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
24652         instead using versioned_symbol.
24653         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
24654         of entries.
24656         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
24657         __sqrtl_finite to GLIBC_2.23
24659 2016-01-25  Ricchard Henderson  <rth@redhat.com>
24661         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24663 2016-01-25  Andreas Schwab  <schwab@suse.de>
24665         [BZ #17514]
24666         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
24667         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
24668         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
24669         * nptl/tst-mutex-errorcheck.c: New file.
24671 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24673         [BZ #18560]
24674         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
24675         (IPCOP_semop): Likewise.
24676         (IPCOP_semget): Likewise.
24677         (IPCOP_semctl): Likewise.
24678         (IPCOP_msgsnd): Likewise.
24679         (IPCOP_msgrcv): Likewise.
24680         (IPCOP_msgget): Likewise.
24681         (IPCOP_msgctl): Likewise.
24682         (IPCOP_shmat): Likewise.
24683         (IPCOP_shmdt): Likewise.
24684         (IPCOP_shmget): Likewise.
24685         (IPCOP_shmctl): Likewise.
24687 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
24689         * string/tst-endian.c: Include <libc-internal.h>.
24690         (do_test): Ignore tautological-compare warnings around
24691         "htobeXX (beXXtoh (i)) != i" and
24692         "htoleXX (leXXtoh (i)) != i" if-statements.
24694 2016-01-24  David S. Miller  <davem@davemloft.net>
24696         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
24697         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
24698         alias.
24699         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24700         __sqrtl_finite.
24702         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24704 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
24706         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
24707         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
24708         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24710 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24712         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
24713         (thread_func): Use new function to simplify barrier check.
24714         (do_test): Use new function to simplify checking barrier exit
24715         code, and actually join the child thread.
24717 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24719         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
24720         semicolon.
24721         (__libc_tend): Likewise.
24722         (__libc_tabort): Likewise.
24724 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
24726         * sysdeps/nios2/libm-test-ulps: Update.
24727         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
24728         (__gtsf2): Likewise.
24729         (__unorddf2): Likewise.
24730         (__unordsf2): Likewise.
24731         (__ledf2): Likewise.
24733 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
24735         * nis/nis_table.c (__follow_path): Disable diagnostic for
24736         uninitialized variable that is a false positive for gcc 4.7.
24737         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
24739 2016-01-20  Roland McGrath  <roland@hack.frob.com>
24741         * sysdeps/nacl/lowlevellock-futex.h
24742         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
24743         Always evaluate PRIVATE argument.
24745 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
24747         [BZ #19490]
24748         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
24749         (pthread_cond_broadcast): Use ENTRY/END
24750         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
24751         (pthread_cond_signal): Likewise.
24752         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
24753         Likewise.
24754         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
24755         Likewise.
24756         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
24757         Likewise.
24759 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
24761         * sysdeps/ieee754/dbl-64/s_finite.c
24762         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
24763         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
24764         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
24765         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
24766         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
24768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
24769         (__gtsf2): Add as optional for libc.so.
24770         (__unordsf2): Likewise.
24771         (__signbit): Remove for libc.so.
24772         (__signbitl): Likewise.
24774 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24776         * iconvdata/bug-iconv11.c (test_ibm93x):
24777         Use %zu printf format specifier for size_t argument.
24779 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
24781         * math/gen-libm-test.pl (parse_ulps): Do not reduce
24782         already-recorded ulps.
24783         * sysdeps/arm/libm-test-ulps: Regenerated.
24784         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24785         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24786         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24788 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24789             Paul Pluzhnikov  <ppluzhnikov@google.com>
24791         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
24792         assembler not supporting AVX-512.
24794 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
24796         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24798 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
24800         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24801         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24803         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24805         * sysdeps/arm/libm-test-ulps: Regenerated.
24807 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
24809         [BZ #19451]
24810         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
24812 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
24814         [BZ #19486]
24815         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
24816         * sysdeps/generic/fix-fp-int-convert-overflow.h
24817         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
24818         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
24819         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
24820         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
24821         Likewise.
24822         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
24823         Avoid conversions to long int where inexact exceptions
24824         could be raised.
24825         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
24826         Likewise.
24827         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
24828         Avoid conversions to long long int where inexact exceptions
24829         could be raised.
24830         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
24831         Likewise.
24833 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
24835         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
24836         * configure: Regenerated.
24838 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
24840         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
24842 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
24844         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
24845         outside of comment.
24847 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24849         * nptl/tst-barrier1.c: Add description on first line.
24850         * nptl/tst-barrier2.c: Likewise.
24851         * nptl/tst-barrier3.c: Likewise.
24852         * nptl/tst-barrier4.c: Likewise.
24853         * nptl/tst-barrier5.c: Likewise.
24855 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24857         [BZ #18868]
24858         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
24860 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
24862         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
24863         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
24864         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
24865         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
24866         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
24867         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
24868         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24869         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24870         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24871         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24872         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24874 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24876         [BZ #13065]
24877         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
24878         new implementation.
24879         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
24880         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
24881         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
24882         (BARRIER_IN_THRESHOLD): New macro.
24883         * nptl/pthread_barrierattr_setpshared.c
24884         (pthread_barrierattr_setpshared): Clean up.
24885         * nptl/tst-barrier4.c: Correct comment.
24886         * nptl/tst-barrier5.c: New file.
24887         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
24888         (gen-as-const-headers): Remove lowlevelbarrier.sym.
24889         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
24890         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
24891         * nptl/lowlevelbarrier.sym: Remove.
24892         * nptl/DESIGN-barrier.txt: Remove.
24893         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
24894         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
24895         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
24896         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
24897         error.
24898         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
24899         implementation.
24901 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24903         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
24904         (do_child): Mask SIGRTMIN while thr is running.
24906 2016-01-15  Martin Sebor  <msebor@redhat.com>
24908         [BZ #19432]
24909         * iconvdata/Makefile: Add bug-iconv11.
24910         * iconvdata/bug-iconv11.c: New test.
24911         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
24912         * iconvdata/ibm933.c: Same.
24913         * iconvdata/ibm935.c: Same.
24914         * iconvdata/ibm937.c: Same.
24915         * iconvdata/ibm939.c: Same.
24917 2016-01-15  Martin Sebor  <msebor@redhat.com>
24919         [BZ #19443]
24920         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
24921         [DEBUG] (_ufc_set_bits): Declare used.
24922         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
24923         [DEBUG] (print_all): Declare used.
24924         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
24925         operands of the ternary ?: expression to target type.
24926         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
24927         calling the undeclared abort.
24928         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
24930 2016-01-15  Martin Sebor  <msebor@redhat.com>
24932         [BZ #18755]
24933         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
24934         warnings.
24935         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
24936         (__gai_create_helper_thread): Same.
24937         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
24938         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
24939         to suppress -Wmaybe-uninitialized warnings.
24941 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
24943         [BZ #19465]
24944         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
24945         inside if.
24946         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24947         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24948         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24950 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
24952         [BZ #19466]
24953         * time/tst-mktime2.c (time_t_max): Removed.
24954         (time_t_min): Likewise.
24955         (TYPE_SIGNED): New.
24956         (TYPE_MINIMUM): Likewise.
24957         (TYPE_MAXIMUM): Likewise.
24958         (TIME_T_MIN): Likewise.
24959         (TIME_T_MAX): Likewise.
24960         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
24961         and TIME_T_MIN.
24962         (do_test): Likewise.
24964 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
24966         [BZ #19467]
24967         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
24968         index_Fast_Unaligned_Load flag for Excavator family CPUs.
24970 2016-01-02  Marcin Koƛcielnicki  <koriakin@0x04.net>
24972         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
24974 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
24976         * benchtests/Makefile (PYTHON): Define.
24977         (bench-func): Use $(PYTHON) to run python scripts.
24978         ($(objpfx)bench-%.c): Likewise.
24980 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
24982         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
24983         leading slash when `file_name' is "/".
24985 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
24987         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
24988         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
24989         Likewise.
24990         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
24991         Likewise.
24992         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
24993         Likewise.
24994         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
24995         enum constant and macro.
24996         (PTRACE_SETSIGMASK): Likewise.
24997         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24998         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24999         (PTRACE_GETSIGMASK): Likewise.
25000         (PTRACE_SETSIGMASK): Likewise.
25001         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25002         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
25003         Likewise.
25004         (PTRACE_SETSIGMASK): Likewise.
25005         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25006         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
25007         (PTRACE_GETSIGMASK): Likewise.
25008         (PTRACE_SETSIGMASK): Likewise.
25009         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25010         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
25011         Likewise.
25012         (PTRACE_SETSIGMASK): Likewise.
25013         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25014         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
25015         Likewise.
25016         (PTRACE_SETSIGMASK): Likewise.
25017         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25018         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
25019         Likewise.
25020         (PTRACE_SETSIGMASK): Likewise.
25021         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25023 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
25024             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25026         [BZ #19439]
25027         * math/bits/mathcalls.h
25028         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
25029         prototype.
25030         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
25032 2016-01-11  Andreas Schwab  <schwab@suse.de>
25034         [BZ #19253]
25035         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
25036         cache when TZDEFRULES was used.
25037         * time/tst-tzname.c: New file.
25038         * time/Makefile (test): Add tst-tzname.
25039         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
25040         * timezone/Makefile (test-zones): Add $(posixrules-file).
25041         ($(testdata)/$(posixrules-file)): New rule.
25043 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
25045         Fix doc quoting problems with Texinfo 5
25046         Without this change, in the info file output, Texinfo 5 quotes code
25047         in text with undirected single quotes 'like this' and generates
25048         code examples that with many PDF readers cannot be cut out of PDFs
25049         and pasted into code.
25050         * manual/libc.texinfo: Configure the libc manual like the GNU
25051         Emacs manual, by using @documentencoding and setting
25052         txicodequoteundirected and txicodequotebacktick.  This way,
25053         Texinfo 5 quotes code in text with directed single quotes â€˜like
25054         this’ and produces examples that can be cut out of PDFs.  This
25055         change causes Texinfo 5 to generate info files that contain UTF-8
25056         characters in the set {'‘', '’', '“', '”', 'Ä', 'Ă€', 'ö', '−',
25057         '–', '—', '©', '⇒', '‱', '
'}, which is OK nowadays.
25059 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25061         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
25062         __libc_tabort, __libc_tend): New wrappers that enforce compiler
25063         barriers to their respective compiler built-ins.
25064         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
25065         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
25066         * sysdeps/powerpc/sysdep.h: Likewise.
25067         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
25068         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
25069         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
25071 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
25073         * scripts/config.guess: Revert previous shebang change.
25074         * scripts/config.sub: Likewise.
25075         * scripts/mkinstalldirs: Likewise.
25077 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25079         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
25080         PPC_FEATURE2_HAS_IEEE128.
25081         * sysdeps/powerpc/dl-procinfo.c:
25082         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
25084 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
25086         [BZ #19415]
25087         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
25088         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
25089         (_dl_lookup_address): Rewrite using function resolver trampoline.
25090         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
25091         two bits in address.
25093 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
25095         * longlong.h: Change !__SHMEDIA__ to
25096         (!defined (__SHMEDIA__) || !__SHMEDIA__).
25097         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
25099 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
25100             Joseph Myers  <joseph@codesourcery.com>
25101             Mark Shinwell  <shinwell@codesourcery.com>
25102             Andrew Stubbs  <ams@codesourcery.com>
25103             Rich Felker <dalias@libc.org>
25105         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
25107 2016-01-07  Richard Henderson  <rth@redhat.com>
25109         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
25111 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
25113         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
25114         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
25115         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25116         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25117         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
25119 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
25120             Joseph Myers  <joseph@codesourcery.com>
25122         * timezone/private.h: Update from tzcode 2015g.
25123         * timezone/tzfile.h: Likewise.
25124         * timezone/tzselect.ksh: Likewise.
25125         * timezone/zdump.c: Likewise.
25126         * timezone/zic.c: Likewise.
25127         * timezone/ialloc.c: Remove file.
25128         * timezone/scheck.c: Likewise.
25129         * timezone/Makefile (extra-objs): Remove variable.
25130         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
25131         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
25132         -Wno-maybe-uninitialized.
25133         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
25134         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
25135         (CFLAGS-ialloc.c): Remove variable.
25136         (CFLAGS-scheck.c): Likewise.
25137         * timezone/README: Update list of files from tzcode.
25139 2016-01-07  Khem Raj  <raj.khem@gmail.com>
25141         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
25142         instead of __fxprintf when _LIBC is undefined.
25144 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
25146         * catgets/test-gencat.sh: Remove space after shebang.
25147         * conform/GlibcConform.pm: Likewise.
25148         * conform/check-header-lists.sh: Likewise.
25149         * conform/conformtest.pl: Likewise.
25150         * conform/linknamespace.pl: Likewise.
25151         * conform/list-header-symbols.pl: Likewise.
25152         * debug/catchsegv.sh: Likewise.
25153         * elf/genrtldtbl.awk: Likewise.
25154         * elf/tst-pathopt.sh: Likewise.
25155         * elf/tst-rtld-load-self.sh: Likewise.
25156         * grp/tst_fgetgrent.sh: Likewise.
25157         * iconvdata/gen-8bit-gap-1.sh: Likewise.
25158         * iconvdata/gen-8bit-gap.sh: Likewise.
25159         * iconvdata/gen-8bit.sh: Likewise.
25160         * iconvdata/run-iconv-test.sh: Likewise.
25161         * intl/tst-gettext.sh: Likewise.
25162         * intl/tst-gettext2.sh: Likewise.
25163         * intl/tst-gettext4.sh: Likewise.
25164         * intl/tst-gettext6.sh: Likewise.
25165         * intl/tst-translit.sh: Likewise.
25166         * io/ftwtest-sh: Likewise.
25167         * libio/test-freopen.sh: Likewise.
25168         * locale/gen-translit.pl: Likewise.
25169         * malloc/tst-mtrace.sh: Likewise.
25170         * manual/check-safety.sh: Likewise.
25171         * manual/libc-texinfo.sh: Likewise.
25172         * manual/tsort.awk: Likewise.
25173         * manual/xtract-typefun.awk: Likewise.
25174         * nptl/tst-cancel-wrappers.sh: Likewise.
25175         * nptl/tst-tls6.sh: Likewise.
25176         * posix/globtest.sh: Likewise.
25177         * posix/tst-getconf.sh: Likewise.
25178         * posix/wordexp-tst.sh: Likewise.
25179         * scripts/check-c++-types.sh: Likewise.
25180         * scripts/check-local-headers.sh: Likewise.
25181         * scripts/config.guess: Likewise.
25182         * scripts/config.sub: Likewise.
25183         * scripts/cpp: Likewise.
25184         * scripts/cross-test-ssh.sh: Likewise.
25185         * scripts/documented.sh: Likewise.
25186         * scripts/evaluate-test.sh: Likewise.
25187         * scripts/gen-libc-abis: Likewise.
25188         * scripts/gen-sorted.awk: Likewise.
25189         * scripts/list-fixed-bugs.py: Likewise.
25190         * scripts/merge-test-results.sh: Likewise.
25191         * scripts/mkinstalldirs: Likewise.
25192         * scripts/rellns-sh: Likewise.
25193         * scripts/test-installation.pl: Likewise.
25194         * scripts/update-copyrights: Likewise.
25195         * stdio-common/tst-printf.sh: Likewise.
25196         * stdio-common/tst-unbputc.sh: Likewise.
25197         * stdlib/tst-fmtmsg.sh: Likewise.
25198         * stdlib/tst-setcontext3.sh: Likewise.
25199         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
25200         * sysdeps/unix/make-syscalls.sh: Likewise.
25202 2016-01-06  John David Anglin  <dave.anglin@bell.net>
25204         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
25205         asm stw with atomic_exchange_rel.  Add explanatory comment.
25206         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
25207         Likewise.
25209 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
25211         [BZ #19122]
25212         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
25213         * sysdeps/generic/dl-unistd.h: New file.
25214         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
25216 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
25218          [BZ #19122]
25219          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
25220          * sysdeps/generic/dl-mman.h: New file.
25221          * sysdeps/mach/hurd/dl-mman.h: Likewise.
25223 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
25225         * manual/texinfo.tex: Update to version 2016-01-04.21 with
25226         trailing whitespace removed.
25227         * scripts/config.guess: Update to version 2016-01-01.
25228         * scripts/config.sub: Update to version 2016-01-01.
25229         * scripts/move-if-change: Update from gnulib.
25231 2016-01-04  Anton Blanchard  <anton@samba.org>
25233         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
25234         for array indices.
25235         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
25237 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
25239         * NEWS: Update copyright dates.
25240         * catgets/gencat.c (print_version): Likewise.
25241         * csu/version.c (banner): Likewise.
25242         * debug/catchsegv.sh: Likewise.
25243         * debug/pcprofiledump.c (print_version): Likewise.
25244         * debug/xtrace.sh (do_version): Likewise.
25245         * elf/ldconfig.c (print_version): Likewise.
25246         * elf/ldd.bash.in: Likewise.
25247         * elf/pldd.c (print_version): Likewise.
25248         * elf/sotruss.sh: Likewise.
25249         * elf/sprof.c (print_version): Likewise.
25250         * iconv/iconv_prog.c (print_version): Likewise.
25251         * iconv/iconvconfig.c (print_version): Likewise.
25252         * locale/programs/locale.c (print_version): Likewise.
25253         * locale/programs/localedef.c (print_version): Likewise.
25254         * login/programs/pt_chown.c (print_version): Likewise.
25255         * malloc/memusage.sh (do_version): Likewise.
25256         * malloc/memusagestat.c (print_version): Likewise.
25257         * malloc/mtrace.pl: Likewise.
25258         * manual/libc.texinfo: Likewise.
25259         * nptl/version.c (banner): Likewise.
25260         * nscd/nscd.c (print_version): Likewise.
25261         * nss/getent.c (print_version): Likewise.
25262         * nss/makedb.c (print_version): Likewise.
25263         * posix/getconf.c (main): Likewise.
25264         * scripts/test-installation.pl: Likewise.
25265         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25267         * All files with FSF copyright notices: Update copyright dates
25268         using scripts/update-copyrights.
25269         * intl/plural.c: Regenerated.
25270         * locale/programs/charmap-kw.h: Likewise.
25271         * locale/programs/locfile-kw.h: Likewise.
25273 2016-01-02  Helge Deller  <deller@gmx.de>
25275         [BZ #19285]
25276         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
25277         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
25278         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
25279         (MADV_xxK_PAGES): Remove.
25281 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
25283         [BZ #15421]
25284         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
25285         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
25286         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
25287         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
25289 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
25291         [BZ #19408]
25292         * sysdeps/unix/sysv/linux/personality.c: New file.
25293         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
25294         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
25295         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
25296         (sysdep_routines): Add personality.
25297         (tests): Add tst-personality.
25298         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
25299         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
25300         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
25301         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
25302         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
25303         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
25304         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
25305         Likewise.
25306         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
25307         Likewise.
25308         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
25309         Likewise.
25310         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
25311         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
25312         Likewise.
25314 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
25316         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
25317         (PATH_ARM_SYSTYPE): Remove.
25318         (PATH_CPUINFO): Likewise.
25319         (IO_BASE_FOOTBRIDGE): Likewise.
25320         (IO_SHIFT_FOOTBRIDGE): Likewise.
25321         (struct platform): Likewise.
25322         (init_iosys): Remove compatibility code for 2.4 kernels.
25323         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
25325 2015-12-29  Florian Weimer  <fweimer@redhat.com>
25327         * malloc/tst-malloc-thread-fail.c: New file.
25328         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
25329         (tst-malloc-thread-fail): Link against libpthread.
25331 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
25333         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
25334         (get_parser): New function.
25335         (main): New function.
25337 2015-12-29  Rob Wu  <rob@robwu.nl>
25339         [BZ #19369]
25340         * resolv/res_init.c (__res_vinit): Reset defdname before use.
25342 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
25344         [BZ #19270]
25345         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25347 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
25349         [BZ #15421]
25350         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
25352 2015-12-23  Torvald Riegel  <triegel@redhat.com>
25354         [BZ #13690]
25355         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
25356         after releasing it.
25357         (__lll_robust_unlock): Likewise.
25358         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25359         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
25360         (lll_robust_unlock): Likewise.
25361         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
25362         Prevent warnings in callers.
25364 2015-12-23  Florian Weimer  <fweimer@redhat.com>
25366         * malloc/arena.c (list_lock): Update comment.
25368 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25370         * sysdeps/powerpc/hwcapinfo.c: Export symbol
25371         __parse_hwcap_and_convert_at_platform to libc.a.
25373 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25375         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
25376         platform and feature support for POWER9.
25377         * sysdeps/powerpc/dl-procinfo.h: Likewise.
25378         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
25379         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
25380         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
25381         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
25382         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
25383         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
25384         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
25386 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25388         Harmonize generic stdio-lock support with nptl
25390         This fixes build when _IO_funlockfile is a macro, fixes build where
25391         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
25392         stack unwind.
25394         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
25395         _IO_release_lock ): Use cleanup attribute on new
25396         _IO_acquire_lock_file variable instead of assuming that
25397         _IO_release_lock will be called.
25398         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
25399         _IO_acquire_lock_needs_exceptions_enabled.
25400         (_IO_acquire_lock_clear_flags2): New macro.
25402 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25404         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
25406 2015-12-21  Florian Weimer  <fweimer@redhat.com>
25408         [BZ #19182]
25409         * malloc/arena.c (list_lock): Document lock ordering requirements.
25410         (free_list_lock): New lock.
25411         (ptmalloc_lock_all): Comment on free_list_lock.
25412         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
25413         (detach_arena): Update comment.  free_list_lock is now needed.
25414         (_int_new_arena): Use free_list_lock around detach_arena call.
25415         Acquire arena lock after list_lock.  Add comment, including FIXME
25416         about incorrect synchronization.
25417         (get_free_list): Switch to free_list_lock.
25418         (reused_arena): Acquire free_list_lock around detach_arena call
25419         and attached threads counter update.  Add two FIXMEs about
25420         incorrect synchronization.
25421         (arena_thread_freeres): Switch to free_list_lock.
25422         * malloc/malloc.c (struct malloc_state): Update comments to
25423         mention free_list_lock.
25425 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
25427         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
25428         Remove functions.
25429         (sloww, sloww1): Accept argument to offset quadrant.
25430         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
25431         quadrant.
25432         (__sin, __cos): Consolidate common code into new functions.
25433         (reduce_sincos_1, do_sincos_1): New functions.
25434         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25436         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
25437         code to new functions.
25438         (reduce_sincos_2, do_sincos_2): New functions.
25439         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25441         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
25442         common code for sincos.
25443         (__cos) [!IN_SINCOS]: Likewise.
25444         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
25445         New function.
25446         (__sincos): Use it.
25448 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
25450         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
25451         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
25452         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25454 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
25456         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
25457         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
25458         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
25459         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
25460         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25461         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
25462         index_Prefer_No_VZEROUPPER): New feature.
25463         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
25464         Prefer_No_VZEROUPPER for Knights Landing.
25466 015-12-18  Torvald Riegel  <triegel@redhat.com>
25468         * math/atest-exp2.c (mp_exp_m1): Remove.
25470 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25472         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
25473         syscalls.
25474         (__SYSCALL0): New macro.
25475         (__SYSCALL1): Likewise.
25476         (__SYSCALL2): Likewise.
25477         (__SYSCALL3): Likewise.
25478         (__SYSCALL4): Likewise.
25479         (__SYSCALL5): Likewise.
25480         (__SYSCALL6): Likewise.
25481         (__SYSCALL_CONCAT_X): Likewise.
25482         (__SYSCALL_CONCAT): Likewise.
25483         (__SYSCALL_DIST): Likewise.
25484         (__SYSCALL_CALL): Likewise.
25486 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
25488         [BZ #19363]
25489         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
25491 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25493         [BZ #19375]
25494         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
25495         negative subnormals.
25497 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
25499         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25500         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
25501         (INTERNAL_SYSCALL_NCS): Use it.
25502         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25504 2015-12-16  Florian Weimer  <fweimer@redhat.com>
25506         [BZ #19243]
25507         * malloc/arena.c (get_free_list): Remove assert and adjust
25508         reference count handling.  Add comment about reused_arena
25509         interaction.
25510         (reused_arena): Add comments abount get_free_list interaction.
25511         * malloc/tst-malloc-thread-exit.c: New file.
25512         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
25513         (tst-malloc-thread-exit): Link against libpthread.
25515 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
25517         [BZ #19367]
25518         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
25519         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
25520         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
25521         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
25522         (index_Prefer_MAP_32BIT_EXEC): Likewise.
25524 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
25526         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
25527         Silvermont optimizations for Knights Landing.
25529 2015-12-15  Andreas Schwab  <schwab@suse.de>
25531         [BZ #17197]
25532         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
25533         immediately after emitting SI.
25534         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
25535         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
25536         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
25537         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
25538         * iconvdata/bug-iconv10.c: New file.
25539         * iconvdata/Makefile (tests): Add bug-iconv10.
25540         ($(objpfx)bug-iconv10.out): New rule.
25542 2015-12-15  Florian Weimer  <fweimer@redhat.com>
25544         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
25545         aliasing violation.
25547 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
25549         [BZ #18472]
25550         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
25551         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
25552         conditionals for them.
25553         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
25554         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
25555         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
25556         sys/kdaemon.h.
25557         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
25558         compat-only syscall, obsoleted in glibc 2.23.
25559         (create_module): Likewise.
25560         (get_kernel_syms): Likewise.
25561         (query_module): Likewise.
25562         (uselib): Likewise.
25563         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
25565 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
25567         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
25568         <linux/version.h>.
25569         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
25570         conditional code.
25571         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
25572         and ioshift_name initialization.
25574 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25576         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25577         Fix indentation.
25579 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25581         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
25583 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25585         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
25587 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
25588             Jakub Wilk  <jwilk@debian.org>
25590         [BZ #19347]
25591         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
25592         to change the group of the device to the tty group.
25594 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
25596         Split large string section; add truncation advice
25597         * manual/examples/strncat.c: Remove.
25598         This example was misleading, as the code would have undefined
25599         behavior if "hello" was longer than SIZE.  Anyway, the manual
25600         shouldn't encourage strncpy+strncat for this sort of thing.
25601         * manual/string.texi (Copying Strings and Arrays): Split into
25602         three sections Copying Strings and Arrays, Concatenating Strings,
25603         and Truncating Strings, as this section was way too long.  All
25604         cross-referenced changed.  Add advice about string-truncation
25605         functions.  Remove misleading strncat example.
25607 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
25609         * manual/nss.texi (NSS Modules Interface): Document
25610         NSS_STATUS_NOTFOUND and SUCCESS.
25612 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
25614         [BZ 18568]
25615         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25616         201505L, for Unicode 8.
25618 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
25620         * locale/C-translit.h: Regenerate.
25622 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
25624         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
25625         and U+0153.
25627 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
25629         [BZ #19351]
25630         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
25631         expanding log(1+z), compare z rather than its square with epsilon
25632         to determine when to avoid evaluating the expansion.
25634         [BZ #19350]
25635         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25636         Increase overflow threshold.
25638         [BZ #19349]
25639         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
25640         when small.
25642         * sysdeps/unix/sysv/linux/i386/kernel-features.h
25643         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25644         New macro.
25645         [__LINUX_KERNEL_VERSION >= 0x040300]
25646         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25647         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25648         Likewise.
25649         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25650         Likewise.
25651         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25652         Likewise.
25653         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25654         Likewise.
25655         [__LINUX_KERNEL_VERSION >= 0x040300]
25656         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25657         [__LINUX_KERNEL_VERSION >= 0x040300]
25658         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25659         [__LINUX_KERNEL_VERSION >= 0x040300]
25660         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25661         [__LINUX_KERNEL_VERSION >= 0x040300]
25662         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25663         [__LINUX_KERNEL_VERSION >= 0x040300]
25664         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25665         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25666         Likewise.
25667         [__LINUX_KERNEL_VERSION >= 0x040300]
25668         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25669         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25670         Likewise.
25671         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25672         Likewise.
25673         [__LINUX_KERNEL_VERSION >= 0x040300]
25674         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25675         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25676         Likewise.
25677         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25678         Likewise.
25679         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25680         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
25681         Likewise.
25682         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
25683         Likewise.
25684         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25685         Likewise.
25686         [__LINUX_KERNEL_VERSION >= 0x040300]
25687         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25688         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25689         Likewise.
25690         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25691         Likewise.
25692         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25693         Likewise.
25694         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25695         Likewise.
25696         [__LINUX_KERNEL_VERSION >= 0x040300]
25697         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25698         [__LINUX_KERNEL_VERSION >= 0x040300]
25699         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25700         [__LINUX_KERNEL_VERSION >= 0x040300]
25701         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25702         [__LINUX_KERNEL_VERSION >= 0x040300]
25703         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25704         [__LINUX_KERNEL_VERSION >= 0x040300]
25705         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25706         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25707         Likewise.
25708         [__LINUX_KERNEL_VERSION >= 0x040300]
25709         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25710         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25711         Likewise.
25712         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25713         Likewise.
25714         [__LINUX_KERNEL_VERSION >= 0x040300]
25715         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25716         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25717         Likewise.
25718         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25719         Likewise.
25720         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25721         (__ASSUME_SOCKET_SYSCALL): Likewise.
25722         (__ASSUME_BIND_SYSCALL): Likewise.
25723         (__ASSUME_CONNECT_SYSCALL): Likewise.
25724         (__ASSUME_LISTEN_SYSCALL): Likewise.
25725         (__ASSUME_ACCEPT_SYSCALL): Likewise.
25726         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25727         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25728         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25729         (__ASSUME_SEND_SYSCALL): Likewise.
25730         (__ASSUME_SENDTO_SYSCALL): Likewise.
25731         (__ASSUME_RECV_SYSCALL): Likewise.
25732         (__ASSUME_RECVFROM_SYSCALL): Likewise.
25733         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
25734         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25735         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25736         (__ASSUME_SENDMSG_SYSCALL): Likewise.
25737         (__ASSUME_RECVMSG_SYSCALL): Likewise.
25738         * sysdeps/unix/sysv/linux/sh/kernel-features.h
25739         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
25740         Likewise.
25741         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
25742         Likewise.
25743         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
25744         Likewise.
25745         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
25746         Likewise.
25747         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
25748         Likewise.
25749         [__LINUX_KERNEL_VERSION >= 0x020625]
25750         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25751         [__LINUX_KERNEL_VERSION >= 0x020625]
25752         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25753         [__LINUX_KERNEL_VERSION >= 0x020625]
25754         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25755         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
25756         Likewise.
25757         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
25758         Likewise.
25759         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
25760         Likewise.
25761         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
25762         Likewise.
25763         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
25764         Likewise.
25765         [__LINUX_KERNEL_VERSION >= 0x020625]
25766         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25767         [__LINUX_KERNEL_VERSION >= 0x020625]
25768         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25769         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
25770         Likewise.
25771         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
25772         Likewise.
25774 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
25776         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
25777         record the current if the current ABI and CPU support the FP64
25778         extension.
25779         (has-modd-spreg): Define to record the current if the current ABI and
25780         CPU support 32-bit floating point values in odd FPU registers.
25781         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25782         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
25783         $(has-modd-spreg) equals yes.
25784         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
25785         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
25786         $(has-modd-spreg) equal yes.
25788 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
25790         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
25791         basename.
25793 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
25795         * benchtests/Makefile (bench-math): Move ffs and ffsll...
25796         (bench-string): ... here.
25797         (bench): Add bench-string.
25798         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
25799         to *-benchset to reflect what they are.
25800         (benchset): Adjust.
25802         * benchtests/sincos-inputs: Add inputs from sin-inputs and
25803         cos-inputs.
25805 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
25807         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
25808         __attribute__ ((__simd__)) for vector math function declarations.
25810 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25812         Fix typo in strncat, wcsncat manual entries
25813         * manual/string.texi (Copying and Concatenation): Fix typos in
25814         sample implementations of strncat and wcsncat, by having them use
25815         the old value of the destination length, not the new one.
25817 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
25819         [BZ #16961]
25820         [BZ #16962]
25821         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
25822         string on the stack for strtod.
25823         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
25824         a string on the stack for strtof.
25825         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
25826         constructing a string on the stack for strtold.
25827         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
25828         __strtold_nan to GLIBC_PRIVATE.
25829         * math/test-nan-overflow.c: New file.
25830         * math/test-nan-payload.c: Likewise.
25831         * math/Makefile (tests): Add test-nan-overflow and
25832         test-nan-payload.
25834 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25836         Consistency about byte vs character in string.texi
25837         * manual/string.texi (String and Array Utilities):
25838         Distinguish more carefully among bytes, multibyte characters,
25839         and wide characters.  Use "byte" when talking about C 'char',
25840         to distinguish it more clearly from multibyte characters.
25841         Say "wide character" or "multibyte character" instead of
25842         "character", when a wide or multibyte character is intended.
25843         Similarly for "multibyte string" versus "string".
25844         Define these terms more carefully.
25846 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
25848         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
25849         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
25850         Likewise.
25851         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25852         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25853         * sysdeps/sh/math_private.h: New file.
25854         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
25855         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
25856         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
25857         long double function name.
25858         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25859         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25860         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25861         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25862         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25864         Remove __finitel, __isinfl, and __isnanl.
25865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25866         Likewise.
25867         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25869         Remove __finitel.
25870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25871         Likewise.
25872         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25874 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
25876         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
25877         installed libmvec_nonshared.a.
25879 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25881         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
25882         (sysdep_routines): Likewise.
25883         (sysdep-rtld-routines): Likewise.
25884         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
25885         [$(subdir) = nptl](tests-static): test-get_hwcap-static
25886         * sysdeps/powerpc/Versions: Added new
25887         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
25888         * sysdeps/powerpc/hwcapinfo.c: New file.
25889         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
25890         and parse hwcap, hwcap2 and platform number information.
25891         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
25892         to store HWCAP+HWCAP2 and platform number.
25893         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
25894         for HWCAP+HWCAP2 and platform number in the TCB.
25895         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
25896         the HWCAP, HWCAP2 and platform number in the TCB.
25897         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
25898         (TLS_INIT_TP): Included calls to add the hwcap and
25899         at_platform values in the TCB in TP initialization.
25900         (TLS_DEFINE_INIT_TP): Likewise.
25901         (THREAD_GET_HWCAP): New macro.
25902         (THREAD_SET_HWCAP): Likewise.
25903         (THREAD_GET_AT_PLATFORM): Likewise.
25904         (THREAD_SET_AT_PLATFORM): Likewise.
25905         * sysdeps/powerpc/powerpc32/dl-machine.h:
25906         (dl_platform_init): New function that calls
25907         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
25908         powerpc32.
25909         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
25910         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
25911         this functionality, static linking case.
25912         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
25913         linking case.
25914         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
25915         __parse_hwcap_and_convert_at_platform for the static linking case.
25916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
25917         Included the new __parse_hwcap_and_convert_at_platform symbol in the
25918         ABI list for GLIBC 2.23.
25919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
25920         Likewise.
25921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
25922         Likewise.
25924 2015-12-02  Ludovic CourtĂšs  <ludo@gnu.org>
25926         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
25927         * configure: Regenerate.
25928         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
25929         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
25931 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
25933         * iconvdata/ibm930.c: Add comment explaining encoding uses.
25934         * iconvdata/ibm933.c: Likewise.
25935         * iconvdata/ibm935.c: Likewise.
25936         * iconvdata/ibm937.c: Likewise.
25937         * iconvdata/ibm939.c: Likewise.
25939 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25941         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
25942         pthread_join.
25943         * nptl/tst-cancel21.c (tf): Likewise.
25945 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
25947         [BZ #19313]
25948         * bits/typesizes.h (__CPU_MASK_TYPE): New.
25949         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25950         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25951         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
25952         Likewise.
25953         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
25954         Likewise.
25955         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
25956         Likewise.
25957         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
25958         Likewise.
25959         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
25960         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
25961         unsigned long int with __CPU_MASK_TYPE.
25963 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25965         * sysdeps/aarch64/libm-test-ulps: Regenerated.
25967 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
25969         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
25970         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
25971         t512.x.
25972         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
25974 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
25976         [BZ #19214]
25977         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
25978         argument to return extended model.  Update family and model
25979         with extended family and model when family == 0x0f.
25980         (init_cpu_features): Updated.
25982 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25984         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
25985         signed off_t, so 32bit bigger than 2GiB values are fine actually.
25987         * sysdeps/mach/hurd/mmap64.c: New file.
25989 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
25991         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
25992         rights for its main user thread in NEWTASK.
25994 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
25996         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
25997         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
25999 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
26001         [BZ #14259]
26002         * Makeconfig: Rename localedir to complocaledir.
26003         Rename inst_localedir to inst_complocaledir.
26004         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
26005         * config.make.in: Use complocaledir and libc_cv_complocaledir.
26006         * configure.ac: Use libc_cv_complocaledir.
26007         * configure: Regenerate.
26008         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
26009         -DCOMPLOCALEDIR.
26010         * locale/findlocale.c: Use COMPLOCALEDIR.
26011         * locale/loadarchive.c: Likewise.
26012         * locale/programs/locale.c: Likewise.
26013         * locale/programs/localedef.c: Likewise.
26014         * locale/programs/locarchive.c: Likewise.
26015         * localedata/Makefile: Use inst_complocaledir.
26016         * sysdeps/gnu/configure: Regenerate.
26017         * sysdeps/hppa/configure: Regenerate.
26018         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
26019         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
26020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
26021         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
26022         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
26023         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
26024         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
26026 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
26028         [BZ #19058]
26029         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
26030         AS_NEEDED.
26031         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
26032         workaround.
26033         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
26034         libmvec-static-only-routines): Added new file.
26035         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
26037 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26039         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
26040         of interrupted RPC instead of restoring it.
26042         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
26043         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
26044         libc_hidden_def.
26045         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
26046         into initialized data instead of common. Define rtld_hidden_data_def.
26047         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
26048         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
26049         libc_hidden_def.
26050         (if_freenameindex): Add libc_hidden_weak.
26051         (if_nameindex): Add libc_hidden_weak.
26052         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
26053         __open64.
26054         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
26055         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
26056         * sysdeps/mach/nanosleep.c: Include <time.h>
26057         (__nanosleep): Rename to __libc_nanosleep.
26058         (__nanosleep): Add weak_alias.
26059         (nanosleep): Update alias.
26061 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
26063         * stdlib/strtod_nan.c: New file.
26064         * stdlib/strtod_nan_double.h: Likewise.
26065         * stdlib/strtod_nan_float.h: Likewise.
26066         * stdlib/strtod_nan_main.c: Likewise.
26067         * stdlib/strtod_nan_narrow.h: Likewise.
26068         * stdlib/strtod_nan_wide.h: Likewise.
26069         * stdlib/strtof_nan.c: Likewise.
26070         * stdlib/strtold_nan.c: Likewise.
26071         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
26072         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
26073         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
26074         * wcsmbs/wcstod_nan.c: Likewise.
26075         * wcsmbs/wcstof_nan.c: Likewise.
26076         * wcsmbs/wcstold_nan.c: Likewise.
26077         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
26078         strtold_nan.
26079         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
26080         wcstof_nan.
26081         * include/stdlib.h (__strtof_nan): Declare and use
26082         libc_hidden_proto.
26083         (__strtod_nan): Likewise.
26084         (__strtold_nan): Likewise.
26085         (__wcstof_nan): Likewise.
26086         (__wcstod_nan): Likewise.
26087         (__wcstold_nan): Likewise.
26088         * include/wchar.h (____wcstoull_l_internal): Declare.
26089         * stdlib/strtod_l.c: Do not include <ieee754.h>.
26090         (____strtoull_l_internal): Remove declaration.
26091         (STRTOF_NAN): Define macro.
26092         (SET_MANTISSA): Remove macro.
26093         (STRTOULL): Likewise.
26094         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
26095         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
26096         (STRTOF_NAN): Define macro.
26097         (SET_MANTISSA): Remove macro.
26098         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
26099         (SET_MANTISSA): Remove macro.
26100         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
26101         macro.
26102         (SET_MANTISSA): Remove macro.
26103         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
26104         macro.
26105         (SET_MANTISSA): Remove macro.
26106         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
26107         (SET_MANTISSA): Remove macro.
26108         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
26109         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
26110         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
26112         [BZ #19266]
26113         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
26114         upper case and lower case letters inside NAN(), not using TOLOWER.
26115         * stdlib/tst-strtod-nan-locale-main.c: New file.
26116         * stdlib/tst-strtod-nan-locale.c: Likewise.
26117         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
26118         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
26119         Depend on $(gen-locales).
26120         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
26121         * wcsmbs/tst-wcstod-nan-locale.c: New file.
26122         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
26123         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
26124         Depend on $(gen-locales).
26125         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
26127 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
26129         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
26131         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
26132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
26133         __finitel, __isinfl, and __isnanl.
26134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
26135         Likewise.
26136         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
26138         __finitel.
26139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26140         Likewise.
26141         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26143 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
26145         * malloc/memusage.c (me): Remove redundant getenv call.
26147 2015-10-24  Florian Weimer  <fweimer@redhat.com>
26149         [BZ #19143]
26150         [BZ #19164]
26151         * nptl/check-cpuset.h: Remove.
26152         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26153         Remove CPU set size check.
26154         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26155         Likewise.
26156         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
26157         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
26158         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
26159         (__pthread_setaffinity_new): Remove CPU set size check.
26160         * sysdeps/unix/sysv/linux/sched_setaffinity.c
26161         (__kernel_cpumask_size): Remove.
26162         (__sched_setaffinity_new): Remove CPU set size check.
26163         * manual/threads.texi (Default Thread Attributes): Remove stale
26164         reference to check_cpuset_attr, determine_cpumask_size in comment.
26165         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
26166         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
26167         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
26168         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
26169         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
26170         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
26171         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
26172         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
26173         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
26174         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
26175         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
26176         skeleton test file.
26177         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
26178         tst-affinity-pid.
26180 2015-11-24  Florian Weimer  <fweimer@redhat.com>
26182         * scripts/update-abilist.sh: New file.
26183         * Makefile (+subdir_targets): Add subdir_update-all-abi.
26184         * Makerules (update-all-abi-%, update-all-abi)
26185         (subdir_update-all-abi): New targets.
26186         * elf/Makefile (update-all-abi): New target.
26188 2015-11-24  Florian Weimer  <fweimer@redhat.com>
26190         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
26191         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
26192         (__libc_lock_define_initialized): Use it.
26193         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
26194         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
26195         * malloc/malloc.c (main_arena): Likewise.
26196         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26197         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26199 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
26201         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
26202         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
26203         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26204         (PTRACE_O_MASK): Update value.
26205         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
26206         New value in enum __ptrace_setoptions.
26207         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26208         (PTRACE_O_MASK): Update value.
26209         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
26210         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26211         (PTRACE_O_MASK): Update value.
26212         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
26213         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26214         (PTRACE_O_MASK): Update value.
26215         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
26216         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26217         (PTRACE_O_MASK): Update value.
26218         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
26219         New value in enum __ptrace_setoptions.
26220         (PTRACE_O_MASK): Update value.
26221         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
26222         New value in enum __ptrace_setoptions.
26223         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26224         (PTRACE_O_MASK): Update value.
26226         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
26227         New macro.
26228         (PACKET_AUXDATA): Likewise.
26229         (PACKET_ORIGDEV): Likewise.
26230         (PACKET_VERSION): Likewise.
26231         (PACKET_HDRLEN): Likewise.
26232         (PACKET_RESERVE): Likewise.
26233         (PACKET_TX_RING): Likewise.
26234         (PACKET_LOSS): Likewise.
26235         (PACKET_VNET_HDR): Likewise.
26236         (PACKET_TX_TIMESTAMP): Likewise.
26237         (PACKET_TIMESTAMP): Likewise.
26238         (PACKET_FANOUT): Likewise.
26239         (PACKET_TX_HAS_OFF): Likewise.
26240         (PACKET_QDISC_BYPASS): Likewise.
26241         (PACKET_ROLLOVER_STATS): Likewise.
26242         (PACKET_FANOUT_DATA): Likewise.
26243         (PACKET_MR_UNICAST): Likewise.
26245         [BZ #19242]
26246         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
26247         (TOUPPER): Likewise.
26248         * stdlib/tst-strtol-locale-main.c: New file.
26249         * stdlib/tst-strtol-locale.c: Likewise.
26250         * stdlib/Makefile (tests): Add tst-strtol-locale.
26251         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
26252         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
26253         Depend on $(gen-locales).
26254         * wcsmbs/tst-wcstol-locale.c: New file.
26255         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
26256         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
26257         tr_TR.ISO-8859-9.
26258         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
26259         Depend on $(gen-locales).
26261 2015-11-20  Roland McGrath  <roland@hack.frob.com>
26263         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
26264         __glibc_likely instead of __builtin_expect.  After falling back to
26265         dyncode_create in a non-ET_DYN case, use the allocate_code_data
26266         system interface to register the code pages as occupied.
26268 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
26270         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26271         [!ARM_MATH_PRIVATE_H].
26272         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
26273         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26274         [!HPPA_MATH_PRIVATE_H].
26275         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
26276         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
26277         to [!I386_MATH_PRIVATE_H].
26278         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
26279         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
26280         Change guard to [!M68K_MATH_PRIVATE_H].
26281         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
26282         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
26283         guard to [!MICROBLAZE_MATH_PRIVATE_H].
26284         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
26285         macro.
26286         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26287         [!MIPS_MATH_PRIVATE_H].
26288         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
26289         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26290         [!NIO2_MATH_PRIVATE_H].
26291         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
26292         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26293         [!TILE_MATH_PRIVATE_H].
26294         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
26296         [BZ #15421]
26297         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
26298         initialize with 0 and define as weak alias of __signgam.
26299         * include/math.h [!_ISOMAC] (__signgam): Declare.
26300         * math/Makefile (libm-calls): Add w_lgamma_compat.
26301         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
26302         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
26303         test-signgam-ullong-init.
26304         (tests-static): Add test-signgam-uchar-static,
26305         test-signgam-uchar-init-static, test-signgam-uint-static,
26306         test-signgam-uint-init-static, test-signgam-ullong-static and
26307         test-signgam-ullong-init-static.
26308         (CFLAGS-test-signgam-uchar.c): New variable.
26309         (CFLAGS-test-signgam-uchar-init.c): Likewise.
26310         (CFLAGS-test-signgam-uchar-static.c): Likewise.
26311         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
26312         (CFLAGS-test-signgam-uint.c): Likewise.
26313         (CFLAGS-test-signgam-uint-init.c): Likewise.
26314         (CFLAGS-test-signgam-uint-static.c): Likewise.
26315         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
26316         (CFLAGS-test-signgam-ullong.c): Likewise.
26317         (CFLAGS-test-signgam-ullong-init.c): Likewise.
26318         (CFLAGS-test-signgam-ullong-static.c): Likewise.
26319         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
26320         * math/Versions (libm): Add GLIBC_2.23.
26321         * math/lgamma-compat.h: New file.
26322         * math/test-signgam-main.c: Likewise.
26323         * math/test-signgam-uchar-init-static.c: Likewise.
26324         * math/test-signgam-uchar-init.c: Likewise.
26325         * math/test-signgam-uchar-static.c: Likewise.
26326         * math/test-signgam-uchar.c: Likewise.
26327         * math/test-signgam-uint-init-static.c: Likewise.
26328         * math/test-signgam-uint-init.c: Likewise.
26329         * math/test-signgam-uint-static.c: Likewise.
26330         * math/test-signgam-uint.c: Likewise.
26331         * math/test-signgam-ullong-init-static.c: Likewise.
26332         * math/test-signgam-ullong-init.c: Likewise.
26333         * math/test-signgam-ullong-static.c: Likewise.
26334         * math/test-signgam-ullong.c: Likewise.
26335         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
26336         wrapper of w_lgamma_main.c.
26337         * math/w_lgamma_compat.c: New file.
26338         * math/w_lgamma_compatf.c: Likewise.
26339         * math/w_lgamma_compatl.c: Likewise.
26340         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
26341         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
26342         defining compatibility symbols.
26343         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
26344         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
26345         wrapper of w_lgammaf_main.c.
26346         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
26347         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
26348         defining compatibility symbols.
26349         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
26350         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
26351         wrapper of w_lgammal_main.c.
26352         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
26353         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
26354         defining compatibility symbols.
26355         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
26356         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
26357         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
26358         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
26359         <lgamma-compat.h>.
26360         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
26361         (__ieee754_gamma): Define as alias.
26362         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
26363         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
26364         <lgamma-compat.h>.
26365         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
26366         (__ieee754_gammaf): Define as alias.
26367         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
26368         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
26369         <lgamma-compat.h>.
26370         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
26371         (__ieee754_gammal): Define as alias.
26372         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
26373         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
26374         <math/w_lgamma_compat.c>.
26375         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
26376         Define as alias of __lgamma_compat and use in defining lgammal.
26377         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
26378         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
26379         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
26380         (USE_AS_COMPAT): New macro.
26381         (LGAMMA_OLD_VER): Undefine and redefine.
26382         (lgammal): Do not define here.
26383         (gammal): Only define here if [GAMMA_ALIAS].
26384         * conform/linknamespace.pl (@whitelist): Remove signgam.
26385         * sysdeps/nacl/libm.abilist: Update.
26386         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26387         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26388         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26389         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26390         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26391         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26392         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26393         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26394         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26395         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26396         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26397         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26399         Likewise.
26400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26401         Likewise.
26402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26403         Likewise.
26404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26405         Likewise.
26406         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26407         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26408         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26409         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26410         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26412         Likewise.
26413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26414         Likewise.
26415         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26416         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26417         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26419 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26421         [BZ #16364]
26422         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
26423         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
26425 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26427         * sysdeps/s390/fpu/bits/mathinline.h:
26428         Use __asm__ [__volatile__] instead of asm [volatile].
26429         * sysdeps/s390/abort-instr.h: Likewise.
26430         * sysdeps/s390/atomic-machine.h: Likewise.
26431         * sysdeps/s390/bits/string.h: Likewise.
26432         * sysdeps/s390/dl-tls.h: Likewise.
26433         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26434         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26435         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26436         * sysdeps/s390/fpu/fesetround.c: Likewise.
26437         * sysdeps/s390/fpu/fpu_control.h: Likewise.
26438         * sysdeps/s390/fpu/s_fma.c: Likewise.
26439         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
26440         * sysdeps/s390/memusage.h: Likewise.
26441         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
26442         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
26443         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
26444         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
26445         * sysdeps/s390/nptl/tls.h: Likewise.
26446         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
26447         * sysdeps/s390/s390-32/backtrace.c: Likewise.
26448         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26449         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
26450         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26451         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26452         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
26453         * sysdeps/s390/s390-64/backtrace.c: Likewise.
26454         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26455         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
26456         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
26457         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26458         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26459         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
26460         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26461         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26462         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
26463         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26464         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
26465         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26466         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
26467         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26468         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
26470 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26471             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26473         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26474         Add lwarx hint, and use macro for acquire instruction.
26475         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26476         Likewise.
26477         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
26478         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
26479         update to use new atomic macros.
26481 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26483         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26484         (__lll_trylock_elision): Fix setting of adapt_count.
26485         * sysdeps/unix/sysv/linux/powerpc/htm.h
26486         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
26487         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
26488         (_ABORT_SYSCALL): Renumber, and clarify definition.
26489         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
26491 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26493         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
26494         after system headers to prevent MIN/MAX redefinition.  Define
26495         HAVE_ALLOCA to preserve builtin alloca usage.
26497 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
26499         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
26500         static and don't set or restore rounding.
26501         (__cos)[IN_SINCOS]: Likewise.
26502         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
26503         (__sincos): Set and restore rounding mode.  Remove check for infinite
26504         or NaN input.
26506         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
26508         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
26509         as used.
26511 2015-11-16  Florian Weimer  <fweimer@redhat.com>
26513         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
26515 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26517         * config.make.in (have-glob-dat-reloc): New.
26518         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
26519         target supports GLOB_DAT relocaton. AC_SUBST.
26520         * configure: Regenerated.
26521         * elf/Makefile (tests): Add tst-prelink.
26522         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26523         (tst-prelink-ENV): New.
26524         ($(objpfx)tst-prelink-conflict.out): Likewise.
26525         ($(objpfx)tst-prelink-cmp.out): Likewise.
26526         * sysdeps/x86/tst-prelink.c: Moved to ...
26527         * elf/tst-prelink.c: Here.
26528         * sysdeps/x86/tst-prelink.exp: Moved to ...
26529         * elf/tst-prelink.exp: Here.
26530         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
26531         (tst-prelink-ENV): Removed.
26532         ($(objpfx)tst-prelink-conflict.out): Likewise.
26533         ($(objpfx)tst-prelink-cmp.out): Likewise.
26534         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
26536 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
26538         [BZ #14551]
26539         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
26540         (__mpn_construct_long_double): If high part overflows to infinity,
26541         set errno and recompute overflowed result of the correct sign.
26542         * sysdeps/ieee754/ldbl-128ibm/Makefile
26543         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
26544         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
26545         $(libm).
26546         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
26548 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
26550         [BZ #15479]
26551         [BZ #19238]
26552         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
26553         floating-point state after first operation on input.  Restore full
26554         state rather than just rounding mode.
26555         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
26556         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
26557         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
26559         [BZ #19235]
26560         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
26561         add 0.5 to integer arguments.
26562         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
26563         Likewise.
26564         (.LC2): New object.
26566 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
26568         * scripts/pylintrc (reports): Set to no.
26570 2015-11-10  Roland McGrath  <roland@hack.frob.com>
26572         * elf/dl-load.c (open_verify): Take new argument FD.
26573         Skip __open call if passed FD is not -1.
26574         (_dl_map_object, open_path): Update callers.
26575         * elf/dl-sysdep-open.h: New file.
26576         * elf/dl-load.c: Include it.
26577         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
26578         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
26579         * sysdeps/nacl/dl-sysdep-open.h: New file.
26580         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
26581         from libc to rtld.
26583 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
26585         [BZ #19228]
26586         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
26587         and restore full floating-point state.
26588         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26589         Likewise.
26590         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
26591         Likewise.
26592         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
26593         Likewise.
26594         * math/test-nearbyint-except-2.c: New file.
26595         * math/Makefile (tests): Add test-nearbyint-except-2.
26597 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
26599         [BZ #19178]
26600         * sysdeps/x86/Makefile (tests): Add tst-prelink.
26601         (tst-prelink-ENV): New.
26602         ($(objpfx)tst-prelink-conflict.out): Likewise.
26603         ($(objpfx)tst-prelink-cmp.out): Likewise.
26604         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26605         * sysdeps/x86/tst-prelink.c: New file.
26606         * sysdeps/x86/tst-prelink.exp: Likewise.
26608 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
26610         * math/auto-libm-test-in: Add another test of pow.
26611         * math/auto-libm-test-out: Regenerated.
26612         * math/libm-test.inc (pow_test_data): Add another test.
26614 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26616         [BZ #19219]
26617         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
26618         weak_alias to nearbyintl.
26620 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
26622         * sysdeps/aarch64/bits/string.h: New file.
26623         (_STRING_ARCH_unaligned): Define.
26625 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
26627         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
26628         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26629         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26630         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
26631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
26633 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
26635         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
26636         for original name of the DSO.  Add it to the name list of the DSO
26637         if it is actually given.
26638         (_dl_map_object): Keep track of whether an audit module rewrote
26639         the file name.  If yes, pass the original name to
26640         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
26641         debugging is enabled, log the change of the file name.
26642         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
26643         _dl_map_object_from_fd.
26644         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
26645         * elf/tst-audit11.c: New file
26646         * elf/tst-auditmod11.c: New file.
26647         * elf/tst-audit11mod1.c: New file.
26648         * elf/tst-audit11mod2.c: New file.
26649         * elf/tst-audit11mod2.map: New file.
26650         * elf/tst-audit12.c: New file
26651         * elf/tst-auditmod12.c: New file.
26652         * elf/tst-audit12mod1.c: New file.
26653         * elf/tst-audit12mod2.c: New file.
26654         * elf/tst-audit12mod2.map: New file.
26655         * elf/tst-audit12mod3.c: New file.
26657 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
26659         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
26660         Don't create weak aliases,
26661         because versioned symbols are created later.
26662         * sysdeps/s390/s390-32/setjmp.S
26663         (setjmp, _setjmp): Remove weak and rename to an unique name
26664         in SHARED case due to existing versioned symbols.
26665         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26666         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
26667         (getcontext): Create weak alias only in non SHARED case.
26668         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26670 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
26672         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
26673         (__ASSUME_*_SYSCALL) Define new macros.
26674         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
26675         Remove socketcall syscalls.
26676         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
26677         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
26678         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
26679         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
26680         * sysdeps/unix/sysv/linux/send.c (__libc_send):
26681         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
26683 2015-11-09  Florian Weimer  <fweimer@redhat.com>
26685         [BZ #12926]
26686         Terminate process on invalid netlink response.
26687         * sysdeps/unix/sysv/linux/netlinkaccess.h
26688         (__netlink_assert_response): Declare.
26689         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
26690         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
26691         (sysdep_routines): Add netlink_assert_response.
26692         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
26693         __netlink_assert_response.
26694         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
26695         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
26696         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
26697         __netlink_assert_response.
26699 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26701         [BZ #19178]
26702         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
26703         (RTYPE_CLASS_PLT): Likewise.
26704         (RTYPE_CLASS_COPY): Likewise.
26705         (RTYPE_CLASS_TLS): Likewise.
26706         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
26707         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
26708         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
26709         DL_DEBUG_PRELINK.
26711 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
26713         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
26714         calls with argument -0.5.
26715         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
26717         * configure.ac (libc_cv_z_nodelete): Remove configure test.
26718         (libc_cv_z_nodlopen): Likewise.
26719         (libc_cv_z_initfirst): Likewise.
26720         * configure: Regenerated.
26722 2015-11-06  Florian Weimer  <fweimer@redhat.com>
26724         Simplify abilist format to be line-based.
26725         * scripts/abilist.awk: Collect descriptors in the descs variable.
26726         (emit): Write descs variable and sort it
26727         externally, with sort.
26728         * sysdeps/**/*.abilist: Convert to new format.
26730 2015-11-06  Mark Wielaard  <mjw@redhat.com>
26732         [BZ #11460]
26733         * io/Makefile (routines): Add fts64.
26734         (tests): Add tst-fts and tst-fts-lfs.
26735         (CFLAGS-fts64.c): New.
26736         * io/Versions (GLIBC_2.23): New.
26737         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
26738         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
26739         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
26740         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
26741         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
26742         (FTSENT64): Likewise.
26743         (fts64_children): Likewise.
26744         (fts64_close): Likewise.
26745         (fts64_open): Likewise.
26746         (fts64_read): Likewise.
26747         (fts64_set): Likewise.
26748         * io/fts64.c: New file.
26749         * io/tst-fts.c: New test.
26750         * io/tst-fts-lfs.c: Likewise.
26751         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
26752         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
26753         fts64_set.
26754         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26755         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26756         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26757         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26758         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26759         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26760         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26761         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26762         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26763         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26764         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26765         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26766         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26768         Likewise.
26769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26770         Likewise.
26771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
26773         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26774         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26775         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26776         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26777         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26780         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26781         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26782         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26783         * sysdeps/wordsize-64/fts.c: New file.
26784         * sysdeps/wordsize-64/fts64.c: Likewise.
26785         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
26786         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
26787         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
26788         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
26790 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
26792         * math/libm-test.inc (NON_FINITE): New macro.
26793         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
26794         * math/gen-libm-test.pl (show_exceptions): Add argument
26795         $non_finite.
26796         (parse_args): Update call to show_exceptions.
26797         * math/test-math-finite.h: New file.
26798         * math/test-math-no-finite.h: Likewise.
26799         * math/test-double-finite.c: Likewise.
26800         * math/test-float-finite.c: Likewise.
26801         * math/test-ldouble-finite.c: Likewise.
26802         * math/test-double.c: Include "test-math-no-finite.h".
26803         * math/test-float.c: Include "test-math-no-finite.h".
26804         * math/test-ldouble.c: Include "test-math-no-finite.h".
26805         * math/test-math-inline.h (TEST_FINITE): New macro.
26806         * math/test-math-vector.h (TEST_FINITE): Likewise.
26807         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
26808         (libm-tests): Add test-float-finite and test-double-finite.
26809         ($(objpfx)test-float-finite.o): New dependency on
26810         $(objpfx)libm-test.stmp.
26811         ($(objpfx)test-double-finite.o): Likewise.
26812         ($(objpfx)test-ldouble-finite.o): Likewise.
26813         (libm-test-no-inline-cflags): New variable.
26814         (libm-test-finite-cflags): Likewise.
26815         (CFLAGS-test-float-finite.c): Likewise.
26816         (CFLAGS-test-double-finite.c): Likewise.
26817         (CFLAGS-test-ldouble-finite.c): Likewise.
26818         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
26819         (CFLAGS-test-double.c): Likewise.
26820         (CFLAGS-test-ldouble.c): Likewise.
26822 2015-11-05  Roland McGrath  <roland@hack.frob.com>
26824         * io/fcntl.c (__fcntl): Add ... to prototype.
26825         * misc/ioctl.c (__ioctl): Likewise.
26826         * misc/syscall.c (syscall): Likewise.
26828 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
26830         * scripts/list-fixed-bugs.py: New file.
26832         [BZ #19213]
26833         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
26834         returned for argument 1.
26835         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
26836         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
26837         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
26838         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
26839         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
26840         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
26842         [BZ #19211]
26843         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
26844         __USE_XOPEN], not if [!__USE_ISOC99].
26845         (lgammaf): Likewise.
26846         (lgammal): Likewise.
26847         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
26848         (gammaf): Likewise.
26849         (gammal): Likewise.
26850         * math/test-signgam-finite-c11.c: New file.
26851         * math/test-signgam-finite-c99.c: Likewise.
26852         * math/test-signgam-finite.c: Likewise.
26853         * math/Makefile (tests): Add test-signgam-finite,
26854         test-signgam-finite-c99 and test-signgam-finite-c11.
26855         (CFLAGS-test-signgam-finite.c): New variable.
26856         (CFLAGS-test-signgam-finite-c99.c): Likewise.
26857         (CFLAGS-test-signgam-finite-c11.c): Likewise.
26859         [BZ #19212]
26860         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
26861         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
26862         500].
26863         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
26864         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
26865         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
26866         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
26867         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
26868         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
26869         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
26870         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
26871         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
26872         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
26874         [BZ #19209]
26875         * math/bits/math-finite.h (ldexp): Remove declaration.
26876         (ldexpf): Likewise.
26877         (ldexpl): Likewise.
26879         [BZ #19205]
26880         * math/bits/math-finite.h (acosf): Condition declaration on
26881         [__USE_ISOC99].
26882         (acosl): Likewise.
26883         (acoshf): Likewise.
26884         (acoshl): Likewise.
26885         (asinf): Likewise.
26886         (asinl): Likewise.
26887         (atan2f): Likewise.
26888         (atan2l): Likewise.
26889         (atanhf): Likewise.
26890         (atanhl): Likewise.
26891         (coshf): Likewise.
26892         (coshl): Likewise.
26893         (expf): Likewise.
26894         (expl): Likewise.
26895         (fmodf): Likewise.
26896         (fmodl): Likewise.
26897         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
26898         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
26899         (j0l): Likewise.
26900         (y0f): Likewise.
26901         (y0l): Likewise.
26902         (j1f): Likewise.
26903         (j1l): Likewise.
26904         (y1f): Likewise.
26905         (y1l): Likewise.
26906         (jnf): Likewise.
26907         (jnl): Likewise.
26908         (ynf): Likewise.
26909         (ynl): Likewise.
26910         (lgammaf_r): Condition declaration on [__USE_ISOC99].
26911         (lgammal_r): Likewise.
26912         (__lgamma_r_finite): New declaration.
26913         (__lgammaf_r_finite): Likewise.
26914         (__lgammal_r_finite): Likewise.
26915         (lgamma): Use __lgamma_r_finite.
26916         (lgammaf): Condition definition on [__USE_ISOC99].  Use
26917         __lgammaf_r_finite.
26918         (lgammal): Condition definition on [__USE_ISOC99].  Use
26919         __lgammal_r_finite.
26920         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
26921         __lgamma_r_finite.
26922         (gammaf): Condition definition on [__USE_ISOC99].  Use
26923         __lgammaf_r_finite.
26924         (gammal): Condition definition on [__USE_ISOC99].  Use
26925         __lgammal_r_finite.
26926         (logf): Condition declaration on [__USE_ISOC99].
26927         (logl): Likewise.
26928         (log10f): Likewise.
26929         (log10l): Likewise.
26930         (ldexpf): Likewise.
26931         (ldexpl): Likewise.
26932         (powf): Likewise.
26933         (powl): Likewise.
26934         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
26935         __USE_ISOC99].
26936         (remainderf): Condition declaration on [__USE_ISOC99].
26937         (remainderl): Likewise.
26938         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
26939         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
26940         (scalbl): Likewise.
26941         (sinhf): Condition declaration on [__USE_ISOC99].
26942         (sinhl): Likewise.
26943         (sqrtf): Likewise.
26944         (sqrtl): Likewise.
26946 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
26948         * sysdeps/arm/atomic-machine.h
26949         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26950         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26951         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
26952         Remove conditional code.
26953         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26954         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26955         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
26956         Change conditional to [__ASSEMBLER__].
26957         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26958         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
26959         [!__ASSEMBLER__].
26960         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
26961         code.
26962         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
26963         conditional macro definitions.
26964         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
26965         (__arch_compare_and_exchange_val_16_acq): Likewise.
26966         (__arch_compare_and_exchange_val_32_acq): Likewise.
26967         (atomic_exchange_and_add): Likewise.
26968         (atomic_add): Likewise.
26969         (atomic_add_negative): Likewise.
26970         (atomic_add_zero): Likewise.
26971         (atomic_bit_set): Likewise.
26972         (atomic_bit_test_set): Likewise.
26973         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
26974         code unconditional.
26975         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26977         * math/test-math-errno.h: New file.
26978         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
26979         empty.
26980         (TEST_ERRNO): New macro.
26981         (TEST_EXCEPTIONS): Likewise.
26982         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
26983         (TEST_EXCEPTIONS): Likewise.
26984         * math/test-math-vector.h (TEST_ERRNO): Likewise.
26985         * math/test-double.c: Include "test-math-errno.h".
26986         * math/test-float.c: Likewise.
26987         * math/test-ldouble.c: Likewise.
26988         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
26989         code unconditional.
26990         (test_exceptions): Only run code if TEST_EXCEPTIONS.
26991         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
26992         unconditional.
26993         (test_errno): Only run code if TEST_ERRNO.
26994         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
26996 2015-11-04  Florian Weimer  <fweimer@redhat.com>
26998         * nptl/tst-once5.cc: Remove attribution.
27000 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
27002         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
27003         sqrt, tan, tanh, y0, y1 and yn.
27004         * math/auto-libm-test-out: Regenerated.
27005         * math/libm-test.inc (scalb_test_data): Add more tests.
27006         (scalbn_test_data): Likewise.
27007         (scalbln_test_data): Likewise.
27008         (signbit_test_data): Likewise.
27009         (sin_test_data): Likewise.
27010         (sincos_test_data): Likewise.
27011         (sinh_test_data): Likewise.
27012         (sqrt_test_data): Likewise.
27013         (tan_test_data): Likewise.
27014         (tanh_test_data): Likewise.
27015         (tgamma_test_data): Likewise.
27016         (y0_test_data): Likewise.
27017         (y1_test_data): Likewise.
27018         (yn_test_data): Likewise.
27019         (significand_test_data): Likewise.
27020         * sysdeps/i386/fpu/libm-test-ulps: Update.
27022 2015-11-03  David Kastrup  <dak@gnu.org>
27024         [BZ #18604]
27025         * assert/assert.h (assert): Don't macro-expand failed assertion
27026         expression in error message.
27027         * malloc/malloc.c (assert): Likewise.
27029 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
27031         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
27032         test.
27033         * configure: Regenerated.
27035 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
27037         * math/libm-test.inc (modf_test_data): Add more tests.
27038         (nearbyint_test_data): Likewise.
27039         (nextafter_test_data): Likewise.
27040         (nexttoward_test_data): Likewise.
27041         (pow_test_data): Likewise.
27042         (remainder_test_data): Likewise.
27043         (remquo_test_data): Likewise.
27044         (rint_test_data): Likewise.
27046         [BZ #19201]
27047         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27048         Check for zero remainder in case of large exponents and ensure
27049         correct sign of result in that case.
27050         * math/libm-test.inc (remainder_test_data): Add more tests.
27052         [BZ #6799]
27053         * math/s_nextafter.c: Include <errno.h>.
27054         (__nextafter): Set errno on overflow and underflow.
27055         * math/s_nexttowardf.c: Include <errno.h>.
27056         (__nexttowardf): Set errno on overflow and underflow.
27057         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
27058         (__nextafterl): Set errno on overflow and underflow.
27059         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
27060         (__nexttoward): Set errno on overflow and underflow.
27061         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
27062         (__nexttowardf): Set errno on overflow and underflow.
27063         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
27064         (__nextafterf): Set errno on overflow and underflow.
27065         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
27066         (__nextafterl): Set errno on overflow and underflow.
27067         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
27068         (__nexttoward): Set errno on overflow and underflow.
27069         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
27070         (__nexttowardf): Set errno on overflow and underflow.
27071         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
27072         (__nextafterl): Set errno on overflow and underflow.
27073         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
27074         (__nexttoward): Set errno on overflow and underflow.
27075         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
27076         (__nexttowardf): Set errno on overflow and underflow.
27077         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
27078         (__nexttoward): Set errno on overflow and underflow.
27079         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
27080         (__nexttowardf): Set errno on overflow and underflow.
27081         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
27082         (__nldbl_nexttowardf): Set errno on overflow and underflow.
27083         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
27084         (__nextafterl): Set errno on overflow and underflow.
27085         * math/libm-test.inc (nextafter_test_data): Do not allow errno
27086         setting to be missing on overflow.  Add more tests.
27087         (nexttoward_test_data): Likewise.
27089         * configure.ac (libc_cv_initfini_array): Remove configure test.
27090         * configure: Regenerated.
27092 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
27094         [BZ #19189]
27095         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
27096         non-finite argument handle arguments with negative sign.
27098         * math/libm-test.inc (j0_test_data): Do not test sign of zero
27099         result from infinite argument.
27100         (j1_test_data): Likewise.
27101         (jn_test_data): Likewise.
27102         (y0_test_data): Likewise.
27103         (y1_test_data): Likewise.
27104         (yn_test_data): Likewise.
27106         [BZ #16171]
27107         * math/w_remainder.c (drem): Define as weak alias of __remainder.
27108         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
27109         * math/w_remainderf.c (dremf): Define as weak alias of
27110         __remainderf.
27111         * math/w_remainderl.c (dreml): Define as weak alias of
27112         __remainderl.
27113         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
27114         __remainder.
27115         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
27116         __remainderf.
27117         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
27118         __remainderl.
27119         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
27120         weak alias of remainderl.
27121         * sysdeps/ieee754/ldbl-opt/w_remainder.c
27122         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
27123         alias of __remainder.
27124         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
27125         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
27126         strong alias of __remainderl.
27127         (dreml): Use long_double_symbol.
27128         * math/Makefile (libm-calls): Remove w_drem.
27129         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
27130         (CFLAGS-nldbl-drem.c): Remove variable.
27131         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
27132         * math/w_drem.c: Remove file.
27133         * math/w_dremf.c: Likewise.
27134         * math/w_dreml.c: Likewise.
27135         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
27136         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
27137         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
27139         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
27140         * sysdeps/i386/configure: Regenerated.
27141         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
27142         * sysdeps/x86_64/configure: Regenerated.
27144         * configure.ac (libc_cv_asm_protected_directive): Remove configure
27145         test.
27146         (libc_cv_visibility_attribute): Likewise.
27147         (libc_cv_protected_data): Test unconditionally.
27148         (libc_cv_broken_visibility_attribute): Remove configure test.
27149         (libc_cv_have_sdata_section): Test unconditionally.
27150         * configure: Regenerated.
27152         * include/libc-internal.h (libc_max_align_t): Remove typedef.
27153         * include/scratch_buffer.h: Include <stddef.h> instead of
27154         <libc-internal.h>.
27155         (struct scratch_buffer): Use max_align_t instead of
27156         libc_max_align_t.
27158 2015-10-29  Florian Weimer  <fweimer@redhat.com>
27160         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
27161         instead of extend_alloca.  Change control flow to avoid a goto.
27162         Remove assert which is trivially always true.
27164 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
27166         [BZ #16068]
27167         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
27168         (FE_ALL_EXCEPT_X86): New macro.
27169         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27170         FE_ALL_EXCEPT.  Ensure precision control is included in
27171         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27172         handle "denormal operand exception" and clear FZ and DAZ bits.
27173         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
27174         (FE_ALL_EXCEPT_X86): New macro.
27175         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27176         FE_ALL_EXCEPT.  Ensure precision control is included in
27177         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27178         handle "denormal operand exception" and clear FZ and DAZ bits.
27179         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
27180         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
27181         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27182         test-fenv-x87 and test-fenv-sse-2.
27183         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
27185         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
27186         * math/test-double.h (BUILD_COMPLEX): New macro.
27187         * math/test-float.h (BUILD_COMPLEX): Likewise.
27188         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
27190         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
27191         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
27192         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
27193         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
27194         instead of DBL_DENORM_MIN in comment.
27195         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
27196         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27197         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
27198         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
27199         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
27200         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27202 2015-10-28  Florian Weimer  <fweimer@redhat.com>
27204         [BZ #19048]
27205         * malloc/malloc.c (struct malloc_state): Update comment.  Add
27206         attached_threads member.
27207         (main_arena): Initialize attached_threads.
27208         * malloc/arena.c (list_lock): Update comment.
27209         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
27210         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
27211         (deattach_arena): New function.
27212         (_int_new_arena): Initialize arena reference count and deattach
27213         replaced arena.
27214         (get_free_list, reused_arena): Update reference count and deattach
27215         replaced arena.
27216         (arena_thread_freeres): Update arena reference count and only put
27217         unreferenced arenas on the free list.
27219 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
27221         [BZ #19181]
27222         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
27223         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
27224         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
27225         * math/test-fenv-clear-main.c: New file.
27226         * math/test-fenv-clear.c: Likewise.
27227         * math/Makefile (tests): Add test-fenv-clear.
27228         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
27229         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27230         test-fenv-clear-sse.
27231         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
27233         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
27234         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
27235         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
27237 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27239         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
27240         static libc.
27242 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
27244         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
27245         test.
27246         * sysdeps/i386/configure: Regenerated.
27247         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
27248         test.
27249         * sysdeps/x86_64/configure: Regenerated.
27250         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
27251         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27252         memset-avx2 unconditionally instead of conditionally on
27253         [$(config-cflags-avx2) = yes].
27254         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27255         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
27256         unconditional.
27257         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
27258         * sysdeps/x86_64/multiarch/memset_chk.S
27259         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
27260         to [IS_IN (libc) && SHARED].
27262 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
27264         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
27265         configure test.
27266         * sysdeps/arm/configure: Regenerated.
27267         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
27268         Define variable if not already defined.
27270         [BZ #17404]
27271         * sysdeps/mips/atomic-machine.h
27272         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
27273         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
27274         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
27276         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
27277         unconditional.
27278         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
27279         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27280         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
27281         unconditional.
27282         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27283         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
27284         unconditional.
27285         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27286         * stdlib/setenv.c
27287         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
27288         code unconditional.
27289         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
27290         Remove conditional code.
27291         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27292         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
27293         unconditional.
27294         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27295         code.
27296         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27297         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
27298         unconditional.
27299         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27300         code.
27301         * sysdeps/ieee754/ldbl-128/k_tanl.c
27302         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27303         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27304         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
27305         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27306         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27307         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
27308         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
27309         unconditional.
27310         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27311         code.
27312         * sysdeps/ieee754/ldbl-96/k_tanl.c
27313         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27314         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27316         * nptl/tst-initializers1-c11.c: New file.
27317         * nptl/tst-initializers1-gnu11.c: Likewise.
27318         * nptl/Makefile (tests): Add these new tests.
27319         (CFLAGS-tst-initializers1-c11.c): New variable.
27320         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
27322         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
27323         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
27324         instead of -std=gnu99.
27325         * configure.ac (systemtap): Test with -std=gnu11 instead of
27326         -std=gnu99.
27327         * configure: Regenerated.
27328         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
27329         in compilation command in comment.
27331         * sysdeps/nptl/configure.ac: Remove file.
27332         * sysdeps/nptl/configure: Remove generated file.
27333         * configure.ac (libc_cv_forced_unwind): Do not substitute.
27334         * configure: Regenerated.
27335         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
27336         * config.make.in (have-forced-unwind): Remove variable.
27337         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27338         unconditional.
27339         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
27340         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
27341         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
27342         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
27343         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27344         unconditional.
27346 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27348         [BZ #19174]
27349         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
27350         .skip_lock_out_of_tbegin_retries.
27351         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27352         (__lll_lock_elision): Likewise, and respect a value of
27353         try_tbegin <= 0.
27355 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27357         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
27358         statement.
27360 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
27362         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
27363         variable.
27364         (test-xfail-ISO11/stdalign.h/conform): Likewise.
27365         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
27367         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
27368         of -std=c1x -D_ISOC11_SOURCE.
27370         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
27371         * configure: Regenerated.
27372         * manual/install.texi (Tools for Compilation): Document
27373         requirement for GCC 4.7 or later.
27374         * INSTALL: Regenerated.
27376 2015-10-27  Ludovic CourtĂšs  <ludo@gnu.org>
27378         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
27379         on CNT to a conditional jump to 'puntdata'.
27381 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
27383         * configure.ac (libc_cv_gcc___thread): Remove configure test.
27384         (libc_cv_gcc_tls_model_attr): Likewise.
27385         * configure: Regenerated.
27387         * configure.ac (libc_cv_need_minus_P): Remove configure test.
27388         * configure: Regenerated.
27389         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
27391 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
27393         * configure.ac (old_glibc_headers): Remove configure test.
27394         * configure: Regenerated.
27395         * config.make.in (old-glibc-headers): Remove variable.
27396         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
27397         (install): Remove dependency on remove-old-headers.
27398         (headers2_0): Remove variable.
27399         (remove-old-headers): Remove rule.
27401         * configure.ac (libc_cv_dot_text): Remove configure test.
27402         (libc_cv_asm_set_directive): Use .text instead of
27403         ${libc_cv_dot_text} in configure test.
27404         * configure: Regenerated.
27406 2015-10-26  Florian Weimer  <fweimer@redhat.com>
27408         [BZ #19168]
27409         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27411 2015-10-26  Florian Weimer  <fweimer@redhat.com>
27413         * configure.ac (CXX): Clear the variable if the C++ toolchain does
27414         not support static linking.
27415         * configure: Regenerate.
27417 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
27419         * math/libm-test.inc (check_float_internal): Do not special-case
27420         errors up to 0.5 ulp.
27422         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27423         log2.
27424         * math/auto-libm-test-out: Regenerated.
27425         * math/libm-test.inc (MAX_EXP): New macro.
27426         (ilogb_test_data): Add more tests.
27427         (isfinite_test_data): Likewise.
27428         (isgreater_test_data): Likewise.
27429         (isgreaterequal_test_data): Likewise.
27430         (isinf_test_data): Likewise.
27431         (isless_test_data): Likewise.
27432         (islessequal_test_data): Likewise.
27433         (islessgreater_test_data): Likewise.
27434         (isnan_test_data): Likewise.
27435         (isnormal_test_data): Likewise.
27436         (issignaling_test_data): Likewise.
27437         (isunordered_test_data): Likewise.
27438         (j0_test_data): Likewise.
27439         (j1_test_data): Likewise.
27440         (jn_test_data): Likewise.
27441         (lgamma_test_data): Likewise.
27442         (log_test_data): Likewise.
27443         (log10_test_data): Likewise.
27444         (log1p_test_data): Likewise.
27445         (log2_test_data): Likewise.
27446         (logb_test_data): Likewise.
27447         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27449         [BZ #18611]
27450         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
27451         avoid excess range and precision on underflow.
27452         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27453         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
27454         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27455         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
27456         underflow.
27457         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27458         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27459         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27460         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27461         * math/auto-libm-test-in: Do not allow missing errno setting for
27462         tests of j1 and jn.
27463         * math/auto-libm-test-out: Regenerated.
27465 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
27467         [BZ #15491]
27468         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
27469         floating-point environment instead of clearing all exceptions.
27470         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
27471         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
27472         merging in "invalid" exceptions from frndint.
27473         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
27474         * math/test-nearbyint-except.c: New file.
27475         * math/Makefile (tests): Add test-nearbyint-except.
27477 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
27479         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
27481         * sysdeps/tile/libm-test-ulps: Regenerated.
27483 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
27486         (__NR_sync_file_range2): Assume it is always defined.
27487         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27488         (__NR_sync_file_range): Assume it is always defined.
27490 2015-10-22  Andreas Schwab  <schwab@suse.de>
27492         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27493         INTERNAL_SYSCALL_ERRNO.
27494         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27495         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27496         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27497         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27498         Likewise.
27499         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27501 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27503         * io/tst-fcntl.c (fd): New static variable.
27504         (do_prepare): Open temporary file here....
27505         (do_test): ...not here.
27507         * io/ftwtest-sh: Also trap on exit to remove temporary files.
27509 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
27511         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
27512         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27513         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27514         Moved before "#ifdef __ASSEMBLER__".
27516 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27518         [BZ #19156]
27519         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
27520         arguments very close to 0.
27522 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
27524         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
27525         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
27527 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
27529         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27530         New.  Defined for GCC 5 and above when not compiling for
27531         profiling.
27532         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27534         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27535         Renamed to ...
27536         (CFLAGS-epoll_pwait.o): This.
27537         (CFLAGS-mmap.c): Renamed to ...
27538         (CFLAGS-mmap.o): This.
27539         (CFLAGS-mmap64.c): Renamed to ...
27540         (CFLAGS-mmap64.o): This.
27541         (CFLAGS-epoll_pwait.os): New.
27542         (CFLAGS-mmap.os): Likewise.
27543         (CFLAGS-mmap64.os): Likewise.
27544         (CFLAGS-semtimedop.os): Likewise.
27545         (CFLAGS-semtimedop.c): Renamed to ...
27546         (CFLAGS-semtimedop.o): This.
27548 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27550         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
27551         warning message.
27553 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27555         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
27556         * Makefile ($(objpfx)c++-types-check.out): Filter out
27557         $(+gccwarn-c) instead of -Wstrict-prototypes.
27559         * io/fts.c (fts_open): Convert to prototype-style function
27560         definition.
27561         * malloc/mcheck.c (mcheck): Likewise.
27562         (mcheck_pedantic): Likewise.
27563         * posix/regexec.c (re_search_2_stub): Likewise.  Use
27564         internal_function.
27565         (re_search_internal): Likewise.
27566         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
27567         prototype-style function definition.
27568         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27569         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
27570         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
27571         (xdr_utmpptr): Likewise.
27572         (xdr_utmparr): Likewise.
27573         (xdr_utmpidle): Likewise.
27574         (xdr_utmpidleptr): Likewise.
27575         (xdr_utmpidlearr): Likewise.
27577         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
27578         log, log10 and log2.
27579         * math/auto-libm-test-out: Regenerated.
27580         * math/libm-test.inc (fmod_test_data): Add more tests.
27581         (fpclassify_test_data): Likewise.
27582         (frexp_test_data): Likewise.
27583         (hypot_test_data): Likewise.
27584         (ilogb_test_data): Likewise.
27586 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
27588         * debug/fortify_fail.c (__fortify_fail): Convert to
27589         prototype-style function definition.  Use internal_function.
27590         * libio/genops.c (save_for_backup): Convert to prototype-style
27591         function definition.
27592         * libio/wgenops.c (save_for_wbackup): Likewise.
27593         * login/grantpt.c (grantpt): Likewise.
27594         * login/ptsname.c (ptsname): Likewise.
27595         (__ptsname_r): Likewise.
27596         * login/unlockpt.c (unlockpt): Likewise.
27597         * mach/msgserver.c (__mach_msg_server): Likewise.
27598         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
27599         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
27600         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
27601         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
27602         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
27603         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
27604         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
27605         Likewise.
27606         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
27607         internal_function.
27608         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
27609         prototype-style function definition.
27610         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
27611         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
27612         (__pthread_create_2_0): Likewise.
27613         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
27614         * nptl/register-atfork.c (__register_atfork): Likewise.
27615         * posix/glob.c (glob): Likewise.
27616         * posix/regcomp.c (re_comp): Likewise.
27617         * posix/regexec.c (re_exec): Likewise.
27618         * stdlib/add_n.c [__STDC__]: Make code unconditional.
27619         [!__STDC__]: Remove conditional code.
27620         * stdlib/cmp.c [__STDC__]: Make code unconditional.
27621         [!__STDC__]: Remove conditional code.
27622         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
27623         [!__STDC__]: Remove conditional code.
27624         * stdlib/divrem.c [__STDC__]: Make code unconditional.
27625         [!__STDC__]: Remove conditional code.
27626         * stdlib/lshift.c [__STDC__]: Make code unconditional.
27627         [!__STDC__]: Remove conditional code.
27628         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
27629         [!__STDC__]: Remove conditional code.
27630         * stdlib/mul.c [__STDC__]: Make code unconditional.
27631         [!__STDC__]: Remove conditional code.
27632         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
27633         [!__STDC__]: Remove conditional code.
27634         * stdlib/rshift.c [__STDC__]: Make code unconditional.
27635         [!__STDC__]: Remove conditional code.
27636         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
27637         function definition.
27638         (STRTOF): Likewise.
27639         * stdlib/strtod_l.c (__STRTOF): Likewise.
27640         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
27641         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
27642         (__strtol_l): Likewise.
27643         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
27644         [!__STDC__]: Remove conditional code.
27645         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
27646         definition.
27647         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27648         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27649         type.
27650         (__strcasecmp): Convert to prototype-style function definition.
27651         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
27652         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27653         type.
27654         (__strncasecmp): Convert to prototype-style function definition.
27655         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
27656         * sunrpc/xdr.c (xdr_union): Likewise.
27657         * sunrpc/xdr_array.c (xdr_array): Likewise.
27658         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
27659         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
27660         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
27661         Likewise.
27662         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
27663         Likewise.
27664         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
27665         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27666         Likewise.
27667         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
27668         (LOCALE_PARAM_PROTO): Likewise.
27669         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
27670         argument type.
27671         (ut_argument_spec): Remove macro.
27672         (ut_argument_spec_iso): Rename to ut_argument_spec.
27673         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
27674         prototype-style function definition.
27675         (memcpy_uppcase): Likewise.
27676         (__strftime_internal): Likewise.
27677         (my_strftime): Likewise.
27678         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
27679         (LOCALE_PARAM_DECL): Likewise.
27680         [_LIBC] (LOCALE_PARAM): Include argument type.
27681         (__strptime_internal): Convert to prototype-style function
27682         definition.
27683         (strptime): Likewise.
27684         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27685         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27686         type.
27687         (__wcscasecmp): Convert to prototype-style function definition.
27688         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
27689         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27690         type.
27691         (__wcsncasecmp): Convert to prototype-style function definition.
27693         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
27694         function definition.
27695         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27696         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27697         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
27698         * elf/dl-minimal.c (_itoa): Likewise.
27699         * hurd/hurdmalloc.c (malloc): Likewise.
27700         (free): Likewise.
27701         (realloc): Likewise.
27702         * inet/inet6_option.c (inet6_option_space): Likewise.
27703         (inet6_option_init): Likewise.
27704         (inet6_option_append): Likewise.
27705         (inet6_option_alloc): Likewise.
27706         (inet6_option_next): Likewise.
27707         (inet6_option_find): Likewise.
27708         * io/ftw.c (FTW_NAME): Likewise.
27709         (NFTW_NAME): Likewise.
27710         (NFTW_NEW_NAME): Likewise.
27711         (NFTW_OLD_NAME): Likewise.
27712         * libio/iofwide.c (_IO_fwide): Likewise.
27713         * libio/strops.c (_IO_str_init_static_internal): Likewise.
27714         (_IO_str_init_static): Likewise.
27715         (_IO_str_init_readonly): Likewise.
27716         (_IO_str_overflow): Likewise.
27717         (_IO_str_underflow): Likewise.
27718         (_IO_str_count): Likewise.
27719         (_IO_str_seekoff): Likewise.
27720         (_IO_str_pbackfail): Likewise.
27721         (_IO_str_finish): Likewise.
27722         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
27723         (_IO_wstr_overflow): Likewise.
27724         (_IO_wstr_underflow): Likewise.
27725         (_IO_wstr_count): Likewise.
27726         (_IO_wstr_seekoff): Likewise.
27727         (_IO_wstr_pbackfail): Likewise.
27728         (_IO_wstr_finish): Likewise.
27729         * locale/programs/localedef.c (normalize_codeset): Likewise.
27730         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27731         (add_locales_to_archive): Likewise.
27732         (delete_locales_from_archive): Likewise.
27733         * malloc/malloc.c (__libc_mallinfo): Likewise.
27734         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
27735         * misc/tsearch.c (__tfind): Likewise.
27736         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
27737         * nptl/pthread_attr_getdetachstate.c
27738         (__pthread_attr_getdetachstate): Likewise.
27739         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27740         Likewise.
27741         * nptl/pthread_attr_getinheritsched.c
27742         (__pthread_attr_getinheritsched): Likewise.
27743         * nptl/pthread_attr_getschedparam.c
27744         (__pthread_attr_getschedparam): Likewise.
27745         * nptl/pthread_attr_getschedpolicy.c
27746         (__pthread_attr_getschedpolicy): Likewise.
27747         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
27748         Likewise.
27749         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
27750         Likewise.
27751         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27752         Likewise.
27753         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27754         Likewise.
27755         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
27756         (__pthread_attr_init_2_0): Likewise.
27757         * nptl/pthread_attr_setdetachstate.c
27758         (__pthread_attr_setdetachstate): Likewise.
27759         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27760         Likewise.
27761         * nptl/pthread_attr_setinheritsched.c
27762         (__pthread_attr_setinheritsched): Likewise.
27763         * nptl/pthread_attr_setschedparam.c
27764         (__pthread_attr_setschedparam): Likewise.
27765         * nptl/pthread_attr_setschedpolicy.c
27766         (__pthread_attr_setschedpolicy): Likewise.
27767         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
27768         Likewise.
27769         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
27770         Likewise.
27771         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27772         Likewise.
27773         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27774         Likewise.
27775         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
27776         Likewise.
27777         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
27778         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
27779         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
27780         use internal_function.
27781         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
27782         prototype-style function definition.
27783         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27784         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
27785         internal_function.
27786         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
27787         Convert to prototype-style function definition.
27788         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27789         Likewise.
27790         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
27791         Likewise.
27792         (__pthread_mutex_unlock): Likewise.
27793         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
27794         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
27795         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
27796         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
27797         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
27798         * nss/makedb.c (process_input): Likewise.
27799         * posix/fnmatch.c (__strchrnul): Likewise.
27800         (__wcschrnul): Likewise.
27801         (fnmatch): Likewise.
27802         * posix/fnmatch_loop.c (FCT): Likewise.
27803         * posix/glob.c (globfree): Likewise.
27804         (__glob_pattern_type): Likewise.
27805         (__glob_pattern_p): Likewise.
27806         * posix/regcomp.c (re_compile_pattern): Likewise.
27807         (re_set_syntax): Likewise.
27808         (re_compile_fastmap): Likewise.
27809         (regcomp): Likewise.
27810         (regerror): Likewise.
27811         (regfree): Likewise.
27812         * posix/regexec.c (regexec): Likewise.
27813         (re_match): Likewise.
27814         (re_search): Likewise.
27815         (re_match_2): Likewise.
27816         (re_search_2): Likewise.
27817         (re_search_stub): Likewise.  Use internal_function
27818         (re_copy_regs): Likewise.
27819         (re_set_registers): Convert to prototype-style function
27820         definition.
27821         (prune_impossible_nodes): Likewise.  Use internal_function.
27822         * resolv/inet_net_pton.c (inet_net_pton): Convert to
27823         prototype-style function definition.
27824         (inet_net_pton_ipv4): Likewise.
27825         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27826         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
27827         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
27828         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
27829         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27830         Make variadic.
27831         * time/strptime_l.c (localtime_r): Convert to prototype-style
27832         function definition.
27833         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27834         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27835         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27836         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27838         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
27839         definition.
27840         (_ufc_doit_r): Likewise.
27841         * crypt/crypt_util.c (_ufc_copymem): Likewise.
27842         (_ufc_output_conversion_r): Likewise.
27843         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
27844         * inet/rcmd.c (rcmd_af): Likewise.
27845         (rcmd): Likewise.
27846         (ruserok_af): Likewise.
27847         (ruserok): Likewise.
27848         (ruserok2_sa): Likewise.
27849         (ruserok_sa): Likewise.
27850         (iruserok_af): Likewise.
27851         (iruserok): Likewise.
27852         (__ivaliduser): Likewise.
27853         (__validuser2_sa): Likewise.
27854         * inet/rexec.c (rexec_af): Likewise.
27855         (rexec): Likewise.
27856         * inet/ruserpass.c (ruserpass): Likewise.
27857         * locale/programs/xmalloc.c (xcalloc): Likewise.
27858         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
27859         * math/w_drem.c (__drem): Likewise.
27860         * math/w_dremf.c (__dremf): Likewise.
27861         * math/w_dreml.c (__dreml): Likewise.
27862         * misc/daemon.c (daemon): Likewise.
27863         * resolv/res_debug.c (p_fqnname): Likewise.
27864         * stdlib/div.c (div): Likewise.
27865         * string/memcmp.c (memcmp_bytes): Likewise.
27866         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
27867         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
27869         * crypt/cert.c (main): Convert to prototype-style function
27870         definition.
27871         * io/pipe.c (__pipe): Likewise.
27872         * io/pipe2.c (__pipe2): Likewise.
27873         * misc/futimesat.c (futimesat): Likewise.
27874         * misc/utimes.c (__utimes): Likewise.
27875         * posix/execve.c (__execve): Likewise.
27876         * posix/execvp.c (execvp): Likewise.
27877         * posix/execvpe.c (__execvpe): Likewise.
27878         * posix/fexecve.c (fexecve): Likewise.
27879         * socket/socketpair.c (socketpair): Likewise.
27880         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27881         * stdlib/erand48.c (erand48): Likewise.
27882         * stdlib/erand48_r.c (__erand48_r): Likewise.
27883         * stdlib/jrand48.c (jrand48): Likewise.
27884         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
27885         * stdlib/lcong48.c (lcong48): Likewise.
27886         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
27887         * stdlib/nrand48.c (nrand48): Likewise.
27888         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
27889         * stdlib/seed48.c (seed48): Likewise.
27890         * stdlib/seed48_r.c (__seed48_r): Likewise.
27891         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
27892         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
27893         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
27895 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
27897         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
27898         * configure: Regenerated.
27899         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
27900         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
27901         unconditional.
27902         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27903         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27904         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27905         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
27906         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
27907         unconditional.
27908         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27910         * posix/Makefile (CFLAGS-regex.c): Remove variable.
27911         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
27913         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
27914         function definition.
27915         * crypt/crypt_util.c (__encrypt_r): Likewise.
27916         * libio/genops.c (_IO_no_init): Likewise.
27917         * libio/iofopncook.c (_IO_fopencookie): Likewise.
27918         (_IO_old_fopencookie): Likewise.
27919         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27920         * libio/iogetline.c (_IO_getline): Likewise.
27921         (_IO_getline_info): Likewise.
27922         * libio/iogetwline.c (_IO_getwline): Likewise.
27923         (_IO_getwline_info): Likewise.
27924         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
27925         * libio/vswprintf.c (_IO_vswprintf): Likewise.
27926         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
27927         (find_entry): Likewise.
27928         (iterate_table): Likewise.
27929         (lookup): Likewise.
27930         * login/forkpty.c (forkpty): Likewise.
27931         * misc/hsearch_r.c (__hsearch_r): Likewise.
27932         * misc/select.c (__select): Likewise.
27933         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
27934         Likewise.
27935         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
27936         Likewise.
27937         * nptl/old_pthread_cond_timedwait.c
27938         (__pthread_cond_timedwait_2_0): Likewise.
27939         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27940         * nptl/pthread_barrierattr_getpshared.c
27941         (pthread_barrierattr_getpshared): Likewise.
27942         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
27943         Likewise.
27944         * nptl/pthread_mutex_setprioceiling.c
27945         (pthread_mutex_setprioceiling): Likewise.
27946         * nptl/pthread_mutexattr_getprioceiling.c
27947         (pthread_mutexattr_getprioceiling): Likewise.
27948         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
27949         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27950         Likewise.
27951         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27952         Likewise.
27953         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
27954         Likewise.
27955         * socket/recvfrom.c (__recvfrom): Likewise.
27956         * socket/sendto.c (__sendto): Likewise.
27957         * socket/setsockopt.c (__setsockopt): Likewise.
27958         * stdio-common/_itoa.c (_itoa): Likewise.
27959         * stdio-common/_itowa.c (_itowa): Likewise.
27960         * stdio-common/reg-printf.c (__register_printf_specifier):
27961         Likewise.
27962         (__register_printf_function): Likewise.
27963         * stdio-common/tempname.c (__path_search): Likewise.
27964         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
27965         * stdlib/mul_1.c (mpn_mul_1): Likewise.
27966         * stdlib/random_r.c (__initstate_r): Likewise.
27967         * stdlib/setenv.c (__add_to_environ): Likewise.
27968         * stdlib/submul_1.c (mpn_submul_1): Likewise.
27969         * streams/getpmsg.c (getpmsg): Likewise.
27970         * streams/putmsg.c (putmsg): Likewise.
27971         * streams/putpmsg.c (putpmsg): Likewise.
27972         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
27973         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
27974         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
27975         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
27976         * sunrpc/pm_getport.c (pmap_getport): Likewise.
27977         * sunrpc/svc_udp.c (cache_get): Likewise.
27978         * sunrpc/xdr_array.c (xdr_vector): Likewise.
27979         * sysdeps/mach/hurd/getcwd.c
27980         (__canonicalize_directory_name_internal): Likewise.
27981         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
27982         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
27983         * sysdeps/mach/hurd/select.c (__select): Likewise.
27984         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27985         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
27986         * sysdeps/sparc/nptl/pthread_barrier_init.c
27987         (__pthread_barrier_init): Likewise.
27988         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
27989         (__pthread_cond_timedwait): Likewise.
27990         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
27991         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
27992         Likewise.
27993         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
27994         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
27995         Likewise.
27996         * sysvipc/semtimedop.c (semtimedop): Likewise.
27997         * time/setitimer.c (__setitimer): Likewise.
27998         * time/strftime_l.c (emacs_strftime): Likewise.
28000 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
28002         * config.make.in (have-ssp): Delete.
28003         (stack-protector): New variable.
28004         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
28005         cache test for -fstack-protector-strong.  Export stack_protector to
28006         the best ssp flag.
28007         * configure: Regenerated.
28008         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
28009         * nscd/Makefile (CFLAGS-nscd): Likewise.
28010         * resolv/Makefile (CFLAGS-libresolv): Likewise.
28012 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
28014         [BZ #19122]
28015         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
28016         attribute_hidden.
28018 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28020         [BZ #18743]
28021         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
28022         code to...
28023         (ELIDE_LOCK): ...here.
28024         (__get_new_count): New function with part of the code from
28025         __elide_lock that updates the value of adapt_count after a
28026         transaction abort.
28027         (__elided_trylock): Moved this code to...
28028         (ELIDE_TRYLOCK): ...here.
28030 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
28032         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
28033         * configure: Regenerate.
28034         * INSTALL: Regenerate.
28035         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
28036         and tweak grammar.
28038 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
28040         * login/programs/pt_chown.c: Include signal.h
28041         (main): Clear any signal mask from the parent process.
28043 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
28045         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
28046         * configure: Regenerated.
28047         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
28048         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
28049         $(gnu89-inline-CFLAGS).
28051         * configure.ac (libc_cv_asm_weak_directive): Remove configure
28052         test.
28053         (libc_cv_asm_weakext_directive): Likewise.
28054         * configure: Regenerated.
28055         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
28056         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
28057         * include/libc-symbols.h
28058         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
28059         #error.
28060         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
28061         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
28063         * sysdeps/arm/backtrace.c (__backtrace): Convert to
28064         prototype-style function definition.
28065         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
28066         * sysdeps/i386/ffs.c (__ffs): Likewise.
28067         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28068         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
28069         Likewise.
28070         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28071         Likewise.
28072         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28073         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
28074         Likewise.
28075         * sysdeps/m68k/ffs.c (__ffs): Likewise.
28076         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
28077         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
28078         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
28079         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
28080         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
28081         * sysdeps/mach/hurd/access.c (__access): Likewise.
28082         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
28083         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
28084         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28085         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
28086         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
28087         (cthread_getspecific): Likewise.
28088         (cthread_setspecific): Likewise.
28089         (__libc_getspecific): Likewise.
28090         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
28091         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
28092         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
28093         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
28094         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
28095         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
28096         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
28097         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
28098         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
28099         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
28100         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
28101         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
28102         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
28103         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
28104         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
28105         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
28106         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
28107         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
28108         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
28109         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
28110         * sysdeps/mach/hurd/link.c (__link): Likewise.
28111         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
28112         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
28113         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28114         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
28115         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28116         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
28117         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
28118         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
28119         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
28120         * sysdeps/mach/hurd/rename.c (rename): Likewise.
28121         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
28122         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28123         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
28124         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
28125         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
28126         * sysdeps/mach/hurd/send.c (__send): Likewise.
28127         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
28128         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
28129         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
28130         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
28131         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
28132         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
28133         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
28134         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
28135         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
28136         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
28137         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
28138         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
28139         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
28140         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
28141         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
28142         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28143         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
28144         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28145         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
28146         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
28147         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
28148         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
28149         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
28150         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
28151         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
28152         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
28153         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
28154         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
28155         * sysdeps/posix/alarm.c (alarm): Likewise.
28156         * sysdeps/posix/cuserid.c (cuserid): Likewise.
28157         * sysdeps/posix/dirfd.c (dirfd): Likewise.
28158         * sysdeps/posix/dup.c (__dup): Likewise.
28159         * sysdeps/posix/dup2.c (__dup2): Likewise.
28160         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
28161         (main): Likewise.
28162         * sysdeps/posix/flock.c (__flock): Likewise.
28163         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
28164         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
28165         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
28166         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
28167         * sysdeps/posix/isatty.c (__isatty): Likewise.
28168         * sysdeps/posix/killpg.c (killpg): Likewise.
28169         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28170         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
28171         * sysdeps/posix/raise.c (raise): Likewise.
28172         * sysdeps/posix/remove.c (remove): Likewise.
28173         * sysdeps/posix/rename.c (rename): Likewise.
28174         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
28175         * sysdeps/posix/seekdir.c (seekdir): Likewise.
28176         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28177         * sysdeps/posix/sigignore.c (sigignore): Likewise.
28178         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
28179         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
28180         * sysdeps/posix/sigset.c (sigset): Likewise.
28181         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
28182         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
28183         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
28184         * sysdeps/posix/time.c (time): Likewise.
28185         * sysdeps/posix/ttyname.c (getttyname): Likewise.
28186         (ttyname): Likewise.
28187         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
28188         * sysdeps/posix/utime.c (utime): Likewise.
28189         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
28190         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
28191         Likewise.
28192         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
28193         (pthread_spin_trylock): Likewise.
28194         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
28195         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
28196         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
28197         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
28198         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
28199         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
28200         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
28201         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
28202         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
28203         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
28204         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
28205         * sysdeps/s390/ffs.c (__ffs): Likewise.
28206         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
28207         Likewise.
28208         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28209         Likewise.
28210         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
28211         Likewise.
28212         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
28213         (pthread_barrier_destroy): Likewise.
28214         * sysdeps/sparc/nptl/pthread_barrier_wait.c
28215         (__pthread_barrier_wait): Likewise.
28216         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
28217         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28218         (__pthread_barrier_wait): Likewise.
28219         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
28220         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
28221         (memcmp_not_common_alignment): Likewise.
28222         (MEMCMP): Likewise.
28223         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
28224         (_wordcopy_fwd_dest_aligned): Likewise.
28225         (_wordcopy_bwd_aligned): Likewise.
28226         (_wordcopy_bwd_dest_aligned): Likewise.
28227         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
28228         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
28229         * sysdeps/unix/bsd/stty.c (stty): Likewise.
28230         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
28231         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
28232         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
28233         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
28234         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
28235         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
28236         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
28237         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
28238         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
28239         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
28240         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
28241         * sysdeps/unix/stime.c (stime): Likewise.
28242         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
28243         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
28244         Likewise.  Use internal_function.
28245         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
28246         Convert to prototype-style function definition.
28247         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28248         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28249         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
28250         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28251         Likewise.  Use internal_function.
28252         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
28253         prototype-style function definition
28254         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28255         Likewise.
28256         (__getlogin_r): Likewise.
28257         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
28258         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
28259         (__pthread_cond_broadcast): Likewise.
28260         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
28261         (__pthread_cond_destroy): Likewise.
28262         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
28263         (__pthread_cond_init): Likewise.
28264         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
28265         (__pthread_cond_signal): Likewise.
28266         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
28267         (__pthread_cond_wait): Likewise.
28268         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
28269         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
28270         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
28271         Likewise.
28272         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
28273         Likewise.
28274         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28275         Likewise.
28276         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
28277         Likewise.
28278         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
28279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
28280         (__ftruncate64): Likewise.
28281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
28282         (truncate64): Likewise.
28283         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
28284         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
28285         (pthread_getcpuclockid): Likewise.
28286         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28287         Likewise.
28288         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28289         Likewise.
28290         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
28291         Likewise.
28292         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
28293         Likewise.
28294         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
28295         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
28296         (__libc_sigaction): Likewise.
28297         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
28298         Likewise.
28299         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28300         (__sigprocmask): Likewise.
28301         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
28302         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
28303         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
28304         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
28305         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28306         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
28307         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28308         Likewise.
28309         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
28310         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
28311         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28312         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
28313         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
28314         Likewise.
28315         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28316         (__sigprocmask): Likewise.
28317         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
28318         (cfgetispeed): Likewise.
28319         (cfsetospeed): Likewise.
28320         (cfsetispeed): Likewise.
28321         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
28322         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
28323         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28324         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
28325         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
28326         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
28327         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
28328         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
28329         Likewise.
28330         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
28331         Likewise.
28332         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
28333         Likewise.
28334         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28335         Likewise.
28336         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
28338 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28340         sunrpc: Rewrite with explicit TLS access using __thread.
28341         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
28342         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
28343         directly.
28344         (__rpc_thread_variables): Access thread_rpc_vars directly.
28345         Eliminate redundant assignment of the tvp variable.
28347 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28349         malloc: Rewrite with explicit TLS access using __thread.
28350         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
28351         (tsd_setspecific, tsd_getspecific): Remove.
28352         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
28353         (tsd_setspecific, tsd_getspecific): Likewise.
28354         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
28355         (tsd_setspecific, tsd_getspecific): Likewise.
28356         * malloc/arena.c (thread_arena): New TLS variable.
28357         (arena_key): Remove variable.
28358         (arena_get): Use thread_arena.
28359         (arena_lookup): Remove macro.
28360         (malloc_atfork, free_atfork, ptmalloc_lock_all)
28361         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
28362         (_int_new_arena, get_free_list, reused_arena)
28363         (arena_thread_freeres): Use thread_arena.
28364         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
28365         tsd_getspecific, tsd_setspecific from safety annotations.
28366         (Allocating Cleared Space): Remove arena_lookup from safety
28367         annotations.
28369 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28371         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
28372         struct scratch_buffer instead of extend_alloca.
28374 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28376         * sysdeps/unix/sysv/linux/kernel-features.h
28377         (__ASSUME_SOCK_CLOEXEC): Remove.
28378         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
28379         (__have_paccept): Remove unused macro.
28380         * include/unistd.h (__have_sock_cloexec): Remove declaration.
28381         * misc/syslog.c (openlog_internal): Remove fallback code for
28382         !__ASSUME_SOCK_CLOEXEC.
28383         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
28384         missing SOCK_CLOEXEC.
28385         * nscd/connections.c (have_sock_cloexec): Remove definition.
28386         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28387         * nscd/nscd_helper.c (open_socket): Remove fallback code for
28388         !__ASSUME_SOCK_CLOEXEC.
28389         * resolv/res_send.c (__have_o_nonblock): Remove definition.
28390         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28391         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
28392         definition.
28393         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
28394         code for !__ASSUME_SOCK_CLOEXEC.
28396 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28398         [BZ #18982]
28399         * manual/stdio.texi (Variable Arguments Output): Add portability
28400         note, explaining that vfprintf clobbers the va_list pointer.
28402 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
28404         * math/libm-test.inc (fabs_test_data): Add more tests.
28405         (fdim_test_data): Likewise.
28406         (fma_test_data): Likewise.
28407         (fmax_test_data): Likewise.
28408         (fmin_test_data): Likewise.
28409         (fmod_test_data): Likewise.
28411 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
28413         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
28414         data.
28416 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
28418         * math/libm-test.inc (ceil_test_data): Add more tests and more
28419         expectations for "inexact".
28420         (floor_test_data): Add more tests.
28421         (round_test_data): Likewise.
28422         (trunc_test_data): Likewise.
28424         * crypt/cert.c (good_bye): Convert to prototype-style function
28425         definition.
28426         (get8): Likewise.
28427         (put8): Likewise.
28428         * crypt/crypt-entry.c (crypt): Likewise.
28429         (__fcrypt): Likewise.
28430         * crypt/crypt_util.c (_ufc_prbits): Likewise.
28431         (_ufc_set_bits): Likewise.
28432         (_ufc_clearmem): Likewise.
28433         (__init_des_r): Likewise.
28434         (shuffle_sb): Likewise.
28435         (shuffle_sb): Likewise.
28436         (_ufc_setup_salt_r): Likewise.
28437         (_ufc_mk_keytab_r): Likewise.
28438         (_ufc_dofinalperm_r): Likewise.
28439         (encrypt): Likewise.
28440         (__setkey_r): Likewise.
28441         (setkey): Likewise.
28442         * crypt/md5.c (md5_init_ctx): Likewise.
28443         (md5_read_ctx): Likewise.
28444         (md5_finish_ctx): Likewise.
28445         (md5_stream): Likewise.
28446         (md5_buffer): Likewise.
28447         (md5_process_bytes): Likewise.
28448         * crypt/sha256.c (__sha256_init_ctx): Likewise.
28449         (__sha256_finish_ctx): Likewise.
28450         (__sha256_process_bytes): Likewise.
28451         * crypt/sha512.c (__sha512_init_ctx): Likewise.
28452         (__sha512_finish_ctx): Likewise.
28453         (__sha512_process_bytes): Likewise.
28454         * ctype/isctype.c (__isctype): Likewise.
28455         * debug/backtrace.c (__backtrace): Likewise.
28456         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
28457         * debug/fgets_chk.c (__fgets_chk): Likewise.
28458         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
28459         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
28460         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28461         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28462         * debug/memset_chk.c (__memset_chk): Likewise.
28463         * debug/strcat_chk.c (__strcat_chk): Likewise.
28464         * debug/strncat_chk.c (__strncat_chk): Likewise.
28465         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
28466         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
28467         * dirent/dirfd.c (dirfd): Likewise.
28468         * dirent/getdents.c (__getdirentries): Likewise.
28469         * dirent/getdents64.c (getdirentries64): Likewise.
28470         * dirent/rewinddir.c (__rewinddir): Likewise.
28471         * dirent/seekdir.c (seekdir): Likewise.
28472         * dirent/telldir.c (telldir): Likewise.
28473         * elf/sln.c (makesymlinks): Likewise.
28474         (makesymlink): Likewise.
28475         * gmon/gmon.c (__moncontrol): Likewise.
28476         (__monstartup): Likewise.
28477         (write_hist): Likewise.
28478         (write_call_graph): Likewise.
28479         (write_bb_counts): Likewise.
28480         * grp/setgroups.c (setgroups): Likewise.
28481         * inet/inet_lnaof.c (inet_lnaof): Likewise.
28482         * inet/inet_net.c (inet_network): Likewise.
28483         * inet/inet_netof.c (inet_netof): Likewise.
28484         * inet/rcmd.c (rresvport_af): Likewise.
28485         (rresvport): Likewise.
28486         * io/access.c (__access): Likewise.
28487         * io/chdir.c (__chdir): Likewise.
28488         * io/chmod.c (__chmod): Likewise.
28489         * io/chown.c (__chown): Likewise.
28490         * io/close.c (__close): Likewise.
28491         * io/creat.c (creat): Likewise.
28492         * io/creat64.c (creat64): Likewise.
28493         * io/dup.c (__dup): Likewise.
28494         * io/dup2.c (__dup2): Likewise.
28495         * io/dup3.c (__dup3): Likewise.
28496         * io/euidaccess.c (__euidaccess): Likewise.
28497         * io/faccessat.c (faccessat): Likewise.
28498         * io/fchmod.c (__fchmod): Likewise.
28499         * io/fchmodat.c (fchmodat): Likewise.
28500         * io/fchown.c (__fchown): Likewise.
28501         * io/fchownat.c (fchownat): Likewise.
28502         * io/fcntl.c (__fcntl): Likewise.
28503         * io/flock.c (__flock): Likewise.
28504         * io/fts.c (fts_load): Likewise.
28505         (fts_close): Likewise.
28506         (fts_read): Likewise.
28507         (fts_set): Likewise.
28508         (fts_children): Likewise.
28509         (fts_build): Likewise.
28510         (fts_stat): Likewise.
28511         (fts_sort): Likewise.
28512         (fts_alloc): Likewise.
28513         (fts_lfree): Likewise.
28514         (fts_palloc): Likewise.
28515         (fts_padjust): Likewise.
28516         (fts_maxarglen): Likewise.
28517         (fts_safe_changedir): Likewise.
28518         * io/getwd.c (getwd): Likewise.
28519         * io/isatty.c (__isatty): Likewise.
28520         * io/lchown.c (__lchown): Likewise.
28521         * io/link.c (__link): Likewise.
28522         * io/linkat.c (linkat): Likewise.
28523         * io/lseek.c (__libc_lseek): Likewise.
28524         * io/mkdir.c (__mkdir): Likewise.
28525         * io/mkdirat.c (mkdirat): Likewise.
28526         * io/mkfifo.c (mkfifo): Likewise.
28527         * io/mkfifoat.c (mkfifoat): Likewise.
28528         * io/open.c (__libc_open): Likewise.
28529         * io/open64.c (__libc_open64): Likewise.
28530         * io/readlink.c (__readlink): Likewise.
28531         * io/readlinkat.c (readlinkat): Likewise.
28532         * io/rmdir.c (__rmdir): Likewise.
28533         * io/symlink.c (__symlink): Likewise.
28534         * io/symlinkat.c (symlinkat): Likewise.
28535         * io/ttyname.c (ttyname): Likewise.
28536         * io/ttyname_r.c (__ttyname_r): Likewise.
28537         * io/umask.c (__umask): Likewise.
28538         * io/unlink.c (__unlink): Likewise.
28539         * io/unlinkat.c (unlinkat): Likewise.
28540         * io/utime.c (utime): Likewise.
28541         * libio/clearerr.c (clearerr): Likewise.
28542         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
28543         * libio/feof.c (_IO_feof): Likewise.
28544         * libio/feof_u.c (feof_unlocked): Likewise.
28545         * libio/ferror.c (_IO_ferror): Likewise.
28546         * libio/ferror_u.c (ferror_unlocked): Likewise.
28547         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28548         * libio/fileno.c (__fileno): Likewise.
28549         * libio/fputc.c (fputc): Likewise.
28550         * libio/fputc_u.c (fputc_unlocked): Likewise.
28551         * libio/fputwc.c (fputwc): Likewise.
28552         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
28553         * libio/freopen.c (freopen): Likewise.
28554         * libio/freopen64.c (freopen64): Likewise.
28555         * libio/fseek.c (fseek): Likewise.
28556         * libio/fseeko.c (fseeko): Likewise.
28557         * libio/fseeko64.c (fseeko64): Likewise.
28558         * libio/ftello.c (__ftello): Likewise.
28559         * libio/ftello64.c (ftello64): Likewise.
28560         * libio/fwide.c (fwide): Likewise.
28561         * libio/genops.c (_IO_un_link): Likewise.
28562         (_IO_link_in): Likewise.
28563         (_IO_least_marker): Likewise.
28564         (_IO_switch_to_main_get_area): Likewise.
28565         (_IO_switch_to_backup_area): Likewise.
28566         (_IO_switch_to_get_mode): Likewise.
28567         (_IO_free_backup_area): Likewise.
28568         (_IO_switch_to_put_mode): Likewise.
28569         (__overflow): Likewise.
28570         (__underflow): Likewise.
28571         (__uflow): Likewise.
28572         (_IO_setb): Likewise.
28573         (_IO_doallocbuf): Likewise.
28574         (_IO_default_underflow): Likewise.
28575         (_IO_default_uflow): Likewise.
28576         (_IO_default_xsputn): Likewise.
28577         (_IO_sgetn): Likewise.
28578         (_IO_default_xsgetn): Likewise.
28579         (_IO_sync): Likewise.
28580         (_IO_default_setbuf): Likewise.
28581         (_IO_default_seekpos): Likewise.
28582         (_IO_default_doallocate): Likewise.
28583         (_IO_init): Likewise.
28584         (_IO_old_init): Likewise.
28585         (_IO_default_sync): Likewise.
28586         (_IO_default_finish): Likewise.
28587         (_IO_default_seekoff): Likewise.
28588         (_IO_sputbackc): Likewise.
28589         (_IO_sungetc): Likewise.
28590         (_IO_set_column): Likewise.
28591         (_IO_set_column): Likewise.
28592         (_IO_adjust_column): Likewise.
28593         (_IO_get_column): Likewise.
28594         (_IO_init_marker): Likewise.
28595         (_IO_remove_marker): Likewise.
28596         (_IO_marker_difference): Likewise.
28597         (_IO_marker_delta): Likewise.
28598         (_IO_seekmark): Likewise.
28599         (_IO_unsave_markers): Likewise.
28600         (_IO_nobackup_pbackfail): Likewise.
28601         (_IO_default_pbackfail): Likewise.
28602         (_IO_default_seek): Likewise.
28603         (_IO_default_stat): Likewise.
28604         (_IO_default_read): Likewise.
28605         (_IO_default_write): Likewise.
28606         (_IO_default_showmanyc): Likewise.
28607         (_IO_default_imbue): Likewise.
28608         (_IO_iter_next): Likewise.
28609         (_IO_iter_file): Likewise.
28610         * libio/getc.c (_IO_getc): Likewise.
28611         * libio/getwc.c (_IO_getwc): Likewise.
28612         * libio/iofclose.c (_IO_new_fclose): Likewise.
28613         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28614         * libio/iofflush.c (_IO_fflush): Likewise.
28615         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
28616         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
28617         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
28618         * libio/iofgets.c (_IO_fgets): Likewise.
28619         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
28620         * libio/iofgetws.c (fgetws): Likewise.
28621         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
28622         * libio/iofopen64.c (_IO_fopen64): Likewise.
28623         * libio/iofopncook.c (_IO_cookie_read): Likewise.
28624         (_IO_cookie_write): Likewise.
28625         (_IO_cookie_seek): Likewise.
28626         (_IO_cookie_close): Likewise.
28627         (_IO_cookie_seekoff): Likewise.
28628         (_IO_old_cookie_seek): Likewise.
28629         * libio/iofputs.c (_IO_fputs): Likewise.
28630         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
28631         * libio/iofputws.c (fputws): Likewise.
28632         * libio/iofputws_u.c (fputws_unlocked): Likewise.
28633         * libio/iofread.c (_IO_fread): Likewise.
28634         * libio/iofread_u.c (__fread_unlocked): Likewise.
28635         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
28636         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28637         * libio/ioftell.c (_IO_ftell): Likewise.
28638         * libio/iofwrite.c (_IO_fwrite): Likewise.
28639         * libio/iogetdelim.c (_IO_getdelim): Likewise.
28640         * libio/iogets.c (_IO_gets): Likewise.
28641         * libio/iopadn.c (_IO_padn): Likewise.
28642         * libio/iopopen.c (_IO_new_proc_open): Likewise.
28643         (_IO_new_popen): Likewise.
28644         (_IO_new_proc_close): Likewise.
28645         * libio/ioputs.c (_IO_puts): Likewise.
28646         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
28647         (_IO_seekoff): Likewise.
28648         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
28649         (_IO_seekpos): Likewise.
28650         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
28651         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
28652         * libio/ioungetc.c (_IO_ungetc): Likewise.
28653         * libio/ioungetwc.c (ungetwc): Likewise.
28654         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28655         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
28656         * libio/iowpadn.c (_IO_wpadn): Likewise.
28657         * libio/libc_fatal.c (__libc_fatal): Likewise.
28658         * libio/memstream.c (__open_memstream): Likewise.
28659         (_IO_mem_sync): Likewise.
28660         (_IO_mem_finish): Likewise.
28661         * libio/oldfileops.c (_IO_old_file_init): Likewise.
28662         (_IO_old_file_close_it): Likewise.
28663         (_IO_old_file_finish): Likewise.
28664         (_IO_old_file_fopen): Likewise.
28665         (_IO_old_file_attach): Likewise.
28666         (_IO_old_file_setbuf): Likewise.
28667         (_IO_old_do_write): Likewise.
28668         (old_do_write): Likewise.
28669         (_IO_old_file_underflow): Likewise.
28670         (_IO_old_file_overflow): Likewise.
28671         (_IO_old_file_sync): Likewise.
28672         (_IO_old_file_seekoff): Likewise.
28673         (_IO_old_file_write): Likewise.
28674         (_IO_old_file_xsputn): Likewise.
28675         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
28676         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28677         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
28678         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
28679         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28680         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
28681         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
28682         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
28683         (_IO_old_popen): Likewise.
28684         (_IO_old_proc_close): Likewise.
28685         * libio/oldpclose.c (__old_pclose): Likewise.
28686         * libio/pclose.c (__new_pclose): Likewise.
28687         * libio/peekc.c (_IO_peekc_locked): Likewise.
28688         * libio/putc.c (_IO_putc): Likewise.
28689         * libio/putc_u.c (putc_unlocked): Likewise.
28690         * libio/putchar.c (putchar): Likewise.
28691         * libio/putchar_u.c (putchar_unlocked): Likewise.
28692         * libio/putwc.c (putwc): Likewise.
28693         * libio/putwc_u.c (putwc_unlocked): Likewise.
28694         * libio/putwchar.c (putwchar): Likewise.
28695         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
28696         * libio/rewind.c (rewind): Likewise.
28697         * libio/setbuf.c (setbuf): Likewise.
28698         * libio/setlinebuf.c (setlinebuf): Likewise.
28699         * libio/vasprintf.c (_IO_vasprintf): Likewise.
28700         * libio/vscanf.c (_IO_vscanf): Likewise.
28701         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
28702         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
28703         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28704         * libio/wgenops.c (_IO_least_wmarker): Likewise.
28705         (_IO_switch_to_main_wget_area): Likewise.
28706         (_IO_switch_to_wbackup_area): Likewise.
28707         (_IO_wsetb): Likewise.
28708         (_IO_wdefault_pbackfail): Likewise.
28709         (_IO_wdefault_finish): Likewise.
28710         (_IO_wdefault_uflow): Likewise.
28711         (__woverflow): Likewise.
28712         (__wuflow): Likewise.
28713         (__wunderflow): Likewise.
28714         (_IO_wdefault_xsputn): Likewise.
28715         (_IO_wdefault_xsgetn): Likewise.
28716         (_IO_wdoallocbuf): Likewise.
28717         (_IO_wdefault_doallocate): Likewise.
28718         (_IO_switch_to_wget_mode): Likewise.
28719         (_IO_free_wbackup_area): Likewise.
28720         (_IO_switch_to_wput_mode): Likewise.
28721         (_IO_sputbackwc): Likewise.
28722         (_IO_sungetwc): Likewise.
28723         (_IO_adjust_wcolumn): Likewise.
28724         (_IO_init_wmarker): Likewise.
28725         (_IO_wmarker_delta): Likewise.
28726         (_IO_seekwmark): Likewise.
28727         (_IO_unsave_wmarkers): Likewise.
28728         * libio/wmemstream.c (open_wmemstream): Likewise.
28729         (_IO_wmem_sync): Likewise.
28730         (_IO_wmem_finish): Likewise.
28731         * locale/nl_langinfo.c (nl_langinfo): Likewise.
28732         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
28733         * locale/programs/simple-hash.c (init_hash): Likewise.
28734         (delete_hash): Likewise.
28735         (insert_entry): Likewise.
28736         (set_entry): Likewise.
28737         (next_prime): Likewise.
28738         (is_prime): Likewise.
28739         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
28740         (xmalloc): Likewise.
28741         (xrealloc): Likewise.
28742         * locale/programs/xstrdup.c (xstrdup): Likewise.
28743         * localedata/collate-test.c (xstrcoll): Likewise.
28744         * localedata/xfrm-test.c (xstrcmp): Likewise.
28745         * login/getlogin_r.c (__getlogin_r): Likewise.
28746         * login/getpt.c (__posix_openpt): Likewise.
28747         * login/login_tty.c (login_tty): Likewise.
28748         * login/setlogin.c (setlogin): Likewise.
28749         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
28750         (mach_msg_destroy_port): Likewise.
28751         (mach_msg_destroy_memory): Likewise.
28752         * malloc/mcheck.c (flood): Likewise.
28753         * misc/acct.c (acct): Likewise.
28754         * misc/brk.c (__brk): Likewise.
28755         * misc/chflags.c (chflags): Likewise.
28756         * misc/chroot.c (chroot): Likewise.
28757         * misc/fchflags.c (fchflags): Likewise.
28758         * misc/fstab.c (getfsspec): Likewise.
28759         (getfsfile): Likewise.
28760         * misc/fsync.c (fsync): Likewise.
28761         * misc/ftruncate.c (__ftruncate): Likewise.
28762         * misc/ftruncate64.c (__ftruncate64): Likewise.
28763         * misc/getdomain.c (getdomainname): Likewise.
28764         (getdomainname): Likewise.
28765         * misc/gethostname.c (__gethostname): Likewise.
28766         * misc/getpass.c (getpass): Likewise.
28767         * misc/getttyent.c (skip): Likewise.
28768         (value): Likewise.
28769         * misc/gtty.c (gtty): Likewise.
28770         * misc/hsearch.c (hsearch): Likewise.
28771         (hcreate): Likewise.
28772         * misc/hsearch_r.c (__hcreate_r): Likewise.
28773         (__hdestroy_r): Likewise.
28774         * misc/ioctl.c (__ioctl): Likewise.
28775         * misc/mkdtemp.c (mkdtemp): Likewise.
28776         * misc/mkostemp.c (mkostemp): Likewise.
28777         * misc/mkostemp64.c (mkostemp64): Likewise.
28778         * misc/mkostemps.c (mkostemps): Likewise.
28779         * misc/mkostemps64.c (mkostemps64): Likewise.
28780         * misc/mkstemp.c (mkstemp): Likewise.
28781         * misc/mkstemp64.c (mkstemp64): Likewise.
28782         * misc/mkstemps.c (mkstemps): Likewise.
28783         * misc/mkstemps64.c (mkstemps64): Likewise.
28784         * misc/mktemp.c (__mktemp): Likewise.
28785         * misc/preadv.c (preadv): Likewise.
28786         * misc/preadv64.c (preadv64): Likewise.
28787         * misc/pwritev.c (pwritev): Likewise.
28788         * misc/pwritev64.c (pwritev64): Likewise.
28789         * misc/readv.c (__readv): Likewise.
28790         * misc/revoke.c (revoke): Likewise.
28791         * misc/setdomain.c (setdomainname): Likewise.
28792         * misc/setegid.c (setegid): Likewise.
28793         * misc/seteuid.c (seteuid): Likewise.
28794         * misc/sethostid.c (sethostid): Likewise.
28795         * misc/sethostname.c (sethostname): Likewise.
28796         * misc/setregid.c (__setregid): Likewise.
28797         * misc/setreuid.c (__setreuid): Likewise.
28798         * misc/sstk.c (sstk): Likewise.
28799         * misc/stty.c (stty): Likewise.
28800         * misc/syscall.c (syscall): Likewise.
28801         * misc/syslog.c (setlogmask): Likewise.
28802         * misc/truncate.c (__truncate): Likewise.
28803         * misc/truncate64.c (truncate64): Likewise.
28804         * misc/ualarm.c (ualarm): Likewise.
28805         * misc/usleep.c (usleep): Likewise.
28806         * misc/ustat.c (ustat): Likewise.
28807         * misc/writev.c (__writev): Likewise.
28808         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
28809         * nptl/old_pthread_cond_broadcast.c
28810         (__pthread_cond_broadcast_2_0): Likewise.
28811         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
28812         Likewise.
28813         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
28814         Likewise.
28815         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
28816         Likewise.
28817         * nptl/pt-raise.c (raise): Likewise.
28818         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
28819         Likewise.
28820         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
28821         * nptl/pthread_barrierattr_destroy.c
28822         (pthread_barrierattr_destroy): Likewise.
28823         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28824         Likewise.
28825         * nptl/pthread_barrierattr_setpshared.c
28826         (pthread_barrierattr_setpshared): Likewise.
28827         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28828         Likewise.
28829         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
28830         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28831         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
28832         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
28833         Likewise.
28834         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
28835         Likewise.
28836         * nptl/pthread_condattr_getpshared.c
28837         (pthread_condattr_getpshared): Likewise.
28838         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
28839         Likewise.
28840         * nptl/pthread_condattr_setpshared.c
28841         (pthread_condattr_setpshared): Likewise.
28842         * nptl/pthread_detach.c (pthread_detach): Likewise.
28843         * nptl/pthread_equal.c (__pthread_equal): Likewise.
28844         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
28845         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
28846         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
28847         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
28848         Likewise.
28849         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
28850         Likewise.
28851         * nptl/pthread_mutex_getprioceiling.c
28852         (pthread_mutex_getprioceiling): Likewise.
28853         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
28854         Likewise.
28855         * nptl/pthread_mutexattr_getprotocol.c
28856         (pthread_mutexattr_getprotocol): Likewise.
28857         * nptl/pthread_mutexattr_getpshared.c
28858         (pthread_mutexattr_getpshared): Likewise.
28859         * nptl/pthread_mutexattr_getrobust.c
28860         (pthread_mutexattr_getrobust): Likewise.
28861         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28862         Likewise.
28863         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
28864         Likewise.
28865         * nptl/pthread_mutexattr_setprioceiling.c
28866         (pthread_mutexattr_setprioceiling): Likewise.
28867         * nptl/pthread_mutexattr_setprotocol.c
28868         (pthread_mutexattr_setprotocol): Likewise.
28869         * nptl/pthread_mutexattr_setpshared.c
28870         (pthread_mutexattr_setpshared): Likewise.
28871         * nptl/pthread_mutexattr_setrobust.c
28872         (pthread_mutexattr_setrobust): Likewise.
28873         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
28874         Likewise.
28875         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
28876         Likewise.
28877         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
28878         Likewise.
28879         * nptl/pthread_rwlockattr_getkind_np.c
28880         (pthread_rwlockattr_getkind_np): Likewise.
28881         * nptl/pthread_rwlockattr_getpshared.c
28882         (pthread_rwlockattr_getpshared): Likewise.
28883         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
28884         Likewise.
28885         * nptl/pthread_rwlockattr_setkind_np.c
28886         (pthread_rwlockattr_setkind_np): Likewise.
28887         * nptl/pthread_rwlockattr_setpshared.c
28888         (pthread_rwlockattr_setpshared): Likewise.
28889         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
28890         Likewise.
28891         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
28892         Likewise.
28893         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
28894         Likewise.
28895         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
28896         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
28897         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
28898         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
28899         * nptl/sem_close.c (sem_close): Likewise.
28900         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
28901         * nptl/sem_init.c (__old_sem_init): Likewise.
28902         * nptl/sigaction.c (__sigaction): Likewise.
28903         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28904         * posix/_exit.c (_exit): Likewise.
28905         * posix/alarm.c (alarm): Likewise.
28906         * posix/confstr.c (confstr): Likewise.
28907         * posix/fpathconf.c (__fpathconf): Likewise.
28908         * posix/getgroups.c (__getgroups): Likewise.
28909         * posix/getpgid.c (__getpgid): Likewise.
28910         * posix/group_member.c (__group_member): Likewise.
28911         * posix/pathconf.c (__pathconf): Likewise.
28912         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
28913         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
28914         * posix/setgid.c (__setgid): Likewise.
28915         * posix/setpgid.c (__setpgid): Likewise.
28916         * posix/setuid.c (__setuid): Likewise.
28917         * posix/sleep.c (__sleep): Likewise.
28918         * posix/sysconf.c (__sysconf): Likewise.
28919         * posix/times.c (__times): Likewise.
28920         * posix/uname.c (__uname): Likewise.
28921         * posix/waitid.c (__waitid): Likewise.
28922         * pwd/getpw.c (__getpw): Likewise.
28923         * resolv/base64.c (b64_pton): Likewise.
28924         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28925         * resolv/gethnamaddr.c (Dprintf): Likewise.
28926         (gethostbyname): Likewise.
28927         (gethostbyname2): Likewise.
28928         (gethostbyaddr): Likewise.
28929         (_sethtent): Likewise.
28930         (_gethtbyname): Likewise.
28931         (_gethtbyname2): Likewise.
28932         (_gethtbyaddr): Likewise.
28933         (map_v4v6_address): Likewise.
28934         (map_v4v6_hostent): Likewise.
28935         (addrsort): Likewise.
28936         (ht_sethostent): Likewise.
28937         (ht_gethostbyname): Likewise.
28938         (ht_gethostbyaddr): Likewise.
28939         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
28940         (inet_net_ntop_ipv4): Likewise.
28941         * resolv/inet_neta.c (inet_neta): Likewise.
28942         * resolv/inet_ntop.c (inet_ntop): Likewise.
28943         (inet_ntop4): Likewise.
28944         (inet_ntop6): Likewise.
28945         * resolv/inet_pton.c (__inet_pton): Likewise.
28946         (inet_pton4): Likewise.
28947         (inet_pton6): Likewise.
28948         * resolv/res_debug.c (loc_aton): Likewise.
28949         (loc_ntoa): Likewise.
28950         * resource/getpriority.c (__getpriority): Likewise.
28951         * resource/getrusage.c (__getrusage): Likewise.
28952         * resource/nice.c (nice): Likewise.
28953         * resource/setpriority.c (__setpriority): Likewise.
28954         * resource/setrlimit64.c (setrlimit64): Likewise.
28955         * resource/vlimit.c (vlimit): Likewise.
28956         * resource/vtimes.c (vtimes): Likewise.
28957         * rt/aio_error.c (aio_error): Likewise.
28958         * rt/aio_return.c (aio_return): Likewise.
28959         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
28960         * signal/kill.c (__kill): Likewise.
28961         * signal/killpg.c (killpg): Likewise.
28962         * signal/raise.c (raise): Likewise.
28963         * signal/sigaction.c (__sigaction): Likewise.
28964         * signal/sigaddset.c (sigaddset): Likewise.
28965         * signal/sigaltstack.c (sigaltstack): Likewise.
28966         * signal/sigandset.c (sigandset): Likewise.
28967         * signal/sigblock.c (__sigblock): Likewise.
28968         * signal/sigdelset.c (sigdelset): Likewise.
28969         * signal/sigempty.c (sigemptyset): Likewise.
28970         * signal/sigfillset.c (sigfillset): Likewise.
28971         * signal/sighold.c (sighold): Likewise.
28972         * signal/sigignore.c (sigignore): Likewise.
28973         * signal/sigintr.c (siginterrupt): Likewise.
28974         * signal/sigisempty.c (sigisemptyset): Likewise.
28975         * signal/sigismem.c (sigismember): Likewise.
28976         * signal/signal.c (signal): Likewise.
28977         * signal/sigorset.c (sigorset): Likewise.
28978         * signal/sigpause.c (__sigpause): Likewise.
28979         * signal/sigpending.c (sigpending): Likewise.
28980         * signal/sigprocmask.c (__sigprocmask): Likewise.
28981         * signal/sigrelse.c (sigrelse): Likewise.
28982         * signal/sigreturn.c (__sigreturn): Likewise.
28983         * signal/sigset.c (sigset): Likewise.
28984         * signal/sigsetmask.c (__sigsetmask): Likewise.
28985         * signal/sigstack.c (sigstack): Likewise.
28986         * signal/sigsuspend.c (__sigsuspend): Likewise.
28987         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
28988         * signal/sysv_signal.c (__sysv_signal): Likewise.
28989         * socket/accept.c (accept): Likewise.
28990         * socket/accept4.c (__libc_accept4): Likewise.
28991         * socket/bind.c (__bind): Likewise.
28992         * socket/connect.c (__connect): Likewise.
28993         * socket/getpeername.c (getpeername): Likewise.
28994         * socket/getsockname.c (__getsockname): Likewise.
28995         * socket/getsockopt.c (getsockopt): Likewise.
28996         * socket/listen.c (__listen): Likewise.
28997         * socket/recv.c (__recv): Likewise.
28998         * socket/recvmsg.c (__recvmsg): Likewise.
28999         * socket/send.c (__send): Likewise.
29000         * socket/sendmsg.c (__sendmsg): Likewise.
29001         * socket/shutdown.c (shutdown): Likewise.
29002         * socket/sockatmark.c (sockatmark): Likewise.
29003         * socket/socket.c (__socket): Likewise.
29004         * stdio-common/ctermid.c (ctermid): Likewise.
29005         * stdio-common/cuserid.c (cuserid): Likewise.
29006         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
29007         * stdio-common/remove.c (remove): Likewise.
29008         * stdio-common/rename.c (rename): Likewise.
29009         * stdio-common/renameat.c (renameat): Likewise.
29010         * stdio-common/tempname.c (__gen_tempname): Likewise.
29011         * stdio-common/xbug.c (InitBuffer): Likewise.
29012         (AppendToBuffer): Likewise.
29013         (ReadFile): Likewise.
29014         * stdlib/a64l.c (a64l): Likewise.
29015         * stdlib/drand48_r.c (drand48_r): Likewise.
29016         * stdlib/getcontext.c (getcontext): Likewise.
29017         * stdlib/getenv.c (getenv): Likewise.
29018         * stdlib/l64a.c (l64a): Likewise.
29019         * stdlib/llabs.c (llabs): Likewise.
29020         * stdlib/lldiv.c (lldiv): Likewise.
29021         * stdlib/lrand48_r.c (lrand48_r): Likewise.
29022         * stdlib/mrand48_r.c (mrand48_r): Likewise.
29023         * stdlib/putenv.c (putenv): Likewise.
29024         * stdlib/random.c (__srandom): Likewise.
29025         (__initstate): Likewise.
29026         (__setstate): Likewise.
29027         * stdlib/random_r.c (__srandom_r): Likewise.
29028         (__setstate_r): Likewise.
29029         (__random_r): Likewise.
29030         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
29031         * stdlib/setcontext.c (setcontext): Likewise.
29032         * stdlib/setenv.c (setenv): Likewise.
29033         (unsetenv): Likewise.
29034         * stdlib/srand48.c (srand48): Likewise.
29035         * stdlib/srand48_r.c (__srand48_r): Likewise.
29036         * stdlib/swapcontext.c (swapcontext): Likewise.
29037         * stdlib/system.c (__libc_system): Likewise.
29038         * stdlib/tst-strtod.c (expand): Likewise.
29039         * stdlib/tst-strtol.c (expand): Likewise.
29040         * stdlib/tst-strtoll.c (expand): Likewise.
29041         * streams/fattach.c (fattach): Likewise.
29042         * streams/fdetach.c (fdetach): Likewise.
29043         * streams/getmsg.c (getmsg): Likewise.
29044         * streams/isastream.c (isastream): Likewise.
29045         * string/ffs.c (__ffs): Likewise.
29046         * string/ffsll.c (ffsll): Likewise.
29047         * string/memcmp.c (memcmp_common_alignment): Likewise.
29048         (memcmp_not_common_alignment): Likewise.
29049         (MEMCMP): Likewise.
29050         * string/memcpy.c (memcpy): Likewise.
29051         * string/memmove.c (MEMMOVE): Likewise.
29052         * string/memset.c (memset): Likewise.
29053         * string/rawmemchr.c (RAWMEMCHR): Likewise.
29054         * string/strchrnul.c (STRCHRNUL): Likewise.
29055         * string/strerror.c (strerror): Likewise.
29056         * string/strndup.c (__strndup): Likewise.
29057         * string/strverscmp.c (__strverscmp): Likewise.
29058         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
29059         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
29060         (clnttcp_freeres): Likewise.
29061         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
29062         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
29063         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
29064         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
29065         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
29066         (xdr_callhdr): Likewise.
29067         * sunrpc/rpcinfo.c (udpping): Likewise.
29068         (tcpping): Likewise.
29069         (pstatus): Likewise.
29070         (pmapdump): Likewise.
29071         (brdcst): Likewise.
29072         (deletereg): Likewise.
29073         (getprognum): Likewise.
29074         (getvers): Likewise.
29075         (get_inet_address): Likewise.
29076         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
29077         * sunrpc/svc_udp.c (svcudp_create): Likewise.
29078         (svcudp_stat): Likewise.
29079         (svcudp_recv): Likewise.
29080         (svcudp_reply): Likewise.
29081         (svcudp_getargs): Likewise.
29082         (svcudp_freeargs): Likewise.
29083         (svcudp_destroy): Likewise.
29084         * sunrpc/xdr.c (xdr_bytes): Likewise.
29085         (xdr_netobj): Likewise.
29086         (xdr_string): Likewise.
29087         (xdr_wrapstring): Likewise.
29088         * sunrpc/xdr_float.c (xdr_float): Likewise.
29089         (xdr_double): Likewise.
29090         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
29091         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
29092         * sysvipc/ftok.c (ftok): Likewise.
29093         * sysvipc/msgctl.c (msgctl): Likewise.
29094         * sysvipc/msgget.c (msgget): Likewise.
29095         * sysvipc/msgrcv.c (msgrcv): Likewise.
29096         * sysvipc/msgsnd.c (msgsnd): Likewise.
29097         * sysvipc/semget.c (semget): Likewise.
29098         * sysvipc/semop.c (semop): Likewise.
29099         * sysvipc/shmat.c (shmat): Likewise.
29100         * sysvipc/shmctl.c (shmctl): Likewise.
29101         * sysvipc/shmdt.c (shmdt): Likewise.
29102         * sysvipc/shmget.c (shmget): Likewise.
29103         * termios/cfmakeraw.c (cfmakeraw): Likewise.
29104         * termios/speed.c (cfgetospeed): Likewise.
29105         (cfgetispeed): Likewise.
29106         (cfsetospeed): Likewise.
29107         (cfsetispeed): Likewise.
29108         * termios/tcflow.c (tcflow): Likewise.
29109         * termios/tcflush.c (tcflush): Likewise.
29110         * termios/tcgetattr.c (__tcgetattr): Likewise.
29111         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
29112         * termios/tcgetsid.c (tcgetsid): Likewise.
29113         * termios/tcsendbrk.c (tcsendbreak): Likewise.
29114         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
29115         * time/adjtime.c (__adjtime): Likewise.
29116         * time/dysize.c (dysize): Likewise.
29117         * time/ftime.c (ftime): Likewise.
29118         * time/getitimer.c (__getitimer): Likewise.
29119         * time/gettimeofday.c (__gettimeofday): Likewise.
29120         * time/gmtime.c (__gmtime_r): Likewise.
29121         (gmtime): Likewise.
29122         * time/localtime.c (__localtime_r): Likewise.
29123         (localtime): Likewise.
29124         * time/offtime.c (__offtime): Likewise.
29125         * time/settimeofday.c (__settimeofday): Likewise.
29126         * time/stime.c (stime): Likewise.
29127         * time/strftime_l.c (tm_diff): Likewise.
29128         (iso_week_days): Likewise.
29129         * time/strptime.c (strptime): Likewise.
29130         * time/time.c (time): Likewise.
29131         * time/timespec_get.c (timespec_get): Likewise.
29132         * time/tzset.c (tzset_internal): Likewise.
29133         (compute_change): Likewise.
29134         (__tz_compute): Likewise.
29135         * wcsmbs/btowc.c (__btowc): Likewise.
29136         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
29137         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
29138         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
29139         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
29140         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
29141         * wcsmbs/wcscat.c (__wcscat): Likewise.
29142         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29143         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
29144         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
29145         * wcsmbs/wcscspn.c (wcscspn): Likewise.
29146         * wcsmbs/wcsdup.c (wcsdup): Likewise.
29147         * wcsmbs/wcslen.c (__wcslen): Likewise.
29148         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
29149         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
29150         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
29151         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
29152         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29153         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
29154         * wcsmbs/wcsspn.c (wcsspn): Likewise.
29155         * wcsmbs/wcsstr.c (wcsstr): Likewise.
29156         * wcsmbs/wcstok.c (wcstok): Likewise.
29157         * wcsmbs/wctob.c (wctob): Likewise.
29158         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
29159         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29160         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
29161         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
29162         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
29163         * wcsmbs/wmemset.c (__wmemset): Likewise.
29164         * wctype/wcfuncs.c (__towlower): Likewise.
29165         (__towupper): Likewise.
29167         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
29168         (lll_unlock_elision): Add adapt_count parameter.
29170 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
29172         * sysdeps/nptl/configure.ac: Do not give errors based on the
29173         results of top-level configure tests.
29174         * sysdeps/nptl/configure: Regenerated.
29176         * configure.ac (libc_cv_Bgroup): Remove configure test.
29177         * configure: Regenerated.
29178         * config.make.in (have-Bgroup): Remove variable.
29180         * configure.ac (sizeof_long_double): Remove configure test.
29181         * configure: Regenerated.
29182         * config.make.in (sizeof-long-double): Remove variable.
29184         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
29185         * configure: Regenerated.
29186         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
29187         variable.
29188         (exceptions): Likewise.
29189         * sysdeps/arm/configure: Regenerated.
29190         * config.make.in (exceptions): Remove variable.
29191         * Makeconfig (uses-callbacks): Use -fexceptions instead of
29192         $(exceptions).
29193         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
29194         (CFLAGS-vdprintf_chk.c): Likewise.
29195         (CFLAGS-printf_chk.c): Likewise.
29196         (CFLAGS-fprintf_chk.c): Likewise.
29197         (CFLAGS-vprintf_chk.c): Likewise.
29198         (CFLAGS-vfprintf_chk.c): Likewise.
29199         (CFLAGS-gets_chk.c): Likewise.
29200         (CFLAGS-fgets_chk.c): Likewise.
29201         (CFLAGS-fgets_u_chk.c): Likewise.
29202         (CFLAGS-fread_chk.c): Likewise.
29203         (CFLAGS-fread_u_chk.c): Likewise.
29204         (CFLAGS-wprintf_chk.c): Likewise.
29205         (CFLAGS-fwprintf_chk.c): Likewise.
29206         (CFLAGS-vwprintf_chk.c): Likewise.
29207         (CFLAGS-vfwprintf_chk.c): Likewise.
29208         (CFLAGS-fgetws_chk.c): Likewise.
29209         (CFLAGS-fgetws_u_chk.c): Likewise.
29210         * libio/Makefile (CFLAGS-fileops.c): Likewise.
29211         (CFLAGS-fputc.c): Likewise.
29212         (CFLAGS-fputwc.c): Likewise.
29213         (CFLAGS-freopen64.c): Likewise.
29214         (CFLAGS-freopen.c): Likewise.
29215         (CFLAGS-fseek.c): Likewise.
29216         (CFLAGS-fseeko64.c): Likewise.
29217         (CFLAGS-fseeko.c): Likewise.
29218         (CFLAGS-ftello64.c): Likewise.
29219         (CFLAGS-ftello.c): Likewise.
29220         (CFLAGS-fwide.c): Likewise.
29221         (CFLAGS-genops.c): Likewise.
29222         (CFLAGS-getc.c): Likewise.
29223         (CFLAGS-getchar.c): Likewise.
29224         (CFLAGS-getwc.c): Likewise.
29225         (CFLAGS-getwchar.c): Likewise.
29226         (CFLAGS-iofclose.c): Likewise.
29227         (CFLAGS-iofflush.c): Likewise.
29228         (CFLAGS-iofgetpos64.c): Likewise.
29229         (CFLAGS-iofgetpos.c): Likewise.
29230         (CFLAGS-iofgets.c): Likewise.
29231         (CFLAGS-iofgetws.c): Likewise.
29232         (CFLAGS-iofputs.c): Likewise.
29233         (CFLAGS-iofputws.c): Likewise.
29234         (CFLAGS-iofread.c): Likewise.
29235         (CFLAGS-iofsetpos64.c): Likewise.
29236         (CFLAGS-iofsetpos.c): Likewise.
29237         (CFLAGS-ioftell.c): Likewise.
29238         (CFLAGS-iofwrite.c): Likewise.
29239         (CFLAGS-iogetdelim.c): Likewise.
29240         (CFLAGS-iogetline.c): Likewise.
29241         (CFLAGS-iogets.c): Likewise.
29242         (CFLAGS-iogetwline.c): Likewise.
29243         (CFLAGS-ioputs.c): Likewise.
29244         (CFLAGS-ioseekoff.c): Likewise.
29245         (CFLAGS-ioseekpos.c): Likewise.
29246         (CFLAGS-iosetbuffer.c): Likewise.
29247         (CFLAGS-iosetvbuf.c): Likewise.
29248         (CFLAGS-ioungetc.c): Likewise.
29249         (CFLAGS-ioungetwc.c): Likewise.
29250         (CFLAGS-oldfileops.c): Likewise.
29251         (CFLAGS-oldiofclose.c): Likewise.
29252         (CFLAGS-oldiofgetpos64.c): Likewise.
29253         (CFLAGS-oldiofgetpos.c): Likewise.
29254         (CFLAGS-oldiofsetpos64.c): Likewise.
29255         (CFLAGS-oldiofsetpos.c): Likewise.
29256         (CFLAGS-peekc.c): Likewise.
29257         (CFLAGS-putc.c): Likewise.
29258         (CFLAGS-putchar.c): Likewise.
29259         (CFLAGS-putwc.c): Likewise.
29260         (CFLAGS-putwchar.c): Likewise.
29261         (CFLAGS-rewind.c): Likewise.
29262         (CFLAGS-wfileops.c): Likewise.
29263         (CFLAGS-wgenops.c): Likewise.
29264         (CFLAGS-oldiofopen.c): Likewise.
29265         (CFLAGS-iofopen.c): Likewise.
29266         (CFLAGS-iofopen64.c): Likewise.
29267         (CFLAGS-oldtmpfile.c): Likewise.
29268         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
29269         (CFLAGS-fprintf.c): Likewise.
29270         (CFLAGS-printf.c): Likewise.
29271         (CFLAGS-vfwprintf.c): Likewise.
29272         (CFLAGS-vfscanf.c): Likewise.
29273         (CFLAGS-vfwscanf.c): Likewise.
29274         (CFLAGS-fscanf.c): Likewise.
29275         (CFLAGS-scanf.c): Likewise.
29276         (CFLAGS-isoc99_vfscanf.c): Likewise.
29277         (CFLAGS-isoc99_vscanf.c): Likewise.
29278         (CFLAGS-isoc99_fscanf.c): Likewise.
29279         (CFLAGS-isoc99_scanf.c): Likewise.
29280         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
29281         (CFLAGS-isoc99_fwscanf.c): Likewise.
29282         (CFLAGS-isoc99_vwscanf.c): Likewise.
29283         (CFLAGS-isoc99_vfwscanf.c): Likewise.
29285         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
29286         after mkstemp64.
29287         * login/tst-utmp.c (do_prepare): Likewise.
29288         * rt/tst-aio.c (do_prepare): Likewise.
29289         * rt/tst-aio64.c (do_prepare): Likewise.
29291 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29293         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
29294         (__lll_lock_elision): Remove adapt_count decrement...
29295         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
29296         (__lll_trylock_elision): Likewise.
29297         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
29298         (__lll_unlock_elision): ... to here. And utilize
29299         new adapt_count parameter.
29300         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29301         (__lll_unlock_elision): Update to include adapt_count
29302         parameter.
29303         (lll_unlock_elision): Pass pointer to adapt_count
29304         variable.
29306 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29308         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
29309         Add elision adapt_count parameter to list of arguments.
29310         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29311         (lll_unlock_elision): Update with new parameter list
29312         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
29313         (lll_unlock_elision): Likewise.
29314         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
29315         (lll_unlock_elision): Likewise.
29317 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29319         [BZ #19122]
29320         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
29321         attribute_hidden.
29323         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
29324         attribute_hidden.
29325         [IS_IN (rtld)] (__strdup): Likewise.
29326         [IS_IN (rtld)] (__strerror_r): Likewise.
29327         [IS_IN (rtld)] (__strsep_g): Likewise.
29328         [IS_IN (rtld)] (memchr): Likewise.
29329         [IS_IN (rtld)] (memcmp): Likewise.
29330         [IS_IN (rtld)] (memcpy): Likewise.
29331         [IS_IN (rtld)] (memmove): Likewise.
29332         [IS_IN (rtld)] (memset): Likewise.
29333         [IS_IN (rtld)] (rawmemchr): Likewise.
29334         [IS_IN (rtld)] (stpcpy): Likewise.
29335         [IS_IN (rtld)] (strchr): Likewise.
29336         [IS_IN (rtld)] (strcmp): Likewise.
29337         [IS_IN (rtld)] (strlen): Likewise.
29338         [IS_IN (rtld)] (strnlen): Likewise.
29339         [IS_IN (rtld)] (strsep): Likewise.
29341         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
29342         attribute_hidden.
29343         [IS_IN (rtld)] (__strtoul_internal): Likewise.
29345         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
29346         attribute_hidden.
29347         [IS_IN (rtld)] (__libc_sigaction): Likewise.
29349         * include/setjmp.h (__longjmp): Add attribute_hidden.
29350         [IS_IN (rtld)] (__sigsetjmp): Likewise.
29352         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
29353         Add attribute_hidden.
29355         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
29356         [IS_IN (rtld)] (__open): Likewise.
29357         [IS_IN (rtld)] (__fcntl): Likewise.
29359         * include/dirent.h (__opendirat): Add attribute_hidden.
29360         (__getdents): Likewise.
29361         (__getdents64): Likewise.
29362         (__alloc_dir): Likewise.
29363         [IS_IN (rtld)] (__closedir): Likewise.
29364         [IS_IN (rtld)] (__fdopendir): Likewise.
29365         [IS_IN (rtld)] (__readdir): Likewise.
29366         [IS_IN (rtld)] (__readdir64): Likewise.
29367         [IS_IN (rtld)] (__rewinddir): Likewise.
29369         * include/dlfcn.h (_dl_catch_error): Moved to ...
29370         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
29371         attribute_hidden.
29373         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
29374         (_itoa_word): Likewise.
29376         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
29377         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29378         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29379         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
29380         (_dl_higher_prime_number): Likewise.
29381         (_dl_debug_printf_c): Likewise.
29382         (_dl_signal_cerror): Likewise.
29383         (_dl_receive_error): Likewise.
29384         (_dl_reloc_bad_type): Likewise.
29385         (_dl_resolve_conflicts): Likewise.
29386         (_dl_check_all_versions): Likewise.
29387         (_dl_check_map_versions): Likewise.
29388         (_dl_sort_fini): Likewise.
29389         (_dl_debug_initialize): Likewise.
29390         (_dl_init_paths): Likewise.
29391         (_dl_show_auxv): Likewise.
29392         (_dl_next_ld_env_entry): Likewise.
29393         (_dl_important_hwcaps): Likewise.
29394         (_dl_load_cache_lookup): Likewise.
29395         (_dl_update_slotinfo): Likewise.
29396         (_dl_show_scope): Likewise.
29398         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
29399         attribute_hidden.
29400         (_wordcopy_fwd_dest_aligned): Likewise.
29401         (_wordcopy_bwd_aligned): Likewise.
29402         (_wordcopy_bwd_dest_aligned): Likewise.
29404         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29405         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29406         Likewise.
29407         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29408         Likewise.
29409         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29411 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29413         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
29414         GCC 5 requirement.
29416 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
29418         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
29419         test.
29420         * sysdeps/i386/configure: Regenerated.
29421         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
29422         code unconditional.
29424         * configure.ac (libc_cv_asm_previous_directive): Remove configure
29425         test.
29426         (libc_cv_asm_popsection_directive): Likewise.
29427         * configure: Regenerated.
29428         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
29429         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
29430         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
29431         (__make_section_unallocated): Make definition unconditional.
29432         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
29433         Remove conditional definition.
29434         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
29435         (__make_section_unallocated): Likewise.
29437         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
29438         * configure: Regenerated.
29439         * config.make.in (static-libgcc): Remove variable.
29440         * Makerules (build-shlib-helper): Use -static-libgcc instead of
29441         $(static-libgcc).
29442         (build-module-helper): Likewise.
29444         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
29445         * configure: Regenerated.
29447 2015-10-15  Florian Weimer  <fweimer@redhat.com>
29449         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
29450         (struct char_buffer): New type.
29451         (char_buffer_start, char_buffer_size, char_buffer_error)
29452         (char_buffer_rewind, char_buffer_add): New functions.
29453         (ADDW): Remove macro, replaced by the char_buffer_add function.
29454         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
29455         of extend_alloca.  Make control flow more explicit.
29457 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29459         [BZ #19137]
29460         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
29461         Add -fomit-frame-pointer.
29462         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
29464 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29466         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
29467         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
29468         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
29469         only if !__GNUC_PREREQ (5,0).
29470         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
29471         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
29472         (INTERNAL_SYSCALL_NCS): Likewise.
29473         (LOADREGS_0): New macro for GCC 5.
29474         (ASMARGS_0): Likewise.
29475         (LOADREGS_1): Likewise.
29476         (ASMARGS_1): Likewise.
29477         (LOADREGS_2): Likewise.
29478         (ASMARGS_2): Likewise.
29479         (LOADREGS_3): Likewise.
29480         (ASMARGS_3): Likewise.
29481         (LOADREGS_4): Likewise.
29482         (ASMARGS_4): Likewise.
29483         (LOADREGS_5): Likewise.
29484         (ASMARGS_5): Likewise.
29485         (LOADREGS_6): Likewise.
29486         (ASMARGS_6): Likewise.
29488 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29490         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
29491         -fomit-frame-pointer.
29492         (CFLAGS-mmap64.c): Likewise.
29493         (CFLAGS-semtimedop.c): Likewise.
29494         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
29495         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
29496         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29497         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29499 2015-10-15  Florian Weimer  <fweimer@redhat.com>
29501         [BZ #18928]
29502         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
29503         _dl_pointer_guard member.
29504         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
29505         initializer.
29506         (security_init): Always set up pointer guard.
29507         (process_envvars): Do not process LD_POINTER_GUARD.
29509 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
29511         [BZ #19134]
29512         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
29513         (.LC2): Likewise.
29514         (.LC3): Likewise.
29515         (__lround): Do not add 0.5 to integer or out-of-range arguments.
29517 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29519         [BZ #19129]
29520         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
29521         r0 and r1.
29523 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
29525         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
29527 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
29529         * include/stap-probe.h: Fix macro definition formatting.
29531 2015-10-14  Florian Weimer  <fweimer@redhat.com>
29533         [BZ #19074]
29534         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
29535         load and store num_ifs.
29537 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29539         [BZ #18822]
29540         * sysdeps/unix/sysv/linux/sched_getaffinity.c
29541         (__sched_getaffinity_new): Add libc_hidden_proto and
29542         libc_hidden_def.
29544 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29546         [BZ #19007]
29547         * scripts/localplt.awk: Also allow GOT references.
29548         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
29549         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
29550         with "+ REL R_386_GLOB_DAT".
29551         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
29552         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
29554 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29556         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
29557         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29558         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
29559         Likewise.
29560         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
29561         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
29562         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
29563         INTERNAL_SYSCALLINTERNAL_SYSCALL and
29564         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29565         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
29566         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29567         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
29568         Likewise.
29569         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29571 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
29573         [BZ #19125]
29574         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
29575         <math_private.h> and <stdint.h>.
29576         (__llround): Avoid conversions to and from long long int, and
29577         subtractions, where those might raise spurious exceptions.
29578         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
29579         <math_private.h> and <stdint.h>.
29580         (__llroundf): Avoid conversions to and from long long int, and
29581         subtractions, where those might raise spurious exceptions.
29583 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29585         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
29586         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29587         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29588         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
29589         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
29590         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
29591         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
29592         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
29593         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
29594         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29595         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29596         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29597         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
29598         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29599         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29600         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
29601         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
29602         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
29603         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
29604         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
29605         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
29606         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
29607         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
29608         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
29609         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
29610         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29611         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
29612         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
29613         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29614         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
29615         (__xstat64_conv): Likewise.
29616         (__xstat32_conv): Likewise.
29618 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29620         * sysdeps/unix/sysv/linux/sysdep.h: New file.
29621         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
29622         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
29623         <sysdeps/unix/sysv/linux/sysdep.h>.
29624         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29625         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
29626         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
29627         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29628         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29629         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
29630         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
29631         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
29632         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
29633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29635         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29636         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29637         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29638         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29639         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29640         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
29641         (sysdep-dl-routines): Add sysdep.
29642         [$(subdir) == nptl] (libpthread-routines): Likewise.
29643         [$(subdir) == rt] (librt-routines): Likewise.
29644         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
29645         PIC when branching to SYSCALL_ERROR_LABEL.
29646         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
29647         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
29648         <sysdeps/unix/sysv/linux/sysdep.h>.
29649         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
29650         (SYSCALL_ERROR_ERRNO): Removed.
29651         (SYSCALL_ERROR_HANDLER): Changed to empty.
29652         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
29653         (__syscall_error): New prototype.
29654         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
29655         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
29657 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29659         [BZ #19124]
29660         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
29661         (_dl_runtime_resolve_avx512): Make it a hidden alias of
29662         _dl_runtime_resolve_avx.
29663         (_dl_runtime_profile_avx512): Make it a hidden alias of
29664         _dl_runtime_profile_avx.
29666 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
29668         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
29669         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
29670         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
29671         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
29673         [BZ #16422]
29674         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
29675         New configure test.
29676         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
29677         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
29678         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
29679         <math_private.h> and <stdint.h>.
29680         (__llrint): Avoid conversions to long long int where those might
29681         raise spurious exceptions.
29682         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
29683         <math_private.h> and <stdint.h>.
29684         (__llrintf): Avoid conversions to long long int where those might
29685         raise spurious exceptions.
29687 2015-10-12  Andreas Schwab  <schwab@suse.de>
29689         [BZ #18969]
29690         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
29691         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
29692         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
29693         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
29694         $(gen-locales).
29695         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
29696         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
29697         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
29698         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
29699         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
29700         $(gen-locales).
29701         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
29702         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
29703         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
29704         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
29705         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
29706         ($(objpfx)tst-ftell-active-handler.out)
29707         ($(objpfx)tst-ftell-append.out)
29708         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
29709         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
29710         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
29711         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
29712         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
29713         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
29714         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
29715         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
29716         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
29717         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
29718         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
29719         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
29720         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
29721         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
29722         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
29723         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
29724         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
29725         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
29726         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
29727         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
29728         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
29729         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
29730         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
29731         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
29732         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
29733         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
29734         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
29735         $(gen-locales).
29736         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
29737         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
29738         $(gen-locales).
29739         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
29740         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
29741         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
29742         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
29743         $(gen-locales).
29744         * libio/tst_wprintf2.c (main): Use explicit locale.
29745         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
29747 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29749         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
29750         __msg_sig_post.
29751         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
29753 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
29755         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29756         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29758         * sysdeps/arm/libm-test-ulps: Regenerated.
29760         [BZ #15470]
29761         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
29763         [BZ #16399]
29764         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
29765         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
29766         and <fix-fp-int-convert-overflow.h>.
29767         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29768         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29769         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
29770         and <fix-fp-int-convert-overflow.h>.
29771         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
29772         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29773         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
29774         <fix-fp-int-convert-overflow.h>.
29775         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29776         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29777         * sysdeps/ieee754/dbl-64/s_lround.c: Include
29778         <fix-fp-int-convert-overflow.h>.
29779         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
29780         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29781         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
29782         and <fix-fp-int-convert-overflow.h>.
29783         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29784         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29785         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
29786         <limits.h> and <fix-fp-int-convert-overflow.h>.
29787         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29788         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29789         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
29790         and <fix-fp-int-convert-overflow.h>.
29791         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29792         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29793         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
29794         and <fix-fp-int-convert-overflow.h>.
29795         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29796         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29797         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
29799 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
29801         [BZ #18589]
29802         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
29803         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
29804         $(gen-locales).
29806 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29807             Phil Blundell <pb@pbcl.net>
29809         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
29810         * nptl/tst-cancel26.c: New file.
29811         * nptl/tst-cancel27.c: Likewise.
29813 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
29815         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
29816         __ILP32__ isn't defined.
29817         (lrint): Likewise.
29818         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
29819         (lrintf): Likewise.
29820         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
29821         (lrintl): Likewise.
29822         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
29823         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
29824         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
29826 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29828         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
29829         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
29831         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
29832         file.
29833         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
29834         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
29836 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
29838         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
29839         configure test.
29840         * sysdeps/i386/configure: Regenerated.
29841         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
29842         configure test.
29843         * sysdeps/x86_64/configure: Regenerated.
29844         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
29845         Make code unconditional.
29847         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
29848         test.
29849         * sysdeps/i386/configure: Regenerated.
29850         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
29851         test.
29852         * sysdeps/x86_64/configure: Regenerated.
29853         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
29854         Make code unconditional.
29855         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
29856         Likewise.
29857         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
29858         Likewise.
29859         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29860         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
29861         code unconditional.
29862         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29863         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
29864         code unconditional.
29865         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29866         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
29867         code unconditional.
29868         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
29869         code unconditional.
29870         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29871         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
29872         code unconditional.
29873         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29874         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
29875         code unconditional.
29876         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29877         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
29878         code unconditional.
29879         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29880         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
29881         code unconditional.
29882         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29883         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
29885         [BZ #19095]
29886         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
29887         mantissa to long int before shifting left.
29889 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
29891         [BZ #19094]
29892         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
29893         <limits.h>.
29894         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29895         when result overflows but exception would not result from cast.
29896         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
29897         <limits.h>.
29898         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29899         when result overflows but exception would not result from cast.
29900         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
29901         <limits.h>.
29902         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29903         when result overflows but exception would not result from cast.
29904         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
29905         <limits.h>.
29906         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29907         when result overflows but exception would not result from cast.
29908         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
29909         <limits.h>.
29910         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29911         when result overflows but exception would not result from cast.
29912         * math/libm-test.inc (lrint_test_data): Add more tests.
29913         (llrint_test_data): Likewise.
29915 2015-10-08  Roland McGrath  <roland@hack.frob.com>
29917         [BZ #18872]
29918         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
29919         Move out from under [$(run-built-tests) = yes] conditional.
29920         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
29921         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
29923 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
29925         [BZ #18589]
29926         * string/Makefile (tests): Add bug-strcoll2.
29927         (LOCALES): Add cs_CZ.UTF-8.
29928         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
29930         [BZ #18589]
29931         * string/bug-strcoll2.c: New file.
29932         * locale/categories.def: Revert commit
29933         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
29934         * locale/langinfo.h: Likewise.
29935         * locale/localeinfo.h: Likewise.
29936         * locale/C-collate.c: Likewise.
29937         * locale/programs/ld-collate.c (collate_output): Likewise.
29938         * string/strcoll_l.c (STRDIFF): Likewise.
29939         (STRCOLL): Likewise.
29940         * wcsmbs/wcscoll_l.c: Likewise.
29942 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
29944         * math/libm-test.inc (lround_test_data): Do not expect the absence
29945         of "inexact" for some tests with non-integer arguments.
29946         (llround_test_data): Likewise.
29948         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
29949         test.
29950         (libc_cv_cc_sse2avx): Likewise.
29951         * sysdeps/i386/configure: Regenerated.
29952         * sysdeps/i386/i686/multiarch/Makefile
29953         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
29954         [$(subdir) = math].
29955         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
29956         code unconditional.
29957         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29958         Likewise.
29959         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
29960         Likewise.
29961         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29962         Likewise.
29963         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
29964         test.
29965         (libc_cv_cc_sse2avx): Likewise.
29966         * sysdeps/x86_64/configure: Regenerated.
29967         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
29968         unconditional.
29969         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
29970         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
29971         unconditional.
29972         (_dl_runtime_profile)
29973         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
29974         conditional code.
29975         * sysdeps/x86_64/fpu/multiarch/Makefile
29976         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
29977         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29978         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29979         * sysdeps/x86_64/fpu/multiarch/e_exp.c
29980         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29981         * sysdeps/x86_64/fpu/multiarch/e_log.c
29982         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29983         * sysdeps/x86_64/fpu/multiarch/s_atan.c
29984         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29985         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29986         Likewise.
29987         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29988         Likewise.
29989         * sysdeps/x86_64/fpu/multiarch/s_sin.c
29990         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29991         * sysdeps/x86_64/fpu/multiarch/s_tan.c
29992         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29993         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
29994         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
29995         (HAVE_SSE2AVX_SUPPORT): Likewise.
29997 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
29999         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
30000         instead of #pragma optimize.
30002 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
30004         [BZ #17195]
30005         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
30006         as is similarly done in systrim and _int_free already.
30008 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30010         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
30012 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
30014         [BZ #19088]
30015         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
30016         <limits.h>.
30017         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
30018         overflows but exception would not result from cast.
30019         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
30020         and <limits.h>.
30021         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
30022         overflows but exception would not result from cast.
30023         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
30024         <limits.h>.
30025         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
30026         overflows but exception would not result from cast.
30027         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
30028         <limits.h>.
30029         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
30030         overflows but exception would not result from cast.
30031         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
30032         <limits.h>.
30033         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
30034         overflows but exception would not result from cast.
30035         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
30036         <limits.h>.
30037         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
30038         overflows but exception would not result from cast.
30039         * math/libm-test.inc (lround_test_data): Add more tests.
30040         (llround_test_data): Likewise.
30042 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
30044         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
30045         (CFLAGS-ialloc.c): Ditto.
30046         (CFLAGS-scheck.c): Ditto.
30048 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
30050         [BZ #19086]
30051         * manual/filesys.texi (Storage Allocation): Fix argument order for
30052         posix_fallocate64.
30054 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
30056         [BZ #19085]
30057         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
30058         exponent below 48 inside case for non-overflowing exponent.
30059         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
30061 2015-10-07  Florian Weimer  <fweimer@redhat.com>
30063         * iconvdata/cp737.h (from_idx): Add const.
30064         * iconvdata/cp775.h (from_idx): Likewise.
30066 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
30068         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
30069         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
30070         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
30072         [BZ #19079]
30073         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
30074         file, conditioned on [!_LP64].
30075         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
30076         [!_LP64] (__lround): Do not define as function or alias.
30077         [!_LP64] (lround): Likewise.
30078         [!_LP64] (__lroundl): Likewise.
30079         [!_LP64] (lroundl): Likewise.
30080         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
30081         macro.
30082         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30083         Likewise.
30085 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
30087         * math/libm-test.inc (lrint_test_data): Add more tests.
30088         (llrint_test_data): Likewise.
30089         (lround_test_data): Likewise.
30090         (llround_test_data): Likewise.
30092         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
30093         (llrint_test_data): Add tests used for lrint.
30095         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
30096         test.
30097         * sysdeps/i386/configure: Regenerated.
30098         * sysdeps/i386/i686/multiarch/Makefile
30099         [$(config-cflags-sse4) = yes]: Make code unconditional.
30100         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
30101         Likewise.
30102         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
30103         Likewise.
30104         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
30105         test.
30106         * sysdeps/x86_64/configure: Regenerated.
30107         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
30108         Make code unconditional.
30109         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
30110         Likewise.
30111         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
30112         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
30114         * scripts/rpm2dynsym.sh: Remove file.
30116 2015-10-06  Florian Weimer  <fweimer@redhat.com>
30118         * configure.ac (libc_cv_cxx_thread_local): Define.
30119         * configure: Regenerate.
30120         * config.make.in (have-cxx-thread_local): Define.
30121         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
30122         (LDLIBS-tst-thread_local1): Define.
30123         (tests): Add tst-thread_local1.
30124         [have-cxx-thread_local != yes] (tests-unsupported): Add
30125         tst-thread_local1.
30126         * nptl/tst-thread_local1.cc: New file.
30128 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
30130         [BZ #19078]
30131         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
30132         (u_thres): Likewise.
30133         (__expl): Determine whether to call __kernel_standard_l based on
30134         value of result, not argument.
30136         * math/libm-test.inc (scalb_test_data): Add more expectations for
30137         the "inexact" exception.
30139         [BZ #19077]
30140         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
30141         0.0L for argument 1.0L.
30143         [BZ #19076]
30144         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
30145         constant 0.0L when computing infinite result.
30147 2015-10-06  Florian Weimer  <fweimer@redhat.com>
30149         [BZ #10432]
30150         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
30151         malloc_usable_size.
30153 2015-10-06  Florian Weimer  <fweimer@redhat.com>
30155         [BZ #19018]
30156         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30157         Mangle function pointer before storing it.
30158         (__call_tls_dtors): Demangle function pointer before calling it.
30160 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30162         [BZ #19012]
30163         * iconv/gconv_db.c (gen_steps): Check for additional errors.
30164         Clean up on failure.
30166 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
30168         [BZ #19071]
30169         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
30170         long int variable to store possibly incremented high part of
30171         mantissa.
30172         * math/libm-test.inc (lround_test_data): Add tests used for
30173         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
30174         for tests requiring 64-bit long.  Do not condition tests on
30175         [TEST_FLOAT] unnecessarily.
30176         (llround_test_data): Add tests used for lround.  Add another
30177         expectation for the "inexact" exception.  Do not condition tests
30178         on [TEST_FLOAT] unnecessarily.
30180         [BZ #887]
30181         [BZ #19049]
30182         [BZ #19050]
30183         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
30184         * sysdeps/ieee754/dbl-64/e_log10.c: Include
30185         <fix-int-fp-convert-zero.h>.
30186         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30187         * sysdeps/ieee754/dbl-64/e_log2.c: Include
30188         <fix-int-fp-convert-zero.h>.
30189         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30190         * sysdeps/ieee754/dbl-64/s_erf.c: Include
30191         <fix-int-fp-convert-zero.h>.
30192         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30193         * sysdeps/ieee754/dbl-64/s_logb.c: Include
30194         <fix-int-fp-convert-zero.h>.
30195         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30196         * sysdeps/ieee754/flt-32/e_log10f.c: Include
30197         <fix-int-fp-convert-zero.h>.
30198         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30199         * sysdeps/ieee754/flt-32/e_log2f.c: Include
30200         <fix-int-fp-convert-zero.h>.
30201         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30202         * sysdeps/ieee754/flt-32/s_erff.c: Include
30203         <fix-int-fp-convert-zero.h>.
30204         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30205         * sysdeps/ieee754/flt-32/s_logbf.c: Include
30206         <fix-int-fp-convert-zero.h>.
30207         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30208         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
30209         <fix-int-fp-convert-zero.h>.
30210         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30211         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
30212         <fix-int-fp-convert-zero.h>.
30213         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30214         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
30215         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
30216         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
30217         file.
30218         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
30220 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
30222         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30224 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
30226         [BZ #19059]
30227         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
30228         overflowing computation.
30229         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30230         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30231         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30232         Likewise.
30233         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30234         Likewise.
30235         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30236         Likewise.
30237         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30238         Likewise.
30239         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30240         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30241         Likewise.
30242         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30243         Likewise.
30244         * math/libm-test.inc (nexttoward_test_data): Add more tests.
30246         * nss/rewrite_field.c (__nss_rewrite_field): Use
30247         internal_function.
30248         * nss/valid_field.c (__nss_valid_field): Likewise.
30249         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30251 2015-10-02  Florian Weimer  <fweimer@redhat.com>
30253         [BZ #18724]
30254         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
30255         (__nss_invalid_field_characters, __nss_valid_field)
30256         (__nss_valid_list_field, __nss_rewrite_field): Declare.
30257         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
30258         tst-field.c: New file.
30259         * nss/Makefile (routines): Add valid_field, rewrite_field.
30260         (tests-static): Define unconditionally.
30261         (tests): Include tests-static.
30262         [build-static-nss] (tests-static): Use append.
30263         [build-static-nss] (tests): Remove modification.
30264         * nss/getent.c (print_group): Call putgrent.  Report error.
30265         (print_gshadow): Call putsgent.  Report error.
30266         (print_passwd): Call putpwent.  Report error.
30267         (print_shadow): Call putspent.  Report error.
30268         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
30269         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
30270         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
30271         name, password, directory, shell fields for valid syntax.  Rewrite
30272         GECOS field to match syntax.
30273         * pwd/Makefile (tests): Add tst-putpwent.
30274         * pwd/tst-putpwent.c: New file.
30275         * grp/putgrent.c (putgrent): Convert to ISO function definition.
30276         Check grName, grpasswd, gr_mem fields for valid syntax.
30277         Change loop variable i to size_t.
30278         * grp/Makefile (tests): Add tst-putgrent.
30279         * grp/tst-putgrent.c: New file.
30280         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
30281         valid syntax.
30282         * shadow/Makefile (tests): Add tst-putspent.
30283         * shadow/tst-putspent.c: New file.
30284         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
30285         sg_mem fields for valid syntax.
30286         * gshadow/Makefile (tests): Add tst-putsgent.
30287         * gshadow/tst-putsgent.c: New file.
30289 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
30291         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
30292         assembly instructions.
30294 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
30296         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
30297         prefix from operands.
30299 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
30301         [BZ #16347]
30302         [BZ #19046]
30303         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
30304         <libc-internal.h>.
30305         (MAXLGM): Do not use diagnostic control macros.
30306         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
30307         threshold for ldbl-128ibm.
30308         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
30309         instead of multiplying by log then subtracting.
30310         * math/auto-libm-test-in: Add more tests of lgamma.
30311         * math/auto-libm-test-out: Regenerated.
30313         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
30314         (TYPE_HEX_DIG): Likewise.
30315         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
30316         precisions when printing floating-point numbers.
30317         (check_float_internal): Likewise.
30319 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
30321         [BZ #16620]
30322         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
30323         of log (10) rounded downward to 48 bits.
30324         (log10_low): Use corresponding low part of log (10).
30326         [BZ #19032]
30327         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
30328         compute result as (x - x) / (x - x) not as 0 / 0.
30329         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
30330         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
30332         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30333         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
30334         and expm1.
30335         * math/auto-libm-test-out: Regenerated.
30336         * math/libm-test.inc (acos_test_data): Add more tests.
30337         (asin_test_data): Likewise.
30338         (asinh_test_data): Likewise.
30339         (atan_test_data): Likewise.
30340         (atanh_test_data): Likewise.
30341         (atan2_test_data): Likewise.
30342         (cbrt_test_data): Likewise.
30343         (ceil_test_data): Likewise.
30344         (copysign_test_data): Likewise.
30345         (cos_test_data): Likewise.
30346         (cosh_test_data): Likewise.
30347         (erf_test_data): Likewise.
30348         (erfc_test_data): Likewise.
30349         (exp_test_data): Likewise.
30350         (exp10_test_data): Likewise.
30351         (exp2_test_data): Likewise.
30352         (expm1_test_data): Likewise.
30353         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30355 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
30357         [BZ #19006]
30358         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
30359         to ...
30360         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
30361         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
30362         to ...
30363         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
30364         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
30365         to ...
30366         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
30367         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
30368         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
30369         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
30370         to ...
30371         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
30372         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30373         Moved to ...
30374         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
30375         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30376         Moved to ...
30377         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
30378         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
30379         to ...
30380         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
30381         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30382         Moved to ...
30383         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
30384         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
30385         to ...
30386         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
30387         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
30388         Removed.
30389         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
30390         Likewise.
30391         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
30392         Likewise.
30393         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
30394         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
30395         Likewise.
30396         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30397         Likewise.
30398         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30399         Likewise.
30400         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30401         Likewise.
30402         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30403         Likewise.
30404         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
30405         Likewise.
30406         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
30407         Likewise.
30408         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
30409         Likewise.
30410         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
30411         Likewise.
30412         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
30413         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
30414         Likewise.
30415         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30416         Likewise.
30417         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30418         Likewise.
30419         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30420         Likewise.
30421         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
30422         Likewise.
30423         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30424         Replace ../i486/pthread_cond_timedwait.S with
30425         ../pthread_cond_timedwait.S.
30427 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
30429         * math/libm-test.inc (acos_test_data): Refine expectations for
30430         errno and "inexact" exceptions.
30431         (acosh_test_data): Likewise.
30432         (asin_test_data): Likewise.
30433         (asinh_test_data): Likewise.
30434         (atan_test_data): Likewise.
30435         (atanh_test_data): Likewise.
30436         (atan2_test_data): Likewise.
30437         (cbrt_test_data): Likewise.
30438         (ceil_test_data): Likewise.
30439         (copysign_test_data): Likewise.
30440         (cosh_test_data): Likewise.
30441         (erf_test_data): Likewise.
30442         (erfc_test_data): Likewise.
30443         (exp_test_data): Likewise.
30444         (exp10_test_data): Likewise.
30445         (exp2_test_data): Likewise.
30446         (expm1_test_data): Likewise.
30447         (fabs_test_data): Likewise.
30448         (floor_test_data): Likewise.
30449         (fma_test_data): Likewise.
30450         (fmax_test_data): Likewise.
30451         (fmin_test_data): Likewise.
30452         (fmod_test_data): Likewise.
30453         (fpclassify_test_data): Likewise.
30454         (frexp_test_data): Likewise.
30455         (hypot_test_data): Likewise.
30456         (ilogb_test_data): Likewise.
30457         (isgreater_test_data): Likewise.
30458         (isgreaterequal_test_data): Likewise.
30459         (isinf_test_data): Likewise.
30460         (isless_test_data): Likewise.
30461         (islessequal_test_data): Likewise.
30462         (islessgreater_test_data): Likewise.
30463         (isnan_test_data): Likewise.
30464         (isnormal_test_data): Likewise.
30465         (issignaling_test_data): Likewise.
30466         (isunordered_test_data): Likewise.
30467         (j0_test_data): Likewise.
30468         (j1_test_data): Likewise.
30469         (jn_test_data): Likewise.
30470         (lgamma_test_data): Likewise.
30471         (lrint_test_data): Likewise.
30472         (llrint_test_data): Likewise.
30473         (log_test_data): Likewise.
30474         (log10_test_data): Likewise.
30475         (log1p_test_data): Likewise.
30476         (log2_test_data): Likewise.
30477         (logb_test_data): Likewise.
30478         (lround_test_data): Likewise.
30479         (llround_test_data): Likewise.
30480         (modf_test_data): Likewise.
30481         (nearbyint_test_data): Likewise.
30482         (nextafter_test_data): Likewise.
30483         (nexttoward_test_data): Likewise.
30484         (pow_test_data): Likewise.
30485         (remainder_test_data): Likewise.
30486         (remquo_test_data): Likewise.
30487         (rint_test_data): Likewise.
30488         (round_test_data): Likewise.
30489         (signbit_test_data): Likewise.
30490         (sinh_test_data): Likewise.
30491         (sqrt_test_data): Likewise.
30492         (tanh_test_data): Likewise.
30493         (tgamma_test_data): Likewise.
30494         (trunc_test_data): Likewise.
30495         (y0_test_data): Likewise.
30496         (y1_test_data): Likewise.
30497         (yn_test_data): Likewise.
30498         (significand_test_data): Likewise.
30500 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
30502         * manual/filesys.texi (Storage Allocation): Document that
30503         posix_fallocate emulation fails when fd is open with O_WRONLY.
30505 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
30507         [BZ #19016]
30508         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
30509         allow more cases with X^2 + Y^2 >= 0.5.
30510         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
30511         normal element in sum instead of special-casing based on values of
30512         arguments.
30513         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
30514         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
30515         -1 as normal element in sum instead of special-casing based on
30516         values of arguments.
30517         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
30518         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
30519         (__x2y2m1): Update comment.
30520         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
30521         as normal element in sum instead of special-casing based on values
30522         of arguments.
30523         * math/s_clog.c (__clog): Handle more cases using log1p without
30524         hypot.
30525         * math/s_clog10.c (__clog10): Likewise.
30526         * math/s_clog10f.c (__clog10f): Likewise.
30527         * math/s_clog10l.c (__clog10l): Likewise.
30528         * math/s_clogf.c (__clogf): Likewise.
30529         * math/s_clogl.c (__clogl): Likewise.
30530         * math/auto-libm-test-in: Add more tests of clog and clog10.
30531         * math/auto-libm-test-out: Regenerated.
30532         * sysdeps/i386/fpu/libm-test-ulps: Update.
30533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30535 2015-09-28  Martin Sebor  <msebor@redhat.com>
30537         [BZ #18969]
30538         * string/Makefile (LOCALES): Define.
30539         (gen-locales.mk): Include.
30540         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
30541         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
30542         * string/tst-strxfrm2.c (do_test): Print the name of the locale
30543         on setlocale failure.
30545 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
30547         [BZ #18985]
30548         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
30549         (__strftime_internal): Likewise.
30550         * time/tst-strftime.c (do_bz18985): New test.
30551         (do_test): Call it.
30553 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
30555         [BZ #18956]
30556         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
30557         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
30558         extracting high part.
30559         * math/auto-libm-test-in: Add another test of pow.
30560         * math/auto-libm-test-out: Regenerated.
30561         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30563 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
30565         [BZ #18825]
30566         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
30567         New macro.
30568         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
30569         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30570         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
30571         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
30572         DBL_NARROW_EVAL, reloading the PIC register as needed.
30573         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
30574         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
30575         FLT_NARROW_EVAL.  Use separate return path for case when first
30576         argument is NaN.
30577         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
30578         DEFINE_LDBL_MIN.
30579         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
30580         PIC register.
30581         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
30582         math_check_force_underflow_nonneg.
30583         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
30584         underflow for subnormal result.
30585         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
30586         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
30587         math_check_force_underflow_nonneg.
30588         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
30589         math_check_force_underflow.
30590         * sysdeps/x86_64/fpu/x86_64-math-asm.h
30591         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
30592         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
30593         DEFINE_LDBL_MIN.
30594         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
30595         * math/auto-libm-test-in: Add more tests of pow.
30596         * math/auto-libm-test-out: Regenerated.
30598 2015-09-25  Florian Weimer  <fweimer@redhat.com>
30600         * nss/bug17079.c (init_test_items): Add diagnostic for
30601         inconsistent entries.
30602         (test_buffer_size): Skip inconsistent entries.
30604 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
30606         [BZ #13304]
30607         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
30608         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
30609         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
30611         [BZ #13304]
30612         * sysdeps/microblaze/s_fma.c: New file.
30613         * sysdeps/microblaze/s_fmaf.c: Likewise.
30614         * sysdeps/microblaze/sfp-machine.h: Likewise.
30616 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
30618         [BZ #17250]
30619         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
30620         member.
30622 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
30624         [BZ #18803]
30625         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
30626         (MO): New macro.
30627         (__ieee754_hypot) [PIC]: Load PIC register.
30628         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
30629         DBL_NARROW_EVAL.
30630         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
30631         math_check_force_underflow_nonneg in case where result might be
30632         tiny.
30633         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30634         Likewise.
30635         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30636         Likewise.
30637         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
30638         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
30639         * math/auto-libm-test-in: Add more tests of hypot.
30640         * math/auto-libm-test-out: Regenerated.
30642 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
30644         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
30646 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
30648         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
30649         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
30650         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30651         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30652         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
30653         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30654         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30656         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
30657         LOAD_PIC_REG.
30659         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
30660         (FLT_CHECK_FORCE_UFLOW): Likewise.
30661         (DBL_CHECK_FORCE_UFLOW): Likewise.
30662         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
30663         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
30664         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
30665         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30666         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30667         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30668         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30669         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30670         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
30671         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30672         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
30673         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
30674         (flt_min): Replace with use of DEFINE_FLT_MIN.
30675         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
30676         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
30677         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30678         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
30679         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
30680         (flt_min): Replace with use of DEFINE_FLT_MIN.
30681         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
30682         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
30683         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30684         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
30685         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
30686         (flt_min): Replace with use of DEFINE_FLT_MIN.
30687         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
30688         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
30689         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30690         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30691         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
30692         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30693         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30694         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
30695         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30696         (__atan): Use DBL_CHECK_FORCE_UFLOW.
30697         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
30698         (flt_min): Replace with use of DEFINE_FLT_MIN.
30699         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
30700         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
30701         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30702         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
30703         main computation.
30704         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
30705         (flt_min): Replace with use of DEFINE_FLT_MIN.
30706         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
30707         main computation.
30708         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
30709         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30710         (MO): New macro.
30711         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
30712         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
30713         (flt_min): Replace with use of DEFINE_FLT_MIN.
30714         (MO): New macro.
30715         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
30716         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
30717         (__log1pl): Use MO.
30719         [BZ #19003]
30720         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
30721         $(config-cflags-nofma).
30723 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30725         * sysdeps/aarch64/libm-test-ulps: Regenerated.
30727 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
30729         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
30730         (TWO127): Likewise.
30732         * sysdeps/generic/math_private.h (fabs_tg): New macro.
30733         (min_of_type): Likewise.
30734         (math_check_force_underflow): Likewise.
30735         (math_check_force_underflow_nonneg): Likewise.
30736         (math_check_force_underflow_complex): Likewise.
30737         * math/e_exp2l.c (__ieee754_exp2l): Use
30738         math_check_force_underflow_nonneg.
30739         * math/k_casinh.c (__kernel_casinh): Likewise.
30740         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30741         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30742         * math/s_catan.c (__catan): Use
30743         math_check_force_underflow_complex.
30744         * math/s_catanf.c (__catanf): Likewise.
30745         * math/s_catanh.c (__catanh): Likewise.
30746         * math/s_catanhf.c (__catanhf): Likewise.
30747         * math/s_catanhl.c (__catanhl): Likewise.
30748         * math/s_catanl.c (__catanl): Likewise.
30749         * math/s_ccosh.c (__ccosh): Likewise.
30750         * math/s_ccoshf.c (__ccoshf): Likewise.
30751         * math/s_ccoshl.c (__ccoshl): Likewise.
30752         * math/s_cexp.c (__cexp): Likewise.
30753         * math/s_cexpf.c (__cexpf): Likewise.
30754         * math/s_cexpl.c (__cexpl): Likewise.
30755         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
30756         * math/s_clog10.c (__clog10): Likewise.
30757         * math/s_clog10f.c (__clog10f): Likewise.
30758         * math/s_clog10l.c (__clog10l): Likewise.
30759         * math/s_clogf.c (__clogf): Likewise.
30760         * math/s_clogl.c (__clogl): Likewise.
30761         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
30762         * math/s_csinf.c (__csinf): Likewise.
30763         * math/s_csinh.c (__csinh): Likewise.
30764         * math/s_csinhf.c (__csinhf): Likewise.
30765         * math/s_csinhl.c (__csinhl): Likewise.
30766         * math/s_csinl.c (__csinl): Likewise.
30767         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
30768         * math/s_csqrtf.c (__csqrtf): Likewise.
30769         * math/s_csqrtl.c (__csqrtl): Likewise.
30770         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
30771         * math/s_ctanf.c (__ctanf): Likewise.
30772         * math/s_ctanh.c (__ctanh): Likewise.
30773         * math/s_ctanhf.c (__ctanhf): Likewise.
30774         * math/s_ctanhl.c (__ctanhl): Likewise.
30775         * math/s_ctanl.c (__ctanl): Likewise.
30776         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
30777         instead of volatile.
30778         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
30779         math_check_force_underflow.
30780         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30781         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
30782         volatile when forcing underflow.
30783         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30784         math_check_force_underflow_nonneg.
30785         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30786         Likewise.
30787         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
30788         math_check_force_underflow.
30789         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30790         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30791         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30792         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
30793         math_check_force_underflow_nonneg.
30794         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
30795         math_check_force_underflow.
30796         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30797         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
30798         instead of volatile.
30799         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
30800         math_check_force_underflow.
30801         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30802         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30803         math_check_force_underflow_nonneg.
30804         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
30805         math_check_force_underflow.
30806         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
30807         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30808         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
30809         math_check_force_underflow_nonneg.
30810         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30811         Likewise.
30812         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
30813         math_check_force_underflow.
30814         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30815         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30816         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
30817         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
30818         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
30819         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
30820         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30821         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30822         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30823         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
30824         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
30825         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30826         Likewise.
30827         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
30828         math_check_force_underflow_nonneg.
30829         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30830         Likewise.
30831         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
30832         math_check_force_underflow.
30833         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30834         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30835         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30836         Likewise.
30837         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
30838         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
30839         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
30840         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
30841         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
30842         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
30843         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
30844         instead of volatile.
30845         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
30846         math_check_force_underflow.
30847         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
30848         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
30849         math_check_force_underflow.
30850         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
30851         Likewise.
30852         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30853         Use math_check_force_underflow_nonneg.
30854         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
30855         math_check_force_underflow.
30856         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
30857         Likewise.
30858         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
30859         Likewise.
30860         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30861         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30862         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30863         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30864         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
30865         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30866         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
30867         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
30868         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
30869         math_check_force_underflow_nonneg.
30870         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
30871         math_check_force_underflow.
30872         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30873         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
30874         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
30875         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
30876         math_check_force_underflow_nonneg.
30877         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
30878         math_check_force_underflow.
30879         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
30880         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
30881         instead of volatile.
30882         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
30883         math_check_force_underflow.
30885         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
30886         * stdlib/strtod_l.c: Include <math_private.h>.
30887         (overflow_value): Use math_narrow_eval.
30888         (underflow_value): Likewise.
30889         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30890         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30891         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
30892         (__ieee754_gamma_r): Likewise.
30893         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
30894         Likewise.
30895         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
30896         Likewise.
30897         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
30898         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
30899         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
30900         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
30901         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
30902         (__ieee754_gammaf_r): Likewise.
30903         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
30904         Likewise.
30905         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
30906         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
30907         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
30908         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
30909         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
30910         volatile.
30911         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
30912         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
30913         math_narrow_eval.
30914         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30915         Likewise.
30916         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30917         Likewise.
30918         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
30919         Likewise.
30920         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
30921         volatile.
30922         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
30923         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
30924         math_narrow_eval.
30925         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30926         Likewise.
30927         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30928         Likewise.
30930 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
30932         * nptl/Versions: Remove ignored symbols.
30934 2015-09-22  Florian Weimer  <fweimer@redhat.com>
30936         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
30937         * nss/Makefile (tests): Update.
30939 2015-09-22  Florian Weimer  <fweimer@redhat.com>
30941         * nss/bug18287.c: New file.
30942         * nss/Makefile (tests): Add bug18287.
30944 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30946         * mach/Versions (__mach_host_self_): Add symbol.
30948 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30950         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
30951         vm_page_size.
30953 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30955         Really fix sysdeps/i386/fpu/s_scalbn.S build
30957         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
30958         (libc: GLIBC_2_22): Remove unused version set.
30960 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
30962         * config.make.in (enable-timezone-tools): New variable.
30963         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
30964         (enable_timezone_tools): Export to generated files.
30965         * configure: Regenerate.
30966         * INSTALL: Regenerate.
30967         * manual/install.texi (--disable-timezone-tools): Document new flag.
30968         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
30969         ifeq ($(enable-timezone-tools),yes) check.
30971 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
30973         * timezone/Makefile: Revert previous change.
30975         [BZ #18980]
30976         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
30977         (DEFINE_DBL_MIN): Likewise.
30978         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30979         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30980         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30981         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30982         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
30983         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30984         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30985         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
30986         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
30987         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30988         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30989         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
30990         (flt_min): Replace with use of DEFINE_FLT_MIN.
30991         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30992         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
30993         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30994         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30995         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
30996         (flt_min): Replace with use of DEFINE_FLT_MIN.
30997         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30998         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
30999         (flt_min): Replace with use of DEFINE_FLT_MIN.
31000         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
31001         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
31002         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
31003         (__ieee754_hypot): Use DBL_NARROW_EVAL.
31004         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
31005         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
31006         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
31007         (__ieee754_pow): Use DBL_NARROW_EVAL.
31008         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
31009         (__ieee754_powf): Use FLT_NARROW_EVAL.
31010         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
31011         (__ieee754_expf_sse2): Convert double-precision result to single
31012         precision.
31013         * sysdeps/i386/fpu/libm-test-ulps: Update.
31015 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31017         * timezone/Makefile: Ignore unused variable errors due to private.h
31018         (time_t_min) and (time_t_max).
31019         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
31020         Likewise.
31022 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
31024         [BZ #18981]
31025         * sysdeps/i386/fpu/i386-math-asm.h: New file.
31026         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
31027         (__ieee754_scalb): Use DBL_NARROW_EVAL.
31028         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
31029         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
31030         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
31031         (__scalbn): Use DBL_NARROW_EVAL.
31032         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
31033         (__scalbnf): Use FLT_NARROW_EVAL.
31035 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31037         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
31038         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
31039         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
31040         * stdio-common/printf_fp.c (___printf_fp):
31041         Use signbit to get the sign. Use isinf macro to allow inlining.
31042         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
31043         * stdio-common/printf_size.c (__printf_size): Likewise.
31045 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
31047         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
31049 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
31051         [BZ #18980]
31052         * sysdeps/generic/math_private.h: Include <float.h>.
31053         (math_narrow_eval): New macro.
31054         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
31055         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
31056         math_narrow_eval on overflowing return value.
31057         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
31058         Likewise.
31059         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31060         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
31061         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
31062         Likewise.
31063         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
31065 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31067         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
31068         * math/Makefile: Remove isinf_ns.c.
31069         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
31070         * math/multc3.c (__multc3): Likewise.
31071         * math/s_casin.c (__casin): Likewise.
31072         * math/s_casinf.c (__casinf): Likewise.
31073         * math/s_casinl.c (__casinl): Likewise.
31074         * math/s_cproj.c (__cproj): Likewise.
31075         * math/s_cprojf.c (__cprojf): Likewise.
31076         * math/s_cprojl.c (__cprofl): Likewise.
31077         * math/s_ctan.c (__ctan): Likewise.
31078         * math/s_ctanf.c (__ctanf): Likewise.
31079         * math/s_ctanh.c (__ctanh): Likewise.
31080         * math/s_ctanhf.c (__ctanhf): Likewise.
31081         * math/s_ctanhl.c (__ctanhl): Likewise.
31082         * math/s_ctanl.c (__ctanl): Likewise.
31083         * math/w_fmod.c (__fmod): Likewise.
31084         * math/w_fmodf.c (__fmodf): Likewise.
31085         * math/w_fmodl.c (_fmodl): Likewise.
31086         * math/w_remainder.c (__remainder): Likewise.
31087         * math/w_remainderf.c (__remainderf): Likewise.
31088         * math/w_remainderl.c (__remainderl): Likewise.
31089         * math/w_scalb.c (__scalb): Likewise.
31090         * math/w_scalbf.c (__scalbf): Likewise.
31091         * math/w_scalbl.c (__scalbl): Likewise.
31092         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
31093         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
31094         with isinf.
31095         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
31096         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
31097         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
31098         __isinf_nsf with isinf.
31099         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
31100         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
31101         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
31102         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
31103         with isinf.
31104         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
31105         __isinf_nsl with isinf.
31106         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
31107         with isinf.
31108         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
31109         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
31110         __isinf_nsl with isinf.
31111         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
31112         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
31113         with isinf.
31115 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31117         * resolv/base64.c (rcsid): Remove unused static.
31118         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
31119         static.  (tqpi1): Likewise.
31120         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
31121         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
31122         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
31123         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
31124         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
31125         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
31126         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
31127         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
31128         Likewise.
31130 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
31132         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
31133         <nptl/pthreadP.h>.
31134         (_longjmp_unwind): Use __libc_ptf_call.
31135         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
31137 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
31139         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
31140         * sysdeps/arm/__longjmp.S: Likewise.
31142 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31144         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
31145         Use __builtin_signbit.
31146         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
31147         Use __builtin_signbitf.
31148         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
31149         Use __builtin_signbitl.
31150         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31151         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
31153 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31155         [BZ #15367]
31156         [BZ #17441]
31158         * math/Makefile: Build test-snan.c with -fsignaling-nans.
31159         * math/math.h (fpclassify): Use __builtin_fpclassify when
31160         available.  (signbit): Use __builtin_signbit(f/l).
31161         (isfinite): Use__builtin_isfinite.  (isnormal): Use
31162         __builtin_isnormal.  (isnan): Use __builtin_isnan.
31163         (isinf): Use __builtin_isinf_sign.
31165 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31167         * benchtests/Makefile: Add bench-math-inlines, link with libm.
31168         * benchtests/bench-math-inlines.c: New benchmark.
31169         * benchtests/bench-util.h: New file.
31170         * benchtests/bench-util.c: New file.
31171         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
31173 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
31175         * elf/tst-dlmopen1.c: Define TEST_SO.
31176         (do_test): Use TEST_SO.
31178         * elf/dl-load.c: Include libc-internal.h.
31179         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
31181 2015-09-18  Vincent Bernat  <vincent@bernat.im>
31183         [BZ #17887]
31184         * time/strptime_l.c (__strptime_internal): Make %z accept
31185         [+-]HH:MM time zones.
31187 2015-09-18  Vincent Bernat  <vincent@bernat.im>
31189         [BZ #17886]
31190         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
31191         valid time zone.
31193 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
31195         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
31196         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
31197         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31198         (__ASSUME_FDATASYNC): Delete.
31200 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
31202         * conform/linknamespace.pl: Require weak undefined symbols to be
31203         in the standard namespace.
31204         (%strong_syms): Rename to %seen_syms.
31205         (%strong_seen): Rename to %seen_where.
31207 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
31209         [BZ #18970]
31210         * misc/error.c (error): Replace pthread_setcancelstate with
31211         __pthread_setcancelstate.
31212         (error_at_line): Likewise.
31213         * posix/wordexp.c (parse_comm): Likewise.
31214         * stdlib/fmtmsg.c (fmtmsg): Likewise.
31215         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
31216         (__pthread_setcancelstate): This.
31217         (pthread_setcancelstate): Add an alias.
31218         * nptl/nptl-init.c (pthread_functions): Replace
31219         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
31220         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
31221         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
31222         hidden_proto.
31223         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
31224         it with hidden_def.
31225         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
31226         (pthread_setcancelstate): Renamed to ...
31227         (__pthread_setcancelstate): This.
31228         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
31229         __libc_ptf_call with __pthread_setcancelstate.
31231 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
31232             Andreas Schwab  <schwab@suse.de>
31234         [BZ #17118]
31235         * math/s_ctan.c (__ctan): Determine sign of zero real part of
31236         result when imaginary part of argument is infinite using sine and
31237         cosine.
31238         * math/s_ctanf.c (__ctanf): Likewise.
31239         * math/s_ctanl.c (__ctanl): Likewise.
31240         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
31241         of result when real part of argument is infinite using sine and
31242         cosine.
31243         * math/s_ctanhf.c (__ctanhf): Likewise.
31244         * math/s_ctanhl.c (__ctanhl): Likewise.
31245         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
31246         (ctanh_test_data): Add more tests of ctanh.
31248 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
31250         [BZ #15384]
31251         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
31252         bit-mask as in subtraction.
31253         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
31254         Likewise.
31255         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31256         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31257         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
31259         [BZ #18951]
31260         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
31261         underflow exception for small results.
31262         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31263         Likewise.
31264         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31265         Likewise.
31266         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31267         Likewise.
31268         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31269         Likewise.
31270         * math/auto-libm-test-in: Add more tests of tgamma.
31271         * math/auto-libm-test-out: Regenerated.
31273 2015-09-17  Andreas Schwab  <schwab@suse.de>
31275         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
31277 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
31279         [BZ #18977]
31280         * math/bits/mathcalls.h
31281         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
31282         not declare.
31283         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
31284         Likewise.
31285         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
31286         Likewise.
31287         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
31288         Likewise.
31289         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
31290         Likewise.
31291         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
31292         Likewise.
31293         * conform/data/math.h-data
31294         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
31295         function.
31296         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
31297         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
31298         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
31299         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
31300         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
31301         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
31302         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
31303         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
31304         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
31305         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
31306         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
31308         [BZ #6803]
31309         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
31310         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
31311         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
31312         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
31313         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
31314         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
31315         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
31316         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
31317         [NO_LONG_DOUBLE] (scalbnl): Likewise.
31318         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
31319         Likewise.
31320         [NO_LONG_DOUBLE] (scalbnl): Likewise.
31321         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
31322         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
31323         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
31324         long_double_symbol calls.
31325         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
31326         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
31327         strong alias of __ldexpl.
31328         (scalbnl): Define using long_double_symbol.
31329         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
31330         Remove alias.
31331         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
31332         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
31333         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
31334         (scalbln_test_data): Add more errno expectations.
31336 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
31338         Cache the host port like we cache the task port.  This way we do not
31339         need to call the kernel just to get the port.  Furthermore, we no
31340         longer increase the reference count on every invocation of
31341         `mach_host_self'.
31343         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
31344         Protect declarations against the macro expansion.
31345         * mach/mach_init.c (__mach_host_self_): New variable.
31346         (mach_init): Initialize `__mach_host_self_'.
31347         * mach/mach_init.h (__mach_host_self_): New declaration.
31348         (__mach_host_self, mach_host_self): New macros.
31349         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
31350         Release reference.
31352 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
31354         [BZ #4404]
31355         * po/de.po: Update from Translation Project.
31357         [BZ #16415]
31358         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
31359         (__expm1l): Remove code to handle positive infinity and overflow.
31360         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
31361         variable.
31362         (__expm1l): Remove code to handle positive infinity and overflow.
31364 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
31365             Paul Pluzhnikov  <ppluzhnikov@google.com>
31367         [BZ #18872]
31368         * stdio-common/Makefile (tst-printf-bz18872): New test.
31369         (tst-printf-bz18872-mem.out): Likewise.
31370         * stdio-common/tst-printf-bz18872.sh: Generate new test.
31371         * stdio-common/vfprintf.c: Fix memory leaks.
31373 2015-09-16  Andreas Schwab  <schwab@suse.de>
31375         [BZ #17244]
31376         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
31377         Remove extra va_start/va_end calls.
31379         [BZ #17243]
31380         * posix/execl.c (execl): Add missing va_end.
31381         * posix/execle.c (execle): Likewise.
31382         * posix/execlp.c (execlp): Likewise.
31384 2015-09-15  Roland McGrath  <roland@hack.frob.com>
31386         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
31387         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
31389 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
31391         [BZ #18967]
31392         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
31393         undefine around includes of <bits/mathcalls.h>.
31394         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
31395         not declare function.
31396         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
31397         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
31398         (scalb): Likewise.
31399         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
31400         not define macro.
31401         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
31402         variable.
31403         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31404         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31405         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31407         [BZ #18857]
31408         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
31409         return non-finite argument without doing ordered comparisons on
31410         it.
31412         [BZ #16296]
31413         * math/fenv.h (fegetround): Use __attribute_pure__.
31414         * include/fenv.h (__fegetround): Likewise.
31416         [BZ #18595]
31417         * math/s_ctan.c (__ctan): Force underflow exception for results
31418         whose real or imaginary part has small absolute value.
31419         * math/s_ctanf.c (__ctanf): Likewise.
31420         * math/s_ctanh.c (__ctanh): Likewise.
31421         * math/s_ctanhf.c (__ctanhf): Likewise.
31422         * math/s_ctanhl.c (__ctanhl): Likewise.
31423         * math/s_ctanl.c (__ctanl): Likewise.
31424         * math/auto-libm-test-in: Do not allow missing underflow for ctan
31425         and ctanh.  Add more tests of ctan and ctanh.
31427         [BZ #15918]
31428         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
31429         handling of cases where one argument is an infinity.
31431         [BZ #18875]
31432         [BZ #18966]
31433         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
31434         (MO): New macro.
31435         (__ieee754_exp10): For small results, force underflow exception
31436         and remove excess range and precision from return value.
31437         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
31438         (MO): New macro.
31439         (__ieee754_exp10f): For small results, force underflow exception
31440         and remove excess range and precision from return value.
31441         * math/auto-libm-test-in: Add more tests of exp10.
31442         * math/auto-libm-test-out: Regenerated.
31444 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
31446         [BZ #18875]
31447         [BZ #18961]
31448         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
31449         (MO): New macro.
31450         (__ieee754_exp): For small results, force underflow exception and
31451         remove excess range and precision from return value.
31452         (__exp_finite): Likewise.
31453         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
31454         (MO): New macro.
31455         (__ieee754_expf): For small results, force underflow exception and
31456         remove excess range and precision from return value.
31457         (__expf_finite): Likewise.
31458         * math/auto-libm-test-in: Add more tests of exp.
31459         * math/auto-libm-test-out: Regenerated.
31461         [BZ #16521]
31462         [BZ #18875]
31463         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
31464         small results.
31465         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
31466         (MO): New macro.
31467         (__ieee754_exp2): For small results, force underflow exception and
31468         remove excess range and precision from return value.
31469         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
31470         (MO): New macro.
31471         (__ieee754_exp2f): For small results, force underflow exception
31472         and remove excess range and precision from return value.
31473         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
31474         (MO): New macro.
31475         (__ieee754_exp2l): Force underflow exception for small results.
31476         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31477         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31478         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
31479         (MO): New macro.
31480         (__ieee754_exp2l): Force underflow exception for small results.
31481         * math/auto-libm-test-in: Add more tests or exp2.
31482         * math/auto-libm-test-out: Regenerated.
31484 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
31486         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
31488         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
31489         /dev/null.
31491 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31493         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31494         io fs process)): Drop spurious backslash.
31496 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31498         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
31499         Use sysinfo system call instead of parsing /proc/meminfo.
31500         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
31501         Likewise.
31503 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
31505         [BZ #16985]
31506         * programs/localedef.c (main): Display argv[remaining] when
31507         output_path is NULL.
31509 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
31511         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31512         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
31513         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
31514         tanh.
31515         * math/auto-libm-test-out: Regenerated.
31516         * sysdeps/i386/fpu/libm-test-ulps: Update.
31517         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31518         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31521 2015-09-11  Roland McGrath  <roland@hack.frob.com>
31523         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
31524         Use 'override' keyword to freeze the value here, preventing
31525         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
31527 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
31529         [BZ #14912]
31530         * sysdeps/aarch64/bits/atomic.h: Move to ...
31531         * sysdeps/aarch64/atomic-machine.h: ...here.
31532         (_AARCH64_BITS_ATOMIC_H): Rename macro to
31533         _AARCH64_ATOMIC_MACHINE_H.
31534         * sysdeps/alpha/bits/atomic.h: Move to ...
31535         * sysdeps/alpha/atomic-machine.h: ...here.
31536         * sysdeps/arm/bits/atomic.h: Move to ...
31537         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
31538         * bits/atomic.h: Move to ...
31539         * sysdeps/generic/atomic-machine.h: ...here.
31540         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31541         * sysdeps/i386/bits/atomic.h: Move to ...
31542         * sysdeps/i386/atomic-machine.h: ...here.
31543         * sysdeps/ia64/bits/atomic.h: Move to ...
31544         * sysdeps/ia64/atomic-machine.h: ...here.
31545         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
31546         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
31547         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31548         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
31549         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
31550         * sysdeps/microblaze/bits/atomic.h: Move to ...
31551         * sysdeps/microblaze/atomic-machine.h: ...here.
31552         * sysdeps/mips/bits/atomic.h: Move to ...
31553         * sysdeps/mips/atomic-machine.h: ...here.
31554         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
31555         * sysdeps/powerpc/bits/atomic.h: Move to ...
31556         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
31557         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
31558         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
31559         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
31560         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
31561         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
31562         <atomic-machine.h> instead of <bits/atomic.h>.
31563         * sysdeps/s390/bits/atomic.h: Move to ...
31564         * sysdeps/s390/atomic-machine.h: ...here.
31565         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
31566         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
31567         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31568         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
31569         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
31570         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
31571         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
31572         * sysdeps/tile/bits/atomic.h: Move to ...
31573         * sysdeps/tile/atomic-machine.h: ...here.
31574         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
31575         * sysdeps/tile/tilegx/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/tile/tilepro/bits/atomic.h: Move to ...
31580         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
31581         <sysdeps/tile/atomic-machine.h> instead of
31582         <sysdeps/tile/bits/atomic.h>.
31583         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31584         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
31585         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
31586         <sysdeps/arm/atomic-machine.h> instead of
31587         <sysdeps/arm/bits/atomic.h>.
31588         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
31589         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
31590         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31591         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
31592         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
31593         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31594         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
31595         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
31596         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
31597         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
31598         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
31599         * sysdeps/x86_64/bits/atomic.h: Move to ...
31600         * sysdeps/x86_64/atomic-machine.h: ...here.
31601         * include/atomic.h: Include <atomic-machine.h> instead of
31602         <bits/atomic.h>.
31604         * sysdeps/mips/mips32/libm-test-ulps: Update.
31605         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31607         [BZ #18952]
31608         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
31609         not convert non-integer negative arguments to int to determine the
31610         value of signgam.
31611         * math/auto-libm-test-in: Add more tests of lgamma.
31612         * math/auto-libm-test-out: Regenerated.
31614         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
31615         cosh, csqrt, erfc, expm1 and lgamma.
31616         * math/auto-libm-test-out: Regenerated.
31617         * sysdeps/i386/fpu/libm-test-ulps: Update.
31618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31620 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
31622         [BZ #2542]
31623         [BZ #2543]
31624         [BZ #2558]
31625         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
31626         __lgamma_neg for arguments from -28.0 to -2.0.
31627         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
31628         __lgamma_negf for arguments from -15.0 to -2.0.
31629         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31630         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
31631         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
31632         Call __lgamma_negl for arguments from -33.0 to -2.0.
31633         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
31634         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
31635         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
31636         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
31637         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
31638         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
31639         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
31640         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
31641         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
31642         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
31643         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
31644         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
31645         (__lgamma_neg): Likewise.
31646         (__lgamma_negl): Likewise.
31647         (__lgamma_product): Likewise.
31648         (__lgamma_productl): Likewise.
31649         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
31650         * math/auto-libm-test-in: Add more tests of lgamma.
31651         * math/auto-libm-test-out: Regenerated.
31652         * sysdeps/i386/fpu/libm-test-ulps: Update.
31653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31655 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
31657         [BZ #18675]
31658         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
31660 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
31662         [BZ #14912]
31663         * bits/libc-lock.h: Move to ...
31664         * sysdeps/generic/libc-lock.h: ...here.
31665         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31666         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
31667         * sysdeps/mach/hurd/libc-lock.h: ...here.
31668         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31669         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
31670         * sysdeps/mach/bits/libc-lock.h: Move to ...
31671         * sysdeps/mach/libc-lock.h: ...here.
31672         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31673         * sysdeps/nptl/bits/libc-lock.h: Move to ...
31674         * sysdeps/nptl/libc-lock.h: ...here.
31675         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31676         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
31677         * sysdeps/nptl/libc-lockP.h: ...here.
31678         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
31679         * crypt/crypt_util.c: Include <libc-lock.h> instead of
31680         <bits/libc-lock.h>.
31681         * dirent/scandir-tail.c: Likewise.
31682         * dlfcn/dlerror.c: Likewise.
31683         * elf/dl-close.c: Likewise.
31684         * elf/dl-iteratephdr.c: Likewise.
31685         * elf/dl-lookup.c: Likewise.
31686         * elf/dl-open.c: Likewise.
31687         * elf/dl-support.c: Likewise.
31688         * elf/dl-writev.h: Likewise.
31689         * elf/rtld.c: Likewise.
31690         * grp/fgetgrent.c: Likewise.
31691         * gshadow/fgetsgent.c: Likewise.
31692         * gshadow/sgetsgent.c: Likewise.
31693         * iconv/gconv_conf.c: Likewise.
31694         * iconv/gconv_db.c: Likewise.
31695         * iconv/gconv_dl.c: Likewise.
31696         * iconv/gconv_int.h: Likewise.
31697         * iconv/gconv_trans.c: Likewise.
31698         * include/link.h: Likewise.
31699         * inet/getnameinfo.c: Likewise.
31700         * inet/getnetgrent.c: Likewise.
31701         * inet/getnetgrent_r.c: Likewise.
31702         * intl/bindtextdom.c: Likewise.
31703         * intl/dcigettext.c: Likewise.
31704         * intl/finddomain.c: Likewise.
31705         * intl/gettextP.h: Likewise.
31706         * intl/loadmsgcat.c: Likewise.
31707         * intl/localealias.c: Likewise.
31708         * intl/textdomain.c: Likewise.
31709         * libidn/idn-stub.c: Likewise.
31710         * libio/libioP.h: Likewise.
31711         * locale/duplocale.c: Likewise.
31712         * locale/freelocale.c: Likewise.
31713         * locale/newlocale.c: Likewise.
31714         * locale/setlocale.c: Likewise.
31715         * login/getutent_r.c: Likewise.
31716         * login/getutid_r.c: Likewise.
31717         * login/getutline_r.c: Likewise.
31718         * login/utmp-private.h: Likewise.
31719         * login/utmpname.c: Likewise.
31720         * malloc/mtrace.c: Likewise.
31721         * misc/efgcvt.c: Likewise.
31722         * misc/error.c: Likewise.
31723         * misc/fstab.c: Likewise.
31724         * misc/getpass.c: Likewise.
31725         * misc/mntent.c: Likewise.
31726         * misc/syslog.c: Likewise.
31727         * nis/nis_call.c: Likewise.
31728         * nis/nis_callback.c: Likewise.
31729         * nis/nss-default.c: Likewise.
31730         * nis/nss_compat/compat-grp.c: Likewise.
31731         * nis/nss_compat/compat-initgroups.c: Likewise.
31732         * nis/nss_compat/compat-pwd.c: Likewise.
31733         * nis/nss_compat/compat-spwd.c: Likewise.
31734         * nis/nss_nis/nis-alias.c: Likewise.
31735         * nis/nss_nis/nis-ethers.c: Likewise.
31736         * nis/nss_nis/nis-grp.c: Likewise.
31737         * nis/nss_nis/nis-hosts.c: Likewise.
31738         * nis/nss_nis/nis-network.c: Likewise.
31739         * nis/nss_nis/nis-proto.c: Likewise.
31740         * nis/nss_nis/nis-pwd.c: Likewise.
31741         * nis/nss_nis/nis-rpc.c: Likewise.
31742         * nis/nss_nis/nis-service.c: Likewise.
31743         * nis/nss_nis/nis-spwd.c: Likewise.
31744         * nis/nss_nisplus/nisplus-alias.c: Likewise.
31745         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
31746         * nis/nss_nisplus/nisplus-grp.c: Likewise.
31747         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
31748         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
31749         * nis/nss_nisplus/nisplus-network.c: Likewise.
31750         * nis/nss_nisplus/nisplus-proto.c: Likewise.
31751         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
31752         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
31753         * nis/nss_nisplus/nisplus-service.c: Likewise.
31754         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
31755         * nis/ypclnt.c: Likewise.
31756         * nptl/libc_pthread_init.c: Likewise.
31757         * nss/getXXbyYY.c: Likewise.
31758         * nss/getXXent.c: Likewise.
31759         * nss/getXXent_r.c: Likewise.
31760         * nss/nss_db/db-XXX.c: Likewise.
31761         * nss/nss_db/db-netgrp.c: Likewise.
31762         * nss/nss_db/nss_db.h: Likewise.
31763         * nss/nss_files/files-XXX.c: Likewise.
31764         * nss/nss_files/files-alias.c: Likewise.
31765         * nss/nsswitch.c: Likewise.
31766         * posix/regex_internal.h: Likewise.
31767         * posix/wordexp.c: Likewise.
31768         * pwd/fgetpwent.c: Likewise.
31769         * resolv/res_hconf.c: Likewise.
31770         * resolv/res_libc.c: Likewise.
31771         * shadow/fgetspent.c: Likewise.
31772         * shadow/lckpwdf.c: Likewise.
31773         * shadow/sgetspent.c: Likewise.
31774         * socket/opensock.c: Likewise.
31775         * stdio-common/reg-modifier.c: Likewise.
31776         * stdio-common/reg-printf.c: Likewise.
31777         * stdio-common/reg-type.c: Likewise.
31778         * stdio-common/vfprintf.c: Likewise.
31779         * stdio-common/vfscanf.c: Likewise.
31780         * stdlib/abort.c: Likewise.
31781         * stdlib/cxa_atexit.c: Likewise.
31782         * stdlib/fmtmsg.c: Likewise.
31783         * stdlib/random.c: Likewise.
31784         * stdlib/setenv.c: Likewise.
31785         * string/strsignal.c: Likewise.
31786         * sunrpc/auth_none.c: Likewise.
31787         * sunrpc/bindrsvprt.c: Likewise.
31788         * sunrpc/create_xid.c: Likewise.
31789         * sunrpc/key_call.c: Likewise.
31790         * sunrpc/rpc_thread.c: Likewise.
31791         * sysdeps/arm/backtrace.c: Likewise.
31792         * sysdeps/generic/ldsodefs.h: Likewise.
31793         * sysdeps/generic/stdio-lock.h: Likewise.
31794         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
31795         * sysdeps/i386/backtrace.c: Likewise.
31796         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31797         * sysdeps/m68k/backtrace.c: Likewise.
31798         * sysdeps/mach/hurd/cthreads.c: Likewise.
31799         * sysdeps/mach/hurd/dirstream.h: Likewise.
31800         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31801         * sysdeps/nptl/malloc-machine.h: Likewise.
31802         * sysdeps/nptl/stdio-lock.h: Likewise.
31803         * sysdeps/posix/dirstream.h: Likewise.
31804         * sysdeps/posix/getaddrinfo.c: Likewise.
31805         * sysdeps/posix/system.c: Likewise.
31806         * sysdeps/pthread/aio_suspend.c: Likewise.
31807         * sysdeps/s390/s390-32/backtrace.c: Likewise.
31808         * sysdeps/s390/s390-64/backtrace.c: Likewise.
31809         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31810         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31811         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
31812         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
31813         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
31814         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31815         * sysdeps/unix/sysv/linux/system.c: Likewise.
31816         * sysdeps/x86_64/backtrace.c: Likewise.
31817         * time/alt_digit.c: Likewise.
31818         * time/era.c: Likewise.
31819         * time/tzset.c: Likewise.
31820         * wcsmbs/wcsmbsload.c: Likewise.
31821         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
31822         instead of <bits/libc-lock.h> in comment.
31824 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
31826         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
31827         Only use .set mips2 if the current ISA is below mips2.
31828         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
31829         Likewise.
31830         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
31831         mips32r2 if the current ISA is below mips32r2.
31832         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
31833         (TLS_IE): Updated to use the TLD_RDHWR macro.
31834         (TLS_LE): Likewise.
31835         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
31836         __ASSEMBLER__ condition.
31838 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31840         Fix parallel build of before-compile targets.
31842         * sysdeps/mach/Makefile ($(patsubst
31843         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
31844         mach-before-compile target.
31845         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31846         io fs process)): Move rule to dedicated hurd-before-compile target.
31848 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31850         Fix rules generating headers in hurd/ and mach/ when initial make call
31851         has subdir= explicitly set.
31853         * sysdeps/mach/Makefile ($(patsubst
31854         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
31855         calling $(MAKE).
31856         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31857         io fs process)): Force subdir to hurd when calling $(MAKE).
31858         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
31859         subdir to mach when calling $(MAKE).
31861 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
31863         Check sysheaders when looking for Mach and Hurd headers
31865         * sysdeps/mach/configure.ac: Add sysheaders check.
31866         * sysdeps/mach/configure: Regenerate.
31867         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
31868         * sysdeps/mach/hurd/configure: Regenerate.
31870 2015-09-04  Roland McGrath  <roland@hack.frob.com>
31872         [BZ #18921]
31873         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
31874         Fix inverted sense of test of 'o_directory_works' value.
31875         Reported by PĂĄdraig Brady <P@draigBrady.com>, diagnosed by
31876         Bernhard Voelker <mail@bernhard-voelker.de>.
31878 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
31880         [BZ #14912]
31881         * bits/linkmap.h: Move to ...
31882         * sysdeps/generic/linkmap.h: ...here.
31883         * sysdeps/aarch64/bits/linkmap.h: Move to ...
31884         * sysdeps/aarch64/linkmap.h: ...here.
31885         * sysdeps/arm/bits/linkmap.h: Move to ...
31886         * sysdeps/arm/linkmap.h: ...here.
31887         * sysdeps/hppa/bits/linkmap.h: Move to ...
31888         * sysdeps/hppa/linkmap.h: ...here.
31889         * sysdeps/ia64/bits/linkmap.h: Move to ...
31890         * sysdeps/ia64/linkmap.h: ...here.
31891         * sysdeps/mips/bits/linkmap.h: Move to ...
31892         * sysdeps/mips/linkmap.h: ...here.
31893         * sysdeps/s390/bits/linkmap.h: Move to ...
31894         * sysdeps/s390/linkmap.h: ...here.
31895         * sysdeps/sh/bits/linkmap.h: Move to ...
31896         * sysdeps/sh/linkmap.h: ...here.
31897         * sysdeps/x86/bits/linkmap.h: Move to ...
31898         * sysdeps/x86/linkmap.h: ...here.
31899         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
31901 2015-09-04  Andreas Schwab  <schwab@suse.de>
31903         [BZ #18635]
31904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
31905         (__makecontext): Terminate FDE before return label.
31906         (__novec_makecontext): Likewise.
31908 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31910         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
31911         first member of struct sv in syscall macro.
31913 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
31915         [BZ #14912]
31916         * bits/stdio-lock.h: Move to ...
31917         * sysdeps/generic/stdio-lock.h: ...here.
31918         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31919         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
31920         * sysdeps/nptl/stdio-lock.h: ...here.
31921         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31922         * include/libio.h: Include <stdio-lock.h> instead of
31923         <bits/stdio-lock.h>.
31924         * sysdeps/nptl/fork.c: Likewise.
31925         * sysdeps/pthread/flockfile.c: Likewise.
31926         * sysdeps/pthread/ftrylockfile.c: Likewise.
31927         * sysdeps/pthread/funlockfile.c: Likewise.
31929         [BZ #14912]
31930         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
31931         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
31932         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
31933         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
31934         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
31935         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
31936         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
31938 2015-09-03  Roland McGrath  <roland@hack.frob.com>
31940         * elf/Makefile (test-xfail-tst-protected1a): New variable.
31941         (test-xfail-tst-protected1b): New variable.
31943 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
31945         [BZ #14912]
31946         * bits/libc-tsd.h: Move to ...
31947         * sysdeps/generic/libc-tsd.h: ...here.
31948         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
31949         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
31950         * sysdeps/mach/hurd/libc-tsd.h: ...here.
31951         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
31952         * include/ctype.h: Include <libc-tsd.h> instead of
31953         <bits/libc-tsd.h>.
31954         * include/rpc/rpc.h: Likewise.
31955         * locale/localeinfo.h: Likewise.
31956         * sunrpc/rpc_thread.c: Likewise.
31957         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31958         * sysdeps/nptl/malloc-machine.h: Likewise.
31960         * Makefile (headers): Remove bits/libc-lock.h.
31961         * libio/Makefile (headers): Remove bits/stdio-lock.h.
31963         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
31964         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
31965         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
31966         <bits/stdio-lock.h>.
31967         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
31968         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
31970 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
31972         [BZ #18757]
31973         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
31974         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
31975         BZ #18757.
31977 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
31979         * malloc/mtrace.pl: Filter out NULL entries.
31981 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
31983         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
31984         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
31985         macro.
31987         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
31988         (TCP_CC_INFO): Likewise.
31989         (TCP_SAVE_SYN): Likewise.
31990         (TCP_SAVED_SYN): Likewise.
31992 2015-08-31  Brett Neumeier <brett@neumeier.us>
31994         [BZ #18870]
31995         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
31997 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
31999         [BZ #18873]
32000         Fix broken overflow check in posix_fallocate
32001         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
32002         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
32003         Fix parenthesization typo.
32005 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
32007         [BZ #18887]
32008         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
32009         tst-mntent-blank-passno.
32010         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
32011         * misc/tst-mntent-blank-corrupt.c: New test.
32012         * misc/tst-mntent-blank-passno.c: New test ripped from ...
32013         * misc/tst-mntent.c (do_test): ... here.
32015 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
32017         [BZ #4404]
32018         * po/de.po: Fix SIGALRM typo.
32020 2015-08-28  James Perkins  <james@loowit.net>
32022         * time/tst-strptime2.c (tests): Replace short list of test
32023         strings for strptime %z specifier with code which exhaustively
32024         tests every combination of sign and 0 to 5 digits. Tests for
32025         rejection of invalid strings.
32027 2015-08-28  James Perkins  <james@loowit.net>
32029         [BZ #16141]
32030         * time/strptime_l.c (__strptime_internal): Fix %z minutes
32031         calculation, removing incorrect decimal time rounding, so that
32032         all minute values result in a valid seconds value.
32033         * time/strptime_l.c (__strptime_internal): Extend %z time zone
32034         offset range limits to UTC-99:59 through UTC+99:59 to parse
32035         current and historical use cases.
32036         * time/tst-strptime2.c (tests): Modify and add tests for the
32037         strptime %z input field descriptor, specifically conversion of
32038         minutes to seconds and validating an offset range of -9959 to
32039         +9959.
32041 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32042             Dmitry V. Levin  <ldv@altlinux.org>
32044         [BZ #18877]
32045         * posix/Makefile (tests): Add tst-mmap-offset.
32046         * posix/tst-mmap.c: New file.
32047         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
32048         offset calculation for negative values.
32050 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32052         * sysdeps/i386/init-arch.h: New file.
32053         * sysdeps/i386/i586/init-arch.h: Likewise.
32054         * sysdeps/i386/i686/init-arch.h: Likewise.
32055         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
32056         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
32057         * sysdeps/x86/cpu-features.h (bit_I586): New.
32058         (bit_I686): Likewise.
32059         (bit_CX8): Likewise.
32060         (bit_CMOV): Likewise.
32061         (index_CX8): Likewise.
32062         (index_CMOV): Likewise.
32063         (index_I586): Likewise.
32064         (index_I686): Likewise.
32065         (reg_CX8): Likewise.
32066         (reg_CMOV): Likewise.
32067         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
32068         available at compile-time.
32069         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
32070         available at compile-time.
32071         * sysdeps/x86/init-arch.h (USE_I586): New macro.
32072         (USE_I686): Likewise.
32074 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32076         * sysdeps/i386/bcopy.S: New file.
32077         * sysdeps/i386/bzero.S: Likewise.
32078         * sysdeps/i386/memcpy.S: Likewise.
32079         * sysdeps/i386/memmove.S: Likewise.
32080         * sysdeps/i386/mempcpy.S: Likewise.
32081         * sysdeps/i386/memset.S: Likewise.
32082         * sysdeps/i386/bzero.c: Removed.
32083         * sysdeps/i386/memset.c: Likewise.
32084         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
32085         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
32086         * sysdeps/i386/i586/memset_chk.S: Likewise.
32087         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
32088         * sysdeps/i386/memcpy_chk.S: Here.
32089         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
32090         * sysdeps/i386/memmove_chk.S: Here.
32091         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
32092         * sysdeps/i386/mempcpy_chk.S: Likewise.
32093         * sysdeps/i386/i686/memset_chk.S: Moved to ...
32094         * sysdeps/i386/memset_chk.S: Likewise.
32096 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
32098         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
32099         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
32100         file, move DIAG_POP_NEEDS_COMMENT to end of file.
32101         * soft-fp/fmadf4.c: Ditto.
32102         * soft-fp/fmatf4.c: Ditto.
32104 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32106         * sysdeps/i386/i586/Implies: Removed.
32107         * sysdeps/i386/i686/Implies: Likewise.
32109 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32111         * sysdeps/i386/i486/strlen.S: Moved to ...
32112         * sysdeps/i386/strlen.S: Here.
32114 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32116         * sysdeps/i386/i486/strcat.S: Moved to ...
32117         * sysdeps/i386/strcat.S: Here.
32119 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32121         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
32122         * sysdeps/i386/pthread_spin_trylock.S: Here.
32123         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
32124         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
32126 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32128         * sysdeps/i386/i486/string-inlines.c: Moved to ...
32129         * sysdeps/i386/string-inlines.c: Here.
32131 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32133         * sysdeps/i386/i486/htonl.S: Moved ...
32134         * sysdeps/i386/htonl.S: here.
32136 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32138         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
32139         * sysdeps/i386/bits/atomic.h: Here.
32141 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32143         * sysdeps/i386/i486/Versions: Removed.
32145 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
32147         [BZ #2898]
32148         * misc/mktemp.c: Add mkdtemp to the link_warning message.
32149         Based on patch by Aurelien Jarno.
32151 2015-08-26  Stan Shebs  <stanshebs@google.com>
32153         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
32154         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
32156 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32158         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
32159         * sysdeps/powerpc/dl-procinfo.c:
32160         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
32161         feature so it shows when LD_SHOW_AUXV=1.
32163 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
32165         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
32166         (__arch_compare_and_exchange_val_32_acq): Remove and use common
32167         definition.  ISA 2.07B no longer requires full sync.
32169 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
32171         [BZ #18863]
32172         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
32173         (si_call_addr): Define.
32174         (si_syscall): Define.
32175         (si_arch): Define.
32177 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
32179         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
32180         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
32181         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
32182         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32183         (__memset_zero_constant_len_parameter): New.
32184         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
32185         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32186         (__memset_zero_constant_len_parameter): Don't define if
32187         __memset_chk or USE_AS_BZERO are defined.
32189         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
32190         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
32191         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
32193         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
32194         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
32195         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
32196         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
32197         comments.
32198         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
32199         -mno-mmx for $(all-rtld-routines).
32200         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
32201         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
32202         i386.
32204 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32206         * sysdeps/generic/unwind.h
32207         (_Unwind_Word): Use __mode__(__unwind_word__)
32208         instead of __mode__(__word__).
32209         (_Unwind_Sword): Likewise.
32211         * sysdeps/s390/s390-64/utf8-utf16-z9.c
32212         (MAX_NEEDED_INPUT): New define.
32213         (MAX_NEEDED_OUTPUT): New define.
32215         * NEWS: New item for IBM z13 string optimizations.
32217         * sysdeps/s390/multiarch/memrchr-c.c: New File.
32218         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
32219         * sysdeps/s390/multiarch/memrchr.c: Likewise.
32220         * sysdeps/s390/multiarch/Makefile
32221         (sysdep_routines): Add memrchr functions.
32222         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32223         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
32225         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
32226         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
32227         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
32228         * sysdeps/s390/multiarch/Makefile
32229         (sysdep_routines): Add wmemcmp functions.
32230         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32231         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
32232         * benchtests/bench-wmemcmp.c: New File.
32233         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
32235         * sysdeps/s390/multiarch/wmemset-c.c: New File.
32236         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
32237         * sysdeps/s390/multiarch/wmemset.c: Likewise.
32238         * sysdeps/s390/multiarch/Makefile
32239         (sysdep_routines): Add wmemset functions.
32240         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32241         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
32242         * wcsmbs/wmemset.c: Use WMEMSET if defined.
32243         * string/test-memset.c: Add wmemset support.
32244         * wcsmbs/test-wmemset.c: New File.
32245         * wcsmbs/Makefile (strop-tests): Add wmemset.
32246         * benchtests/bench-memset.c: Add wmemset support.
32247         * benchtests/bench-wmemset.c: New File.
32248         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
32250         * sysdeps/s390/multiarch/memccpy-c.c: New File.
32251         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
32252         * sysdeps/s390/multiarch/memccpy.c: Likewise.
32253         * sysdeps/s390/multiarch/Makefile
32254         (sysdep_routines): Add memccpy functions.
32255         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32256         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
32257         * string/memccpy.c: Use MEMCCPY if defined.
32259         * sysdeps/s390/multiarch/memchr-vx.S: New File.
32260         * sysdeps/s390/multiarch/memchr.c: Likewise.
32261         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
32262         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
32263         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
32264         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
32265         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
32266         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
32267         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
32268         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
32269         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
32270         and rawmemchr functions.
32271         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32272         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
32273         and wmemchr.
32274         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
32275         * string/test-memchr.c: Add wmemchr support.
32276         * wcsmbs/test-wmemchr.c: New File.
32277         * wcsmbs/Makefile (strop-tests): Add wmemchr.
32278         * benchtests/bench-memchr.c: Add wmemchr support.
32279         * benchtests/bench-wmemchr.c: New File.
32280         * benchtests/Makefile (wcsmbs-bench): wmemchr.
32282         * sysdeps/s390/multiarch/strcspn-c.c: New File.
32283         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
32284         * sysdeps/s390/multiarch/strcspn.c: Likewise.
32285         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
32286         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
32287         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
32288         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
32289         wcscspn functions.
32290         * sysdeps/s390/multiarch/ifunc-impl-list.c
32291         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
32292         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
32293         * string/test-strcspn.c: Add wcscspn support.
32294         * wcsmbs/test-wcscspn.c: New File.
32295         * wcsmbs/Makefile (strop-tests): Add wcscspn.
32296         * benchtests/bench-strcspn.c: Add wcscspn support.
32297         * benchtests/bench-wcscspn.c: New File.
32298         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
32300         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
32301         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
32302         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
32303         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
32304         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
32305         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
32306         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
32307         wcspbrk functions.
32308         * sysdeps/s390/multiarch/ifunc-impl-list.c
32309         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
32310         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
32311         * string/test-strpbrk.c: Add wcspbrk support.
32312         * wcsmbs/test-wcspbrk.c: New File.
32313         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
32314         * benchtests/bench-strpbrk.c: Add wcspbrk support.
32315         * benchtests/bench-wcspbrk.c: New File.
32316         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
32318         * sysdeps/s390/multiarch/strspn-c.c: New File.
32319         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
32320         * sysdeps/s390/multiarch/strspn.c: Likewise.
32321         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
32322         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
32323         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
32324         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
32325         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
32326         wcsspn functions.
32327         * sysdeps/s390/multiarch/ifunc-impl-list.c
32328         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
32329         * string/test-strspn.c: Add wcsspn support.
32330         * wcsmbs/test-wcsspn.c: New File.
32331         * wcsmbs/Makefile (strop-tests): Add wcsspn.
32332         * benchtests/bench-strspn.c: Add wcsspn support.
32333         * benchtests/bench-wcsspn.c: New File.
32334         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
32336         * sysdeps/s390/multiarch/strrchr-c.c: New File.
32337         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
32338         * sysdeps/s390/multiarch/strrchr.c: Likewise.
32339         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
32340         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
32341         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
32342         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
32343         wcsrchr functions.
32344         * sysdeps/s390/multiarch/ifunc-impl-list.c
32345         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
32346         * benchtests/bench-wcsrchr.c: New File.
32347         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
32349         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
32350         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
32351         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
32352         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
32353         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
32354         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
32355         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
32356         wcschrnul functions.
32357         * sysdeps/s390/multiarch/ifunc-impl-list.c
32358         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
32359         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
32360         * string/test-strchr.c: Add wcschrnul support.
32361         * wcsmbs/test-wcschrnul.c: New File.
32362         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
32363         * benchtests/bench-strchr.c: Add wcschrnul support.
32364         * benchtests/bench-wcschrnul.c: New File.
32365         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
32367         * sysdeps/s390/multiarch/strchr-c.c: New File.
32368         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
32369         * sysdeps/s390/multiarch/strchr.c: Likewise.
32370         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
32371         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
32372         * sysdeps/s390/multiarch/wcschr.c: Likewise.
32373         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
32374         wcschr functions.
32375         * sysdeps/s390/multiarch/ifunc-impl-list.c
32376         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
32377         * string/strchr.c (STRCHR): Define and use macro.
32378         * benchtests/bench-wcschr.c: New File.
32379         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
32381         * sysdeps/s390/multiarch/strncmp-c.c: New File.
32382         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
32383         * sysdeps/s390/multiarch/strncmp.c: Likewise.
32384         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
32385         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
32386         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
32387         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
32388         wcsncmp functions.
32389         * sysdeps/s390/multiarch/ifunc-impl-list.c
32390         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
32391         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
32392         * benchtests/bench-strncmp.c: Add wcsncmp support.
32393         * benchtests/bench-wcsncmp.c: New File.
32394         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
32396         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
32397         * sysdeps/s390/multiarch/strcmp.c: Likewise.
32398         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
32399         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
32400         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
32401         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
32402         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
32403         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
32404         wcscmp functions.
32405         * sysdeps/s390/multiarch/ifunc-impl-list.c
32406         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
32407         * string/strcmp.c (STRCMP): Define and use macro.
32408         * benchtests/bench-wcscmp.c: New File.
32409         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
32410         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
32411         instead of _HAVE_STRING_ARCH_memchr.
32413         * sysdeps/s390/multiarch/strncat-c.c: New File.
32414         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
32415         * sysdeps/s390/multiarch/strncat.c: Likewise.
32416         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
32417         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
32418         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
32419         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
32420         wcsncat functions.
32421         * sysdeps/s390/multiarch/ifunc-impl-list.c
32422         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
32423         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
32424         * string/test-strncat.c: Add wcsncat support.
32425         * wcsmbs/test-wcsncat.c: New File.
32426         * wcsmbs/Makefile (strop-tests): Add wcsncat.
32427         * benchtests/bench-strncat.c: Add wcsncat support.
32428         * benchtests/bench-wcsncat.c: New File.
32429         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
32431         * sysdeps/s390/multiarch/strcat-c.c: New File.
32432         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
32433         * sysdeps/s390/multiarch/strcat.c: Likewise.
32434         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
32435         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
32436         * sysdeps/s390/multiarch/wcscat.c: Likewise.
32437         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
32438         wcscat functions.
32439         * sysdeps/s390/multiarch/ifunc-impl-list.c
32440         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
32441         * string/strcat.c (STRCAT): Define and use macro.
32442         * wcsmbs/wcscat.c: Use WCSCAT if defined.
32443         * string/test-strcat.c: Add wcscat support.
32444         * wcsmbs/test-wcscat.c: New File.
32445         * wcsmbs/Makefile (strop-tests): Add wcscat.
32446         * benchtests/bench-strcat.c: Add wcscat support.
32447         * benchtests/bench-wcscat.c: New File.
32448         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
32450         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
32451         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
32452         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
32453         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
32454         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
32455         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
32456         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
32457         wcpncpy functions.
32458         * sysdeps/s390/multiarch/ifunc-impl-list.c
32459         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
32460         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
32461         * string/test-stpncpy.c: Add wcpncpy support.
32462         * wcsmbs/test-wcpncpy.c: New File.
32463         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
32464         * benchtests/bench-stpncpy.c: Add wcpncpy support.
32465         * benchtests/bench-wcpncpy.c: New File.
32466         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
32468         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
32469         * sysdeps/s390/multiarch/strncpy.c: Likewise.
32470         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
32471         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
32472         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
32473         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
32474         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
32475         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
32476         wcsncpy functions.
32477         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
32478         * sysdeps/s390/multiarch/ifunc-impl-list.c
32479         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
32480         * string/test-strncpy.c: Add wcsncpy support.
32481         * wcsmbs/test-wcsncpy.c: New File.
32482         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
32483         * benchtests/bench-strncpy.c: Add wcsncpy support.
32484         * benchtests/bench-wcsncpy.c: New File.
32485         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
32487         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
32488         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
32489         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
32490         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
32491         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
32492         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
32493         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
32494         wcpcpy functions.
32495         * string/stpcpy.c: Use STPCPY if defined.
32496         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
32497         * sysdeps/s390/multiarch/ifunc-impl-list.c
32498         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
32499         * string/test-stpcpy.c: Add wcpcpy support.
32500         * wcsmbs/test-wcpcpy.c: New File.
32501         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
32502         * benchtests/bench-stpcpy.c: Add wcpcpy support.
32503         * benchtests/bench-wcpcpy.c: New File.
32504         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
32506         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
32507         * sysdeps/s390/multiarch/strcpy.c: Likewise.
32508         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
32509         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
32510         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
32511         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
32512         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
32513         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
32514         wcscpy functions.
32515         * sysdeps/s390/multiarch/ifunc-impl-list.c
32516         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
32517         * benchtests/bench-wcscpy.c: New File.
32518         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
32520         * sysdeps/s390/multiarch/strnlen-c.c: New File.
32521         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
32522         * sysdeps/s390/multiarch/strnlen.c: Likewise.
32523         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
32524         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
32525         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
32526         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
32527         wcsnlen functions.
32528         * sysdeps/s390/multiarch/ifunc-impl-list.c
32529         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
32530         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
32531         * string/test-strnlen.c: Add wcsnlen support.
32532         * wcsmbs/test-wcsnlen.c: New File.
32533         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
32534         * benchtests/bench-strnlen.c: Add wcsnlen support.
32535         * benchtests/bench-wcsnlen.c: New File.
32536         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
32538         * sysdeps/s390/multiarch/Makefile: New File.
32539         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
32540         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
32541         * sysdeps/s390/multiarch/strlen.c: Likewise.
32542         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
32543         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
32544         * sysdeps/s390/multiarch/wcslen.c: Likewise.
32545         * string/strlen.c (STRLEN): Define and use macro.
32546         * sysdeps/s390/multiarch/ifunc-impl-list.c
32547         (IFUNC_VX_IMPL): New macro function.
32548         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
32549         * benchtests/Makefile (wcsmbs-bench): New variable.
32550         (string-bench-all): Added wcsmbs-bench.
32551         * benchtests/bench-wcslen.c: New File.
32553         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
32554         s390_vx_libc_ifunc2): New macro function.
32556         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
32557         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
32558         assembler support.
32559         * sysdeps/s390/configure: Regenerated.
32561         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
32562         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32564         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
32565         * sysdeps/s390/dl-procinfo.h: Add vector capability.
32566         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
32568         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
32569         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
32570         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
32571         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
32572         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
32573         (memcmp, bcmp): Use __memcmp_default as alias source.
32574         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
32575         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
32576         Rename to __memcmp_default.
32577         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
32578         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
32579         (memcpy): Use __memcpy_default as alias source.
32580         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
32581         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
32582         Rename to __memcpy_default.
32583         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
32584         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
32585         (memset): Use __memset_default as alias source.
32586         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
32587         * sysdeps/s390/s390-32/memset.S (__memset_g5):
32588         Rename to __memset_default.
32589         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
32590         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
32591         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
32592         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
32593         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
32594         (memcmp, bcmp): Use __memcmp_default as alias source.
32595         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
32596         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
32597         Rename to __memcmp_default.
32598         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
32599         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
32600         (memcpy): Use __memcpy_default as alias source.
32601         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
32602         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
32603         Rename to __memcpy_default.
32604         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
32605         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
32606         (memset): Use __memset_default as alias source.
32607         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
32608         * sysdeps/s390/s390-64/memset.S (__memset_z900):
32609         Rename to __memset_default.
32610         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
32611         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
32613         [BZ #18610]
32614         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
32615         __ieee_instruction_pointer to __unused.
32616         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
32617         __ieee_instruction_pointer.
32618         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
32619         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
32620         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32621         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32622         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
32623         Mark dxc-field as reserved.
32625 2015-08-25  Roland McGrath  <roland@hack.frob.com>
32627         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
32628         if the weak reference is not null.
32630 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32632         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
32634         [BZ #11214]
32635         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
32637 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32639         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
32640         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
32641         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
32642         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
32643         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
32644         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
32645         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
32646         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
32647         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
32648         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
32649         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
32650         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
32651         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
32652         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
32653         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
32654         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
32655         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
32656         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
32658 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
32660         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
32661         register other than r0 for tabort, it has special meaning.
32662         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
32663         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
32664         transaction before starting syscall.
32666 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32668         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
32670 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32672         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
32674         * sysdeps/x86_64/rtld-memcmp.c: Removed.
32675         * sysdeps/x86_64/rtld-memset.S: Likewise.
32676         * sysdeps/x86_64/rtld-strchr.S: Likewise.
32677         * sysdeps/x86_64/rtld-strlen.S: Likewise.
32678         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
32679         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32681         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
32683 2015-08-25  Ondƙej BĂ­lka  <neleai@seznam.cz>
32685         * debug/strcpy_chk.c: Improve performance.
32686         * debug/stpcpy_chk.c: Likewise.
32687         * sysdeps/x86_64/strcpy_chk.S: Remove.
32688         * sysdeps/x86_64/stpcpy_chk.S: Remove.
32690         [BZ #18240]
32691         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
32693 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32695         [BZ #15128]
32696         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
32697         ifuncmain8.
32698         (modules-names): Add ifuncmod8.
32699         ($(objpfx)ifuncmain8): New rule.
32700         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
32701         <cpuid.h>.
32702         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
32703         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
32704         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
32705         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
32706         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
32707         * sysdeps/x86_64/dl-trampoline.h: Likewise.
32708         * sysdeps/x86_64/ifuncmain8.c: New file.
32709         * sysdeps/x86_64/ifuncmod8.c: Likewise.
32710         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
32711         Removed.
32712         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
32713         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
32714         Change rtld_savespace_sse to __glibc_unused2.
32715         (RTLD_CHECK_FOREIGN_CALL): Removed.
32716         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
32717         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
32718         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
32720 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
32722         * sysdeps/aarch64/bzero.S (__bzero): Remove.
32724 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
32726         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
32727         Unconditionally set __fpcr to avoid uninialized warning.
32728         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
32730 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32732         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
32733         is corrupt.
32735         * malloc/arena.c (arena_get2): Drop unused argument.
32736         (arena_lock): Adjust.
32737         (arena_get_retry): Likewise.
32739 2015-08-24  Andreas Schwab  <schwab@suse.de>
32741         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
32742         Don't define.
32743         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
32744         (__ASSUME_IPC64): Don't undef.
32745         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
32746         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32747         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32748         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
32749         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
32750         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
32751         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
32752         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
32753         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
32754         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
32755         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
32756         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
32757         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
32758         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
32759         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
32760         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
32761         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
32762         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
32763         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
32764         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
32765         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
32767 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
32769         * manual/Makefile (install): Only build manual when perl is available.
32771 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32773         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
32774         '#undef memcpy' by '#undef memchr'.
32776 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32778         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
32779         memchr not point to the internal __GI_memchr implementation.
32781 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
32783         * timezone/Makefile (CFLAGS-zdump.c): Remove
32784         -Wno-strict-prototypes.
32785         (CFLAGS-zic.c): Likewise.
32786         (CFLAGS-ialloc.c): Likewise.
32787         (CFLAGS-scheck.c): Likewise.
32789         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
32790         -Wno-error=undef.
32792 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32794         * i386/i686/multiarch/strcasestr-c.c: Removed.
32795         * x86_64/multiarch/strcasestr.c: Likewise.
32796         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32797         Remove strcasestr.
32799 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
32801         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
32803         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
32804         variables for high and low parts before possibly modifying them.
32806 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32808         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
32809         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
32810         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
32811         of "multiarch/init-arch.h".
32812         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
32813         * sysdeps/x86/init-arch.h: This.
32815 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32817         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
32818         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
32820 2015-08-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
32822         [BZ #17787]
32823         * manual/macros.texi: Add twoexp macro.
32824         * manual/filesys.texi: Fix exponents.
32825         * manual/llio.texi: Likewise.
32826         * manual/stdio.texi: Likewise.
32828 2015-08-20  Florian Weimer  <fweimer@redhat.com>
32830         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
32831         incorrect use.
32833 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
32835         [BZ #18370]
32836         * math/s_csqrt.c (__csqrt): Force underflow exception for results
32837         whose real or imaginary part has small absolute value.
32838         * math/s_csqrtf.c (__csqrtf): Likewise.
32839         * math/s_csqrtl.c (__csqrtl): Likewise.
32840         * math/auto-libm-test-in: Add more tests of csqrt.
32841         * math/auto-libm-test-out: Regenerated.
32842         * sysdeps/i386/fpu/libm-test-ulps: Update.
32844 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
32846         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
32847         __ppc_set_ppr_very_low): New functions.
32848         * manual/platform.texi: Add documentation about
32849         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
32851 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
32853         * string/stpncpy.c (stpncpy): Improve performance using
32854         __strnlen/memcpy/memset.
32856 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
32858         [BZ #18796]
32859         * scripts/test-installation.pl: Don't add -lmvec to build options if
32860         libmvec wasn't built.
32862 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
32864         [BZ #14341]
32865         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
32866         case when there is a gap between DT_REL and DT_JMPREL sections.
32867         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
32868         (LDFLAGS-tst-split-dynreloc): New.
32869         (tst-split-dynreloc-ENV): Likewise.
32870         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
32871         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
32873 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32875         [BZ #18822]
32876         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
32877         attribute_hidden.
32878         (__xstat64_conv): Likewise.
32879         (__xstat32_conv): Likewise.
32881 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32883         [BZ #18822]
32884         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
32885         Don't load %ebx when calling __setcontext.  Call __setcontext
32886         with HIDDEN_JUMPTARGET.
32887         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
32888         libc_hidden_def.
32890 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32892         * sysdeps/i386/i686/Makefile
32893         [$(subdir) == string] (sysdep_routines): Moved to ...
32894         * sysdeps/i386/Makefile: Here.
32895         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
32896         * sysdeps/i386/cacheinfo.c: Here.
32897         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
32898         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
32899         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
32900         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
32902 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32904         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
32905         __i586__ is defined.
32906         (HAS_I686): Defined to 1 if __i686__ is defined.
32908 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
32910         * elf/Makefile [$(have-z-execstack) = yes]
32911         (CPPFLAGS-tst-execstack.c): New variable.
32913         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
32914         conditional to [defined UTMPX || _HAVE_UT_TYPE].
32915         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
32916         UTMPX || _HAVE_UT_TV].
32917         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
32918         UTMPX || _HAVE_UT_TV - 0].
32920 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
32922         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
32923         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
32924         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
32926 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32928         * sysdeps/powerpc/dl-procinfo.c:
32929         (_dl_powerpc_cap_flags): Added missing strings for some
32930         hwcap features.
32931         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
32933 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
32935         Port the 0x7efe...feff pattern to GCC 6.
32936         See Steve Ellcey's bug report in:
32937         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
32938         * string/memrchr.c (MEMRCHR):
32939         * string/rawmemchr.c (RAWMEMCHR):
32940         * string/strchr.c (strchr):
32941         * string/strchrnul.c (STRCHRNUL):
32942         Rewrite code to avoid issues with signed shift overflow.
32944 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
32946         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
32947         whether cpuid is available only if HAS_CPUID is 0.
32948         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
32949         (HAS_I586): Likewise.
32950         (HAS_I686): Likewise.
32952 2015-08-18  Zack Weinberg  <zackw@panix.com>
32954         * misc/Versions (libc): Add GLIBC_2.23.
32956 2015-08-18  Alan Modra  <amodra@gmail.com>
32958         [BZ #18421]
32959         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
32960         .Lp__global.
32961         (_start): Load %dp via .Lp__global.
32962         [!SHARED]: Use .section .rodata.
32964 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32966         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
32967         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
32969 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32971         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
32972         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
32974 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32976         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
32977         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
32979 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32981         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
32982         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
32984 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32986         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
32987         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
32989 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32991         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
32992         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
32994 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32996         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
32998 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33000         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
33001         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
33002         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33003         (__ASSUME_LWS_CAS): Delete.
33005 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33007         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
33008         * sysdeps/hppa/configure: Regenerated.
33009         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
33010         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
33011         * sysdeps/hppa/nptl/tls.h: Likewise.
33013 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
33015         [BZ #18823]
33016         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
33017         for scaling up small arguments.
33018         * math/s_csqrtf.c (__csqrtf): Likewise.
33019         * math/s_csqrtl.c (__csqrtl): Likewise.
33020         * math/auto-libm-test-in: Add more tests of csqrt.
33021         * math/auto-libm-test-out: Regenerated.
33023 2015-08-17  Andreas Schwab  <schwab@suse.de>
33025         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
33026         version set GLIBC_2.19.
33028 2015-08-16  Zack Weinberg  <zackw@panix.com>
33030         [BZ #18681]
33031         * misc/regexp.h: This interface is no longer supported.
33032         Remove all contents, leaving only an #error directive.
33033         * misc/regexp.c (loc1, loc2, locs, step, advance):
33034         Demote to compatibility symbols.
33036 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
33038         [BZ #18084]
33039         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
33040         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
33041         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
33042         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
33043         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
33044         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
33045         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
33046         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
33047         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
33049 2015-08-15  Zack Weinberg  <zackw@panix.com>
33051         [BZ #18795]
33052         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
33053         buffer length is known to be too large, not if it's known to be
33054         small enough.
33055         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
33056         overflow at runtime, involving a length parameter, twice: once
33057         with a compile-time constant length parameter, once without.
33059 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
33061         [BZ #18824]
33062         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
33063         scaling x * y up instead of down.
33064         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33065         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33066         * math/auto-libm-test-in: Add more tests of fma.
33067         * math/auto-libm-test-out: Regenerated.
33069 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
33071         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33073 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33075         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
33076         unnecessary movq.
33077         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
33078         Likewise.
33080 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
33082         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
33083         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
33084         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
33085         and tgamma.
33086         * math/auto-libm-test-out: Regenerated.
33087         * sysdeps/i386/fpu/libm-test-ulps: Update.
33088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33090         [BZ #16520]
33091         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
33092         (__tanh): Force underflow exception for arguments with small
33093         absolute value.
33094         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
33095         (__tanhf): Force underflow exception for arguments with small
33096         absolute value.
33097         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
33098         (__tanhl): Force underflow exception for arguments with small
33099         absolute value.
33100         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
33101         (__tanhl): Force underflow exception for arguments with small
33102         absolute value.
33103         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
33104         (__tanhl): Force underflow exception for arguments with small
33105         absolute value.
33106         * math/auto-libm-test-in: Add more tests of tanh.
33107         * math/auto-libm-test-out: Regenerated.
33108         * sysdeps/i386/fpu/libm-test-ulps: Update.
33110 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33112         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
33113         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
33115 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33117         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
33118         <cpuid.h>.
33120 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33122         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
33123         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
33125 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33127         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
33128         Remove $(objpfx)init-arch.o.
33129         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
33130         init-arch.
33131         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
33132         (INIT_ARCH_EXT): Defined as empty.
33133         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
33134         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
33135         __init_cpu_features call.  Replace HAS_XXX with
33136         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33137         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
33138         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
33139         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
33140         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
33141         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33142         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
33143         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
33144         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33145         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
33146         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
33147         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33148         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
33149         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
33150         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33151         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
33152         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
33153         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33154         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33155         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
33156         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
33157         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33158         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
33159         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
33160         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33161         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
33162         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
33163         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33164         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
33165         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
33166         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33167         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
33168         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
33169         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33170         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
33171         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
33173 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33175         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
33176         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33177         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33178         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33179         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
33180         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
33181         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
33182         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
33183         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
33184         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
33185         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
33186         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
33187         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33188         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33189         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33190         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33191         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33192         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33193         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33194         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33195         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33196         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33197         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33198         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33199         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33200         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33201         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33202         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33203         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33204         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33205         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33206         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33207         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33208         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33209         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33210         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33211         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33212         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33213         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33214         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33215         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33216         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33217         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33219 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33221         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
33222         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33223         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33224         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33225         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33226         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33227         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33228         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
33229         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33230         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33231         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33232         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
33233         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
33234         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
33235         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
33236         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
33237         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
33238         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
33239         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
33240         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
33241         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
33242         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
33243         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
33244         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33245         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33246         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
33247         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
33248         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
33249         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33250         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33251         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33252         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33253         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33254         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33255         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33256         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33257         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33258         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33259         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33260         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33261         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33262         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33263         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33265 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33267         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
33268         (dl_platform_init): Call init_cpu_features.
33269         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
33270         * sysdeps/i386/i686/cacheinfo.c
33271         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
33272         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
33273         * sysdeps/i386/i686/multiarch/Versions: Removed.
33274         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
33275         Removed.
33276         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
33277         * sysdeps/unix/sysv/linux/x86/Makefile
33278         (libpthread-sysdep_routines): Remove init-arch.
33279         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
33280         <sysdeps/x86_64/dl-procinfo.c> instead of
33281         sysdeps/generic/dl-procinfo.c>.
33282         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
33283         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
33284         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
33285         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
33286         [$(subdir) == elf] (tests-static): Add
33287         tst-get-cpu-features-static.
33288         * sysdeps/x86/Versions: New file.
33289         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
33290         * sysdeps/x86/cpu-features.c: Likewise.
33291         * sysdeps/x86/cpu-features.h: Likewise.
33292         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
33293         * sysdeps/x86/libc-start.c: Likewise.
33294         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
33295         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
33296         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
33297         * sysdeps/x86_64/dl-procinfo.c: Likewise.
33298         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
33299         Assume USE_MULTIARCH is defined and don't check it.
33300         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
33301         (is_amd): Likewise.
33302         (max_cpuid): Likewise.
33303         (intel_check_word): Likewise.
33304         (__cache_sysconf): Don't call __init_cpu_features.
33305         (__x86_preferred_memory_instruction): Removed.
33306         (init_cacheinfo): Don't call __init_cpu_features. Replace
33307         __cpu_features with GLRO(dl_x86_cpu_features).
33308         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
33309         (dl_platform_init): Call init_cpu_features.
33310         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
33311         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
33312         * sysdeps/x86_64/multiarch/Versions: Removed.
33313         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
33314         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
33315         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
33316         Removed.
33317         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
33319 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33321         [BZ #18820]
33322         * libio/Makefile (test-fmemopen-mem): New test.
33323         * libio/test-fmemopen.c (do_bz18820): New test.
33324         * libio/fmemopen.c (__fmemopen): Fix memory leak.
33325         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
33327 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33329         [BZ #16734]
33330         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
33331         (FREE_BUF): Delete.
33332         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
33333         * libio/genops.c (_IO_setb): Use malloc and free directly.
33334         (_IO_default_doallocate, _IO_default_finish): Likewise.
33335         ( _IO_unbuffer_all): Likewise.
33336         ( libc_freeres_fn): Likewise.
33337         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33338         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
33339         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
33340         (_IO_wdefault_doallocate): Likewise.
33342 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
33344         [BZ #18086]
33345         * sysdeps/posix/nice.c (nice): Restore old errno.
33346         * posix/tst-nice.c (do_test): Add test for BZ #18086.
33348 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
33350         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
33352 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33354         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
33355         __bcopy and add a weak_alias to bcopy.
33356         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
33357         for static build.
33359         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
33360         cleanup macro usage.
33361         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
33362         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
33363         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
33364         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
33365         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
33366         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
33367         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
33368         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33369         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
33370         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
33371         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33372         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
33373         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33374         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
33375         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33376         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
33377         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
33378         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
33379         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33381         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
33382         libc_hidden_def.
33383         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
33385         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
33386         (sysdep_routines): Add strstr-ppc64.
33387         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
33389 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
33391         [BZ #18778]
33392         * elf/Makefile (tests): Add Add tst-nodelete2.
33393         (modules-names): Add tst-nodelete2mod.
33394         (tst-nodelete2mod.so-no-z-defs): New.
33395         ($(objpfx)tst-nodelete2): Likewise.
33396         ($(objpfx)tst-nodelete2.out): Likewise.
33397         (LDFLAGS-tst-nodelete2): Likewise.
33398         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
33399         out of loop through all loaded libraries.
33400         * elf/tst-nodelete2.c: New file.
33401         * elf/tst-nodelete2mod.c: Likewise.
33402         * elf/tst-znodelete-zlib.cc: Delete.
33404 2015-08-11  Andreas Schwab  <schwab@suse.de>
33406         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
33407         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
33408         (__openat64_nocancel): Likewise.
33410 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
33412         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
33413         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
33414         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
33415         * math/auto-libm-test-out: Regenerated.
33416         * sysdeps/i386/fpu/libm-test-ulps: Update.
33417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33419 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
33421         [BZ #18790]
33422         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
33423         threshold for returning +/- 1.
33424         * math/auto-libm-test-in: Add more tests of tanh.
33425         * math/auto-libm-test-out: Regenerated.
33426         * sysdeps/i386/fpu/libm-test-ulps: Update.
33428 2015-08-10  Andreas Schwab  <schwab@suse.de>
33430         [BZ #18781]
33431         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
33432         MORE_OFLAGS to oflag.
33433         * io/test-lfs.c (do_test): Test openat64.
33435 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
33437         [BZ #18789]
33438         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
33439         smaller threshold for returning the argument.
33440         * math/auto-libm-test-in: Add more tests of sinh.
33441         * math/auto-libm-test-out: Regenerated.
33442         * sysdeps/i386/fpu/libm-test-ulps: Update.
33444 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
33446         [BZ #18674]
33447         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
33448         break.
33450 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
33452         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
33453         (generated): Don't add $(addprefix z.,$(tzfiles)).
33455 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33457         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
33458         * scripts/sysd-rules.awk: Likewise.
33460 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33462         * iconvdata/tst-tables.sh: Change echo -n to printf.
33463         * nss/db-Makefile: Likewise.
33464         * posix/tst-getconf.sh: Likewise.
33465         * stdio-common/tst-unbputc.sh: Likewise.
33467 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33469         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
33470         MADV_*_PAGES defines behind this feature check.
33472 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
33474         [BZ #18480]
33475         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
33476         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
33477         Define.
33478         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
33479         LOAD_REGS_5, LOAD_REGS_6): Update.
33480         (INTERNAL_SYSCALL): Update using new LOAD defines.
33481         (INTERNAL_SYSCALL_NCS): Likewise.
33482         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
33484 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33486         [BZ #16734]
33487         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
33489 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33491         [BZ #17905]
33492         * catgets/Makefile (tst-catgets-mem): New test.
33493         * catgets/catgets.c (catopen): Don't use unbounded alloca.
33494         * catgets/open_catalog.c (__open_catalog): Likewise.
33495         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
33497 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
33499         [BZ #18787]
33500         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
33501         clobber registers.
33502         (atomic_compare_and_exchange_val_acq): Use register asms to assign
33503         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
33504         Cast return to __typeof (oldval).
33506 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
33508         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
33509         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
33510         and delete sys/syscall.h include.
33512 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
33514         [BZ #16517]
33515         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
33516         (tan): Force underflow exception for arguments with small absolute
33517         value.
33518         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
33519         (__kernel_tanf): Force underflow exception for arguments with
33520         small absolute value.
33521         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
33522         (__kernel_tanl): Force underflow exception for arguments with
33523         small absolute value.
33524         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
33525         (__kernel_tanl): Force underflow exception for arguments with
33526         small absolute value.
33527         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
33528         (__kernel_tanl): Force underflow exception for arguments with
33529         small absolute value.
33530         * math/auto-libm-test-in: Add more tests of tan.
33531         * math/auto-libm-test-out: Regenerated.
33533 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33535         Fix sysdeps/i386/fpu/s_scalbn.S build
33537         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
33539 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
33541         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33543 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33545         Fix gcrt0.o compilation
33547         When static-start-installed-name is different from
33548         start-installed-name, we must not use the shared objects.
33550         * csu/Makefile
33551         (extra-objs): Add gmon-start.o when building shared library and
33552         $(static-start-installed-name) is different from
33553         $(start-installed-name).
33554         $(objpfx)g$(static-start-installed-name): When building shared
33555         library and $(static-start-installed-name) is different from
33556         $(static-start-installed-name), revert to non-shared rule,
33557         i.e. using $(objpfx)% and gmon-start.o.
33559 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
33561         [BZ #16519]
33562         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
33563         (__ieee754_sinh): Force underflow exception for arguments with
33564         small absolute value.
33565         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
33566         (__ieee754_sinhf): Force underflow exception for arguments with
33567         small absolute value.
33568         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
33569         (__ieee754_sinhl): Force underflow exception for arguments with
33570         small absolute value.
33571         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
33572         (__ieee754_sinhl): Force underflow exception for arguments with
33573         small absolute value.
33574         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
33575         (__ieee754_sinhl): Force underflow exception for arguments with
33576         small absolute value.
33577         * math/auto-libm-test-in: Add more tests of sinh.
33578         * math/auto-libm-test-out: Regenerated.
33579         * sysdeps/i386/fpu/libm-test-ulps: Update.
33581 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33583         * libio/oldfileops.c: Include unistd.h.
33585 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
33587         * stdlib/isomac.c: Include ctype.h.
33589 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
33591         * dirent/tst-seekdir.c (main): Converted to ...
33592         (do_test): ... this.
33593         (TEST_FUNCTION): New macro.
33594         Include test-skeleton.c.
33595         * elf/tst-dlmodcount.c (main): Converted to ...
33596         (do_test): ... this.
33597         (TEST_FUNCTION): New macro.
33598         Include test-skeleton.c.
33599         * elf/tst-order-main.c (main): Converted to ...
33600         (do_test): ... this.
33601         (TEST_FUNCTION): New macro.
33602         Include test-skeleton.c.
33603         * elf/tst-pie2.c (main): Converted to ...
33604         (do_test): ... this.
33605         (TEST_FUNCTION): New macro.
33606         Include test-skeleton.c.
33607         * inet/tst-ether_aton.c (main): Converted to ...
33608         (do_test): ... this.
33609         (TEST_FUNCTION): New macro.
33610         Include test-skeleton.c.
33611         * misc/tst-mntent.c (main): Converted to ...
33612         (do_test): ... this.
33613         (TEST_FUNCTION): New macro.
33614         Include test-skeleton.c.
33615         * misc/tst-tsearch.c (main): Converted to ...
33616         (do_test): ... this.
33617         (TEST_FUNCTION): New macro.
33618         Include test-skeleton.c.
33619         * posix/tst-regexloc.c (main): Converted to ...
33620         (do_test): ... this.
33621         (TEST_FUNCTION): New macro.
33622         Include test-skeleton.c.
33623         * resolv/tst-aton.c (main): Converted to ...
33624         (do_test): ... this.
33625         (TEST_FUNCTION): New macro.
33626         Include test-skeleton.c.
33627         * stdio-common/test-fwrite.c (main): Converted to ...
33628         (do_test): ... this.
33629         (TEST_FUNCTION): New macro.
33630         Include test-skeleton.c.
33631         * stdio-common/tst-ferror.c (main): Converted to ...
33632         (do_test): ... this.
33633         (TEST_FUNCTION): New macro.
33634         Include test-skeleton.c.
33635         * stdio-common/tst-printf.c (main): Converted to ...
33636         (do_test): ... this.
33637         (TEST_FUNCTION): New macro.
33638         Include test-skeleton.c.
33639         * stdio-common/tst-printfsz.c (main): Converted to ...
33640         (do_test): ... this.
33641         (TEST_FUNCTION): New macro.
33642         Include test-skeleton.c.
33643         * stdlib/tst-strtod.c (main): Converted to ...
33644         (do_test): ... this.
33645         (TEST_FUNCTION): New macro.
33646         Include test-skeleton.c.
33647         * string/tst-strlen.c (main): Converted to ...
33648         (do_test): ... this.
33649         (TEST_FUNCTION): New macro.
33650         Include test-skeleton.c.
33651         * string/tst-svc.c (main): Converted to ...
33652         (do_test): ... this.
33653         (TEST_FUNCTION): New macro.
33654         Include test-skeleton.c.
33655         * time/tst-strptime.c (main): Converted to ...
33656         (do_test): ... this.
33657         (TEST_FUNCTION): New macro.
33658         Include test-skeleton.c.
33659         * timezone/tst-timezone.c (main): Converted to ...
33660         (do_test): ... this.
33661         (TEST_FUNCTION): New macro.
33662         Include test-skeleton.c.
33664 2015-08-05  Zack Weinberg  <zackw@panix.com>
33666         * misc/regexp.h: Update comments.
33668 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
33670         [BZ #18635]
33671         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
33672         before return label.
33674 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33676         [BZ #18661]
33677         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
33678         when calling __errno_location.
33679         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
33680         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
33682 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33684         [BZ #18661]
33685         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
33686         (__lll_timedwait_tid): Align stack to 16 bytes when calling
33687         __gettimeofday.
33689 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33691         [BZ #18661]
33692         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33693         (__start_context): Don't use pop to restore %rdi so that stack
33694         is aligned to 16 bytes when calling __setcontext.
33696 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33698         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
33699         only for libc.
33700         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
33702 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33704         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
33705         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
33706         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
33708 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33710         * string/memccpy.c (memccpy):
33711         Improve performance by using memchr/memcpy/__mempcpy.
33713 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33715         * string/strncpy.c (strncpy):
33716         Improve performance by using __strnlen/memcpy.
33718 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33720         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33721         Optimize to avoid an unnecessary FPCR read.
33723 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33725         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33726         Optimize to reduce FPCR/FPSR accesses.
33728 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33730         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
33731         dead->data[category] != NULL.
33733 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
33735         [BZ #18647]
33736         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
33737         and |x| close to 1, use absolute value of x when computing log.
33738         * math/auto-libm-test-in: Add more tests of pow.
33739         * math/auto-libm-test-out: Regenerated.
33741 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33743         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
33744         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
33745         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
33747 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
33749         [BZ #18525]
33750         * locales/km_KH: Remove timezone definition.
33751         * locales/lo_LA: Likewise.
33752         * locales/my_MM: Likewise.
33753         * locales/nan_TW@latin: Likewise.
33754         * locales/th_TH: Likewise.
33755         * locales/uk_UA: Likewise.
33757 2015-08-05  Daniel MarjamĂ€ki  <daniel.marjamaki@evidente.se>
33759         [BZ #18265]
33760         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
33761         (wcsncat): Likewise.
33762         (wcscmp): Likewise.
33763         (wcsncmp): Likewise.
33765 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33767         * test-skeleton.c (usage): New function.
33768         (main): Call usage when opt is '?'.
33770 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33772         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
33773         before first use.
33775 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33777         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
33778         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
33779         in there too.
33781 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
33783         * version.h (RELEASE): Set to "development".
33784         (VERSION): Set to "2.22.90"
33786         * version.h (RELEASE): Set to "stable".
33787         (VERSION): Set to "2.22"
33788         * include/features.h (__GLIBC_MINOR__): Set to 22.
33790 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
33792         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
33793         Restructure macro to avoid "value computed is not used" warning.
33794         (atomic_compare_and_exchange_val_acq): Likewise.
33796 2015-08-04  Andreas Schwab  <schwab@suse.de>
33798         [BZ #18635]
33799         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
33800         ret.
33801         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
33803 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
33805         * po/pl.po: Updated translation.
33806         * po/uk.po: Likewise.
33807         * po/fi.po: Likewise.
33808         * po/ko.po: Likewise.
33809         * po/ru.po: Likewise.
33810         * po/vi.po: Likewise.
33812 2015-07-31  Zack Weinberg  <zackw@panix.com>
33814         [BZ #18681]
33815         * regexp.h: Add unconditional #warning stating that this header
33816         will be removed soon.  Revise banner comment to match.
33817         (compile): Consistently use ERROR instead of RETURN to report
33818         errors (partial fix for BZ #18681).
33819         * regexp.c: Don't include regexp.h. Remove some unnecessary
33820         declarations.
33822 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
33824         * po/libc.pot: Regenerated.
33826 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33828         [BZ #18740]
33829         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
33830         float-vlen4-arch-ext-cflags): Removed.
33831         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
33832         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
33834 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33836         [BZ #14113]
33837         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
33838         aligned to __aligned__.
33839         (pthread_cond_t, pthread_rwlock_t): Likewise.
33841 2015-07-30  Torvald Riegel  <triegel@redhat.com>
33843         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
33845 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33847         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
33848         (struct sigaction): Change sa_flags from a long to an int, and add
33849         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
33851 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33853         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
33854         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
33855         sysdeps/generic/sysdep.h include.
33856         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
33857         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
33858         sysdeps/hppa/sysdep.h.
33859         (ENTRY, PSEUDO): Undefine before defining.
33861 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33863         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
33864         from scratch to use INTERNAL_SYSCALL.
33866 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
33868         [BZ #18078]
33869         * scripts/check-localplt.awk: Support alternate relocations.
33870         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
33871         sections.
33872         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
33873         malloc entries with + REL R_386_GLOB_DAT.
33874         * sysdeps/x86_64/localplt.data: New file.
33876 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
33878         [BZ #18731]
33879         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
33880         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33881         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33883 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33885         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
33887 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33889         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
33890         directly in terms of __sync_fetch_and_add and delete (int) cast.
33892 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33894         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
33895         the -D_ASM_IA64_CURRENT_H flag.
33897 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33899         [BZ #18641]
33900         * pwd/pwd.h (putpwent): Delete __nonnull markings.
33902 2015-07-27  Andreas Schwab  <schwab@suse.de>
33904         * conform/conformtest.pl (checknamespace): Filter out string
33905         literals while tokenizing.
33907 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
33909         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33910         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
33911         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33913 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
33915         * nptl/tst-join7mod.c: Add #include <string.h>.
33917 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
33919         * sysdeps/nios2/libm-test-ulps: Update.
33921 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
33923         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
33924         Fix order of arguments to the rt_sigprocmask syscall.
33925         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
33926         Likewise.
33928 2015-07-24  Roland McGrath  <roland@hack.frob.com>
33930         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
33932 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33934         [BZ #18457]
33935         * nptl/Makefile (tests): New test case tst-join7.
33936         (modules-names): New test case module tst-join7mod.
33937         * nptl/tst-join7.c: New file.
33938         * nptl/tst-join7mod.c: New file.
33939         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
33940         all translation units in libc.so, libpthread.so and rtld.
33942 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33946 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
33948         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
33949         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33950         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33951         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33952         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33953         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33954         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33955         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33956         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33957         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33958         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33959         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33960         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
33961         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33962         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
33963         implementation.
33965 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33967         [BZ #17711]
33968         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33969         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
33970         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33971         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33972         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
33973         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33975 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33977         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
33978         instead of just saying load lock in the comments.
33980 2015-07-23  Roland McGrath  <roland@hack.frob.com>
33982         * sysdeps/unix/Subdirs: Moved ...
33983         * sysdeps/posix/Subdirs: ... here.
33984         * login/pty.h (struct termios, struct winsize): Add forward decls.
33985         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
33986         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
33987         * sysdeps/arm/nacl/libc.abilist: Updated.
33988         * sysdeps/nacl/libutil.abilist: New file.
33990         * bits/signum.h: Update comments to mention 1003.1-2013 too.
33991         (SIGWINCH): New macro.
33993         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
33994         * sysdeps/arm/nacl/libc.abilist: Add it.
33996 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
33998         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
34000 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
34002         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
34003         Swap __glibc_reserved0 and sa_flags order.
34005 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34007         [BZ #18657]
34008         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
34009         are pending TLS destructor calls.
34010         * include/link.h (struct link_map): Add concurrency note for
34011         L_TLS_DTOR_COUNT.
34012         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
34013         Don't touch the link map flag.  Atomically increment
34014         l_tls_dtor_count.
34015         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
34016         Avoid taking the load lock and don't touch the link map flag.
34017         * stdlib/tst-tls-atexit-nodelete.c: New test case.
34018         * stdlib/Makefile (tests): Use it.
34019         * stdlib/tst-tls-atexit.c (do_test): dlopen
34020         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
34021         to allow tst-tls-atexit-nodelete test case to use it.
34023 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
34025         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
34026         to bits/types.h.
34027         (msgqnum_t): New typedef.
34028         (msglen_t): Likewise.
34029         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
34030         and msg_qbytes type to msglen_t.
34032 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
34034         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
34035         pad0 to __glibc_reserved0.
34036         (struct stat64): Likewise.
34038 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
34040         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
34041         Change sa_flags from a long to an int and add __glibc_reserved0 before
34042         it for padding.
34044 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
34046         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
34047         anonymous by deleting "siginfo" name.
34049 2015-07-21  Roland McGrath  <roland@hack.frob.com>
34051         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
34052         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
34053         rather than __nacl_irt_filename.
34054         * sysdeps/nacl/xstat.c (__xstat): Likewise.
34056         * NEWS: New item for arm-nacl port.
34057         * sysdeps/arm/nacl/libc.abilist: New file.
34058         * sysdeps/nacl/ld.abilist: New file.
34059         * sysdeps/nacl/libBrokenLocale.abilist: New file.
34060         * sysdeps/nacl/libanl.abilist: New file.
34061         * sysdeps/nacl/libcrypt.abilist: New file.
34062         * sysdeps/nacl/libdl.abilist: New file.
34063         * sysdeps/nacl/libm.abilist: New file.
34064         * sysdeps/nacl/libpthread.abilist: New file.
34065         * sysdeps/nacl/libresolv.abilist: New file.
34066         * sysdeps/nacl/librt.abilist: New file.
34068 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
34070         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
34071         __startcontext to initialize the new context.
34072         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
34073         up CFI directive to forbid further backtracing.
34075 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
34077         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
34078         reference.
34079         * charmaps/ANSI_X3.4-1968: Likewise.
34080         * charmaps/BS_4730: Likewise.
34081         * charmaps/BS_VIEWDATA: Likewise.
34082         * charmaps/CP1250: Likewise.
34083         * charmaps/CP1251: Likewise.
34084         * charmaps/CP1252: Likewise.
34085         * charmaps/CP1253: Likewise.
34086         * charmaps/CP1254: Likewise.
34087         * charmaps/CP1255: Likewise.
34088         * charmaps/CP1256: Likewise.
34089         * charmaps/CSN_369103: Likewise.
34090         * charmaps/EBCDIC-DK-NO: Likewise.
34091         * charmaps/GB_1988-80: Likewise.
34092         * charmaps/GREEK-CCITT: Likewise.
34093         * charmaps/GREEK7: Likewise.
34094         * charmaps/INIS-8: Likewise.
34095         * charmaps/ISIRI-3342: Likewise.
34096         * charmaps/ISO_2033-1983: Likewise.
34097         * charmaps/ISO_5427-EXT: Likewise.
34098         * locales/POSIX: Likewise.
34099         * locales/ar_SA: Likewise.
34100         * locales/be_BY: Likewise.
34101         * locales/be_BY@latin: Likewise.
34102         * locales/ca_ES: Likewise.
34103         * locales/cs_CZ: Likewise.
34104         * locales/da_DK: Likewise.
34105         * locales/de_BE: Likewise.
34106         * locales/de_CH: Likewise.
34107         * locales/de_LU: Likewise.
34108         * locales/en_AU: Likewise.
34109         * locales/en_BW: Likewise.
34110         * locales/en_CA: Likewise.
34111         * locales/en_DK: Likewise.
34112         * locales/en_GB: Likewise.
34113         * locales/en_IE: Likewise.
34114         * locales/en_NZ: Likewise.
34115         * locales/en_ZA: Likewise.
34116         * locales/en_ZW: Likewise.
34117         * locales/es_AR: Likewise.
34118         * locales/es_BO: Likewise.
34119         * locales/es_CL: Likewise.
34120         * locales/es_CO: Likewise.
34121         * locales/es_DO: Likewise.
34122         * locales/es_EC: Likewise.
34123         * locales/es_ES: Likewise.
34124         * locales/es_HN: Likewise.
34125         * locales/es_MX: Likewise.
34126         * locales/es_PA: Likewise.
34127         * locales/es_PE: Likewise.
34128         * locales/es_PY: Likewise.
34129         * locales/es_SV: Likewise.
34130         * locales/es_US: Likewise.
34131         * locales/es_UY: Likewise.
34132         * locales/es_VE: Likewise.
34133         * locales/et_EE: Likewise.
34134         * locales/fa_IR: Likewise.
34135         * locales/fo_FO: Likewise.
34136         * locales/fr_CA: Likewise.
34137         * locales/fr_CH: Likewise.
34138         * locales/gv_GB: Likewise.
34139         * locales/he_IL: Likewise.
34140         * locales/hr_HR: Likewise.
34141         * locales/id_ID: Likewise.
34142         * locales/is_IS: Likewise.
34143         * locales/it_CH: Likewise.
34144         * locales/iw_IL: Likewise.
34145         * locales/kl_GL: Likewise.
34146         * locales/ko_KR: Likewise.
34147         * locales/kw_GB: Likewise.
34148         * locales/lg_UG: Likewise.
34149         * locales/lt_LT: Likewise.
34150         * locales/lv_LV: Likewise.
34151         * locales/mi_NZ: Likewise.
34152         * locales/nhn_MX: Likewise.
34153         * locales/nl_BE: Likewise.
34154         * locales/pl_PL: Likewise.
34155         * locales/sk_SK: Likewise.
34156         * locales/sl_SI: Likewise.
34157         * locales/sv_FI: Likewise.
34158         * locales/tl_PH: Likewise.
34159         * locales/tr_TR: Likewise.
34160         * locales/vi_VN: Likewise.
34162 2015-07-21  Khem Raj  <raj.khem@gmail.com>
34164         [BZ #17475]
34165         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
34166         of tu_IN and bh_IN.
34168 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
34170         [BZ #18694]
34171         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
34172         bits/wordsize.h.
34173         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
34175 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34177         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
34178         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
34179         (spawn_thread): New function.
34180         (load): Rename to reg_dtor_and_close.  Move dlopen to...
34181         (do_test): ... here.  Use IS_LOADED to test for its
34182         availability.
34184 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
34186         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34188 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
34190         [BZ #18696]
34191         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
34192         si_addr_bnd.
34193         (si_lower): New.
34194         (si_upper): Likewise.
34196 2015-07-16  David S. Miller  <davem@davemloft.net>
34198         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
34200 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34202         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
34203         buffer.
34204         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
34205         fail output information.
34207 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34209         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
34210         and strstr-ppc64..
34211         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34212         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
34213         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
34214         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
34215         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
34217 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
34219         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34220         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34221         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34222         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34224 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
34226         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
34227         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
34228         rtld_hidden_proto.
34229         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
34231 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34233         * tst-nodelete-opened.c (do_test): Add comment to clarify how
34234         the test can fail.
34236         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
34238         [BZ #18676]
34239         * elf/tst-nodelete-opened.c: New test case.
34240         * elf/tst-nodelete-opened-lib.c: New test case module.
34241         * elf/Makefile (tests, modules-names): Use them.
34242         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
34243         early.
34245 2015-07-15  David S. Miller  <davem@davemloft.net>
34247         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
34248         futex-intenal.h
34249         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
34250         * sysdeps/sparc/sparc64/Makefile: Likewise.
34251         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34252         Remove space from macro define.
34253         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
34255 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
34257         [BZ #17475]
34258         * locale/iso-639.def: Update Bhili and Tulu language codes as
34259         per iso639-3.
34261 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
34263         * elf/tst-leaks1.c (main): Converted to ...
34264         (do_test): ... this.
34265         (TEST_FUNCTION): New macro.
34266         Include test-skeleton.c.
34267         * localedata/tst-langinfo.c (main): Converted to ...
34268         (do_test): ... this.
34269         (TEST_FUNCTION): New macro.
34270         Include test-skeleton.c.
34271         * math/test-fpucw.c (main): Converted to ...
34272         (do_test): ... this.
34273         (TEST_FUNCTION): New macro.
34274         Include test-skeleton.c.
34275         * math/test-tgmath.c (main): Converted to ...
34276         (do_test): ... this.
34277         (TEST_FUNCTION): New macro.
34278         Include test-skeleton.c.
34279         * math/test-tgmath2.c (main): Converted to ...
34280         (do_test): ... this.
34281         (TEST_FUNCTION): New macro.
34282         Include test-skeleton.c.
34283         * setjmp/tst-setjmp.c (main): Converted to ...
34284         (do_test): ... this.
34285         (TEST_FUNCTION): New macro.
34286         Include test-skeleton.c.
34287         * stdio-common/tst-sscanf.c (main): Converted to ...
34288         (do_test): ... this.
34289         (TEST_FUNCTION): New macro.
34290         Include test-skeleton.c.
34291         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
34292         (do_test): ... this.
34293         (TEST_FUNCTION): New macro.
34294         Include test-skeleton.c.
34296         * elf/tst-audit9.c (main): Converted to ...
34297         (do_test): ... this.
34298         (TEST_FUNCTION): New macro.
34299         Include test-skeleton.c.
34301 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
34303         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
34305 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
34307         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
34308         New variable.
34310 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
34312         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34314 2015-07-14  Roland McGrath  <roland@hack.frob.com>
34316         * sysdeps/generic/dl-fileid.h: New file.
34317         * sysdeps/posix/dl-fileid.h: New file.
34318         * sysdeps/nacl/dl-fileid.h: New file.
34319         * include/link.h: Include <dl-fileid.h>.
34320         (struct link_map): Replace l_dev and l_ino with l_file_id.
34321         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
34322         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
34323         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
34325 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34327         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
34329 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34331         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
34332         Add iff $CXX is set.
34333         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
34334         Likewise.
34335         (tst-nodelete-zmodiff): Likewise.
34336         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
34338 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34340         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
34342 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
34344         * sysdeps/aarch64/fpu/math_private.h
34345         (define math_opt_barrier): Add AArch64 version.
34346         (math_force_eval): Likewise.
34348 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
34350         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
34352 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
34354         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
34355         %ld with %jd and cast to intmax_t.
34356         (do_test_length_zero): Likewise.
34358 2015-07-10  Roland McGrath  <roland@hack.frob.com>
34360         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
34362 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
34364         * sysdeps/tile/libm-test-ulps: Regenerated.
34366         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
34367         Comment out the whole function, not just its body.
34369 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34371         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
34372         locks.
34374         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
34376 2015-07-10  Torvald Riegel  <triegel@redhat.com>
34378         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
34379         (sem_assume_only_signals_cause_futex_EINTR): Remove.
34381 2015-07-10  Torvald Riegel  <triegel@redhat.com>
34383         * sysdeps/nptl/futex-internal.h: New file.
34384         * sysdeps/nacl/futex-internal.h: New file.
34385         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
34386         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
34387         error checking.
34388         (setxid_unmark_thread): Likewise.
34389         (__nptl_setxid): Likewise.
34390         (__wait_lookup_done): Likewise.
34391         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34392         * nptl/nptl-init.c (sighandler_setxid): Likewise.
34393         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
34394         * nptl/pthread_once.c (clear_once_control): Likewise.
34395         (__pthread_once_slow): Likewise.
34396         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
34397         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
34398         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
34399         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
34400         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
34401         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
34402         Likewise.
34403         (__pthread_rwlock_rdlock): Likewise.
34404         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34405         Likewise.
34406         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34407         Likewise.
34408         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34409         Likewise.
34410         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
34411         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
34412         Likewise.
34413         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
34414         __ASSUME_PRIVATE_FUTEX check.
34415         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
34416         Check that shared futexes are supported.
34417         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
34418         wrappers with error checking.
34419         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
34420         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
34421         * nptl/pthread_barrierattr_setpshared.c
34422         (pthread_barrierattr_setpshared): Check that shared futexes are
34423         supported.
34424         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
34425         Likewise.
34426         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
34427         Likewise.
34428         * nptl/sem_init.c (futex_private_if_supported): Remove.
34429         (__new_sem_init): Adapt and check that shared futexes are supported.
34430         * nptl/sem_open.c (sem_open): Likewise.
34431         * nptl/sem_post.c (futex_wake): Remove.
34432         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
34433         (do_futex_wait): Use futex wrappers with error checking.
34434         * nptl/sem_wait.c: Include lowlevellock.h.
34435         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
34436         Use futex_supports_pshared.
34437         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
34438         Use futex wrappers with error checking.
34439         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
34440         Likewise.
34441         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
34442         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
34443         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
34444         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
34445         (futex_wake): Likewise.
34446         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
34447         (do_futex_wait): Use futex wrappers with error checking.
34448         (__new_sem_wait_slow): Update EINTR handling.
34449         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
34451 2015-07-09  Martin Sebor  <msebor@redhat.com>
34453         [BZ #18435]
34454         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34455         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
34456         * nptl/Makefile (test-xfail-tst-once5): Define.
34458 2015-07-09  Roland McGrath  <roland@hack.frob.com>
34460         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
34461         * elf/dl-minimal.c: For readability, reorder some definitions and
34462         introduce more page breaks.  Include <stdio.h>.
34463         (__libc_fatal): New function.
34465         * include/unistd.h: Add rtld_hidden_proto for _exit.
34466         * posix/_exit.c: Add rtld_hidden_def.
34467         * sysdeps/mach/hurd/_exit.c: Likewise.
34468         * sysdeps/nacl/_exit.c: Likewise.
34469         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
34470         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
34472 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
34474         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
34475         bndmov encoding with zero displacement.
34477 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
34478             H.J. Lu  <hongjiu.lu@intel.com>
34480         [BZ #18134]
34481         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
34482         * sysdeps/i386/configure: Regenerated.
34483         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34484         (_dl_runtime_profile): Save and restore Intel MPX return bound
34485         registers when calling _dl_call_pltexit.  Add
34486         PRESERVE_BND_REGS_PREFIX before return.
34487         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
34488         (LRV_BND1_OFFSET): Likewise.
34489         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
34490         lrv_bnd1.
34491         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
34492         typo in bndmov encoding.
34493         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
34494         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
34495         branch instructions to preserve bounds.
34497 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
34500         [GLIBC_2.22]: Add fmemopen.
34502 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34504         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
34505         returns an error, also try to use host port from __mach_host_self for
34506         the __vm_wire call.
34507         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
34509 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34511         [BZ #18400]
34512         [BZ #18648]
34513         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
34514         Fix pr_uid and pr_gid members.
34515         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
34516         definition to elf_greg_t.
34518 2015-07-08  Roland McGrath  <roland@hack.frob.com>
34520         [BZ #18383]
34521         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
34522         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
34523         * sysdeps/arm/configure: Regenerated.
34524         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
34525         (test-xfail-tst-tlsalign-static): Variable removed.
34527         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
34528         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
34529         rather than explicit 'ln -s'.
34531         * resolv/rpc/netdb.h: New file.
34532         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
34534 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34536         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
34537         length buffers.
34538         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34539         test-skeleton.c.
34541         [BZ #6544]
34542         [BZ #11216]
34543         [BZ #12836]
34544         [BZ #13151]
34545         [BZ #13152]
34546         [BZ #14292]
34547         * include/stdio.h (fmemopen): Remove hidden prototype.
34548         (__fmemopen): Add new hidden prototype.
34549         * libio/Makefile: Add oldfmemopen object.
34550         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
34551         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
34552         compliance.
34553         * libio/oldfmemopen.c: New file: old fmemopen implementation for
34554         symbol compatibility.
34555         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
34556         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
34557         fmemopen.
34558         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
34559         on append and read mode.
34560         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
34561         fmemopen.
34562         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
34563         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
34564         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
34565         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
34566         Likewise.
34567         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
34568         [GLIBC_2.22]: Likewise.
34569         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
34570         Likewise.
34571         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
34572         Likewise.
34573         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
34574         [GLIBC_2.22]: Likewise.
34575         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
34576         [GLIBC_2.22]: Likewise.
34577         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
34578         [GLIBC_2.22]: Likewise.
34579         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
34580         [GLIBC_2.22]: Likewise.
34581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
34582         [GLIBC_2.22]: Likewise.
34583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
34584         [GLIBC_2.22]: Likewise.
34585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
34586         [GLIBC_2.22]: Likewise.
34587         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
34588         Likewise.
34589         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
34590         Likewise.
34591         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
34592         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
34593         [GLIBC_2.22]: Likewise.
34594         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
34595         [GLIBC_2.22]: Likewise.
34596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
34597         [GLIBC_2.22]: Likewise.
34598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
34599         [GLIBC_2.22]: Likewise.
34600         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
34601         Likewise.
34602         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
34603         Likewise.
34604         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
34605         Likewise.
34606         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
34607         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
34609 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
34611         [BZ #18643]
34612         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
34613         IPV6_PATHMTU, and IPV6_DONTFRAG.
34615 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
34617         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
34618         and _IO_UNBUFFERED.
34619         * libio/oldfileops.c: Likewise.
34620         * libio/wfileops.c: Likewise.
34622 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
34624         * nscd/selinux.c: Delete selinux/flask.h include.
34626 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
34628         [BZ #18641]
34629         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
34630         (putpwent): Likewise.
34631         (getpwnam): Likewise.
34632         (getpwent_r): Likewise.
34633         (getpwuid_r): Likewise.
34634         (getpwnam_r): Likewise.
34635         (fgetpwent_r): Likewise.
34637 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
34639         [BZ #18557]
34640         * inet/rcmd.c (__validuser2_sa): Check user first to
34641         short-circuit host check.
34643 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
34644             Mikhail Ilin  <m.ilin@samsung.com>
34646         [BZ #17833]
34647         * elf/Makefile (tests): Add tst-nodelete.
34648         (modules-names): Add tst-nodelete-uniquemod.
34649         (tst-nodelete-uniquemod.so-no-z-defs): New.
34650         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
34651         (tst-nodelete-zmod.so-no-z-defs): Likewise.
34652         ($(objpfx)tst-nodelete): Likewise.
34653         ($(objpfx)tst-nodelete.out): Likewise.
34654         (LDFLAGS-tst-nodelete): Likewise.
34655         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
34656         * elf/dl-close.c (_dl_close_worker): Add a parameter to
34657         implement forced object deletion.
34658         (_dl_close): Pass false to _dl_close_worker.
34659         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
34660         * elf/tst-nodelete.cc: New file.
34661         * elf/tst-nodeletelib.cc: Likewise.
34662         * elf/tst-znodeletelib.cc: Likewise.
34663         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
34665 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34667         [BZ #18508]
34668         * stdlib/Makefile ($(objpfx)tst-makecontext3):
34669         Depend on $(libdl).
34670         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
34671         is not called infinitely times.
34672         (backtrace_helper): New function.
34673         (trace_arg): New struct.
34674         (st1): Enlarge stack size.
34675         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34676         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
34677         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34678         Likewise.
34680 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34682         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34684 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34686         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
34687         Include sys/types.h instead of bits/types.h.
34688         Remove inclusion of bits/wordsize.h.
34690 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34692         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
34693         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
34694         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
34695         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
34696         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
34697         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
34699 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34701         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
34702         link-defines.sym.
34703         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
34704         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
34705         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
34706         and LR_SIZE.
34707         * sysdeps/i386/link-defines.sym: New file.
34709 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34711         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
34712         (modules-names): Add tst-auditmod3a tst-auditmod3b.
34713         ($(objpfx)tst-audit3): New rule.
34714         ($(objpfx)tst-audit3.out): Likewise.
34715         * sysdeps/i386/tst-audit3.c: New file.
34716         * sysdeps/i386/tst-audit3.h: Likewise.
34717         * sysdeps/i386/tst-auditmod3a.c: Likewise.
34718         * sysdeps/i386/tst-auditmod3b.c: Likewise.
34720 2015-07-07  Torvald Riegel  <triegel@redhat.com>
34722         [BZ #18633]
34723         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
34724         pointer in C code.
34725         (__strcat_c): Likewise.
34726         (__strcat_g): Likewise.
34728 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
34730         [BZ #18592]
34731         * misc/sbrk.c: Set errno to ENOMEM on overflow.
34733 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
34735         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
34736         New function.  (__ieee754_sqrtf): New function.
34737         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
34738         New function.
34739         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
34740         New function.
34742 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
34744         * sysdeps/ieee754/support.c: Remove unused file.
34746 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34748         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
34749         registers instead of d ones so the layout is kernel abi compatible.
34750         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
34751         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
34752         Likewise.
34754 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34756         * sysdeps/aarch64/libm-test-ulps: Regenerated.
34758 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
34760         [BZ #18619]
34761         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
34762         and return argument in case of subnormal argument.
34764 2015-07-01  Martin Sebor  <msebor@redhat.com>
34766         [BZ #18435]
34767         * nptl/Makefile: Add tst-once5.cc.
34768         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34769         Remove macro redefinitions.
34770         * nptl/tst-once5.cc: New test.
34772 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
34774         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34776         * sysdeps/arm/libm-test-ulps: Regenerated.
34778         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34779         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34781 2015-06-30  Torvald Riegel  <triegel@redhat.com>
34783         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
34784         lll_lock_wait_private and lll_futex_wake probes.
34786         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34787         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
34788         Likewise.
34789         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
34790         atomic_spin_nop.
34791         * sysdeps/x86_64/bits/atomic.h: Likewise.
34792         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
34793         to atomic_spin_nop and move ...
34794         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34795         ... here and ...
34796         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
34797         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
34798         atomic_spin_nop instead of BUSY_WAIT_NOP.
34799         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
34800         Likewise.
34801         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
34802         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34803         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
34804         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
34805         instead of atomic_delay.
34807 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
34809         [BZ #18613]
34810         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
34811         X_ADJ not X when adjusting exponent.
34812         (__ieee754_gamma_r): Do intermediate computations in
34813         round-to-nearest then adjust overflowing and underflowing results
34814         as needed.
34815         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
34816         of X_ADJ not X when adjusting exponent.
34817         (__ieee754_gammaf_r): Do intermediate computations in
34818         round-to-nearest then adjust overflowing and underflowing results
34819         as needed.
34820         * sysdeps/ieee754/ldbl-128/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-128ibm/e_gammal_r.c (gammal_positive): Take
34826         log 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         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
34831         of X_ADJ not X when adjusting exponent.
34832         (__ieee754_gammal_r): Do intermediate computations in
34833         round-to-nearest then adjust overflowing and underflowing results
34834         as needed.  Use 1.0L not 1.0f as numerator of division.
34835         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
34836         to auto-libm-test-in.
34837         (tgamma_test): Use ALL_RM_TEST.
34838         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
34839         tests of tgamma with spurious-overflow.
34840         * math/auto-libm-test-out: Regenerated.
34841         * math/gen-libm-have-vector-test.sh: Do not check for START.
34842         * sysdeps/i386/fpu/libm-test-ulps: Update.
34843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34845         [BZ #18612]
34846         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
34847         arguments, just return 0.5 times the argument, with underflow
34848         forced as needed.
34849         * math/auto-libm-test-in: Add more tests of j1.
34850         * math/auto-libm-test-out: Regenerated.
34852         [BZ #16559]
34853         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
34854         (__ieee754_j1): Force underflow exception for small results.
34855         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34856         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
34857         (__ieee754_j1f): Force underflow exception for small results.
34858         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34859         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34860         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34861         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
34862         (__ieee754_j1l): Force underflow exception for small results.
34863         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34864         * math/auto-libm-test-in: Add more tests of j1 and jn.
34865         * math/auto-libm-test-out: Regenerated.
34867         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
34868         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
34869         (PF_MPLS): Likewise.
34870         (AF_IB): Likewise.
34871         (AF_MPLS): Likewise.
34872         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
34873         value and macro.
34874         (MS_RMT_MASK): Include MS_LAZYTIME.
34876 2015-06-26  Mel Gorman  <mgorman@suse.de>
34878         [BZ #18502]
34879         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
34880         already minimal.
34882 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
34884         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
34885         (DT_MIPS_NUM): Update.
34886         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
34887         DT_MIPS_RLD_MAP_REL.
34889 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
34891         [BZ #16559]
34892         [BZ #18602]
34893         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
34894         round-to-nearest internally then recompute results that
34895         underflowed to zero in the original rounding mode.
34896         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34897         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34898         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34899         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34900         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
34901         * sysdeps/i386/fpu/libm-test-ulps: Update.
34902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34904 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
34906         * NEWS: Fixed description of link with vector math library.
34908 2015-06-25  Andreas Schwab  <schwab@suse.de>
34910         [BZ #18549]
34911         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
34912         * libio/test-fmemopen.c (do_test): Add test for it.
34914 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
34916         [BZ #17841]
34917         * Makeconfig (no-pie-ldflag): New.
34918         (+link): Set to $(+link-pie) if default to PIE.
34919         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
34920         * config.make.in (build-pie-default): New.
34921         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
34922         is default.  AC_SUBST.
34923         * configure: Regenerated.
34924         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
34926 2015-06-24  Roland McGrath  <roland@hack.frob.com>
34928         * nptl/descr.h (struct pthread): Change type of field setxid_futex
34929         to 'unsigned int'.
34931         * resolv/gai_misc.h (struct waitlist): Change type of field
34932         counterp to 'volatile unsigned int *'.
34933         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
34934         FUTEXADDR and OLDVAL.
34935         * resolv/getaddrinfo_a.c (getaddrinfo_a):
34936         Give local variable TOTAL type 'volatile unsigned int'.
34937         (struct async_waitlist): Change type of field counter to 'unsigned int'.
34938         * resolv/gai_suspend.c (gai_suspend):
34939         Give local variable CNTR type 'unsigned int'.
34941         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
34942         counterp to 'volatile unsigned int *'.
34943         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
34944         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
34945         (aio_suspend): Give local variable CNTR type 'unsigned int'.
34946         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
34947         Give local variable TOTAL type 'volatile unsigned int'.
34948         (struct async_waitlist): Change type of field counter to 'unsigned int'.
34950 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34952         [BZ #18383]
34953         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
34954         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
34955         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
34956         comment for i386/x86-64.
34957         (test-xfail-tst-tlsalign-extern-static): Removed.
34959 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
34961         * math/test-double.h: New file.
34962         * math/test-float.h: Likewise.
34963         * math/test-ldouble.h: Likewise.
34964         * math/test-math-inline.h: Likewise.
34965         * math/test-math-no-inline.h: Likewise.
34966         * math/test-math-scalar.h: Likewise.
34967         * math/test-math-vector.h: Likewise.
34968         * math/test-vec-loop.h: Remove file.  Contents moved into
34969         test-math-vector.h.
34970         * math/libm-test.inc (MATHCONST): Do not document macro.
34971         * math/test-double.c: Include test-double.h, test-math-no-inline.h
34972         and test-math-scalar.h.
34973         (FUNC): Remove macro.
34974         (FUNC_TEST): Likewise.
34975         (FLOAT): Likewise.
34976         (MATHCONST): Likewise.
34977         (PRINTF_EXPR): Likewise.
34978         (PRINTF_XEXPR): Likewise.
34979         (PRINTF_NEXPR): Likewise.
34980         (TEST_DOUBLE): Likewise.
34981         (TEST_MATHVEC): Likewise.
34982         (__NO_MATH_INLINES): Likewise.
34983         * math/test-float.c: Include test-float.h, test-math-no-inline.h
34984         and test-math-scalar.h.
34985         (FUNC): Remove macro.
34986         (FUNC_TEST): Likewise.
34987         (FLOAT): Likewise.
34988         (MATHCONST): Likewise.
34989         (PRINTF_EXPR): Likewise.
34990         (PRINTF_XEXPR): Likewise.
34991         (PRINTF_NEXPR): Likewise.
34992         (TEST_FLOAT): Likewise.
34993         (TEST_MATHVEC): Likewise.
34994         (__NO_MATH_INLINES): Likewise.
34995         * math/test-idouble.c: Include test-double.h, test-math-inline.h
34996         and test-math-scalar.h.
34997         (FUNC): Remove macro.
34998         (FUNC_TEST): Likewise.
34999         (FLOAT): Likewise.
35000         (MATHCONST): Likewise.
35001         (PRINTF_EXPR): Likewise.
35002         (PRINTF_XEXPR): Likewise.
35003         (PRINTF_NEXPR): Likewise.
35004         (TEST_DOUBLE): Likewise.
35005         (TEST_MATHVEC): Likewise.
35006         (TEST_INLINE): Likewise.
35007         (__NO_MATH_INLINES): Likewise.
35008         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
35009         test-math-scalar.h.
35010         (FUNC): Remove macro.
35011         (FUNC_TEST): Likewise.
35012         (FLOAT): Likewise.
35013         (MATHCONST): Likewise.
35014         (PRINTF_EXPR): Likewise.
35015         (PRINTF_XEXPR): Likewise.
35016         (PRINTF_NEXPR): Likewise.
35017         (TEST_FLOAT): Likewise.
35018         (TEST_MATHVEC): Likewise.
35019         (TEST_INLINE): Likewise.
35020         (__NO_MATH_INLINES): Likewise.
35021         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
35022         and test-math-scalar.h.
35023         (FUNC): Remove macro.
35024         (FUNC_TEST): Likewise.
35025         (FLOAT): Likewise.
35026         (MATHCONST): Likewise.
35027         (PRINTF_EXPR): Likewise.
35028         (PRINTF_XEXPR): Likewise.
35029         (PRINTF_NEXPR): Likewise.
35030         (TEST_LDOUBLE): Likewise.
35031         (TEST_MATHVEC): Likewise.
35032         (TEST_INLINE): Likewise.
35033         (__NO_MATH_INLINES): Likewise.
35034         * math/test-ldouble.c: Include test-ldouble.h,
35035         test-math-no-inline.h and test-math-scalar.h.
35036         (FUNC): Remove macro.
35037         (FUNC_TEST): Likewise.
35038         (FLOAT): Likewise.
35039         (MATHCONST): Likewise.
35040         (PRINTF_EXPR): Likewise.
35041         (PRINTF_XEXPR): Likewise.
35042         (PRINTF_NEXPR): Likewise.
35043         (TEST_LDOUBLE): Likewise.
35044         (TEST_MATHVEC): Likewise.
35045         (__NO_MATH_INLINES): Likewise.
35046         * math/test-double-vlen2.h: Include test-double.h,
35047         test-math-no-inline.h and test-math-vector.h.
35048         (FLOAT): Remove macro.
35049         (FUNC): Likewise.
35050         (MATHCONST): Likewise.
35051         (PRINTF_EXPR): Likewise.
35052         (PRINTF_XEXPR): Likewise.
35053         (PRINTF_NEXPR): Likewise.
35054         (TEST_DOUBLE): Likewise.
35055         (TEST_MATHVEC): Likewise.
35056         (__NO_MATH_INLINES): Likewise.
35057         (CNCT): Likewise.
35058         (CONCAT): Likewise.
35059         (WRAPPER_NAME): Likewise.
35060         (WRAPPER_DECL): Likewise.
35061         (WRAPPER_DECL_ff): Likewise.
35062         (WRAPPER_DECL_fFF): Likewise.
35063         (VECTOR_WRAPPER): Likewise.
35064         (VECTOR_WRAPPER_ff): Likewise.
35065         (VECTOR_WRAPPER_fFF): Likewise.
35066         (VEC_LEN): New macro.
35067         * math/test-double-vlen4.h: Include test-double.h,
35068         test-math-no-inline.h and test-math-vector.h.
35069         (FLOAT): Remove macro.
35070         (FUNC): Likewise.
35071         (MATHCONST): Likewise.
35072         (PRINTF_EXPR): Likewise.
35073         (PRINTF_XEXPR): Likewise.
35074         (PRINTF_NEXPR): Likewise.
35075         (TEST_DOUBLE): Likewise.
35076         (TEST_MATHVEC): Likewise.
35077         (__NO_MATH_INLINES): Likewise.
35078         (CNCT): Likewise.
35079         (CONCAT): Likewise.
35080         (WRAPPER_NAME): Likewise.
35081         (WRAPPER_DECL): Likewise.
35082         (WRAPPER_DECL_ff): Likewise.
35083         (WRAPPER_DECL_fFF): Likewise.
35084         (VECTOR_WRAPPER): Likewise.
35085         (VECTOR_WRAPPER_ff): Likewise.
35086         (VECTOR_WRAPPER_fFF): Likewise.
35087         (VEC_LEN): New macro.
35088         * math/test-double-vlen8.h: Include test-double.h,
35089         test-math-no-inline.h and test-math-vector.h.
35090         (FLOAT): Remove macro.
35091         (FUNC): Likewise.
35092         (MATHCONST): Likewise.
35093         (PRINTF_EXPR): Likewise.
35094         (PRINTF_XEXPR): Likewise.
35095         (PRINTF_NEXPR): Likewise.
35096         (TEST_DOUBLE): Likewise.
35097         (TEST_MATHVEC): Likewise.
35098         (__NO_MATH_INLINES): Likewise.
35099         (CNCT): Likewise.
35100         (CONCAT): Likewise.
35101         (WRAPPER_NAME): Likewise.
35102         (WRAPPER_DECL): Likewise.
35103         (WRAPPER_DECL_ff): Likewise.
35104         (WRAPPER_DECL_fFF): Likewise.
35105         (VECTOR_WRAPPER): Likewise.
35106         (VECTOR_WRAPPER_ff): Likewise.
35107         (VECTOR_WRAPPER_fFF): Likewise.
35108         (VEC_LEN): New macro.
35109         * math/test-float-vlen4.h: Include test-float.h,
35110         test-math-no-inline.h and test-math-vector.h.
35111         (FLOAT): Remove macro.
35112         (FUNC): Likewise.
35113         (MATHCONST): Likewise.
35114         (PRINTF_EXPR): Likewise.
35115         (PRINTF_XEXPR): Likewise.
35116         (PRINTF_NEXPR): Likewise.
35117         (TEST_FLOAT): Likewise.
35118         (TEST_MATHVEC): Likewise.
35119         (__NO_MATH_INLINES): Likewise.
35120         (CNCT): Likewise.
35121         (CONCAT): Likewise.
35122         (WRAPPER_NAME): Likewise.
35123         (WRAPPER_DECL): Likewise.
35124         (WRAPPER_DECL_ff): Likewise.
35125         (WRAPPER_DECL_fFF): Likewise.
35126         (VECTOR_WRAPPER): Likewise.
35127         (VECTOR_WRAPPER_ff): Likewise.
35128         (VECTOR_WRAPPER_fFF): Likewise.
35129         (VEC_LEN): New macro.
35130         * math/test-float-vlen8.h: Include test-float.h,
35131         test-math-no-inline.h and test-math-vector.h.
35132         (FLOAT): Remove macro.
35133         (FUNC): Likewise.
35134         (MATHCONST): Likewise.
35135         (PRINTF_EXPR): Likewise.
35136         (PRINTF_XEXPR): Likewise.
35137         (PRINTF_NEXPR): Likewise.
35138         (TEST_FLOAT): Likewise.
35139         (TEST_MATHVEC): Likewise.
35140         (__NO_MATH_INLINES): Likewise.
35141         (CNCT): Likewise.
35142         (CONCAT): Likewise.
35143         (WRAPPER_NAME): Likewise.
35144         (WRAPPER_DECL): Likewise.
35145         (WRAPPER_DECL_ff): Likewise.
35146         (WRAPPER_DECL_fFF): Likewise.
35147         (VECTOR_WRAPPER): Likewise.
35148         (VECTOR_WRAPPER_ff): Likewise.
35149         (VECTOR_WRAPPER_fFF): Likewise.
35150         (VEC_LEN): New macro.
35151         * math/test-float-vlen16.h: Include test-float.h,
35152         test-math-no-inline.h and test-math-vector.h.
35153         (FLOAT): Remove macro.
35154         (FUNC): Likewise.
35155         (MATHCONST): Likewise.
35156         (PRINTF_EXPR): Likewise.
35157         (PRINTF_XEXPR): Likewise.
35158         (PRINTF_NEXPR): Likewise.
35159         (TEST_FLOAT): Likewise.
35160         (TEST_MATHVEC): Likewise.
35161         (__NO_MATH_INLINES): Likewise.
35162         (CNCT): Likewise.
35163         (CONCAT): Likewise.
35164         (WRAPPER_NAME): Likewise.
35165         (WRAPPER_DECL): Likewise.
35166         (WRAPPER_DECL_ff): Likewise.
35167         (WRAPPER_DECL_fFF): Likewise.
35168         (VECTOR_WRAPPER): Likewise.
35169         (VECTOR_WRAPPER_ff): Likewise.
35170         (VECTOR_WRAPPER_fFF): Likewise.
35171         (VEC_LEN): New macro.
35172         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
35173         test-vec-loop.h.
35174         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35175         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35176         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35177         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35178         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35179         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35180         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35182 2015-06-24  Roland McGrath  <roland@hack.frob.com>
35184         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
35185         (__getlogin_r): ... this.
35187 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
35189         [BZ #18594]
35190         * math/s_ccosh.c (__ccosh): Compare with least normal value
35191         instead of comparing class with FP_SUBNORMAL.
35192         * math/s_ccoshf.c (__ccoshf): Likewise.
35193         * math/s_ccoshl.c (__ccoshl): Likewise.
35194         * math/s_cexp.c (__cexp): Likewise.
35195         * math/s_cexpf.c (__cexpf): Likewise.
35196         * math/s_cexpl.c (__cexpl): Likewise.
35197         * math/s_csin.c (__csin): Likewise.
35198         * math/s_csinf.c (__csinf): Likewise.
35199         * math/s_csinh.c (__csinh): Likewise.
35200         * math/s_csinhf.c (__csinhf): Likewise.
35201         * math/s_csinhl.c (__csinhl): Likewise.
35202         * math/s_csinl.c (__csinl): Likewise.
35203         * math/s_ctan.c (__ctan): Likewise.
35204         * math/s_ctanf.c (__ctanf): Likewise.
35205         * math/s_ctanh.c (__ctanh): Likewise.
35206         * math/s_ctanhf.c (__ctanhf): Likewise.
35207         * math/s_ctanhl.c (__ctanhl): Likewise.
35208         * math/s_ctanl.c (__ctanl): Likewise.
35209         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
35210         csin, csinh, ctan and ctanh.
35211         * math/auto-libm-test-out: Regenerated.
35212         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
35213         * sysdeps/i386/fpu/libm-test-ulps: Update.
35214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35216 2015-06-24  Roland McGrath  <roland@hack.frob.com>
35218         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
35219         return value is wrong, print the expected value too.
35221 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35223         [BZ #18585]
35224         * elf/readlib.c (is_gdb_python_file): New.
35225         (process_file): Don't issue errors on filenames with -gdb.py
35226         suffix.
35228 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
35230         * math/auto-libm-test-in: Add more tests of csin and csinh.
35231         * math/auto-libm-test-out: Regenerated.
35232         * math/libm-test.inc (csin_test_data): Remove tests moved to
35233         auto-libm-test-in.
35234         (csinh_test_data): Likewise.
35236         [BZ #18593]
35237         * math/s_csin.c (__csin): Negate before rather than after possibly
35238         overflowing multiplication.
35239         * math/s_csinf.c (__csinf): Likewise.
35240         * math/s_csinh.c (__csinh): Likewise.
35241         * math/s_csinhf.c (__csinhf): Likewise.
35242         * math/s_csinhl.c (__csinhl): Likewise.
35243         * math/s_csinl.c (__csinl): Likewise.
35244         * math/auto-libm-test-in: Add some tests of csin and csinh.
35245         * math/auto-libm-test-out: Regenerated.
35246         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
35247         (csinh_test_data): Likewise.
35248         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35250         [BZ #18586]
35251         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
35252         underflow exception for small results.
35254 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
35256         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35257         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
35258         variable and included header.
35259         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
35260         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
35261         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
35262         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
35263         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
35264         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
35265         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
35266         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
35267         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
35268         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
35269         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
35270         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
35271         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
35272         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
35273         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
35274         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
35276 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
35278         [BZ #16526]
35279         [BZ #16538]
35280         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
35281         (__sin): Force underflow exception for arguments with small
35282         absolute value.
35283         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
35284         (__kernel_sinf): Force underflow exception for arguments with
35285         small absolute value.
35286         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
35287         (__kernel_sincosl): Force underflow exception for arguments with
35288         small absolute value.
35289         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
35290         (__kernel_sinl): Force underflow exception for arguments with
35291         small absolute value.
35292         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
35293         (__kernel_sincosl): Force underflow exception for arguments with
35294         small absolute value.
35295         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
35296         (__kernel_sinl): Force underflow exception for arguments with
35297         small absolute value.
35298         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
35299         (__kernel_sinl): Force underflow exception for arguments with
35300         small absolute value.
35301         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
35302         (__kernel_sinf): Force underflow exception for arguments with
35303         small absolute value.
35304         * math/auto-libm-test-in: Add more tests of sin and sincos.
35305         * math/auto-libm-test-out: Regenerated.
35307         [BZ #18245]
35308         [BZ #18583]
35309         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
35310         (__kernel_standard_l): Use feholdexcept and fesetenv around
35311         conversion to double instead of special-casing overflow and
35312         underflow.
35313         * math/libm-test.inc (fmod_test_data): Add more tests.
35314         (remainder_test_data): Likewise.
35315         (sqrt_test_data): Likewise.
35317 2015-06-23  Torvald Riegel  <triegel@redhat.com>
35319         [BZ #17403]
35320         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
35321         atomic_read_barrier, atomic_write_barrier): Define.
35322         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
35323         atomic_read_barrier, atomic_write_barrier): Define.
35325 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
35327         * math/Makefile [$(PERL) != no]
35328         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
35329         dependency on libm-test.stmp below the inclusion of Rules.
35331 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
35333         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35334         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
35335         and included header.
35336         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
35337         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
35338         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
35339         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
35340         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
35341         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
35342         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
35343         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
35344         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
35345         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
35346         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
35347         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
35348         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
35349         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
35350         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
35351         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
35352         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
35353         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
35354         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
35356 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
35358         [BZ #18371]
35359         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
35360         intermediate but not final result might underflow.
35361         * math/s_csqrtf.c (__csqrtf): Likewise.
35362         * math/s_csqrtl.c (__csqrtl): Likewise.
35363         * math/auto-libm-test-in: Add more tests of csqrt.
35364         * math/auto-libm-test-out: Regenerated.
35365         * sysdeps/i386/fpu/libm-test-ulps: Update.
35367         [BZ #18219]
35368         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
35369         threshold on absolute value of exponent for which scaling is used.
35370         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35371         * math/auto-libm-test-in: Add more tests of exp2.
35372         * math/auto-libm-test-out: Regenerated.
35374 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
35376         [BZ #17977]
35377         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
35378         when initializing interface list, based on the bug analysis
35379         and the patch proposed by Eric Newton.
35380         * resolv/tst-res_hconf_reorder.c: New test.
35381         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
35382         tst-res_hconf_reorder.
35383         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
35384         and $(shared-thread-library).
35385         (tst-res_hconf_reorder-ENV): New variable.
35387         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
35388         in comment.
35390 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
35392         [BZ #16353]
35393         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
35394         (__expm1): Force underflow exception for arguments with small
35395         absolute value.
35396         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
35397         (__expm1f): Force underflow exception for arguments with small
35398         absolute value.
35399         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
35400         (__expm1): Force underflow exception for arguments with small
35401         absolute value.
35402         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
35403         (__expm1f): Force underflow exception for arguments with small
35404         absolute value.
35405         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35406         Check for small arguments before calling __expm1.
35407         * math/auto-libm-test-in: Do not mark underflow exceptions as
35408         possibly missing for bug 16353.
35409         * math/auto-libm-test-out: Regenerated.
35411 2015-06-22  Andreas Schwab  <schwab@suse.de>
35413         [BZ #18513]
35414         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
35415         PTR queries.
35417 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
35419         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
35421         * string/strcoll_l.c: Remove unused struct element idxnow.
35423 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
35425         [BZ #18569]
35426         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
35427         underflow and return argument in case of subnormal argument.
35428         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35429         Likewise.
35430         * math/auto-libm-test-in: Add more tests of expm1.
35431         * math/auto-libm-test-out: Regenerated.
35433         [BZ #16361]
35434         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35435         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35436         tiny results.
35437         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35438         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35439         tiny results.
35440         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
35441         mark underflow exceptions as possibly missing for bug 16361.
35442         * math/auto-libm-test-out: Regenerated.
35444 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
35446         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
35447         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
35448         Remove variable.
35449         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35450         (test-xfail-XOPEN2K8/utmpx.h/conform).
35452         * conform/conformtest.pl ($xerrors): New variable.
35453         (note_error): New function.
35454         (compiletest): New argument $xfail.  Use not_error.
35455         (runtest): Likewise.
35456         (top level): Handle xfail- lines.  Update calls to compiletest and
35457         runtest.  Handle xfail- and optional- in headers listed with
35458         allow-header.
35459         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
35460         (O_EXEC): Likewise.
35461         (O_SEARCH): Likewise.
35462         * conform/data/stropts.h-data (ioctl): Likewise.
35463         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
35464         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
35465         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
35466         (msghdr.msg_controllen): Likewise.
35467         (cmsghdr.cmsg_len): Likewise.
35468         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
35469         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
35470         variable.
35471         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35472         (test-xfail-XPG4/stropts.h/conform): Likewise.
35473         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35474         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35475         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35476         (test-xfail-UNIX98/stropts.h/conform): Likewise.
35477         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35478         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35479         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35480         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35481         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35482         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35483         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35484         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35485         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35486         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35487         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35488         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35489         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35490         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35491         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35493 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
35495         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
35496         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
35497         definitions for proper unfolding of __MATHDECL_VEC.
35499 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35501         * benchtests/bench-strcoll.c:
35502         Include string.h.
35503         (main): Remove unused variable res.
35505 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35507         * timezone/Makefile (%/UTC %/Universal):
35508         Generate test-result files for UTC and Universal.
35510 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35512         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
35514 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
35516         [BZ #16350]
35517         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
35518         for arguments with small absolute value.
35519         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
35520         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
35521         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
35522         (__asinh): Force underflow exception for arguments with small
35523         absolute value.
35524         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
35525         (__asinhf): Force underflow exception for arguments with small
35526         absolute value.
35527         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
35528         (__asinhl): Force underflow exception for arguments with small
35529         absolute value.
35530         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
35531         (__asinhl): Force underflow exception for arguments with small
35532         absolute value.
35533         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
35534         (__asinhl): Force underflow exception for arguments with small
35535         absolute value.
35536         * math/auto-libm-test-in: Do not mark underflow exceptions as
35537         possibly missing for bug 16350.
35538         * math/auto-libm-test-out: Regenerated.
35540         * include/bits/ipc.h: Remove file.
35541         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
35542         variable.
35543         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35544         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35545         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35546         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35547         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35548         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35549         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35550         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35551         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35553         * math/auto-libm-test-in: Remove spurious underflow allowance for
35554         tests of cexp.
35555         * math/auto-libm-test-out: Regenerated.
35557         [BZ #18558]
35558         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
35559         unconditional definition.
35560         (MCAST_BLOCK_SOURCE): Likewise.
35561         (MCAST_UNBLOCK_SOURCE): Likewise.
35562         (MCAST_LEAVE_GROUP): Likewise.
35563         (MCAST_JOIN_SOURCE_GROUP): Likewise.
35564         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35565         (MCAST_MSFILTER): Likewise.
35566         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
35567         Remove variable.
35568         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35569         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35570         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35571         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35572         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35574 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
35576         * NEWS: Mention addition of x86_64 vector sincosf.
35577         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
35578         * math/test-float-vlen4.h: Likewise.
35579         * math/test-float-vlen8.h: Likewise.
35580         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35581         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
35582         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35583         * sysdeps/x86_64/fpu/Versions: New versions added.
35584         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35585         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35586         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35587         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
35588         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
35589         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
35590         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
35591         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
35592         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
35593         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
35594         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
35595         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
35596         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
35597         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
35598         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
35599         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
35600         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
35601         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35602         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35603         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35604         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35605         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35606         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35607         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35609         * NEWS: Mention addition of x86_64 vector sincos.
35610         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
35611         * math/math.h (__MATHDECL_VEC): New macro.
35612         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
35613         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
35614         declaration under condition.
35615         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
35616         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
35617         TEST_VEC_LOOP change.
35618         * math/test-double-vlen4.h: Likewise.
35619         * math/test-double-vlen8.h: Likewise.
35620         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
35621         * math/test-float-vlen4.h: Likewise.
35622         * math/test-float-vlen8.h: Likewise.
35623         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35624         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
35625         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35626         * sysdeps/x86_64/fpu/Versions: New versions added.
35627         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35628         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35629         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35630         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
35631         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
35632         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
35633         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
35634         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
35635         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
35636         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
35637         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
35638         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
35639         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
35640         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
35641         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
35642         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
35643         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
35644         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35645         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35646         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35647         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35648         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35649         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35650         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35652         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35653         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35654         redirections for powf.
35655         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35656         * sysdeps/x86_64/fpu/Versions: New versions added.
35657         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35658         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35659         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35660         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
35661         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
35662         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
35663         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
35664         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
35665         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
35666         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
35667         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
35668         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
35669         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
35670         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
35671         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
35672         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
35673         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
35674         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35675         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35676         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35677         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35678         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35679         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35680         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35681         * math/test-float-vlen16.h: Fixed 2 argument macro.
35682         * math/test-float-vlen4.h: Likewise.
35683         * math/test-float-vlen8.h: Likewise.
35684         * NEWS: Mention addition of x86_64 vector powf.
35686 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
35688         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35689         and redefine.
35690         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35691         and redefine.
35692         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
35693         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35694         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35696         [BZ #18553]
35697         * resource/getpriority.c (getpriority): Rename to __getpriority
35698         and define as weak alias of __getpriority.
35699         * resource/setpriority.c (setpriority): Rename to __setpriority
35700         and define as weak alias of __setpriority.
35701         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
35702         __getpriority and define as weak alias of __getpriority.
35703         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
35704         __setpriority and define as weak alias of __setpriority.
35705         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
35706         strong name.
35707         (setpriority): Use __setpriority as strong name.
35708         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
35709         __getpriority and define as weak alias of __getpriority.
35710         * include/sys/resource.h (__getpriority): Declare.  Use
35711         libc_hidden_proto.
35712         (__setpriority): Likewise.
35713         (getpriority): Don't use libc_hidden_proto.
35714         (setpriority): Likewise.
35715         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
35716         getpriority.  Call __setpriority instead of setpriority.
35717         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
35718         Remove variable.
35720         [BZ #18547]
35721         * misc/getttyent.c (getttynam): Rename to __getttynam and define
35722         as weak alias of __getttynam.  Use prototype function definition.
35723         Call __setttyent, __getttyent and __endttyent instead of
35724         setttyent, getttyent and endttyent.
35725         (getttyent): Rename to __getttyent and define as weak alias of
35726         __getttyent.  Call __setttyent instead of setttyent.  Call
35727         __fgets_unlocked instead of fgets_unlocked.
35728         (setttyent): Rename to __setttyent and define as weak alias of
35729         __setttyent.
35730         (endttyent): Rename to __endttyent and define as weak alias of
35731         __endttyent.
35732         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
35733         (__setttyent): Likewise.
35734         (__endttyent): Likewise.
35735         (getttyent): Don't use libc_hidden_proto.
35736         (setttyent): Likewise.
35737         (endttyent): Likewise.
35738         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
35739         __endttyent instead of setttyent, getttyent and endttyent.
35740         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
35741         Remove variable.
35743         [BZ #18546]
35744         * socket/recv.c (__recv): Use libc_hidden_def.
35745         * socket/socket.c (__socket): Likewise.
35746         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
35747         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
35748         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
35749         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
35750         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
35751         libc_hidden_def.
35752         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
35753         libc_hidden_weak.
35754         * include/sys/socket.h (__socket): Do not use attribute_hidden.
35755         Use libc_hidden_proto.
35756         (__recv): Likewise.
35757         * socket/Versions (libc): Export __recv and __socket at version
35758         GLIBC_PRIVATE.
35759         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
35760         instead of recv.
35761         (init_mq_netlink): Call __socket instead of socket.
35762         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
35763         Remove variable.
35765         [BZ #18545]
35766         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
35767         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
35768         hidden_weak.
35769         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
35770         define as alias of __mq_timedsend.  Use hidden_weak.
35771         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
35772         __mq_timedsend as strong name.
35773         (mq_timedreceive): Use __mq_timedreceive as strong name.
35774         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
35775         (__mq_timedreceive): Likewise.
35776         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
35777         __mq_timedreceive instead of mq_timedreceive.
35778         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
35779         instead of mq_timedsend.
35780         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
35781         Remove variable.
35783         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
35784         hidden_def and hidden_weak instead of libc_hidden_def and
35785         libc_hidden_weak.
35786         (top level): Refer to hidden_def in comment.
35787         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
35788         macro.  Use it instead of libc_hidden_def.
35789         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
35790         specify __GI_* name explicitly.
35791         (mq_timedreceive): Likewise.
35792         (mq_setattr): Likewise.
35794         [BZ #18544]
35795         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
35796         __pthread_barrier_init and define as weak alias of
35797         __pthread_barrier_init.
35798         * sysdeps/sparc/nptl/pthread_barrier_init.c
35799         (pthread_barrier_init): Likewise.
35800         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
35801         __pthread_barrier_wait and define as weak alias of
35802         __pthread_barrier_wait.
35803         * sysdeps/sparc/nptl/pthread_barrier_wait.c
35804         (pthread_barrier_wait): Likewise.
35805         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
35806         (pthread_barrier_wait): Likewise.
35807         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
35808         (pthread_barrier_wait): Likewise.
35809         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
35810         (pthread_barrier_wait): Likewise.
35811         * nptl/Versions (libpthread): Export __pthread_barrier_init and
35812         __pthread_barrier_wait at version GLIBC_PRIVATE.
35813         * include/pthread.h (__pthread_barrier_init): Declare.
35814         (__pthread_barrier_wait): Likewise.
35815         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
35816         Call __pthread_barrier_wait instead of pthread_barrier_wait.
35817         (helper_thread): Likewise.
35818         (init_mq_netlink): Call __pthread_barrier_init instead of
35819         pthread_barrier_init.
35821         [BZ #18542]
35822         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
35823         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
35824         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
35825         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
35826         vswscanf.
35827         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
35828         Remove variable.
35830         [BZ #18540]
35831         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
35832         strong alias of _IO_fflush.  Use libc_hidden_def.
35833         * libio/iofflush_u.c (fflush_unlocked): Rename to
35834         __fflush_unlocked and define as weak alias of __fflush_unlocked.
35835         Use libc_hidden_weak.
35836         * include/stdio.h (__fflush_unlocked): Declare.  Use
35837         libc_hidden_proto.
35838         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
35839         fflush_unlocked.
35840         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
35841         Remove variable.
35843         [BZ #18539]
35844         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
35845         define as weak alias of __addseverity.
35846         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
35847         Remove variable.
35848         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35849         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35850         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35852         [BZ #18536]
35853         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
35854         (__tfind): Likewise.
35855         (__tdelete): Likewise.
35856         (__twalk): Likewise.
35857         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
35858         __twalk to GLIBC_PRIVATE.
35859         * include/search.h (__tsearch): Use libc_hidden_proto.
35860         (__tfind): Likewise.
35861         (__tdelete): Likewise.
35862         (__twalk): Likewise.
35863         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
35864         Call __tdelete instead of tdelete.
35865         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
35866         tfind.  Call __tsearch instead of tsearch.
35867         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
35868         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
35869         Remove variable.
35870         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35872         [BZ #18534]
35873         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
35874         (dprintf): Define as a weak alias of __dprintf, not a strong
35875         alias.
35876         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
35877         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
35878         dprintf.
35879         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
35880         Remove variable.
35881         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35882         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35884         [BZ #18533]
35885         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
35886         not a strong alias.
35887         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
35888         Remove variable.
35890         [BZ #18532]
35891         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
35892         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
35893         (in6addr_loopback): Rename to __in6addr_loopback and define as
35894         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
35895         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
35896         libc_hidden_proto.
35897         (__in6addr_any): Likewise.
35898         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
35899         in6addr_any.
35900         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
35901         variable.
35902         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35904 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
35906         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
35907         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
35908         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35909         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35910         redirections for pow.
35911         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35912         * sysdeps/x86_64/fpu/Versions: New versions added.
35913         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35914         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35915         build of SSE, AVX2 and AVX512 IFUNC versions.
35916         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
35917         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
35918         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
35919         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
35920         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
35921         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
35922         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
35923         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
35924         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
35925         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
35926         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
35927         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
35928         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
35929         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
35930         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35931         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35932         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35933         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35934         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35935         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35936         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35937         * NEWS: Mention addition of x86_64 vector pow.
35939         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35940         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35941         redirections for expf.
35942         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35943         * sysdeps/x86_64/fpu/Versions: New versions added.
35944         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35945         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35946         build of SSE, AVX2 and AVX512 IFUNC versions.
35947         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
35948         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
35949         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
35950         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
35951         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
35952         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
35953         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
35954         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
35955         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
35956         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
35957         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
35958         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
35959         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
35960         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35961         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35962         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35963         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35964         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35965         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35966         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35967         * NEWS: Mention addition of x86_64 vector expf.
35969         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
35970         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
35971         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35972         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35973         redirections for exp.
35974         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35975         * sysdeps/x86_64/fpu/Versions: New versions added.
35976         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35977         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35978         build of SSE, AVX2 and AVX512 IFUNC versions.
35979         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
35980         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
35981         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
35982         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
35983         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
35984         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
35985         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
35986         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
35987         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
35988         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
35989         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
35990         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
35991         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
35992         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35993         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35994         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35995         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35996         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35997         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35998         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35999         * NEWS: Mention addition of x86_64 vector exp.
36001         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36002         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36003         redirections for logf.
36004         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36005         * sysdeps/x86_64/fpu/Versions: New versions added.
36006         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36007         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36008         build of SSE, AVX2 and AVX512 IFUNC versions.
36009         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
36010         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
36011         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
36012         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
36013         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
36014         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
36015         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
36016         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
36017         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
36018         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
36019         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
36020         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
36021         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
36022         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36023         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36024         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36025         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36026         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36027         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36028         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36029         * NEWS: Mention addition of x86_64 vector logf.
36031         * bits/libm-simd-decl-stubs.h: Added stubs for log.
36032         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
36033         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36034         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36035         redirections for log.
36036         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36037         * sysdeps/x86_64/fpu/Versions: New versions added.
36038         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36039         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36040         build of SSE, AVX2 and AVX512 IFUNC versions.
36041         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
36042         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
36043         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
36044         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
36045         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
36046         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
36047         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
36048         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
36049         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
36050         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
36051         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
36052         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
36053         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
36054         test.
36055         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36056         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36057         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36058         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36059         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36060         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36061         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36062         * NEWS: Mention addition of x86_64 vector log.
36064 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36066         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
36067         cfi_adjust_cfa_offset argument.
36068         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
36069         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
36071         [BZ #18034]
36072         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
36073         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
36074         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
36075         ordering using ldar.
36076         (_dl_tlsdesc_dynamic): Likewise.
36077         (_dl_tlsdesc_return_lazy): Likewise.
36078         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
36079         relaxed atomics instead of volatile and synchronize with release store.
36080         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
36081         volatile.
36082         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36084 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
36086         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36087         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
36088         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36089         * sysdeps/x86_64/fpu/Versions: New versions added.
36090         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36091         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36092         build of SSE, AVX2 and AVX512 IFUNC versions.
36093         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
36094         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
36095         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
36096         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
36097         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
36098         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
36099         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
36100         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
36101         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
36102         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
36103         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
36104         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
36105         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
36106         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36107         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36108         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36109         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36110         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36111         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36112         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36113         * NEWS: Mention addition of x86_64 vector sinf.
36115 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
36117         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
36118         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
36119         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
36120         Remove variable.
36121         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
36122         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
36124 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
36126         [BZ #18530]
36127         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
36128         strong alias of _IO_fputs.  Use libc_hidden_def.
36129         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
36130         and define as weak alias of __fputs_unlocked.  Use
36131         libc_hidden_weak.
36132         * include/stdio.h (__fputs_unlocked): Declare.  Use
36133         libc_hidden_proto.
36134         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
36135         fputs_unlocked.
36137         [BZ #18529]
36138         * resolv/netdb.h [__USE_POSIX]: Change condition to
36139         [__USE_XOPEN2K].
36140         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
36141         not expect.
36142         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
36143         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
36144         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
36145         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
36146         [XPG4 || UNIX98] (AI_ALL): Likewise.
36147         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
36148         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
36149         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
36150         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
36151         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
36152         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
36153         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
36154         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
36155         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
36156         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
36157         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
36158         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
36159         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
36160         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
36161         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
36162         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36163         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36164         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
36165         [XPG4 || UNIX98] (gai_strerror): Likewise.
36166         [XPG4 || UNIX98] (getaddrinfo): Likewise.
36167         [XPG4 || UNIX98] (getnameinfo): Likewise.
36169         [BZ #18528]
36170         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
36171         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
36172         __USE_XOPEN2K8].
36173         (getgrent): Likewise.
36174         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
36175         expect.
36176         [XPG3 || POSIX2008] (endgrent): Likewise.
36177         [XPG3] (setgrent): Likewise.
36178         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
36179         variable.
36180         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
36182         [BZ #18527]
36183         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
36184         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
36185         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
36186         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
36187         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
36188         * include/unistd.h (__getlogin_r): Declare.  Use
36189         libc_hidden_proto.
36190         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
36191         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
36192         variable.
36193         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
36194         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
36195         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
36197 2015-06-12  Martin Sebor  <msebor@redhat.com>
36199         [BZ #18512]
36200         * Makerules (check-install-supported): New target.
36201         (install): Add check-install-supported as a dependency.
36202         * manual/install.texi (Installing the C Library): Document
36203         that overriding prefix and exec_prefix is not supported.
36204         Mention DESTDIR.
36205         * INSTALL: Regenerate from the above.
36207 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
36209         [BZ #18519]
36210         * posix/Versions (libc): Export __libc_pread at version
36211         GLIBC_PRIVATE.
36212         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
36213         instead of pread.
36214         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
36215         variable.
36217         [BZ #18522]
36218         * misc/efgcvt_r.c
36219         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
36220         (cvt_symbol): Use weak_alias instead of strong_alias.
36221         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
36222         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
36223         Remove variable.
36224         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
36225         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
36227         [BZ #18520]
36228         * inet/herrno.c (h_errno): Rename to __h_errno.
36229         (__libc_h_errno): Define as alias of __h_errno not h_errno.
36230         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
36231         to __h_errno instead of h_errno.
36232         * nptl/herrno.c (h_errno): Rename to __h_errno.
36233         (__h_errno_location): Refer to __h_errno not h_errno.
36234         * resolv/Versions (h_errno): Rename to __h_errno.
36235         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
36236         Remove variable.
36237         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
36239 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
36241         * configure.ac: More strict check for AVX512 assembler support.
36242         * configure: Regenerated.
36244         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
36245         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
36246         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36247         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
36248         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36249         * sysdeps/x86_64/fpu/Versions: New versions added.
36250         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36251         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36252         Added build of SSE, AVX2 and AVX512 IFUNC versions.
36253         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
36254         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
36255         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
36256         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
36257         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
36258         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
36259         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
36260         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
36261         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
36262         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
36263         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
36264         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
36265         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
36266         test.
36267         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36268         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36269         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36270         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36271         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36272         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36273         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36274         * NEWS: Mention addition of x86_64 vector sin.
36276 2015-06-11  Florian Weimer  <fweimer@redhat.com>
36278         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
36279         comment.
36281 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
36283         [BZ #18479]
36284         * nptl/pt-interp.c: New file.
36285         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
36286         Add pt-interp.
36287         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
36288         $(common-objpfx)runtime-linker.h.
36290 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
36292         * Makeconfig (+interp): Remove unused variable.
36293         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
36294         only.  Depend on $(common-objpfx)runtime-linker.h instead of
36295         $(elf-objpfx)runtime-linker.h.
36296         ($(elf-objpfx)runtime-linker.h): Rename to
36297         $(common-objpfx)runtime-linker.h and move ...
36298         * Makerules [$(build-shared) = yes]: ... here.
36299         * elf/interp.c: Include <runtime-linker.h> instead of
36300         <elf/runtime-linker.h>.
36302 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36304         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
36305         (__gettimeofday_syscall): Remove vsyscall fallback.
36306         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
36307         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
36308         Add syscall fallback function.
36309         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
36310         if vDSO is not present.
36311         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
36312         fallback function.
36313         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
36314         present.
36315         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
36316         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36318 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
36320         [BZ #18497]
36321         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
36322         of wcscmp.
36323         (wcscmp): Define as weak alias of WCSCMP.
36324         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
36325         wcscoll.
36326         (USE_HIDDEN_DEF): Define.
36327         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
36328         __wcscoll.  Don't use libc_hidden_weak.
36329         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
36330         wcscmp.
36331         * sysdeps/i386/i686/multiarch/wcscmp-c.c
36332         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
36333         __GI_wcscmp.
36334         (weak_alias): Undefine and redefine.
36335         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
36336         __wcscmp and define as weak alias of __wcscmp.
36337         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
36338         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
36339         (__wcscoll): Likewise.
36340         (wcscmp): Don't use libc_hidden_proto.
36341         (wcscoll): Likewise.
36342         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
36343         wcscoll.
36344         * posix/regexec.c (check_node_accept_bytes): Likewise.
36345         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
36346         variable.
36347         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36348         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36350         [BZ #18507]
36351         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
36352         __fstatvfs and define as weak alias of __fstatvfs.  Use
36353         libc_hidden_weak.
36354         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
36355         and define as weak alias of __statvfs.  Use libc_hidden_weak.
36356         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
36357         Define as alias of __fstatvfs, not fstatvfs.
36358         (fstatvfs64): Likewise.
36359         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
36360         Define as alias of __statvfs, not statvfs.
36361         (statvfs64): Likewise.
36362         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
36363         Remove variable.
36365 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36368         (HAVE_GETCPU_VSYSCALL): Define.
36369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36370         (HAVE_GETCPU_VSYSCALL): Likewise.
36371         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
36372         * sysdeps/unix/sysv/linux/sched_getcpu.c
36373         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
36374         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
36375         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
36376         prototype.
36377         * sysdeps/unix/sysv/linux/x86_64/init-first.c
36378         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
36379         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
36380         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
36381         Define.
36382         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
36383         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36384         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
36385         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36387 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
36389         * sysdeps/x86_64/fpu/Makefile: New file.
36390         * sysdeps/x86_64/fpu/Versions: New file.
36391         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
36392         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
36393         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
36394         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
36395         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
36396         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
36397         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
36398         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
36399         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
36400         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
36401         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
36402         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
36403         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
36404         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36405         Added build of SSE, AVX2 and AVX512 IFUNC versions.
36406         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
36407         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
36408         * sysdeps/x86_64/configure.ac: Options for libmvec build.
36409         * sysdeps/x86_64/configure: Regenerated.
36410         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
36411         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
36412         * manual/install.texi (Configuring and compiling): Document
36413         --disable-mathvec.
36414         * INSTALL: Regenerated.
36415         * NEWS: Mention addition of libmvec and x86_64 vector cos.
36417         * math/Makefile: Added rules for vector tests.
36418         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
36419         declaration under condition.
36420         * math/test-double-vlen2.h: New file.
36421         * math/test-double-vlen4.h: New file.
36422         * math/test-double-vlen8.h: New file.
36423         * math/test-vec-loop.h: Added initialization macro.
36424         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
36425         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
36426         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
36427         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
36428         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
36429         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
36430         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
36431         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
36432         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
36433         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
36434         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
36436         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36437         * sysdeps/x86_64/fpu/Versions: New versions added.
36438         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
36439         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
36440         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
36441         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
36442         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
36443         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
36444         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
36445         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
36446         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
36447         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
36448         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
36449         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
36450         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
36451         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36452         Added build of SSE, AVX2 and AVX512 IFUNC versions.
36453         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36454         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
36455         * NEWS: Mention addition of x86_64 vector cosf.
36457         * math/Makefile: Added CFLAGS for new tests.
36458         * math/test-float-vlen16.h: New file.
36459         * math/test-float-vlen4.h: New file.
36460         * math/test-float-vlen8.h: New file.
36461         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
36462         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
36463         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36464         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
36465         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
36466         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
36467         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
36468         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
36469         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
36470         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
36471         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
36473 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
36475         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
36476         * locale/programs/ld-ctype.c: Likewise.
36478 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
36480         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
36481         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
36482         bit_ZMM16_31_state): New macro.
36483         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36484         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
36486 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
36488         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
36490 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
36492         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
36494 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
36496         [BZ #18498]
36497         * libio/memstream.c (open_memstream): Rename to __open_memstream
36498         and define as weak alias of __open_memstream.
36499         * include/stdio.h (__open_memstream): Declare.  Use
36500         libc_hidden_proto.
36501         (open_memstream): Don't use libc_hidden_proto.
36502         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
36503         open_memstream.
36504         * posix/getopt.c (_getopt_internal_r): Likewise.
36505         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
36506         variable.
36507         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36508         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36509         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36511         [BZ #18496]
36512         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
36513         instead of wcrtomb.
36515         [BZ #18483]
36516         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
36517         [__USE_XOPEN2K8].  Remove redundant #endif.
36518         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
36519         Remove redundant #if.
36520         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
36521         Remove variable.
36522         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36523         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36525         [BZ #18495]
36526         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
36527         (__iswlower): Likewise.
36528         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
36529         (__iswlower): Likewise.
36530         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
36531         instead of towlower.
36532         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
36533         instead of iswlower.  Call __towupper instead of towupper.
36534         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
36535         instead of iswalnum.
36537 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36539         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
36540         errors to stderr.
36542 2015-06-05  Florian Weimer  <fweimer@redhat.com>
36544         [BZ #15661]
36545         [BZ #17322]
36546         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
36547         Check for overflow properly.  Check for O_APPEND.  Ignore large
36548         file system block sizes.  Add comments about problems.
36549         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
36550         * manual/filesys.texi (Storage Allocation): New node.
36552 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36554         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
36555         cancellable syscalls.
36556         (SYS_ify): Add guard to no redefine it.
36557         (INLINE_SYSCALL): Likewise.
36558         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
36559         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
36560         SYSCALL_CANCEL instead.
36561         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
36562         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
36563         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
36564         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
36565         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
36566         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
36567         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
36568         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
36569         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36570         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36571         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
36572         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
36573         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
36574         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
36575         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
36576         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
36577         Likewise.
36578         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
36579         (__libc_pread64): Likewise.
36580         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
36581         (__libc_preadv): Likewise.
36582         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
36583         (__libc_readv64): Likewise.
36584         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
36585         (__libc_pwrite): Likewise.
36586         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
36587         (__libc_pwrite64): Likewise.
36588         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
36589         (__libc_pwritev): Likewise.
36590         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
36591         (__libc_pwritev64): Likewise.
36592         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
36593         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
36594         (sync_file_range): Likewise.
36595         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
36596         Likewise.
36597         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
36598         Likewise.
36599         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
36600         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
36601         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36602         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
36603         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
36604         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
36605         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36606         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
36607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
36608         Likewise.
36609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36610         (__libc_read64): Likewise.
36611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
36612         Likewise.
36613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
36614         Likewise.
36615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
36616         Likewise.
36617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
36618         Likewise.
36619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36620         (__libc_pread64): Likewise.
36621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
36622         Likewise.
36623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36624         (__libc_pwrite64): Likewise.
36625         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
36626         (sync_file_range): Likewise.
36627         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
36628         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
36629         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
36630         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
36631         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
36632         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
36633         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
36634         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
36635         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
36636         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36637         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36638         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
36639         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
36640         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
36641         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
36642         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
36643         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
36644         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
36645         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
36646         Likewise.
36647         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
36648         Likewise.
36649         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
36650         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
36651         Likewise.
36652         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
36653         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
36654         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
36655         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
36656         Likewise.
36657         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
36658         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
36659         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
36660         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
36661         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
36663 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
36665         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
36666         Include dl-vdso.
36667         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
36668         Use VDSO routines for gettimeofday, clock_gettime if
36669         available.
36670         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
36671         Declare VDSO symbols.
36672         * sysdeps/unix/sysv/linux/arm/sysdep.h:
36673         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
36674         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36675         * sysdeps/unix/sysv/linux/arm/Versions: Add
36676         __vdso_clock_gettime.
36678 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36680         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
36681         be an inline implementation regardless of library is built within.
36682         (open_not_cancel_2): Likewise.
36683         (__read_nocancel): Likewise.
36684         (__write_nocancel): Likewise.
36685         (openat_not_cancel): Likewise.
36686         (openat_not_cancel_3): Likewise.
36687         (openat64_not_cancel): Likewise.
36688         (openat64_not_cancel_3): Likewise.
36689         (__close_nocancel): Likewise.
36690         (pause_not_cancel): Likewise.
36691         (nanosleep_not_cancel): Likewise.
36692         (sigsuspend_not_cancel): Likewise.
36694 2015-06-04  Torvald Riegel  <triegel@redhat.com>
36696         [BZ #14958]
36697         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
36698         wake-up.
36699         (__pthread_rwlock_rdlock_slow): Likewise.
36700         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36701         Likewise.
36702         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
36703         Likewise.
36704         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
36705         * nptl/tst-rwlock16.c: New file.
36706         * nptl/Makefile (tests): Add new test.
36708 2015-06-04  Torvald Riegel  <triegel@redhat.com>
36710         [BZ #18324]
36711         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
36712         missing wake-up of readers.
36713         * nptl/tst-rwlock15.c: New file.
36714         * nptl/Makefile (tests): Add new test.
36716 2015-06-03  Roland McGrath  <roland@hack.frob.com>
36718         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
36719         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
36720         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
36721         and __nacl_supply_interface_rtld.
36722         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
36723         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
36724         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
36725         Add __nacl_supply_interface_rtld.
36726         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
36728 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
36730         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
36731         isfinite.
36732         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36733         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
36735 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
36737         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
36738         __signbit* with standard C99 macros.
36739         * math/e_exp10l.c: Likewise.
36740         * math/e_exp2l.c: Likewise.
36741         * math/e_scalb.c: Likewise.
36742         * math/e_scalbf.c: Likewise.
36743         * math/e_scalbl.c: Likewise.
36744         * math/s_ldexp.c: Likewise.
36745         * math/s_ldexpf.c: Likewise.
36746         * math/s_ldexpl.c: Likewise.
36747         * math/w_atan2.c: Likewise.
36748         * math/w_atan2f.c: Likewise.
36749         * math/w_atan2l.c: Likewise.
36750         * math/w_cosh.c: Likewise.
36751         * math/w_coshf.c: Likewise.
36752         * math/w_coshl.c: Likewise.
36753         * math/w_exp10.c: Likewise.
36754         * math/w_exp10f.c: Likewise.
36755         * math/w_exp10l.c: Likewise.
36756         * math/w_exp2.c: Likewise.
36757         * math/w_exp2f.c: Likewise.
36758         * math/w_exp2l.c: Likewise.
36759         * math/w_fmod.c: Likewise.
36760         * math/w_fmodf.c: Likewise.
36761         * math/w_fmodl.c: Likewise.
36762         * math/w_hypot.c: Likewise.
36763         * math/w_hypotf.c: Likewise.
36764         * math/w_hypotl.c: Likewise.
36765         * math/w_jnl.c: Likewise.
36766         * math/w_lgamma.c: Likewise.
36767         * math/w_lgamma_r.c: Likewise.
36768         * math/w_lgammaf.c: Likewise.
36769         * math/w_lgammaf_r.c: Likewise.
36770         * math/w_lgammal.c: Likewise.
36771         * math/w_lgammal_r.c: Likewise.
36772         * math/w_pow.c: Likewise.
36773         * math/w_powf.c: Likewise.
36774         * math/w_powl.c: Likewise.
36775         * math/w_remainder.c: Likewise.
36776         * math/w_remainderf.c: Likewise.
36777         * math/w_remainderl.c: Likewise.
36778         * math/w_scalb.c: Likewise.
36779         * math/w_scalbf.c: Likewise.
36780         * math/w_scalbl.c: Likewise.
36781         * math/w_scalbln.c: Likewise.
36782         * math/w_scalblnf.c: Likewise.
36783         * math/w_scalblnl.c: Likewise.
36784         * math/w_sinh.c: Likewise.
36785         * math/w_sinhf.c: Likewise.
36786         * math/w_sinhl.c: Likewise.
36787         * math/w_tgamma.c: Likewise.
36788         * math/w_tgammaf.c: Likewise.
36789         * math/w_tgammal.c: Likewise.
36790         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36791         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
36792         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36793         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36794         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36795         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36796         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36797         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36798         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36799         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36800         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36801         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36802         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36803         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36804         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36805         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36806         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36807         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36808         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36809         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36810         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36811         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36812         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36813         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36814         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36815         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36816         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
36817         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36818         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36819         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36820         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
36821         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
36822         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
36823         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
36824         * stdio-common/printf_fp.c: Likewise.
36825         * stdio-common/printf_fphex.c: Likewise.
36826         * stdio-common/printf_size.c: Likewise.
36828 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
36830         [BZ #18470]
36831         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
36832         strnlen.
36833         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
36834         Remove variable.
36835         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36836         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36837         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36838         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36839         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36840         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36841         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36842         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36843         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36844         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36846         [BZ #18468]
36847         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
36848         weak alias of __wmemchr.  Use libc_hidden_weak.
36849         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
36850         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
36851         instead of wmemchr.
36853 2015-06-02  Roland McGrath  <roland@hack.frob.com>
36855         [BZ #18383]
36856         * elf/tst-tlsalign-extern.c: New file.
36857         * elf/tst-tlsalign-extern-static.c: New file.
36858         * elf/tst-tlsalign-vars.c: New file.
36859         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
36860         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
36861         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
36862         ($(objpfx)tst-tlsalign-extern-static): Likewise.
36863         (test-xfail-tst-tlsalign-extern-static): New variable.
36865 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
36867         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
36868         Use variable name _sc_err instead of err.
36869         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
36870         instead of ret.
36871         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
36872         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
36873         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
36874         (INLINE_SYSCALL): Likewise.
36876         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
36877         * include/string.h (__strnlen): Use libc_hidden_proto.
36878         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
36879         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
36880         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
36881         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
36882         (libc_hidden_def): Undefine and redefine.
36883         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
36884         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
36885         __GI_strnlen.
36886         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
36887         libc_hidden_def.
36888         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
36890         [BZ #18469]
36891         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
36892         weak alias of __towlower.  Use libc_hidden_weak.
36893         (towupper): Rename to __towupper and define as weak alias of
36894         __towupper.  Use libc_hidden_weak.
36895         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
36896         (__towupper): Likewise.
36897         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
36898         __towlower instead of towlower.
36900 2015-06-02  Roland McGrath  <roland@hack.frob.com>
36902         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
36903         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
36905 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36907         * sysdeps/aarch64/libm-test-ulps: Update.
36909 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36911         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
36912         Define.
36913         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36914         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36915         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36916         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36917         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
36918         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
36919         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
36921 2015-06-01  Martin Sebor  <msebor@redhat.com>
36923         [BZ #18116]
36924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36925         (__setcontext): Use extended four-operand version of mtsf whenever
36926         possible.
36927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36928         (__novec_swapcontext): Likewise.
36930 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36932         * benchtests/scripts/compare_bench.py: New file.
36933         * benchtests/scripts/import_bench.py (mean): New function.
36934         (split_list): Likewise.
36935         (do_for_all_timings): Likewise.
36936         (compress_timings): Likewise.
36938         * benchtests/scripts/import_bench.py: New file.
36939         * benchtests/scripts/validate_benchout.py: Import import_bench
36940         instead of jsonschema.
36941         (validate_bench): Remove function.
36942         (main): Use import_bench.
36944 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
36946         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
36947         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
36949 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36953 2015-05-28  Roland McGrath  <roland@hack.frob.com>
36955         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
36956         set THREAD_SELF->tid to a magic value and futex-wake it.
36957         Pass its address to the thread_exit system call.
36958         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
36959         bit is clear.
36960         * sysdeps/nacl/lowlevellock.h: New file.
36961         * sysdeps/nacl/lll_timedwait_tid.c: New file.
36963         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
36964         Add TIMEOUT to current time, don't subtract it.
36966 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
36968         [BZ #2981]
36969         [BZ #18422]
36970         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
36971         ($(objpfx)tst-audit2.out): Also depend on
36972         $(objpfx)tst-auditmod9b.so.
36973         * elf/tst-audit2.c: Include <dlfcn.h>.
36974         (calloc_called): New.
36975         (calloc): Allow to be called more than once.
36976         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
36978 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
36980         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
36981         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
36983 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
36985         * stdlib/monetary.h: Fix comment.
36987 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
36989         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
36990         Avoid using variables in #defines that might cause shadowing.
36991         (INTERNAL_VSYSCALL_CALL): Likewise.
36993 2015-05-26  Roland McGrath  <roland@hack.frob.com>
36995         * sysdeps/nacl/lll_timedlock_wait.c: New file.
36997         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
36998         * nptl/lll_timedlock_wait.c: ... to this new file.
36999         * nptl/Makefile (libpthread-routines): Add it.
37000         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
37001         * nptl/lll_timedwait_tid.c: ... to this new file.
37002         * nptl/Makefile (libpthread-routines): Add it.
37003         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
37004         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
37005         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
37006         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
37007         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
37008         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
37009         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
37010         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
37011         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
37012         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
37014 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37016         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
37017         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37018         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
37019         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
37020         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
37021         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
37022         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37023         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
37024         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37025         * sysdeps/unix/sysv/linux/tile/sysdep.h
37026         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37027         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
37028         using vDSO syscall macro.
37030 2015-05-26  Andriy Rysin  <arysin@gmail.com>
37032         [BZ #17293]
37033         * uk_UA: Fix sorting order for Ukrainian locale
37035 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
37037         * stdlib/monetary.h: Fix comment.
37039 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37041         [BZ #18234]
37042         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
37043         st_mtim and st_ctim members.
37044         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
37045         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
37046         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
37047         (struct stat64): Likewise.
37048         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
37049         (struct stat64): Likewise.
37050         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
37051         (struct stat64): Likewise.
37053 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37055         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
37056         Define and include sysdep-vdso.h.
37057         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
37058         Likewise.
37059         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
37060         Likewise.
37061         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
37062         Define with VDSO_SYMBOL and use PTR_MANGLE.
37063         (__vdso_clock_gettime): Likewise.
37064         (__vdso_clock_getres): Likewise.
37065         (_libc_vdso_platform_setup): Likewise.
37066         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
37067         Likewise.
37068         (_libc_vdso_platform_setup): Likewise.
37069         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
37070         Likewise.
37071         (__vdso_clock_gettime): Likewise.
37072         (__vdso_clock_getres): Likewise.
37073         (__vdso_get_tbfreq): Likewise.
37074         (__vdso_getcpu): Likewise.
37075         (__vdso_time): Likewise.
37076         (__vdso_sigtramp_rt64): Likewise.
37077         (__vdso_signtramp32): Likewise.
37078         (__vdso_sigtramp_rt32): Likewise.
37079         (_libc_vdso_platform_setup): Likewise.
37080         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
37081         Likewise.
37082         (__vdso_clock_gettime): Likewise.
37083         (__vdso_clock_getres): Likewise.
37084         (_libc_vdso_platform_setup): Likewise.
37085         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
37086         Likewise.
37087         (__vdso_clock_gettime): Likewise.
37088         (_libc_vdso_platform_setup): Likewise.
37089         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
37090         Likewise.
37091         (__vdso_getcpu): Likewise.
37092         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
37093         Use VDSO_SYMBOL macro to define.
37094         (__vdso_clock_gettime): Likewise.
37095         (__vdso_clock_getres): Likewise.
37096         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
37097         Likewise.
37098         (__vdso_clock_gettime): Likewise.
37099         (__vdso_clock_getres): Likewise.
37100         (__vdso_get_tbfreq): Likewise.
37101         (__vdso_getcpu): Likewise.
37102         (__vdso_time): Likewise.
37103         (__vdso_sigtramp_rt64): Likewise.
37104         (__vdso_signtramp32): Likewise.
37105         (__vdso_sigtramp_rt32): Likewise.
37106         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
37107         Likewise.
37108         (__vdso_clock_gettime): Likewise.
37109         (__vdso_clock_getres): Likewise.
37110         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
37111         Likewise.
37112         (__vdso_clock_gettime): Likewise.
37113         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
37114         Likewise.
37115         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
37116         macro.
37117         (INTERNAL_VSYSCALL): Likewise.
37118         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
37119         Remove macro.
37120         (INTERNAL_VSYSCALL): Likewise.
37121         (INTERNAL_VSYSCALL_NCS): Likewise.
37122         (INTERNAL_VSYSCALL_CALL): New macro.
37123         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
37124         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
37125         Likewise.
37126         (INTERNAL_VSYSCALL): Likewise.
37127         (INTERNAL_VSYSCALL_NCS): Likewise.
37128         (INTERNAL_VSYSCALL_CALL): New macro.
37129         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
37130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37131         (INLINE_VSYSCALL): Remove macro.
37132         (INTERNAL_VSYSCALL): Remove macro.
37133         (INTERNAL_VSYSCALL_NCS): Remove macro.
37134         (INTERNAL_VSYSCALL_CALL): New macro.
37135         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
37136         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
37137         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
37138         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
37139         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
37140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37141         (INLINE_VSYSCALL): Remove macro.
37142         (INTERNAL_VSYSCALL): Likewise.
37143         (INTERNAL_VSYSCALL_NCS): Likewise.
37144         (INTERNAL_VSYSCALL_CALL): New macro.
37145         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
37146         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
37147         PTR_DEMANGLE on vDSO pointer.
37148         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
37149         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
37150         macro.
37151         (INTERNAL_SYSCALL): Likewise.
37152         (INTERNAL_VSYSCALL_NCS): Remove macro.
37153         (INTERNAL_VSYSCALL_CALL): New macro.
37154         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
37155         Remove macro.
37156         (INTERNAL_VSYSCALL): Likewise.
37157         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
37158         sysdep-vdso.h instead of libc-vdso.h.
37159         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
37160         definition.
37161         (INLINE_VSYSCALL): Likewise.
37162         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
37163         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
37164         definition.
37165         (INLINE_VSYSCALL): Likewise.
37166         (INTERNAL_VSYSCALL): Likewise.
37167         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37168         * sysdeps/unix/sysv/linux/timespec_get.c
37169         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37170         (timespec_get): Use ANSI prototype.
37171         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
37172         and definition for Linux.
37174 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
37176         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
37177         * include/libc-symbols.h: libmvec_hidden_* macro series added.
37179 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37181         [BZ #2981]
37182         [BZ #18410]
37183         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
37184         for missing DT_PLTRELSZ.
37186 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
37188         Remove obsolete aliases that broke 'locale -a'
37189         [BZ #18412]
37190         * intl/locale.alias: Remove obsolete aliases "bokmĂ„l" and "français"
37191         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
37192         breaking some applications that use 'locale -a' output.
37193         Change the encoding of this file from Latin-1 to ASCII to avoid
37194         other potential problems with people grepping this file.
37196 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37198         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
37199         -fasynchronous-unwind-tables.
37200         (CFLAGS-sendto.c): Likewise.
37201         (CFLAGS-sendmsg.c): Likewise.
37202         (CFLAGS-connect.c): Likewise.
37203         (CFLAGS-recvmsg.c): Likewise.
37204         (CFLAGS-recvfrom.c): Likewise.
37205         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
37206         (SOCKETCALL): New macro: non-cancellable socketcall.
37207         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
37208         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
37209         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
37210         * sysdeps/unix/sysv/linux/accept.c: New file.
37211         * sysdeps/unix/sysv/linux/bind.c: Likewise.
37212         * sysdeps/unix/sysv/linux/connect.c: Likewise.
37213         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
37214         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
37215         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
37216         * sysdeps/unix/sysv/linux/listen.c: Likewise.
37217         * sysdeps/unix/sysv/linux/recv.c: Likewise.
37218         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
37219         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
37220         * sysdeps/unix/sysv/linux/send.c: Likewise.
37221         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
37222         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
37223         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
37224         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
37225         * sysdeps/unix/sysv/linux/socket.c: Likewise.
37226         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
37227         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
37228         prototype.
37229         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
37230         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37231         instead of __internal_xxx function.
37232         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
37233         prototype.
37234         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
37235         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37236         instead of __internal_xxx function.
37237         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
37238         prototype.
37239         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
37240         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37241         instead of __internal_xxx function.
37242         * sysdeps/unix/sysv/linux/accept.S: Remove file.
37243         * sysdeps/unix/sysv/linux/bind.S: Likewise.
37244         * sysdeps/unix/sysv/linux/connect.S: Likewise.
37245         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
37246         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
37247         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
37248         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
37249         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
37250         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
37251         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
37252         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
37253         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37254         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
37255         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
37256         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
37257         * sysdeps/unix/sysv/linux/listen.S: Likewise.
37258         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
37259         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
37260         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
37261         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
37262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
37263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
37264         * sysdeps/unix/sysv/linux/recv.S: Likewise.
37265         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
37266         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
37267         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
37268         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
37269         * sysdeps/unix/sysv/linux/send.S: Likewise.
37270         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
37271         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
37272         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
37273         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
37274         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
37275         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
37276         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
37277         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
37278         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
37279         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
37280         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
37281         socketcall is implemented in GLIBC.
37283 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
37285         * soft-fp/fmadf4.c: Include <libc-internal.h>.
37286         (__fma): Ignore uninitialized warnings around packing.
37287         * soft-fp/fmasf4.c: Include <libc-internal.h>.
37288         (__fmaf): Ignore uninitialized warnings around packing.
37289         * soft-fp/fmatf4.c: Include <libc-internal.h>.
37290         (__fmal): Ignore uninitialized warnings around packing.
37292         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
37293         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37294         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
37295         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37297         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
37298         switch statement into default case.
37299         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
37301         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
37302         a conditional in forcing "inexact".
37303         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37304         Likewise.
37306 2015-05-22  Roland McGrath  <roland@hack.frob.com>
37308         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
37309         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
37310         for each INTERNAL_SYSCALL use.
37312 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
37314         [BZ #438]
37315         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
37316         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
37317         variable.
37319         [BZ #18444]
37320         * string/basename.c (basename): Rename to __basename and define as
37321         weak alias of __basename.  Use libc_hidden_weak.
37322         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
37323         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
37324         __basename instead of basename.
37325         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
37326         Remove variable.
37327         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37329 2015-05-18  Florian Weimer  <fweimer@redhat.com>
37331         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
37332         (_IO_JUMPS_FILE_plus): New.
37333         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
37334         _IO_CAST_FIELD_ACCESS.
37335         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
37336         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
37337         * libio/freopen.c (freopen): Likewise.
37338         * libio/freopen64.c (freopen64): Likewise.
37339         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
37340         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
37341         * libio/iofwide.c (_IO_fwide): Likewise.
37342         * libio/memstream.c (open_memstream): Likewise.
37343         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37344         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
37345         * libio/oldiopopen.c (_IO_old_popen): Likewise.
37347 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
37349         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
37350         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
37351         NADJ.
37352         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
37353         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
37354         NADJ.
37355         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
37356         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
37357         NADJ.
37359         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
37360         (p == 4) case.
37362         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
37363         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
37364         Remove variable.
37365         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37366         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37367         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37369 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37371         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
37372         Adjust jump table label generation macros.
37374 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37376         * stdio-common/vfprintf.c (vfprintf): Move local variables
37377         args_malloced, specs, specs_malloced, and the code after
37378         do_positional to the printf_positional function.
37379         (printf_positional): New function.
37381 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37383         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
37384         function.
37385         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
37386         STEP4_TABLE, process_arg): Move macro definitions
37387         out of the vfprintf function.  (Cosmetic change only.)
37389 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
37391         * benchtests/Makefile (stdio-common-bench): Define.
37392         (benchset): Add stdio-common-bench.
37393         * sprintf-inputs: New file.
37394         * sprintf-source.c: New file.
37396 2015-05-21  Andreas Schwab  <schwab@suse.de>
37398         [BZ #13028]
37399         [BZ #17053]
37400         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
37401         of struct __res_state.
37402         * resolv/res_send.c (__libc_res_nsend): Likewise.
37403         (get_nsaddr): New function.
37404         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
37405         statp directly.
37407 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
37409         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
37410         -D_POSIX_C_SOURCE=199506L.
37412         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
37414         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
37415         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
37416         Do not mention otherwise.
37417         [POSIX] (_XOPEN_VERSION): Do not expect.
37418         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
37419         [POSIX] (_POSIX2_C_BIND): Likewise.
37420         [POSIX] (_POSIX2_VERSION): Likewise.
37421         [POSIX] (_XOPEN_XPG2): Likewise.
37422         [POSIX] (_XOPEN_XPG3): Likewise.
37423         [POSIX] (_XOPEN_XPG4): Likewise.
37424         [POSIX] (_XOPEN_UNIX): Likewise.
37425         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
37426         [POSIX] (_POSIX_BARRIERS): Likewise.
37427         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
37428         [POSIX] (_POSIX_CPUTIME): Likewise.
37429         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
37430         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
37431         [POSIX] (_POSIX_SHELL): Likewise.
37432         [POSIX] (_POSIX_SPAWN): Likewise.
37433         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
37434         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
37435         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
37436         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
37437         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
37438         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
37439         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
37440         [POSIX] (_XBS5_LP64_OFF64): Likewise.
37441         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
37442         [POSIX] (_POSIX_TIMEOUTS): Likewise.
37443         [POSIX] (_POSIX2_PBS): Likewise.
37444         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
37445         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
37446         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
37447         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
37448         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
37449         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
37450         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
37451         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
37452         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
37453         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
37454         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
37455         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
37456         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
37457         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
37458         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
37459         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
37460         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
37461         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
37462         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
37463         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
37464         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
37465         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
37466         [POSIX] (_SC_2_C_BIND): Likewise.
37467         [POSIX] (_SC_2_C_VERSION): Likewise.
37468         [POSIX] (_SC_2_PBS): Likewise.
37469         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
37470         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
37471         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
37472         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
37473         [POSIX] (_SC_2_PBS_TRACK): Likewise.
37474         [POSIX] (_SC_ATEXIT_MAX): Likewise.
37475         [POSIX] (_SC_BARRIERS): Likewise.
37476         [POSIX] (_SC_BASE): Likewise.
37477         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
37478         [POSIX] (_SC_DEVICE_IO): Likewise.
37479         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
37480         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
37481         [POSIX] (_SC_FD_MGMT): Likewise.
37482         [POSIX] (_SC_FIFO): Likewise.
37483         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
37484         [POSIX] (_SC_FILE_LOCKING): Likewise.
37485         [POSIX] (_SC_FILE_SYSTEM): Likewise.
37486         [POSIX] (_SC_IOV_MAX): Likewise.
37487         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
37488         [POSIX] (_SC_NETWORKING): Likewise.
37489         [POSIX] (_SC_PAGE_SIZE): Likewise.
37490         [POSIX] (_SC_PASS_MAX): Likewise.
37491         [POSIX] (_SC_PIPE): Likewise.
37492         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
37493         [POSIX] (_SC_REGEXP): Likewise.
37494         [POSIX] (_SC_SHELL): Likewise.
37495         [POSIX] (_SC_SIGNALS): Likewise.
37496         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
37497         [POSIX] (_SC_SPIN_LOCKS): Likewise.
37498         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
37499         [POSIX] (_SC_USER_GROUPS): Likewise.
37500         [POSIX] (_SC_USER_GROUPS_R): Likewise.
37501         [POSIX] (_SC_STREAMS): Likewise.
37502         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
37503         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
37504         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
37505         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
37506         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
37507         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
37508         [POSIX] (_PC_FILESIZEBITS): Likewise.
37509         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
37510         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
37511         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
37512         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
37513         [POSIX] (uid_t): Likewise.
37514         [POSIX] (gid_t): Likewise.
37515         [POSIX] (off_t): Likewise.
37516         [POSIX] (pid_t): Likewise.
37517         [POSIX] (cuserid): Allow.
37518         (_SC_2_CHAR_TERM): Require constant.
37519         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
37520         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
37521         variable.
37523 2015-05-20  Roland McGrath  <roland@hack.frob.com>
37525         * sysdeps/nacl/pthread-pids.h: New file.
37526         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
37527         (create_thread): Use __nacl_get_tid to initialize PD->tid.
37529         * nptl/pthread-pids.h: New file.
37530         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
37531         * nptl/nptl-init.c: Include <pthread-pids.h>.
37532         (__pthread_initialize_minimal_internal):
37533         Call __pthread_initialize_pids instead of set_tid_address syscall.
37535         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
37536         * sysdeps/posix/usleep.c: ... here.
37538 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37540         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
37541         call_pselect6 object.
37542         [$(subdir) = io]: Remove call_sync_file_range object.
37543         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
37544         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
37545         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
37546         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
37548 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
37550         * math/s_cproj.c: Add include "math_private.h".
37551         * math/s_cprojf.c: Likewise.
37552         * math/s_cprojl.c: Likewise.
37554 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
37556         [BZ #18244]
37557         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
37558         high mantissa bit when testing whether P is a NaN.
37559         * math/libm-test.inc (remainder_test_data): Add more tests.
37560         (remquo_test_data): Likewise.
37562         [BZ #18049]
37563         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
37564         below -32, return the argument, with underflow if subnormal.
37565         * math/auto-libm-test-in: Add more tests of atanh.
37566         * math/auto-libm-test-out: Regenerated.
37568 2015-05-19  Roland McGrath  <roland@hack.frob.com>
37570         [BZ #18434]
37571         * nptl/tst-sem15.c: New file.
37572         * nptl/Makefile (tests): Add it.
37573         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
37574         s/<</>>/ to fix typo in EOVERFLOW check.
37575         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
37577 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37579         * manual/strings.texi (envz_remove): Fix typo in safety
37580         annotations.
37582 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
37583             Steve Ellcey  <sellcey@imgtec.com>
37585         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
37586         in order to avoid strict alias warnings.
37587         (iruserok_af): Ditto for ra.
37589 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
37591         [BZ #17581]
37592         * malloc/hooks.c
37593         (magicbyte): Convert to a function and avoid returning 0x01.
37594         (mem2mem_check): Avoid using a length byte equal to the magic byte.
37595         (mem2chunk_check): Fix unsigned comparisons to zero.
37596         Hoist defs of sz and magic.
37598 2015-05-19  Richard Henderson  <rth@redhat.com>
37600         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
37602         * sysdeps/alpha/fpu/libm-test-ulps: Update.
37604 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37606         [BZ #16159]
37607         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
37608         * malloc/arena.c (arena_lock): Check if arena is corrupt.
37609         (reused_arena): Find a non-corrupt arena.
37610         (heap_trim): Pass arena to unlink.
37611         * malloc/hooks.c (malloc_check_get_size): Pass arena to
37612         malloc_printerr.
37613         (top_check): Likewise.
37614         (free_check): Likewise.
37615         (realloc_check): Likewise.
37616         * malloc/malloc.c (malloc_printerr): Add arena argument.
37617         (unlink): Likewise.
37618         (munmap_chunk): Adjust.
37619         (ARENA_CORRUPTION_BIT): New macro.
37620         (arena_is_corrupt): Likewise.
37621         (set_arena_corrupt): Likewise.
37622         (sysmalloc): Use mmap if there are no usable arenas.
37623         (_int_malloc): Likewise.
37624         (__libc_malloc): Don't fail if arena_get returns NULL.
37625         (_mid_memalign): Likewise.
37626         (__libc_calloc): Likewise.
37627         (__libc_realloc): Adjust for additional argument to
37628         malloc_printerr.
37629         (_int_free): Likewise.
37630         (malloc_consolidate): Likewise.
37631         (_int_realloc): Likewise.
37632         (_int_memalign): Don't touch corrupt arenas.
37633         * malloc/tst-malloc-backtrace.c: New test case.
37635         * Makefile (summarize-tests): Fix return value on success.
37637         * manual/string.texi (Envz Functions): Add envz_remove.
37639 2015-05-18  Roland McGrath  <roland@hack.frob.com>
37641         * sysdeps/posix/opendir.c: Include <stdbool.h>.
37642         (invalid_name): New function, broken out of ...
37643         (__opendirat): ... here.  Call it.
37644         (need_isdir_precheck): New function, broken out of ...
37645         (__opendirat): ... here.  Call it.
37646         Use __fxstatat64, not __xstatat64.
37647         (opendir_oflags): New function, broken out of ...
37648         (__opendirat): ... here.  Call it.
37649         (opendir_tail): New function, broken out of ...
37650         (__opendirat): ... here.  Call it.
37651         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
37652         opendir_tail, rather than punting to __opendirat.
37653         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
37655 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37657         * .gitignore: Ignore generated *.pyc.
37659 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
37661         * include/stdio.h: Define __need_wint_t.
37662         * test-skeleton.c: Avoid `for' loop initial declaration.
37663         * nptl/tst-initializers1.c: Use test-skeleton.c.
37665 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37667         [BZ #18418]
37668         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
37670 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
37672         [BZ #16352]
37673         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
37674         (__ieee754_atanh): Force underflow exception for results with
37675         small absolute value.
37676         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
37677         (__ieee754_atanhf): Force underflow exception for results with
37678         small absolute value.
37679         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
37680         (__ieee754_atanh): Force underflow exception for results with
37681         small absolute value.
37682         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
37683         (__ieee754_atanhf): Force underflow exception for results with
37684         small absolute value.
37685         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
37686         (__ieee754_atanhl): Force underflow exception for results with
37687         small absolute value.
37688         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
37689         (__ieee754_atanhl): Force underflow exception for results with
37690         small absolute value.
37691         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
37692         (__ieee754_atanhl): Force underflow exception for results with
37693         small absolute value.
37694         * math/auto-libm-test-in: Do not allow missing underflow
37695         exceptions from atanh.
37696         * math/auto-libm-test-out: Regenerated.
37698         [BZ #18221]
37699         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
37700         2**-28 as threshold for returning x or +/- 1/x.
37701         * math/auto-libm-test-in: Add more tests of tan.
37702         * math/auto-libm-test-out: Regenerated.
37704         [BZ #18220]
37705         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37706         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
37707         * math/auto-libm-test-in: Add another test of lgamma.
37708         * math/auto-libm-test-out: Regenerated.
37710 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
37712         * stdio-common/printf_fp.c (___printf_fp): Use abs.
37713         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
37714         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
37715         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
37716         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
37717         (ADD2A): Use fabs.  (SUB2A): Use fabs.
37718         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
37719         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
37720         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
37721         (log1): Use fabs.  (my_log2): Use fabs.
37722         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
37723         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
37724         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
37725         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
37726         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
37727         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
37728         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
37729         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
37730         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
37731         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
37732         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
37734 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
37736         [BZ #18217]
37737         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
37738         as threshold for returning 1 - x.
37739         * math/auto-libm-test-in: Add more tests of erfc.
37740         * math/auto-libm-test-out: Regenerated.
37742 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
37744         [BZ #18196]
37745         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
37746         threshold for large arguments.
37747         * math/auto-libm-test-in: Add another test of atan.
37748         * math/auto-libm-test-out: Regenerated.
37750         [BZ #16339]
37751         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
37752         (__log1p): Force underflow exception for results with small
37753         absolute value.
37754         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
37755         (__log1pf): Force underflow exception for results with small
37756         absolute value.
37757         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
37758         (__log1p): Force underflow exception for results with small
37759         absolute value.
37760         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
37761         (__log1pf): Force underflow exception for results with small
37762         absolute value.
37763         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
37764         (__log1pl): Force underflow exception for results with small
37765         absolute value.
37766         * math/auto-libm-test-in: Do not allow missing underflow
37767         exceptions from log1p.
37768         * math/auto-libm-test-out: Regenerated.
37770 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
37771             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37773         [BZ #16704]
37774         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
37776 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
37778         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
37779         (libmvec): New variable.
37780         * configure.ac: Added option for mathvec build.
37781         * configure: Regenerated.
37782         * mathvec/Depend: New file.
37783         * mathvec/Makefile: New file.
37784         * shlib-versions: Added libmvec.
37785         * math/Makefile: Added rule for libm.so installation.
37787         * bits/math-vector.h: New file.
37788         * bits/libm-simd-decl-stubs.h: New header.
37789         * math/Makefile (headers): Added new header
37790         libm-simd-decl-stubs.h.
37791         * math/math.h (__MATHCALL_VEC): New macro.
37793         * math/gen-libm-have-vector-test.sh: Script generates series of macros
37794         for conditions in testing functions.
37795         * math/Makefile: Added call of libm-have-vector-test.sh.
37796         * math/libm-test.inc (HAVE_VECTOR): New macros.
37798         * math/libm-test.inc: START refactored.
37799         * math/test-double.c (TEST_MATHVEC): Add define.
37800         * math/test-float.c: Likewise.
37801         * math/test-idouble.c: Likewise.
37802         * math/test-ifloat.c: Likewise.
37803         * math/test-ildoubl.c: Likewise.
37804         * math/test-ldouble.c: Likewise.
37805         * sysdeps/generic/math-tests-arch.h
37806         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
37807         architecture check.
37809         * math/test-double.c (FUNC_TEST): New macro.
37810         * math/test-float.c: Likewise.
37811         * math/test-idouble.c: Likewise.
37812         * math/test-ifloat.c: Likewise.
37813         * math/test-ildoubl.c: Likewise.
37814         * math/test-ldouble.c: Likewise.
37815         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
37817 2015-05-13  Roland McGrath  <roland@hack.frob.com>
37819         * sysdeps/nacl/fdopendir.c: New file.
37821         * dirent/scandir-tail.c: New file.
37822         * dirent/scandir64-tail.c: New file.
37823         * dirent/Makefile (routines): Add them.
37824         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
37825         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
37826         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
37827         [!SCANDIR] (SCANDIR_TAIL): New macro.
37828         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
37829         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
37830         (SCANDIRAT): Macro removed.
37831         (SCANDIR_TAIL): New macro.
37832         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
37833         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
37834         (SCANDIRAT): Just call __opendirat and __scandir_tail.
37835         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
37836         (READDIR): Macro removed.
37837         (SCANDIR_TAIL): New macro.
37838         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
37839         (SCANDIR_TAIL): New macro.
37841         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
37842         * dirent/scandir-cancel.c: ... to this new file.
37843         * dirent/Makefile (routines): Add it.
37844         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
37845         * sysdeps/unix/sysv/linux/i386/scandir64.c
37846         (SKIP_SCANDIR_CANCEL): Macro removed.
37847         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
37849         * dirent/tst-scandir.c: New file.
37850         * dirent/tst-scandir64.c: New file.
37851         * dirent/Makefile (tests): Add them.
37853 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
37855         [BZ #18409]
37856         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
37858 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37860         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
37861         list.
37863 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
37865         * benchtests/bench-strcoll.c: New benchmark.
37866         * benchtests/Makefile: Generate locales and run benchmark.
37867         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
37868         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
37869         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
37870         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
37871         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
37872         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
37873         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
37874         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
37875         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
37876         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
37877         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
37878         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
37879         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
37880         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
37881         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
37882         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
37883         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
37884         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
37885         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
37886         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
37887         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
37888         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
37889         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
37890         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
37892 2015-05-12  Ondƙej BĂ­lka  <neleai@seznam.cz>
37894         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
37895         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37897 2015-05-12  Roland McGrath  <roland@hack.frob.com>
37899         * posix/uname-values.h: New file.
37900         * posix/uname.c: Include that instead of <config-name.h>.
37901         * sysdeps/nacl/uname-values.h: New file.
37902         * sysdeps/arm/nacl/uname-values.h: New file.
37904 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
37906         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
37907         splitting into fields.
37909 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
37911         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
37912         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
37913         * locale/localeinfo.h: Add enum collation_encoding_type.
37914         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
37915         * programs/ld-collate.c (collate_output): Add encoding type info.
37916         * string/strcoll_l.c (STRDIFF): New function.
37917         * (STRCOLL): Use STRDIFF to skip over equal prefix.
37918         * wcsmbs/wcscoll_l.c: Define STRDIFF.
37920 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
37922         [BZ #18397]
37923         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
37924         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
37925         <fpu_control.h> instead of <math/fpu_control.c>.
37926         * sysdeps/mips/mips32/fpu/Makefile: New file.
37928 2015-05-11  Andreas Schwab  <schwab@suse.de>
37930         [BZ #18007]
37931         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
37932         nss_endgrent.
37933         (_nss_compat_endgrent): Call nss_endgrent.
37934         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
37935         nss_endpwent.
37936         (_nss_compat_endpwent): Call nss_endpwent.
37937         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
37938         needent, call nss_setspent only if non-zero.
37939         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
37940         (internal_endspent): Don't call nss_endspent.
37941         (_nss_compat_endspent): Call nss_endspent.
37942         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
37943         Remove.  All uses removed.
37944         (internal_setent): Remove parameter stayopen, add parameter
37945         stream.  Use it instead of global variable.
37946         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
37947         (internal_endent, internal_getent): Add parameter stream.  Use it
37948         instead of global variable.
37949         (CONCAT(_nss_files_end,ENTNAME))
37950         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
37951         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
37952         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
37953         uses removed.
37954         (internal_setent, internal_endent): Add parameter stream.  Use it
37955         instead of global variable.
37956         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
37957         stream.
37958         (get_next_alias): Add parameter stream.
37959         (_nss_files_getaliasent_r): Pass global stream.
37960         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
37961         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
37962         (_nss_files_gethostbyname4_r): Pass local stream to
37963         internal_setent, internal_getent and internal_endent.  Remove
37964         locking.
37966 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37968         * tst-strfmon1.c (tests): Update expected currency symbol.
37970 2015-05-08  Roland McGrath  <roland@hack.frob.com>
37972         * sysdeps/nacl/gethostname.c: New file.
37974 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
37976         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
37977         and sinh.
37978         * math/auto-libm-test-out: Regenerated.
37979         * sysdeps/i386/fpu/libm-test-ulps: Update.
37980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37982 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
37984         [BZ #18125]
37985         * stdlib/tst-setcontext3.c: New file.
37986         * stdlib/tst-setcontext3.sh: New file.
37987         * stdlib/Makefile (tests): Add tst-setcontext3.
37988         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
37989         to verify test program created output file.
37990         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
37991         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
37992         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
37993         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
37995 2015-05-06  Roland McGrath  <roland@hack.frob.com>
37997         [BZ #18383]
37998         * elf/tst-tlsalign.c: New file.
37999         * elf/tst-tlsalign-static.c: New file.
38000         * elf/tst-tlsalign-lib.c: New file.
38001         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
38002         (tests-static): Add tst-tlsalign-static.
38003         (modules-names): Add tst-tlsalign-lib.
38004         (test-xfail-tst-tlsalign): New variable.
38005         (test-xfail-tst-tlsalign-static): New variable.
38007         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
38008         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
38010 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
38012         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
38013         csqrt, erfc, sin and sincos.
38014         * math/auto-libm-test-out: Regenerated.
38015         * sysdeps/i386/fpu/libm-test-ulps: Update.
38016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38018 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
38020         * sysdeps/aarch64/libm-test-ulps: Update.
38022 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
38024         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
38025         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
38026         * math/auto-libm-test-out: Regenerated.
38027         * sysdeps/i386/fpu/libm-test-ulps: Update.
38028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38030 2015-04-30  Daniel MarjamĂ€ki  <daniel.marjamaki@evidente.se>
38032         [BZ #18265]
38033         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
38034         (wcsncpy): Likewise.
38036 2015-05-05  Florian Weimer  <fweimer@redhat.com>
38038         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38039         Assume __ASSUME_FALLOCATE is always true.
38040         * sysdeps/unix/sysv/linux/posix_fallocate64.c
38041         (__posix_fallocate64_l64): Likewise.
38042         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
38043         (posix_fallocate): Likewise.
38044         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
38045         (__posix_fallocate64_l64): Likewise.
38046         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38047         [!__ASSUME_FALLOCATE]: Add comment.
38049 2015-05-05  Florian Weimer  <fweimer@redhat.com>
38051         * sysdeps/unix/sysv/linux/i386/Makefile
38052         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
38053         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
38054         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
38055         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38056         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38057         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
38058         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
38060 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
38062         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
38063         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
38064         tgamma.
38065         * math/auto-libm-test-out: Regenerated.
38066         * sysdeps/i386/fpu/libm-test-ulps: Update.
38067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38069 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
38071         * math/auto-libm-test-in: Add more tests of tgamma.
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 tanh.
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 tan.
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 more tests of cos, sin and sincos.
38087         * math/auto-libm-test-out: Regenerated.
38088         * sysdeps/i386/fpu/libm-test-ulps: Update.
38089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38091         * math/auto-libm-test-in: Add another test of pow.
38092         * math/auto-libm-test-out: Regenerated.
38093         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38095         * math/auto-libm-test-in: Add more tests of lgamma.
38096         * math/auto-libm-test-out: Regenerated.
38097         * sysdeps/i386/fpu/libm-test-ulps: Update.
38098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38100         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
38101         log1p.
38102         * math/auto-libm-test-out: Regenerated.
38103         * sysdeps/i386/fpu/libm-test-ulps: Update.
38104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38106 2015-05-01  Mark Wielaard  <mjw@redhat.com>
38108         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
38109         Elf64_Chdr structs and ELFCOMPRESS constants.
38111 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
38113         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
38114         expm1.
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         * math/auto-libm-test-in: Add more tests of erf and erfc.
38120         * math/auto-libm-test-out: Regenerated.
38121         * sysdeps/i386/fpu/libm-test-ulps: Update.
38122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38124 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
38126         * config.h.in (HAVE_AARCH64_BE): Add.
38128 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
38130         * math/auto-libm-test-in: Add more tests of csqrt.
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         * math/auto-libm-test-in: Add more tests of cosh and sinh.
38136         * math/auto-libm-test-out: Regenerated.
38137         * sysdeps/i386/fpu/libm-test-ulps: Update.
38138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38140         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
38142 2015-04-29  Roland McGrath  <roland@hack.frob.com>
38144         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
38145         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
38147         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
38148         (euidaccess, eaccess): Define as weak aliases.
38150         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
38151         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
38152         but __suseconds_t is often 'long int' so some sources assume that
38153         type is being used (e.g. they use %ld to print tv_usec).
38155 2015-04-29  Florian Weimer  <fweimer@redhat.com>
38157         [BZ #18007]
38158         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
38159         (CVE-2014-8121)
38160         * nss/tst-nss-getpwent.c: New file.
38161         * nss/Makefile (tests): Add new test.
38163 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
38165         [BZ #18346]
38166         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
38167         exponents less than 48 as cases where high part of mantissa needs
38168         examining to determine whether argument is integral.
38169         * math/libm-test.inc (round_test_data): Add more tests.
38171 2015-04-28  Mark Wielaard  <mjw@redhat.com>
38173         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
38175 2015-04-27  David S. Miller  <davem@davemloft.net>
38177         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
38178         __tls_get_addr.
38179         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
38181 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
38183         [BZ #18333]
38184         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
38186 2015-04-27  Florian Weimer  <fweimer@redhat.com>
38188         [BZ #18333]
38189         * time/tzset.c (parse_tzname): Return error on memory allocation
38190         failure.
38191         * test-skeleton.c (struct temp_name_list): Change type of name
38192         member to non-const.
38193         (add_temp_file): Create a copy of the file name.
38194         (delete_temp_files): Deallocate memory.
38195         (create_temp_file): Add comment.
38197 2015-04-24  Florian Weimer  <fweimer@redhat.com>
38199         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
38200         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
38202 2015-04-24  Roland McGrath  <roland@hack.frob.com>
38204         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
38205         * sysdeps/arm/configure: Regenerated.
38207 2015-04-24  Florian Weimer  <fweimer@redhat.com>
38209         [BZ #17715]
38210         * time/tzfile.c (__tzfile_read): Check for large values of
38211         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
38212         * time/tzset.c (__tzstring_len): New function, based on the old
38213         __tzstring function.
38214         (__tzstring): Call __tzstring_len.
38215         (parse_tzname): New helper function extracted from
38216         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
38217         the input string.
38218         (parse_offset): New helper function extracted from
38219         __tzset_parse_tz.  Replace switch with fallthrough with
38220         initialization before sscanf.
38221         (parse_rule): Likewise.
38222         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
38223         new-style function definition.
38224         * timezone/Makefile (tests): Add tst-tzset.
38225         (tst-tzset.out): Dependencies on time zone files.
38226         (tst-tzset-ENV): Set TZDIR.
38227         (testdata/XT%): Copy crafted time zone files.
38228         * timezone/README: Mention crafted time zone files.
38229         * timezone/testdata/XT1, timezone/testdata/XT2,
38230         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
38231         files.
38232         * timezone/tst-tzset.c: New test.
38234 2015-04-24  Florian Weimer  <fweimer@redhat.com>
38236         * Makeconfig (+gccwarn): Remove -Winline.
38238 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
38240         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
38242 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
38244         * NEWS: Mention sysconf() cache information support for s390.
38245         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
38247 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
38249         * math/k_casinh.c (__kernel_casinh): Use __copysign.
38250         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
38251         (__nearbyint): Likewise.
38252         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
38253         (copysignl): Likewise.
38255 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
38257         [BZ #18287]
38258         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
38259         based on padding.  (CVE-2015-1781)
38261 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
38263         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
38264         libc-vdso.h.
38265         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
38266         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
38267         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
38268         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38269         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38270         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
38271         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
38272         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38273         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38274         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
38275         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38276         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38277         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
38278         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
38279         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38280         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
38281         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
38282         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
38283         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
38284         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
38285         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
38286         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
38287         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
38289 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
38291         * stdlib/setenv.c (__add_to_environ):
38292         Dump core quickly if setenv (..., NULL, ...) is called.
38293         This time, do it the right way, and pacify GCC with a pragma.
38295 2015-04-17  Roland McGrath  <roland@hack.frob.com>
38297         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
38298         IMAP->l_prev cannot be null, and #if out the code for the contrary
38299         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
38300         believe that NS (&_dl_ns[NSID]) could point outside the array.
38302         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
38303         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
38304         before using NSID as an index.
38306 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
38308         [BZ #17825]
38309         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
38310         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
38311         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
38313 2015-04-17  Roland McGrath  <roland@hack.frob.com>
38315         Add preliminary port to Google Native Client on ARM.
38316         * abi-tags (.*-.*-nacl.*): New entry.
38317         * sysdeps/arm/nacl: New directory.
38318         * sysdeps/nacl: New directory.
38320 2015-04-16  David S. Miller  <davem@davemloft.net>
38322         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
38323         lowlevellock-futex.h
38325 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
38327         * sysdeps/tile/configure.ac: New file.
38328         * sysdeps/tile/configure: Regenerated.
38330 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
38332         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
38333         conditionals for weak_alias and libc_hidden_weak.
38334         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
38335         libc_hidden_weak and weak_alias.
38336         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
38337         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
38338         and weak_alias for static one.
38340 2015-04-15  David S. Miller  <davem@davemloft.net>
38342         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38344 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38346         [BZ #18206]
38347         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
38348           Use signed comparision instead of substraction to avoid
38349           overflow bug.
38350         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
38351           Take the sign of ret.
38352         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
38353           Do not expect precise return values. Only the sign matters.
38354         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
38355         * wcsmbs/test-wcsncmp.c: New File.
38356         * string/test-strncmp.c: Add wcsncmp support.
38358 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38360         [BZ #6792]
38361         * math/w_log1p.c: New file.
38362         * math/w_log1pf.c: Likewise.
38363         * math/w_log1pl.c: Likewise.
38364         * math/Makefile (libm-calls): Add w_log1p.
38365         * math/s_log1pl.c (log1pl): Remove weak_alias.
38366         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
38367         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
38368         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
38369         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
38370         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
38371         [NO_LONG_DOUBLE] (log1pl): Likewise.
38372         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
38373         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
38374         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
38375         (log1p): Remove long_double_symbol.
38376         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
38377         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
38378         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
38379         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
38380         remove weak_alias for corresponding log1p function.
38381         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
38382         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
38383         * sysdeps/ia64/fpu/w_log1p.c: New file.
38384         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
38385         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
38386         * math/libm-test.inc (log1p_test_data): Add errno expectations.
38388 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
38390         [BZ #18247]
38391         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
38392         decimal exponent by 1.
38393         * stdlib/tst-strtod-round-data: Add more tests.
38394         * stdlib/tst-strtod-round.c (tests): Regenerated.
38396 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
38398         * math/auto-libm-test-in: Add more tests of clog and clog10.
38399         * math/auto-libm-test-out: Regenerated.
38400         * sysdeps/i386/fpu/libm-test-ulps: Update.
38401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38403 2015-04-09  Roland McGrath  <roland@hack.frob.com>
38405         * Makeconfig (module-cppflags): Exclude all .v.i files.
38406         (skip-module-cppflags): Variable removed.
38408         * configure.ac (libc_config_ok): Initialize before reading
38409         preconfigure scripts, not after.
38410         * configure: Regenerated.
38412         * test-skeleton.c (TIMEOUT): Move #define to top level.
38413         (main): Grok environment variable TEST_DIRECT.  If set, print
38414         test expectation details into that file and then behave as if
38415         given --direct.
38417 2015-04-09  Florian Weimer  <fweimer@redhat.com>
38419         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
38420         warning on 32-bit.
38422 2015-04-08  David S. Miller  <davem@davemloft.net>
38424         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38426 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
38428         * math/auto-libm-test-in: Add more tests of atanh.
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         * math/auto-libm-test-in: Add more tests of atan.
38434         * math/auto-libm-test-out: Regenerated.
38435         * sysdeps/i386/fpu/libm-test-ulps: Update.
38436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38438 2015-04-08  Florian Weimer  <fweimer@redhat.com>
38440         * elf/pldd.c (main): Rewrite to use struct
38441         scratch_buffer instead of extend_alloca.
38442         * elf/pldd-xx.c (find_maps): Likewise.
38443         * grp/initgroups.c: Include <scratch_buffer.h> instead of
38444         <alloca.h>.
38445         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
38446         scratch_buffer instead of extend_alloca.
38447         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
38448         grp/compat-initgroups.c.
38449         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
38450         Rewrite to use struct scratch_buffer instead of extend_alloca.
38451         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
38452         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38454 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
38456         * math/auto-libm-test-in: Add more tests of cbrt.
38457         * math/auto-libm-test-out: Regenerated.
38458         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38460         * math/auto-libm-test-in: Add more tests of cabs.
38461         * math/auto-libm-test-out: Regenerated.
38462         * sysdeps/i386/fpu/libm-test-ulps: Update.
38463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38465         [BZ #18210]
38466         [BZ #18211]
38467         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
38468         (__ieee754_atan2): Set FE_TONEAREST mode for internal
38469         computations.
38470         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
38471         clog10.
38472         * math/auto-libm-test-out: Regenerated.
38473         * sysdeps/i386/fpu/libm-test-ulps: Update.
38474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38476         [BZ #18197]
38477         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
38478         (atan): Set FE_TONEAREST mode for internal computations.
38479         * math/auto-libm-test-in: Add more tests of atan.
38480         * math/auto-libm-test-out: Regenerated.
38482 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
38484         [BZ #17930]
38485         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
38487 2015-04-07  Florian Weimer  <fweimer@redhat.com>
38489         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
38491 2015-04-07  Florian Weimer  <fweimer@redhat.com>
38493         * include/scratch_buffer.h: New file.
38494         * malloc/scratch_buffer_grow.c: Likewise.
38495         * malloc/scratch_buffer_grow_preserve.c: Likewise.
38496         * malloc/scratch_buffer_set_array_size.c: Likewise.
38497         * malloc/tst-scratch_buffer.c: Likewise.
38498         * malloc/Makefile (routines): Add scratch_buffer_grow.
38499         (tests): Add test case.
38500         * malloc/Versions (GLIBC_PRIVATE): Export
38501         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
38502         __libc_scratch_buffer_set_array_size.
38504 2015-04-06  Richard Henderson  <rth@redhat.com>
38506         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
38507         * sysdeps/alpha/fpu/libm-test-ulps: Update.
38509         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
38510         unsigned int before printing.
38512 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38514         [BZ #17596]
38515         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
38516         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38518 2015-04-02  Florian Weimer  <fweimer@redhat.com>
38520         * include/libc-internal.h (libc_max_align_t): Define.
38522 2015-04-02  Andreas Schwab  <schwab@suse.de>
38524         [BZ #16850]
38525         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
38527 2015-04-02  Mel Gorman  <mgorman@suse.de>
38529         [BZ #17195]
38530         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
38531         as well as the main arena.
38533 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38535         [BZ #18185]
38536         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
38537         sharing L2 cache to 2 for Silvermont/Knights Landing.
38539 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38541         [BZ #17711]
38542         * config.make.in (have-protected-data): New.
38543         * configure.ac: Check linker support for protected data symbol.
38544         * configure: Regenerated.
38545         * elf/Makefile (modules-names): Add tst-protected1moda and
38546         tst-protected1modb if $(have-protected-data) is yes.
38547         (tests): Add tst-protected1a and tst-protected1b if
38548         $(have-protected-data) is yes.
38549         ($(objpfx)tst-protected1a): New.
38550         ($(objpfx)tst-protected1b): Likewise.
38551         (tst-protected1modb.so-no-z-defs): Likewise.
38552         * elf/tst-protected1a.c: New file.
38553         * elf/tst-protected1b.c: Likewise.
38554         * elf/tst-protected1mod.h: Likewise.
38555         * elf/tst-protected1moda.c: Likewise.
38556         * elf/tst-protected1modb.c: Likewise.
38558 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38560         [BZ #17711]
38561         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
38562         indicates it is called from do_lookup_x on relocation against
38563         protected data, skip the data definion in the executable from
38564         copy reloc.
38565         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
38566         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
38567         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
38568         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
38569         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
38570         otherwise to 0.
38571         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38572         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
38573         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
38574         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38575         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
38576         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
38578 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
38580         * sysdeps/nptl/pthread.h: Remove duplicate definition of
38581         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
38583 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
38585         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
38586         THREAD_SETMEM_NC.
38587         * sysdeps/x86_64/nptl/tls.h: Ditto.
38589 2015-03-27  Roland McGrath  <roland@hack.frob.com>
38591         * dlfcn/tststatic.c (main): Converted to ...
38592         (do_test): ... this.
38593         (TEST_FUNCTION): New macro.
38594         Include test-skeleton.c.
38596 2015-03-26  Alan Modra  <amodra@gmail.com>
38598         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
38599         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
38600         zero for undefined weak.
38601         (elf_machine_plt_conflict): Similarly.
38603 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
38605         * math/auto-libm-test-in: Add more tests of acosh, asinh and
38606         atanh.
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         * math/auto-libm-test-in: Add another test of asin.
38612         * math/auto-libm-test-out: Regenerated.
38613         * sysdeps/i386/fpu/libm-test-ulps: Update.
38614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38616         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
38617         Remove macro.
38618         (LLL_EBX_REG): Likewise.
38619         (LLL_ENTER_KERNEL): Likewise.
38621         * math/auto-libm-test-in: Add more tests of asin.
38622         * math/auto-libm-test-out: Regenerated.
38623         * sysdeps/i386/fpu/libm-test-ulps: Update.
38624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38626         [BZ #18138]
38627         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
38628         libc_do_syscall_args): New structure.
38629         (INTERNAL_SYSCALL_MAIN_0): New macro.
38630         (INTERNAL_SYSCALL_MAIN_1): Likewise.
38631         (INTERNAL_SYSCALL_MAIN_2): Likewise.
38632         (INTERNAL_SYSCALL_MAIN_3): Likewise.
38633         (INTERNAL_SYSCALL_MAIN_4): Likewise.
38634         (INTERNAL_SYSCALL_MAIN_5): Likewise.
38635         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
38636         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
38637         Replace conditional definitions by conditional definitions of ....
38638         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
38639         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
38640         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
38641         (libpthread-sysdep_routines): Add libc-do-syscall.
38642         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
38643         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
38644         to __NR_futex not 240.
38646 2015-03-25  Alan Modra  <amodra@gmail.com>
38648         * NEWS: Advertise TLS optimization.
38649         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
38650         (DT_PPC_NUM): Increment.
38651         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
38652         (CHECK_STATIC_TLS): Use here.
38653         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
38654         TLS descriptors.
38655         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38656         * sysdeps/powerpc/dl-tls.c: New file.
38657         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
38658         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
38659         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
38660         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
38661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
38662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
38663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
38665 2015-03-25  Alan Modra  <amodra@gmail.com>
38667         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
38668         for overlapping .opd entries" to "support...".
38669         * sysdeps/powerpc/powerpc64/configure: Regenerate
38671 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
38673         * math/auto-libm-test-in: Add more tests of acos.
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         * math/auto-libm-test-in: Add more tests of expm1.
38679         * math/auto-libm-test-out: Regenerated.
38680         * sysdeps/i386/fpu/libm-test-ulps: Update.
38681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38683 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
38685         * math/auto-libm-test-in: Add more tests of cosh and sinh.
38686         * math/auto-libm-test-out: Regenerated.
38687         * sysdeps/i386/fpu/libm-test-ulps: Update.
38688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38690         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38693         * math/auto-libm-test-in: Add more tests of log2.
38694         * math/auto-libm-test-out: Regenerated.
38695         * sysdeps/i386/fpu/libm-test-ulps: Update.
38696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38698 2015-03-23  Roland McGrath  <roland@hack.frob.com>
38700         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
38701         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
38702         _IO_IS_APPENDING bit in READ_WRITE instead.
38704 2015-03-23  Florian Weimer  <fweimer@redhat.com>
38706         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
38707         (__determine_cpumask_size): Replace extend_alloca with a
38708         variable-length array.  Do not treat res == 0 as an error.
38710 2015-03-23  Florian Weimer  <fweimer@redhat.com>
38712         [BZ #18100]
38713         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
38714         and integer overflow.
38715         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
38716         (main): Add integer overflow tests.
38717         * manual/pattern.texi (Calling Wordexp): Document additional use
38718         for WRDE_SYNTAX.
38720 2015-03-23  Alan Modra  <amodra@gmail.com>
38722         * config.h.in: Remove HAVE_ASM_PPC_REL16.
38723         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
38724         and false branch of conditional.
38725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38726         Likewise.
38728 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
38730         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
38731         libc-modules.h
38732         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
38733         unused declaration of _hurd_intr_rpc_msg_in_trap.
38734         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
38735         defined instead of whether it is non-zero.
38736         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
38737         input constraint instead of both input and output constraint.  Use ecx
38738         clobber instead of %ecx.
38739         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
38740         mutex_unlock): Use a statement expression instead of an expression list.
38741         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
38742         type to vm_size_t instead of vm_address_t.
38743         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
38744         defined instead of whether it is non-zero.
38745         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
38746         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
38747         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
38748         comparisons with mapaddr.
38749         * nscd/nscd-client.h: Include <time.h>.
38750         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
38751         9th parameter to __vm_region instead of int.
38752         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
38753         * scripts/check-local-headers.sh (exclude): Add device/,
38754         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
38755         cthreads.h.
38757 2015-03-19  Roland McGrath  <roland@hack.frob.com>
38759         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
38760         to account for alignment padding.
38761         * sysdeps/arm/memmove.S: Likewise.
38763 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
38765         * sysdeps/unix/sysv/linux/generic/README: New file.
38767 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
38769         [BZ #18138]
38770         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
38771         (futex_abstimed_wait)
38772         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
38773         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
38774         of lll_futex_timed_wait.
38776 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
38778         [BZ #17542]
38779         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
38781 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
38783         [BZ #17090]
38784         [BZ #17620]
38785         [BZ #17621]
38786         [BZ #17628]
38787         * NEWS: Update.
38788         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
38789         entries with Static TLS too.  Skip entries past the end of the
38790         allocated DTV, from Alan Modra.
38791         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
38792         Static TLS DTV entry set up from...
38793         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
38794         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
38795         * nptl/allocatestack.c (init_one_static_tls): ... and here...
38796         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
38797         for Static TLS.
38798         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
38799         that the slot we find is associated with the given map before
38800         using its generation count.
38801         * nptl_db/db_info.c: Include ldsodefs.h.
38802         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
38803         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
38804         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
38805         (link_map::l_tls_offset): New struct field.
38806         (dtv_t::counter): Likewise.
38807         (rtld_global): New struct.
38808         (_rtld_global): New rtld variable.
38809         (dl_tls_dtv_slotinfo_list): New rtld global field.
38810         (dtv_slotinfo_list): New struct.
38811         (dtv_slotinfo): Likewise.
38812         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
38813         (td_lookup): Rename to...
38814         (td_mod_lookup): ... this.  Use new mod parameter instead of
38815         LIBPTHREAD_SO.
38816         * nptl_db/td_thr_tlsbase.c: Include link.h.
38817         (dtv_slotinfo_list, dtv_slotinfo): New functions.
38818         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
38819         addresses even if the DTV is out of date or missing them.
38820         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
38821         index zero-length arrays.
38822         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
38823         (td_lookup): Make it a macro implemented in terms of...
38824         (td_mod_lookup): ... this declaration.
38825         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
38826         (DB_MAIN_VARIABLE): Likewise.
38828 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38830         [BZ #18134]
38831         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
38833 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
38835         * stdlib/setenv.c (__add_to_environ): Revert previous change.
38837 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
38839         [BZ #18128]
38840         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
38841         (atomic_add, atomic_increment_and_test)
38842         (atomic_decrement_and_test): Fix 64-bit arithmetic.
38844 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
38846         * stdlib/setenv.c (__add_to_environ):
38847         Dump core quickly if setenv (..., NULL, ...) is called.
38849 2015-03-13  Roland McGrath  <roland@hack.frob.com>
38851         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
38852         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
38853         all the necessary asm magic in one place.
38854         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
38855         using those.
38857 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
38859         [BZ #14906]
38860         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
38861         traced file mtime. Use consistent log message.
38862         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
38863         (register_traced_file): Call install_watches. Always set mtime.
38864         (invalidate_cache): Iterate over all trace files. Call install_watches.
38865         (inotify_check_files): Don't inline. Handle watching parent
38866         directories and configuration file movement in and out.
38867         (handle_inotify_events): New function.
38868         (main_loop_poll): Call handle_inotify_events.
38869         (main_loop_epoll): Likewise.
38870         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
38871         (struct traced_file): Use array of inotify fds. Add parent directory,
38872         and basename.
38873         (struct database_dyn): Remove unused file_mtime.
38874         (init_traced_file): New inline function.
38875         (define_traced_file): New macro.
38876         * nss/nss_db/db-init.c: Use define_traced_file.
38877         (_nss_db_init): Use init_traced_file.
38878         * nss/nss_files/files-init.c: Use define_traced_file.
38879         (_nss_files_init): Use init_traced_file.
38881 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
38883         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
38884         [_LIBC]: Do not include <stdlib.h>.
38885         [!_LIBC] (abort): Remove declaration.
38886         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
38887         _FP_STATIC_ASSERT instead of conditionally calling abort.
38888         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
38889         (_FP_EXTEND_CNAN): Likewise.
38890         (FP_TRUNC): Likewise.
38891         (__FP_CLZ): Likewise.
38892         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
38894 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
38896         * manual/string.texi (XPG basename): Fix prototype.
38898 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38900         [BZ #18080]
38901         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
38902         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38903         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
38904         (__setcontext): Likewise.
38905         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
38906         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38907         Call rt_sigprocmask syscall one time to set new signal mask
38908         and retrieve the current signal mask instead of two calls.
38909         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
38910         (__swapcontext): Likewise.
38911         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
38912         * stdlib/tst-setcontext2.c: New file.
38914 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38916         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38918 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
38920         [BZ #18093]
38921         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
38922         the wrong size.
38924 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
38926         [BZ #18043]
38927         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
38929 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38931         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
38932         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
38933         Remove define.
38934         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
38935         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
38936         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
38937         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
38938         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
38939         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
38940         define.
38941         * nptl_db/td_symbol_list.c (td_lookup): Remove
38942         HAVE_ASM_GLOBAL_DOT_NAME code.
38943         * sysdeps/powerpc/powerpc64/configure.ac: Remove
38944         HAVE_ASM_GLOBAL_DOT_NAME check.
38945         * sysdeps/powerpc/powerpc64/configure: Regenerate.
38946         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
38947         (DOT_LABEL): Remove define.
38948         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
38949         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
38950         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
38951         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
38952         (__TLS_GET_ADDR): Likewise.
38953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
38954         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
38956 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
38958         [BZ #18111]
38959         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
38960         (_FPU_SETCW): Initialize cw from fpsr before storing.
38961         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
38962         (fesetexceptflag): Rewrite using fpu_control.h.
38963         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
38965 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
38967         [BZ #18110]
38968         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
38969         asms.
38970         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
38972 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
38974         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
38975         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
38976         abort.
38977         (_FP_FMA): Likewise.
38978         (_FP_DIV): Likewise.
38980 2015-03-10  Roland McGrath  <roland@hack.frob.com>
38982         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
38983         with 0 in that case.
38984         * Makefile (summarize-tests): New canned sequence, factored out of
38985         commands for targets tests and xtests.  Display summary lines that
38986         don't start with PASS: or XFAIL: rather than ones that do start with
38987         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
38988         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
38989         do start with ERROR: or FAIL:.
38990         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
38991         (except for [$(build-shared) = yes]).
38992         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
38993         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
38994         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
38995         * nptl/Makefile: Revert 2015-03-04 changes.
38996         [$(CXX) empty] (tests-unsupported): New variable.
38997         * debug/Makefile: Likewise.
38999         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
39000         gnulib file.  Replace __attribute with __attribute__ throughout.
39002 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
39004         * sysdeps/hppa/fpu/libm-test-ulps: Update.
39006 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
39008         [BZ #18104]
39009         * math/auto-libm-test-in: Add another test of pow.
39010         * math/auto-libm-test-out: Regenerated.
39012 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39014         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
39015         $(config-cflags-nofma).
39017 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
39019         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
39020         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
39021         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
39022         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
39023         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
39024         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
39025         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
39026         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
39027         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
39028         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
39029         Add comment on closing #endif.
39031 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
39033         * posix/wordexp.c (CHAR_IN_SET): New macro.
39034         (parse_param): Use it.
39036 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39038         * sysdeps/powerpc/fpu/libm-test-ulps: update.
39040 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
39042         [BZ #18043]
39043         * posix/wordexp.c (parse_param): Fix buffer overflow.
39044         * posix/wordexp-test.c (test_case): Add test case.
39046 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
39048         [BZ #18042]
39049         * posix/wordexp.c (parse_backtick): Fix off-by-one.
39050         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
39052 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
39054         [BZ #18043]
39055         * posix/wordexp-test.c (test_case): Add test for BZ #18043
39056         (do_bz18043): Delete.
39057         (at_page_end): New.
39058         (testit): Refactor to have words at the edge of unreadable page.
39060 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
39062         [BZ #16734]
39063         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
39064         Cleanup read-only streams as well.
39065         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
39067 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39069         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
39070         <bits/libc-lockP.h>
39072 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
39074         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
39075         on [__KERNEL__].
39076         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
39077         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
39078         * soft-fp/op-common.h (_FP_DECL): Likewise.
39080 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
39082         * elf/ifuncdep2.c (global): Replace
39083         __attribute__((visibility("protected"))) with
39084         asm (".protected global").
39085         * elf/ifuncmod1.c (global): Likewise.
39086         * elf/ifuncmod5.c (global): Likewise.
39088 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
39090         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
39091         <asm/sfp-machine.h> instead of <sfp-machine.h>.
39093 2015-03-06  Roland McGrath  <roland@hack.frob.com>
39095         * manual/install.texi (Configuring and compiling):
39096         Document test-wrapper-env-only.
39097         * INSTALL: Regenerated.
39099 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39101         [BZ #18043]
39102         * posix/wordexp.c (parse_param): Fix buffer overflow.
39103         * posix/wordexp-test.c (do_bz18043): Add test case.
39105 2015-03-06  Vincent Bernat  <vincent@bernat.im>
39107         * time/tst-strptime2.c (do_test): Ensure failing tests are
39108         reported correctly.
39109         * time/tst-strptime3.c (do_test): Likewise.
39111 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
39113         Fix aio_error thread-safety.
39114         * sysdeps/pthread/aio_error.c: New file
39115         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
39116         synchronization.
39118 2015-03-06  Florian Weimer  <fweimer@redhat.com>
39120         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
39121         (group_number, vfprintf): Use it.
39122         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
39123         (JUMP, REF): Use it.
39124         (WORK_BUFFER_SIZE): New enum constant.
39125         (process_arg, vfprintf): Use it.
39127 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
39129         * manual/errno.texi (Error Messages): Complete example function
39130         by adding missing #define.
39131         (program_invocation_name): Add statement indicating GNU
39132         extension and reference which header file declares the variable.
39133         (program_invocation_short_name): Likewise.
39135 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
39137         * manual/errno.texi (Error Messages): Delete strerror ISO C89
39138         compatibility note.
39140 2015-03-05  Roland McGrath  <roland@hack.frob.com>
39142         * Makeconfig (test-wrapper-env-only): New variable.
39143         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
39144         then use that with $(test-wrapper-env-only) rather than using
39145         $(test-wrapper-env) $(run-program-env) $($*-ENV).
39147 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
39149         [BZ #18082]
39150         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
39151         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
39152         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
39153         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
39154         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
39155         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
39156         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
39157         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
39158         Likewise.
39159         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
39160         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
39161         Likewise.
39162         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
39163         Likewise.
39164         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
39165         Likewise.
39166         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
39167         Likewise.
39168         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
39169         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
39170         Likewise.
39171         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
39172         Likewise.
39173         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
39174         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
39176 2015-03-04  Roland McGrath  <roland@hack.frob.com>
39178         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
39179         (ETH_ALEN): New macro.
39180         (struct ether_addr): Use it for length of ether_addr_octet.
39182         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
39183         (setdb): Don't call __nss_configure_lookup for "rpc".
39184         (do_test): Don't call test_rpc.
39185         (output_rpcent, test_rpc): Functions moved ...
39186         * sunrpc/test-rpcent.c: ... to this new file.
39187         * sunrpc/Makefile (tests): Add it.
39189         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
39190         __xpg_sigpause.
39191         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
39192         * nptl/tst-signal6.c: Likewise.
39193         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
39194         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
39196         * configure.ac (libc_cv_cxx_link_ok): New check.
39197         Reset CXX to empty if it fails to link.
39198         * configure: Regenerated.
39199         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
39200         bug-atexit3-lib only if $(CXX) is nonempty.
39201         * nptl/Makefile (tests): Likewise for tst-cancel24.
39202         (tests, tests-static): Likewise for tst-cancel24-static.
39203         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
39204         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
39205         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
39206         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
39208 2015-03-04  Andreas Schwab  <schwab@suse.de>
39210         [BZ #17631]
39211         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
39212         for non-GCC compilers.
39213         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39214         Likewise.
39216 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39218         [BZ #17776]
39219         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
39220         integer before bitwise and assembly operations.
39221         (feclearexcept): Likewise.
39222         * math/test-fenvinline.c: New file.
39223         * math/Makefile: Add test-fenvinline test.
39225 2015-03-03  Alan Modra  <amodra@gmail.com>
39227         [BZ #16512]
39228         * scripts/localplt.awk: Strip off symbol version.
39229         * NEWS: Mention bug fix.
39231 2015-03-02  Roland McGrath  <roland@hack.frob.com>
39233         * sysdeps/pthread/timer_routines.c
39234         (timer_free_list, thread_free_list, thread_active_list): Make static.
39236 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
39238         [BZ #17779]
39239         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39240         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39241         Undefine.
39242         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39243         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39244         Likewise.
39245         * sysdeps/unix/sysv/linux/sh/kernel-features.h
39246         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39247         Likewise.
39249 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
39251         [BZ #18036]
39252         * posix/fnmatch_loop.c (END): Detect invalid pattern.
39253         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
39255 2015-03-02  Andreas Schwab  <schwab@suse.de>
39257         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
39258         variable name.
39260 2015-03-02  Florian Weimer  <fweimer@redhat.com>
39262         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
39263         Return error status.
39265 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
39267         [BZ #15969]
39268         * locale/findlocale.c (_nl_find_locale): Introduce const
39269         version of loc_name and drop unsafe type casts.
39271 2015-02-27  Roland McGrath  <roland@hack.frob.com>
39273         * dlfcn/tststatic2.c (main): Converted to ...
39274         (do_test): ... this.
39275         (TEST_FUNCTION): New macro.
39276         Include test-skeleton.c.
39278 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
39280         [BZ #17711]
39281         * elf/Makefile (tests): Add vismain only if PIE is enabled.
39282         (tests-pie): Add vismain.
39283         (CFLAGS-vismain.c): New.
39284         * elf/vismain.c: Add comments for PIE requirement.
39286 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
39288         [BZ #18046]
39289         [BZ #18047]
39290         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
39291         0x1p-56L as threshold for just returning the argument.
39292         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
39293         0x1p-32L as threshold for just returning the argument.
39294         * math/auto-libm-test-in: Add more tests of atanh.
39295         * math/auto-libm-test-out: Regenerated.
39296         * sysdeps/i386/fpu/libm-test-ulps: Update.
39297         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
39299 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
39301         * string/bcopy.c (bcopy): Call memmove for performance.
39303 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
39305         * string/bzero.c (__bzero): Call memset for performance.
39307 2015-02-27  John David Anglin  <dave.anglin@bell.net>
39309         [BZ #18068]
39310         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
39311         to 00100000.
39313 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
39315         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
39317 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
39319         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
39320         (__kernel_standard): Use CSTR macro when setting exc.name.
39321         * sysdeps/ieee754/Makefile [$(subdir) = math]
39322         (CFLAGS-k_standard.c): Remove variable.
39324         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
39325         setting p and q from "else if" to "else".
39326         (qzero): Likewise.
39327         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
39328         (qone): Likewise.
39329         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
39330         (qzerof): Likewise.
39331         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
39332         (qonef): Likewise.
39333         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
39334         (qzero): Likewise.
39335         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
39336         (qone): Likewise.
39338         [BZ #18038]
39339         [BZ #18039]
39340         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
39341         return pi/2 for arguments below 0x1p-113L.
39342         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
39343         return pi/2 for arguments below 0x1p-106L.
39344         * math/auto-libm-test-in: Add more tests of acos.
39345         * math/auto-libm-test-out: Regenerated.
39347         [BZ #16351]
39348         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
39349         (MO): New macro.
39350         (__ieee754_asin): Force underflow exception for results with small
39351         absolute value.
39352         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
39353         (MO): New macro.
39354         (__ieee754_asinf): Force underflow exception for results with
39355         small absolute value.
39356         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
39357         (__ieee754_asin): Force underflow exception for results with small
39358         absolute value.
39359         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
39360         (__ieee754_asinf): Force underflow exception for results with
39361         small absolute value.
39362         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
39363         (__ieee754_asinl): Force underflow exception for results with
39364         small absolute value.
39365         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
39366         (__ieee754_asinl): Force underflow exception for results with
39367         small absolute value.
39368         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
39369         (__ieee754_asinl): Force underflow exception for results with
39370         small absolute value.
39371         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
39372         Include <math.h>.
39373         * math/auto-libm-test-in: Do not mark underflow exceptions as
39374         possibly missing for bug 16351.
39375         * math/auto-libm-test-out: Regenerated.
39377         [BZ #18030]
39378         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
39379         of power of 2 down when low part has opposite sign.
39380         * math/libm-test.inc (logb_test_data): Add more tests.
39382 2015-02-26  Andreas Schwab  <schwab@suse.de>
39384         [BZ #18032]
39385         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
39386         over collating symbol inside a bracket expression.  Minor cleanup.
39387         * posix/tst-fnmatch3.c (do_test): Add test case.
39389 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
39391         [BZ #18029]
39392         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
39393         Adjust exponent of power of 2 down when low part has opposite
39394         sign.
39395         * math/libm-test.inc (ilogb_test_data): Add more tests.
39397 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
39399         [BZ #15969]
39400         * locale/findlocale.c (_nl_find_locale): Fix constness error in
39401         the previous change.
39403         [BZ #15969]
39404         * locale/findlocale.c (_nl_find_locale): Retry archive search
39405         after alias expansion.
39407 2015-02-25  Roland McGrath  <roland@hack.frob.com>
39409         * iconv/tst-iconv3.c (main): Converted to ...
39410         (do_test): ... this.
39411         (TEST_FUNCTION): New macro.
39412         Include test-skeleton.c.
39414         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
39415         (convert): Make function static.
39416         (test_unalign): Likewise.  Add const to argument pointee types.
39417         (main): Replace with static function do_test.
39418         Print "Succeeded." only if RET is zero.
39419         (TEST_FUNCTION): New macro.
39420         Include test-skeleton.c.
39422         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
39423         returns a null pointer.
39425 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39427         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
39428         to __memcpy_ppc only for static builds.
39430 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
39432         [BZ #18020]
39433         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
39434         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
39435         * math/auto-libm-test-in: Add more tests of asinh.
39436         * math/auto-libm-test-out: Regenerated.
39437         * sysdeps/i386/fpu/libm-test-ulps: Update.
39438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39440 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
39442         [BZ #15850]
39443         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
39444         and ip6_mtuinfo definitions here.
39445         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
39446         in this define too.  Update comment.
39448 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
39450         * elf/sprof.c (load_shobj): Tweak error message to match others.
39452 2015-02-24  Kevin Easton  <kevin@guarana.org>
39454         [BZ #16145] (partial fix)
39455         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
39456         to reduce lock contention.
39458 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
39460         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
39461         (struct timex): Update time comment.
39462         (ADJ_SETOFFSET): Define.
39464 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
39466         [BZ #18019]
39467         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39468         2**56 not 2**28 as threshold for log (2x) formula.
39469         * math/auto-libm-test-in: Add more tests of acosh.
39470         * math/auto-libm-test-out: Regenerated.
39471         * sysdeps/i386/fpu/libm-test-ulps: Update.
39472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39474 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
39476         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
39477         parenthesis around the buf assignment.
39478         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
39480 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
39482         [BZ #16783]
39483         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
39484         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
39485         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
39486         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39487         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39488         * math/libm-test.inc (scalb_test_data): Add more tests.
39490 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
39492         [BZ #17916]
39493         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
39494         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
39496 2015-02-24  Eric Rannaud  <e@nanocritical.com>
39498         [BZ #17523]
39499         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
39500         * io/bits/fcntl2.h (open): Use it.
39501         (openat): Likewise.
39502         * io/open.c (__libc_open): Likewise.
39503         * io/open64.c (__libc_open64): Likewise.
39504         * io/open64_2.c (__open64_2): Likewise.
39505         * io/open_2.c (__open_2): Likewise.
39506         * io/openat.c (__openat): Likewise.
39507         * io/openat64.c (__openat64): Likewise.
39508         * io/openat64_2.c (__openat64_2): Likewise.
39509         * io/openat_2.c (__openat_2): Likewise.
39510         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
39511         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
39512         * sysdeps/posix/open64.c (__libc_open64): Likewise.
39513         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
39514         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
39515         (__open_nocancel): Likewise.
39516         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
39517         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
39518         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
39520 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39522         [BZ #14841]
39523         * resolv/gethnamaddr.c (getanswer): Skip logging if
39524         RES_USE_DNSSEC is set.
39525         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39527 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
39529         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
39531 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
39533         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
39534         201304L, for Unicode 7.
39536 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
39538         [BZ #17836]
39539         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
39540         shared library.  Add gmon-start.os otherwise.
39541         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
39542         $(objpfx)gmon-start.os if builing shared library.
39543         ($(objpfx)g$(static-start-installed-name)): Likewise.
39545 2015-02-23  Andreas Schwab  <schwab@suse.de>
39547         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
39549 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
39551         [BZ #17269]
39552         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
39553         (enlarge_userbuf): Likewise.
39555 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
39557         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
39558         * math/atest-exp.c (TIMEOUT): Adjust to 200.
39559         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
39560         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
39562 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
39564         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
39565         expression inside statement expression.
39567 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
39569         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
39570         <sysdeps/nptl/lowlevellock.h> and remove macros and
39571         functions that are now defined there.
39572         (SYS_futex): Remove.
39573         (lll_compare_and_swap): Remove.
39574         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
39576 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
39578         [BZ #17999]
39579         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
39580         instead of scandirat.
39581         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
39582         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
39583         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
39584         __scandirat.
39585         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
39586         (__scandirat): Declare.  Use libc_hidden_proto.
39587         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
39588         Remove variable.
39589         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
39591 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
39593         [BZ #15319]
39594         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
39595         (MO): New macro.
39596         (__ieee754_atan2): For results with small absolute value, force
39597         underflow exception and remove excess range and precision from
39598         return value.
39599         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
39600         (MO): New macro.
39601         (__ieee754_atan2f): For results with small absolute value, force
39602         underflow exception and remove excess range and precision from
39603         return value.
39604         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
39605         (MO): New macro.
39606         (__atan): For results with small absolute value, force underflow
39607         exception and remove excess range and precision from return value.
39608         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
39609         (MO): New macro.
39610         (__atanf): For results with small absolute value, force underflow
39611         exception and remove excess range and precision from return value.
39612         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
39613         <math.h>.
39614         (__ieee754_atan2): Force underflow exception for results with
39615         small absolute value.
39616         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
39617         <math_private.h>.
39618         (atan): Force underflow exception for results with small absolute
39619         value.
39620         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
39621         (__atanf): Force underflow exception for results with small
39622         absolute value.
39623         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
39624         <math.h>.
39625         (__atanl): Force underflow exception for results with small
39626         absolute value.
39627         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
39628         (__atanl): Force underflow exception for results with small
39629         absolute value.
39630         * sysdeps/x86/fpu/bits/mathinline.h
39631         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
39632         (__ieee754_atan2): Only define inline for long double.
39633         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
39634         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
39635         * math/auto-libm-test-in: Do not mark underflow exceptions as
39636         possibly missing for bug 15319.  Add more tests of atan2.
39637         * math/auto-libm-test-out: Regenerated.
39638         * math/libm-test.inc (casin_test_data): Do not mark underflow
39639         exceptions as possibly missing for bug 15319.
39640         (casinh_test_data): Likewise.
39641         * sysdeps/i386/fpu/libm-test-ulps: Update.
39643 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
39645         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
39646         * sysdeps/mips/bits/endian.h: Fix comments.
39648 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
39650         [BZ #17996]
39651         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
39652         (hdestroy_r): Likewise.
39653         (hsearch_r): Likewise.
39654         (__hcreate_r): Declare and use libc_hidden_proto.
39655         (__hdestroy_r): Likewise.
39656         (__hsearch_r): Likewise.
39657         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
39658         (hcreate): Call __hcreate_r instead of hcreate_r.
39659         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
39660         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
39661         as weak alias of __hcreate_r.
39662         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
39663         __hdestroy_r.
39664         (hsearch_r): Rename to __hsearch_r and define as weak alias of
39665         __hsearch_r.
39666         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
39667         Remove variable.
39668         (test-xfail-XPG4/search.h/linknamespace): Likewise.
39669         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
39670         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
39671         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
39673 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39675         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
39676         arena_lock into a single arena_get.
39678 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
39680         * dl-reloc.c: Inlucde libc-internal.h.
39681         (_dl_try_allocate_static_tls): Call ALIGN_UP.
39682         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
39683         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
39684         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
39685         (grow_heap): Likewise.
39686         * malloc/malloc.c: Include libc-internal.h.
39687         (do_check_malloc): Call powerof2.
39688         (sysmalloc): Use pagesize. Call ALIGN_UP.
39689         (systrim): Use pagesize.
39690         (mremap_chunk): Use pagesize. Call ALIGN_UP.
39691         (__libc_valloc): Use pagesize.
39692         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
39694 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
39696         [BZ #17991]
39697         * include/sys/resource.h (__getrlimit64): Declare.  Use
39698         libc_hidden_proto.
39699         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
39700         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
39701         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
39702         getrlimit64.
39703         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
39704         __getrlimit64.
39705         [!getrlimit64] (getrlimit64): Define as weak alias of
39706         __getrlimit64.  Use libc_hidden_weak.
39707         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
39708         using __getrlimit64 not __new_getrlimit64.
39709         (__GI_getrlimit64): Likewise.
39710         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
39711         Likewise.
39712         (__GI_getrlimit64): Likewise.
39713         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
39714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
39715         (getrlimit): Add __getrlimit64 alias.
39716         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
39717         Likewise.
39718         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
39719         Remove variable.
39720         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39721         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39723 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
39725         * libio/fileops.c: Add missing sys/mman.h
39726         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
39728 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
39730         * manual/math.texi (Errors in Math Functions): Clarify goals
39731         regarding inexact and underflow exceptions.
39733 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
39735         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
39736         * sysdeps/mips/memset.S: Ditto.
39738 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
39740         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
39742 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
39744         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
39745         (__v1longjmp): Remove versioned symbol.
39746         (__v1siglongjmp): Remove alias and versioned symbol.
39747         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
39748         (__v2siglongjmp): Likewise.
39750 2015-02-16  Torvald Riegel  <triegel@redhat.com>
39752         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
39754 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
39756         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
39758 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
39760         [BZ #17987]
39761         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
39762         zero result does not depend on the sign resulting from
39763         subtraction.
39764         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39765         Likewise.
39766         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39767         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39768         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39769         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39770         * math/libm-test.inc (remquo_test_data): Add more tests.
39772 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
39774         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
39775         Problem reported by J William Piggott.
39777 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
39779         [BZ #17978]
39780         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
39781         products 4 * y and 2 * y where those would overflow.
39782         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39783         Likewise.
39784         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39785         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39786         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39787         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39788         * math/libm-test.inc (remquo_test_data): Add more tests.
39790         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
39792         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
39793         [defined _COMPILING_NEWLIB].
39794         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
39795         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
39797         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
39798         [!defined __mips_isa_rev || __mips_isa_rev < 6].
39800 2015-02-16  Torvald Riegel  <triegel@redhat.com>
39802         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
39803         acquired.
39805 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
39807         [BZ #17792]
39808         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
39809         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
39810         HOST_STACK_END_ADDR): Likewise.
39812 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
39814         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
39815         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
39816         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
39818 2015-02-13  Roland McGrath  <roland@hack.frob.com>
39820         * sysdeps/generic/c++-types.data: New file.
39821         * sysdeps/generic/ld.abilist: New file.
39822         * sysdeps/generic/libBrokenLocale.abilist: New file.
39823         * sysdeps/generic/libanl.abilist: New file.
39824         * sysdeps/generic/libc.abilist: New file.
39825         * sysdeps/generic/libcrypt.abilist: New file.
39826         * sysdeps/generic/libdl.abilist: New file.
39827         * sysdeps/generic/libm.abilist: New file.
39828         * sysdeps/generic/libpthread.abilist: New file.
39829         * sysdeps/generic/libresolv.abilist: New file.
39830         * sysdeps/generic/librt.abilist: New file.
39832 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
39834         [BZ #17569]
39835         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39836         Compute absolute value of x as modified by fmod, not original
39837         value of x.
39838         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
39839         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
39840         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
39841         RUN_TEST_ffI_f1_mod8.
39842         (remquo_test_data): Add more tests.
39844 2015-02-13  Roland McGrath  <roland@hack.frob.com>
39846         * sysdeps/init_array/pt-crti.S: New file.
39848 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
39850         [BZ #17967]
39851         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
39852         __builtin_fmaf instead of relying on contraction of a * b + c.
39854 2015-02-12  J William Piggott  <elseifthen@gmx.com>
39856         [BZ #17969]
39857         * manual/time.texi: correct the zoneinfo path in the TZ Variable
39858         node.
39860 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
39862         [BZ #17964]
39863         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
39864         __builtin_fma instead of relying on contraction of a * b + c.
39866 2015-02-12  Roland McGrath  <roland@hack.frob.com>
39868         * Makeconfig (ASFLAGS): Add -Werror=undef.
39869         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
39870         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
39871         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
39873         * Makeconfig (after-link): New variable.
39874         (+link-pie, +link-pie-tests): Use it.
39875         (+link-static, +link-static-tests): Likewise.
39876         (+link, +link-tests): Likewise.
39877         * Makerules (build-module, build-module-asneeded): Likewise.
39878         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
39879         Likewise.
39880         * elf/Makefile ($(objpfx)ld.so): Likewise.
39882 2015-02-12  RĂŒdiger Sonderfeld  <ruediger@c-plusplus.net>
39884         [BZ #17965]
39885         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
39886         both struct timeval and struct timespec.
39888 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
39890         [BZ #16560]
39891         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
39892         and redefine.
39893         (__ieee754_exp2l): Do not multiply small fractional parts by
39894         M_LN2l.
39895         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
39896         small argument.
39897         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39898         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
39899         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
39900         * math/auto-libm-test-in: Add more tests of exp2.
39901         * math/auto-libm-test-out: Regenerated.
39903 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39905         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
39906         unaligned path.
39908 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39910         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
39911         little endian.
39913 2015-02-12  Andreas Schwab  <schwab@suse.de>
39915         [BZ #15790]
39916         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
39917         Filter out elision flags from value returned in kind.
39918         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
39919         * nptl/tst-pthread-mutexattr.c: New file.
39921 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39923         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
39924         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
39925         into gnu-gnu, and update comment to refer to abi-tags.
39927 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
39929         [BZ #15467]
39930         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
39931         (__sincos): Set errno to EDOM for infinite argument.
39932         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
39933         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
39934         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
39935         (__sincosl): Set errno to EDOM for infinite argument.
39936         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
39937         (__sincosl): Set errno to EDOM for infinite argument.
39938         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
39939         (__sincosl): Set errno to EDOM for infinite argument.
39940         * math/libm-test.inc (sincos_test_data): Test errno setting.
39942 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
39944         * string/strxfrm_l.c: Remove #define STRCMP.
39945         * string/strcoll_l.c: Remove #define STRLEN.
39946         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
39947         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
39949 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
39951         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
39952         * sysdeps/mips/mips32/sfp-machine.h: ... here.
39953         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
39954         * sysdeps/mips/mips64/Makefile: ... here.
39955         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
39956         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
39957         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
39958         * sysdeps/mips/mips64/sfp-machine.h: ... here.
39959         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
39960         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
39961         * sysdeps/mips/mips64/n64/Implies: Likewise.
39963 2015-02-10  Roland McGrath  <roland@hack.frob.com>
39965         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
39966         <sys/time.h>, <string.h>, and <errno.h>.
39967         (dest_offset, dest_address, value, zero): Remove unused variables.
39968         (ldouble): Remove typedef.
39969         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
39970         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
39971         1).  Fix code style.
39972         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
39973         (check): Function removed.
39974         (CHECK): New macro.
39975         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
39976         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
39977         Don't call set_sigaction_FP and remove_sigaction_FP here.
39978         (ldouble_test): Just use 'long double' as macro argument, no need for
39979         the 'ldouble' typedef.
39980         (do_test): Set up SIGFPE handler at start, using plain signal rather
39981         than sigaction.  Fix code style.
39983 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
39985         [BZ #17949]
39986         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
39987         jump label.
39989 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39991         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
39992         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39994         * sysdeps/powerpc/configure.ac: Remove file.
39995         * sysdeps/powerpc/configure: Likewise.
39997         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39998         [sysdep_routines]: Remove wordcopy-power6 object.
39999         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
40000         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
40001         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
40002         (__memmove_ppc32): Likewise.
40003         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
40004         file.
40005         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
40006         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
40007         Remove preprocessor.
40009         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
40010         [sysdep_routines]: Remove wide chars objects.
40011         [wcsmbs]: New rule for wide char objects.
40013         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40014         Remove wordcopy-power6 obejct.
40015         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
40016         Use local call for wordcopy and memcpy symbols.
40017         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
40018         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
40019         implementation for loader.
40020         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
40022         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40023         Remove wordcopy-power7 object.
40024         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
40025         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
40026         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
40027         (_wordcopy_fwd_dest_aligned): Likewise.
40028         (_wordcopy_bwd_aligned): Likewise.
40029         (_wordcopy_bwd_dest_aligned): Likewise.
40031         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
40032         Rewrite to call __memmove_ppc instead of include default
40033         implementation.
40035         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40036         Remove wide chars objects.
40037         [wcsmbs]: New rule for wide char objects.
40039 2015-02-09  Andreas Schwab  <schwab@suse.de>
40041         [BZ #17912]
40042         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
40043         in terms of __O_DIRECTORY.
40045 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40047         * time/getdate.c: Include <stdbool.h>.
40048         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
40049         call PTR_MANGLE.
40050         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
40051         PTR_DEMANGLE.
40053 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
40055         Add ersatz _Static_assert on older C hosts
40056         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
40057         pre-C11 C platform that is not known to support _Static_assert.
40059 2015-02-07  Richard Braun  <rbraun@sceen.net>
40061         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
40062         sigstate.
40063         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
40065 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40067         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
40068         priority against unexistent AIO_PRIO_DELTA_MAX.
40069         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
40070         instead of int.
40071         * misc/fchflags.c (fchflags): Likewise.
40072         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
40073         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
40074         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
40075         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
40076         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
40077         Declare macros.
40078         [__USE_MISC] (chflags, fchflags): Declare functions.
40079         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
40080         EINVAL when nfds is greater than FD_SETSIZE.
40081         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
40082         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
40083         45.
40084         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
40085         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
40086         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
40087         MACH_RCV_TIMED_OUT.
40088         * hurd/hurd/signal.h (_hurd_self_sigstate,
40089         _hurd_critical_section_lock, _hurd_critical_section_unlock):
40090         Explicit casts from void *.
40091         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
40092         * abi-tags: Rename gnu-gnu os into gnu.
40094         [BZ #4719]
40095         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
40096         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
40097         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
40098         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
40099         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
40100         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
40102         [BZ #17944]
40103         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
40104         duplicates ADDR->sun_path with sockaddr LEN limitation.
40105         * sysdeps/mach/hurd/connect.c: Include <string.h>
40106         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
40107         * sysdeps/mach/hurd/sendmsg.c: Likewise.
40108         * sysdeps/mach/hurd/sendto.c: Likewise.
40109         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
40110         implementing it by hand.
40112 2015-02-06  Roland McGrath  <roland@hack.frob.com>
40114         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
40115         Use sfi_breg on ldr.
40116         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
40117         Likewise.
40119         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
40120         it's defined.
40121         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
40122         Test SIGSETXID only if it's defined.
40124         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
40126         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
40127         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
40129         * nptl/tst-align2.c: Moved ...
40130         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
40131         * nptl/Makefile (tests): Remove tst-align2.
40132         * sysdeps/unix/sysv/linux/Makefile
40133         [$(subdir) = nptl] (tests): Add tst-align-clone.
40134         * nptl/tst-getpid1.c: Moved ...
40135         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
40136         * nptl/tst-getpid2.c: Moved ...
40137         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
40138         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
40139         * sysdeps/unix/sysv/linux/Makefile
40140         [$(subdir) = nptl] (tests): ... here.
40141         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
40142         * sysdeps/unix/sysv/linux/Makefile
40143         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
40145         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
40146         Drop trailing \n from perror argument.  Use return rather than exit.
40148         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
40149         on [SA_SIGINFO].
40150         * nptl/tst-cancel21.c (do_test): Likewise.
40151         * debug/tst-backtrace6.c: Include <signal.h> first thing.
40152         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
40153         [!SA_SIGINFO]: Make it a stub test.
40155         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
40156         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
40158         * posix/tst-getlogin.c: Move to ...
40159         * login/tst-getlogin.c: ... here.
40160         * posix/Makefile (tests): Move tst-getlogin to ...
40161         * login/Makefile (tests): ... here.
40163         * libio/tst-atime.c (do_test): Move local variables SV and E
40164         inside [ST_NOATIME] conditional.
40166         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
40168         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
40170         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
40171         (wait_code): New function replaces macro.
40172         Call nanosleep rather than syscall.
40174         * nptl/pt-system.c: Rewritten.  Put everything under
40175         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40176         Use IFUNC to redirect when possible.
40178         * nptl/pt-longjmp.c: Rewritten.  Put everything under
40179         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40180         Use IFUNC to redirect when possible.
40182         * nptl/pt-fork.c: Rewritten.  Put everything under
40183         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40184         Use IFUNC to redirect when possible.
40185         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
40187         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
40188         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
40189         unconditionally nowadays.  This included the only reference to
40190         __vdso_clock_gettime that appears outside libc proper.
40191         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
40192         Remove version set (containing only __vdso_clock_gettime).
40193         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
40194         Add attribute_hidden.
40195         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
40196         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
40197         libc_hidden_data_def.
40198         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40199         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40201         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
40202         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
40203         setrpcent, and getrpcport to ...
40204         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
40205         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
40206         getrpcbynumber_r, and getrpcent_r to ...
40207         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
40208         * inet/getrpcbyname.c: Moved ...
40209         * sunrpc/getrpcbyname.c: ... here.
40210         * inet/getrpcbyname_r.c: Moved ...
40211         * sunrpc/getrpcbyname_r.c: ... here.
40212         * inet/getrpcbynumber.c: Moved ...
40213         * sunrpc/getrpcbynumber.c: ... here.
40214         * inet/getrpcbynumber_r.c: Moved ...
40215         * sunrpc/getrpcbynumber_r.c: ... here.
40216         * inet/getrpcent.c: Moved ...
40217         * sunrpc/getrpcent.c: ... here.
40218         * inet/getrpcent_r.c: Moved ...
40219         * sunrpc/getrpcent_r.c: ... here.
40220         * inet/Makefile (routines): Move those to ...
40221         * sunrpc/Makefile (routines): ... here.
40222         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
40223         the $(subdirs) list.
40224         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
40225         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
40226         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
40227         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
40229         * elf/Makefile (routines): Include $(all-dl-routines), not just
40230         $(dl-routines).
40231         (rtld-routines): Likewise.  Use = rather than :=.
40232         * sysdeps/aarch64/Makefile [$(subdir) = elf]
40233         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
40234         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
40235         * sysdeps/arm/Makefile: Likewise.
40236         * sysdeps/i386/Makefile: Likewise.
40237         * sysdeps/x86_64/Makefile: Likewise.
40238         * sysdeps/hppa/Makefile [$(subdir) = elf]
40239         (sysdep_routines, sysdep-rtld-routines): Don't add
40240         $(sysdep-dl-routines) to these.
40241         * sysdeps/ia64/Makefile: Likewise.
40242         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
40243         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
40244         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
40245         Don't add dl-static to these; sysdep-dl-routines alone is enough.
40246         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
40247         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
40248         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
40249         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
40250         * sysdeps/powerpc/Makefile [$(subdir) = elf]
40251         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
40252         these; sysdep-dl-routines alone is enough.
40254 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
40256         [BZ #17932]
40257         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
40258         where multiplication results in zero and third argument is finite
40259         and nonzero.
40260         * math/auto-libm-test-in: Add more tests of fma.
40261         * math/auto-libm-test-out: Regenerated.
40263         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
40264         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
40265         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
40266         (_FP_CMP_EQ): Likewise.
40267         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
40269         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
40270         extra argument CHECK_NAN.  Redefine as wrapper around
40271         _FP_EXTEND_CNAN.
40273 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
40275         * version.h (RELEASE): Set to "stable".
40276         (VERSION): Set to "2.21"
40277         * include/features.h (__GLIBC_MINOR__): Set to 21.
40279         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
40281 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40282             Paul Eggert  <eggert@cs.ucla.edu>
40284         [BZ #16618]
40285         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
40286         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
40287         size in bytes. Store needed elements in wpmax. Use needed size
40288         in bytes for extend_alloca.
40290 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
40292         * manual/install.texi: Latest tested versions are GCC 4.9.2,
40293         binutls 2.25, and texinfo 5.2.
40294         * INSTALL: Regenerate.
40295         * sysdeps/nios2/configure: Regenerate.
40296         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
40297         * manual/contrib.texi: Update.
40298         * po/be.po: Update.
40299         * po/bg.po: Update.
40300         * po/ca.po: Update.
40301         * po/cs.po: Update.
40302         * po/da.po: Update.
40303         * po/de.po: Update.
40304         * po/el.po: Update.
40305         * po/eo.po: Update.
40306         * po/es.po: Update.
40307         * po/fi.po: Update.
40308         * po/fr.po: Update.
40309         * po/gl.po: Update.
40310         * po/hr.po: Update.
40311         * po/hu.po: Update.
40312         * po/ia.po: Update.
40313         * po/id.po: Update.
40314         * po/it.po: Update.
40315         * po/ja.po: Update.
40316         * po/ko.po: Update.
40317         * po/lt.po: Update.
40318         * po/nb.po: Update.
40319         * po/nl.po: Update.
40320         * po/pl.po: Update.
40321         * po/pt_BR.po: Update.
40322         * po/ru.po: Update.
40323         * po/rw.po: Update.
40324         * po/sk.po: Update.
40325         * po/sl.po: Update.
40326         * po/sv.po: Update.
40327         * po/tr.po: Update.
40328         * po/uk.po: Update.
40329         * po/vi.po: Update.
40330         * po/zh_CN.po: Update.
40331         * po/zh_TW.po: Update.
40333         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
40334         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
40335         * sysdeps/hppa/dl-irel.h: Remove #warning.
40336         * sysdeps/hppa/entry.h: Provide prototype for
40337         __canonicalize_funcptr_for_compare and cast argument.
40338         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
40339         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
40340         * sysdeps/hppa/sotruss-lib.c: New file.
40341         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
40342         (atomic_compare_and_exchange_val_acq): Use __typeof__.
40343         (atomic_compare_and_exchange_bool_acq): Likewise.
40344         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
40345         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
40347         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
40348         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
40349         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
40351 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
40353         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
40354         called function in non-PIC case.
40356 2015-01-31  David S. Miller  <davem@davemloft.net>
40358         * sysdeps/sparc/sparc32/bits/atomic.h
40359         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
40360         unlock not after it.
40361         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
40362         volatile register usage warnings from the compiler.
40364         * sysdeps/sparc/nptl/sem_init.c: Delete.
40365         * sysdeps/sparc/nptl/sem_post.c: Delete.
40366         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
40367         * sysdeps/sparc/nptl/sem_wait.c: Delete.
40368         * sysdeps/sparc/sparc32/sem_init.c: New file.
40369         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
40370         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
40371         padding explicitly initialized.
40372         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
40373         padding for in-semaphore spinlock.
40374         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
40375         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
40376         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
40377         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
40378         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
40379         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
40380         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
40381         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
40382         version.
40383         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
40384         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
40386 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
40388         [BZ #17801]
40389         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40390         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
40391         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
40392         New.
40393         (index_AVX_Fast_Unaligned_Load): Likewise.
40394         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
40395         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
40396         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
40397         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
40398         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
40399         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
40400         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
40401         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
40402         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
40404 2015-01-29  Andreas Schwab  <schwab@suse.de>
40406         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
40408 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
40410         [BZ #17892]
40411         * nscd/nscd_stat.c (send_stats): Initialize DATA.
40413 2015-01-28  Martin Sebor  <msebor@redhat.com>
40415         * math/README.libm-test: Clarify. Add "How to read the test output."
40417 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
40419         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
40420         Define to 0.
40422 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
40424         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
40425         (__HAVE_64B_ATOMICS): Define to 0.
40427 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
40429         [BZ #17885]
40430         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
40431         value to set as new flag.
40433         [BZ #16576]
40434         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
40435         and use _ARCH_PPCSQ instead.
40436         (__ieee754_sqrt): Likewise.
40437         (__ieee754_sqrtf): Likewise.
40438         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
40439         _ARCH_PPCSQ is defined.
40440         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
40441         fsqrt instruction.
40442         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
40443         _ARCH_PPCSQ is defined.
40444         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
40445         fsqrts instruction.
40446         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
40448 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40450         * iconv/loop.c: Suppress array out of bound warning caused by GCC
40451         bug (GCC BZ #64739).
40453 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
40455         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
40456         Mark _retval as used.
40457         (lll_futex_wake_unlock): Likewise.
40458         (lll_futex_timed_wait_requeue_pi): Likewise.
40460         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40461         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
40462         register variables.
40464         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
40465         libm_hidden_def.
40467         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
40468         (__bswap_64): Mark as __always_inline.
40470 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
40472         [BZ #15378]
40473         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
40474         when none of the search directories exist.
40476 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
40478         [BZ #17869]
40479         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
40480         power8 in .machine directive.
40482         [BZ #17868]
40483         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
40484         set dependency from opd value.
40486 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
40488         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40489         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
40490         architecture.
40492 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
40494         [BZ #17870]
40495         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
40496         with uint64_t.
40497         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
40498         (uint64_t) 1.
40499         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
40500         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
40501         Replace 1UL with (uint64_t) 1.
40502         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
40503         int with uint64_t.
40505 2015-01-23  Roland McGrath  <roland@hack.frob.com>
40507         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
40508         (if_freenameindex): Likewise.
40510         * resource/getrlimit64.c: Add missing libc_hidden_def.
40512 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
40514         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
40515         __label__.
40516         (_FP_FMA): Likewise.
40517         (_FP_TO_INT_ROUND): Likewise.
40518         (_FP_FROM_INT): Likewise.
40520 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40522         [BZ #16418]
40523         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
40524         Make code racy and cancel safe.
40526 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
40528         * sysdeps/arm/unwind-resume.h: Fix copyright year.
40529         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
40530         attribution.
40532         * pwd/tst-getpw.c: Rewrite.
40534         [BZ #17702]
40535         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
40536         (modules-names): Add moddummy1 and moddummy2.
40537         ($(objpfx)tst-rec-dlopen): Define.
40538         * dlfcn/moddummy1.c: New file.
40539         * dlfcn/moddummy2.c: New file.
40540         * dlfcn/tst-rec-dlopen.c: New file.
40541         * elf/dl-cache.c (_dl_load_cache_lookup):
40542         Return char*. Copy result with alloca/strcpy/strdup.
40543         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
40544         returns char*. Free cached. If not saving realname
40545         free cached.
40546         * elf/dl-open.c (dl_open_worker): Do not assert that
40547         _r_debug->r_state is RT_CONSISTENT.
40548         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
40549         returns char*.
40551 2015-01-21  Torvald Riegel  <triegel@redhat.com>
40552             Carlos O'Donell  <carlos@redhat.com>
40554         [BZ #12674]
40555         * nptl/sem_waitcommon.c: New file.
40556         * nptl/sem_wait.c: Include sem_waitcommon.c.
40557         (__sem_wait_cleanup, do_futex_wait): Remove.
40558         (__new_sem_wait): Adapt.
40559         (__new_sem_trywait): New function.
40560         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
40561         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
40562         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
40563         (sem_timedwait): Adapt.
40564         * nptl/sem_post.c (__new_sem_post): Adapt.
40565         (futex_wake): New function.
40566         (__old_sem_post): Add release MO fence.
40567         * nptl/sem_open.c (sem_open): Adapt.
40568         * nptl/sem_init.c (__new_sem_init): Adapt.
40569         (futex_private_if_supported): New function.
40570         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
40571         (__old_sem_getvalue): Add using previous code.
40572         * sysdeps/nptl/internaltypes.h: Adapt.
40573         * nptl/tst-sem13.c (do_test): Adapt.
40574         * nptl/tst-sem11.c (main): Adapt.
40575         * nptl/sem_trywait.c: Remove.
40576         * nptl/DESIGN-sem.txt: Remove.
40577         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
40578         (gen-as-const-headers): Remove structsem.sym.
40579         * nptl/structsem.sym: Remove.
40580         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
40581         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
40582         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
40583         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
40584         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
40585         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
40586         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
40587         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
40588         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
40589         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
40590         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
40591         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
40592         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
40593         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
40594         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
40595         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
40596         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
40597         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
40598         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
40599         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
40600         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
40601         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
40603 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
40605         * INSTALL: Regenerated.
40607         * po/libc.pot: Regenerated.
40609 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
40610             Sandra Loosemore  <sandra@codesourcery.com>
40611             Andrew Jenner  <andrew@codesourcery.com>
40612             Joseph Myers  <joseph@codesourcery.com>
40613             Nathan Sidwell  <nathan@codesourcery.com>
40615         * NEWS: Mention new Nios II port.
40616         * sysdeps/nios2/Implies: New file.
40617         * sysdeps/nios2/Makefile: New file.
40618         * sysdeps/nios2/Subdirs: New file.
40619         * sysdeps/nios2/Versions: New file.
40620         * sysdeps/nios2/__longjmp.S: New file.
40621         * sysdeps/nios2/abort-instr.h: New file.
40622         * sysdeps/nios2/backtrace.c: New file.
40623         * sysdeps/nios2/bits/endian.h: New file.
40624         * sysdeps/nios2/bits/fenv.h: New file.
40625         * sysdeps/nios2/bits/link.h: New file.
40626         * sysdeps/nios2/bits/setjmp.h: New file.
40627         * sysdeps/nios2/bsd-_setjmp.S: New file.
40628         * sysdeps/nios2/bsd-setjmp.S: New file.
40629         * sysdeps/nios2/configure: New generated file.
40630         * sysdeps/nios2/configure.ac: New file.
40631         * sysdeps/nios2/crti.S: New file.
40632         * sysdeps/nios2/crtn.S: New file.
40633         * sysdeps/nios2/dl-init.c: New file.
40634         * sysdeps/nios2/dl-machine.h: New file.
40635         * sysdeps/nios2/dl-sysdep.h: New file.
40636         * sysdeps/nios2/dl-tls.h: New file.
40637         * sysdeps/nios2/dl-trampoline.S: New file.
40638         * sysdeps/nios2/gccframe.h: New file.
40639         * sysdeps/nios2/gmp-mparam.h: New file.
40640         * sysdeps/nios2/jmpbuf-offsets.h: New file.
40641         * sysdeps/nios2/jmpbuf-unwind.h: New file.
40642         * sysdeps/nios2/ldsodefs.h: New file.
40643         * sysdeps/nios2/libc-tls.c: New file.
40644         * sysdeps/nios2/libm-test-ulps: New file.
40645         * sysdeps/nios2/machine-gmon.h: New file.
40646         * sysdeps/nios2/math-tests.h: New file.
40647         * sysdeps/nios2/math_private.h: New file.
40648         * sysdeps/nios2/memusage.h: New file.
40649         * sysdeps/nios2/nptl/Makefile: New file.
40650         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
40651         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
40652         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
40653         * sysdeps/nios2/nptl/pthreaddef.h: New file.
40654         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
40655         * sysdeps/nios2/nptl/tls.h: New file.
40656         * sysdeps/nios2/preconfigure: New file.
40657         * sysdeps/nios2/s_fma.c: New file.
40658         * sysdeps/nios2/s_fmaf.c: New file.
40659         * sysdeps/nios2/setjmp.S: New file.
40660         * sysdeps/nios2/sfp-machine.h: New file.
40661         * sysdeps/nios2/sotruss-lib.c: New file.
40662         * sysdeps/nios2/stackguard-macros.h: New file.
40663         * sysdeps/nios2/stackinfo.h: New file.
40664         * sysdeps/nios2/start.S: New file.
40665         * sysdeps/nios2/sysdep.h: New file.
40666         * sysdeps/nios2/tls-macros.h: New file.
40667         * sysdeps/nios2/tst-audit.h: New file.
40668         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
40669         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
40670         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
40671         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
40672         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
40673         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
40674         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
40675         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
40676         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
40677         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
40678         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
40679         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
40680         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
40681         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
40682         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
40683         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
40684         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
40685         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
40686         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
40687         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
40688         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
40689         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
40690         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
40691         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
40692         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
40693         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
40694         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
40695         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
40696         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
40697         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
40698         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
40699         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
40700         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
40701         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
40702         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
40703         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
40704         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
40705         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
40706         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
40707         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
40708         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
40709         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
40710         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
40711         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
40713 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40715         [BZ #17844]
40716         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
40717         (getutent): Use weak_alias in non SHARED case
40718         and default_symbol_version in SHARED case.
40719         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
40720         (getutent_r, pututline): Likewise.
40721         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
40722         (getutid): Likewise.
40723         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
40724         (getutid_r): Likewise.
40725         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
40726         (getutline): Likewise.
40727         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
40728         (getutline_r): Likewise.
40729         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
40730         (updwtmp): Likewise.
40732 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40734         [BZ #17848]
40735         * sysdeps/s390/s390-32/memcmp.S
40736         (memcmp_g5): Rename to __memcmp_g5.
40737         * sysdeps/s390/s390-32/memcpy.S
40738         (memcpy_g5): Rename to __memcpy_g5.
40739         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40740         (memcpy_mvcle) Rename to __memcpy_mvcle.
40741         * sysdeps/s390/s390-32/memset.S
40742         (memset_g5): Rename to __memset_g5.
40743         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40744         (IFUNC_RESOLVE): Prefix ifunc-resolve function
40745         and use prefixed functions.
40746         * sysdeps/s390/s390-32/multiarch/memcmp.S
40747         (memcmp_z196): Rename to __memcmp_z196.
40748         (memcmp_z10): Rename to __memcmp_z10.
40749         (memcmp): Set alias to __memcmp_g5.
40750         (bcmp): Set alias to __memcmp_g5.
40751         * sysdeps/s390/s390-32/multiarch/memcpy.S
40752         (memcpy_z196): Rename to __memcpy_z196.
40753         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40754         (memcpy_z10): Rename to __memcpy_z10.
40755         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40756         (memcpy): Set alias to __memcpy_g5.
40757         * sysdeps/s390/s390-32/multiarch/memset.S
40758         (memset_z196): Rename to __memset_z196.
40759         Jump to __memset_mvcle instead of memset_mvcle.
40760         (memset_z10): Rename to __memset_z10.
40761         Jump to __memset_mvcle instead of memset_mvcle.
40762         (memset_mvcle) Rename to __memset_mvcle.
40763         (memset): Set alias to __memset_g5.
40764         * sysdeps/s390/s390-64/memcmp.S
40765         (memcmp_z900): Rename to __memcmp_z900.
40766         * sysdeps/s390/s390-64/memcpy.S
40767         (memcpy_z900): Rename to __memcpy_z900.
40768         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40769         (memcpy_mvcle) Rename to __memcpy_mvcle.
40770         * sysdeps/s390/s390-64/memset.S
40771         (memset_z900): Rename to __memset_z900.
40772         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
40773         (IFUNC_RESOLVE): Prefix ifunc-resolve function
40774         and use prefixed functions.
40775         * sysdeps/s390/s390-64/multiarch/memcmp.S
40776         (memcmp_z196): Rename to __memcmp_z196.
40777         (memcmp_z10): Rename to __memcmp_z10.
40778         (memcmp): Set alias to __memcmp_z900.
40779         (bcmp): Set alias to __memcmp_z900.
40780         * sysdeps/s390/s390-64/multiarch/memcpy.S
40781         (memcpy_z196): Rename to __memcpy_z196.
40782         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40783         (memcpy_z10): Rename to __memcpy_z10.
40784         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40785         (memcpy): Set alias to __memcpy_z900.
40786         * sysdeps/s390/s390-64/multiarch/memset.S
40787         (memset_z196): Rename to __memset_z196.
40788         Jump to __memset_mvcle instead of memset_mvcle.
40789         (memset_z10): Rename to __memset_z10.
40790         Jump to __memset_mvcle instead of memset_mvcle.
40791         (memset_mvcle) Rename to __memset_mvcle.
40792         (memset): Set alias to __memset_z900.
40794 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
40796         [BZ #17748]
40797         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
40798         __fesetenv instead of fesetenv.
40800 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40802         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
40803         macro.
40805 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40807         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
40808         regression on LE.
40810         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
40811         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
40812         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40813         strncmp-power8 object.
40814         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40815         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
40816         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
40817         * NEWS: Update.
40819 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40820             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40822         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
40823         trailing byte check.
40825 2015-01-13  David S. Miller  <davem@davemloft.net>
40827         * include/signal.h (__sigreturn): Guard with __USE_MISC.
40829 2015-01-13  Roland McGrath  <roland@hack.frob.com>
40831         * login/logout.c (logout): Use memset rather than bzero.
40832         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
40833         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
40834         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
40835         (_gethtbyaddr): Likewise.
40836         * locale/programs/simple-hash.c (bcopy): Macro removed.
40838 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40840         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40841         Add strcmp-power8 object.
40842         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40843         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
40844         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
40845         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
40846         __strcmp_power8 implementation.
40847         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
40848         * NEWS: Update.
40850         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40851         Add strncpy-power8 and stpncpy-power8 objects.
40852         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40853         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
40854         implementations.
40855         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
40856         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
40857         __stpncpy_power8 implementation.
40858         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
40859         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
40860         __strncpy_power8 implementation.
40861         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
40862         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
40863         * NEWS: Update.
40865         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
40866         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
40867         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
40869         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40870         strncat-power8 object.
40871         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
40872         __strcat_power8 implementation.
40873         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40874         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
40875         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
40876         optimized strcat for power8.
40878         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40879         strcpy-power8 and stpcpy-power8 objects.
40880         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40881         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
40882         implementations.
40883         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
40884         multiarch stpcpy implementation for POWER8.
40885         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
40886         multiarch strcpy implementation for POWER8.
40887         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
40888         __strcpy_power8 function.
40889         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
40890         stpcpy for POWER8.
40891         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
40892         strcpy for POWER8.
40893         * NEWS: Update.
40895 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
40897         [BZ #16009]
40898         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
40899         weights and rules. Use do_xfrm_cached if data fits in cache,
40900         do_xfrm otherwise.  Moved former main loop to...
40901         * (do_xfrm_cached): New function.
40902         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
40903         find_idx, find_position and stack_push.
40904         * (find_idx): New function.
40905         * (find_position): Likewise.
40906         * localedata/sort-test.sh: Added test run for do_xfrm.
40907         * localedata/xfrm-test.c (main): Added command line option
40908         -nocache to run the test with strings that are too large for
40909         the STRXFRM cache.
40911 2015-01-13  Torvald Riegel  <triegel@redhat.com>
40913         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
40914         variable to lll_futex_wake call, not the value itself.
40916 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
40918         [BZ #17803]
40919         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
40920         twom64.  Adjust value to 0x1p-64L.
40921         (__scalblnl): Only return standard underflowing result for K <=
40922         -64 not K <= -63; adjust exponent for underflowing result by 64
40923         not 63.
40924         * math/libm-test.inc (scalbn_test_data): Add more tests.
40925         (scalbln_test_data): Likewise.
40927         [BZ #17834]
40928         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
40929         0x1p63L.
40930         (__scalblnl): Get new exponent of adjusted subnormal value from ES
40931         not HX.
40932         * math/libm-test.inc (scalbn_test_data): Add more tests.
40933         (scalbln_test_data): Likewise.
40935 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40936             Stefani Seibold  <stefani@seibold.net>
40938         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
40939         (sysdep_routines): Add dl-vdso here, ...
40940         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
40941         (sysdep_routines): ... not here.
40942         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
40943         fallback when vDSO is not presented.
40944         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
40945         Define with libc_hidden_proto/libc_hidden_data_def definitions.
40946         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
40947         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
40948         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
40949         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
40950         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
40951         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
40952         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
40953         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
40954         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
40955         fallback configurable symbol when vDSO is not available.
40956         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
40957         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
40958         be able to redefine fallback symbol when vDSO is not available.
40959         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
40960         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
40962 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40964         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
40965         (TLS_INIT_TP): Add tm_capable initialization.
40966         (TLS_DEFINE_INIT_TP): Likewise.
40967         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
40968         TCB.
40969         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
40970         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
40971         calculation.
40972         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
40973         transactoion is lock elision is built and TCB tm_capable is set.
40974         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
40975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40976         (INTERNAL_SYSCALL_NCS): Likewise.
40977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40978         (INTERNAL_SYSCALL_NCS): Likewise.
40979         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
40981         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
40982         for powerpc.
40983         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40984         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
40985         and remove it for 32 bits case.
40986         [pthread_rwlock_t] (__rwelision): New field for lock elision.
40987         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
40988         initialization.
40989         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
40990         Disable lock elision with rdlocks if elision is not available.
40992         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
40993         (sysdep_routines): Add lock elision objects.
40994         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40995         [pthread_mutex_t] (__spins): Rework to add lock elision field.
40996         [pthread_mutex_t] (__elision): Add field.
40997         [__PTHREAD_SPINS]: Adjust to init lock elision field.
40998         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
40999         elision definitions for powerpc.
41000         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
41001         implementation of lock elision for powerpc.
41002         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
41003         implementation of timed lock elision for powerpc.
41004         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
41005         implementation of trylock with lock elision for powerpc.
41006         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
41007         implementaion of unlock for lock elision for powerpc.
41008         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
41009         automatic enable lock elision for mutexes.
41010         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
41011         transaction execution definitions for powerpc.
41012         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
41013         definitions.
41014         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
41015         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
41016         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
41017         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
41018         * NEWS: Update.
41020 2015-01-09  Roland McGrath  <roland@hack.frob.com>
41022         * sysdeps/posix/shm-directory.c: Use <> rather than ""
41023         for #include of <shm-directory.h>.
41025 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
41027         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
41028         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
41030 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
41032         [BZ #17791]
41033         * NEWS: Mention bug fix.
41034         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
41035         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
41036         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
41038 2015-01-09  Torvald Riegel <triegel@redhat.com>
41040         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
41042 2015-01-09  Torvald Riegel <triegel@redhat.com>
41044         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
41046 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
41048         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
41049         pointer and cast to uintptr_t.
41051 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
41053         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
41054         removed.
41055         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
41057 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
41059         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
41060         of 0.
41062 2015-01-08  Roland McGrath  <roland@hack.frob.com>
41064         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
41065         <nptl/pthreadP.h> instead.
41066         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
41068         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
41069         already defined.
41070         [__SIGRTMIN] (init): Function removed.
41071         [__SIGRTMIN] (initialized): Variable removed.
41072         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
41073         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
41074         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
41075         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
41076         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
41077         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
41078         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
41079         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
41080         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
41081         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
41082         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
41083         * sysdeps/nptl/allocrtsig.c: New file.
41084         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
41085         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
41086         * sysdeps/generic/testrtsig.h: File removed.
41088         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
41089         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
41091         * nptl/nptl-init.c (pthread_functions): Conditionalize
41092         .ptr__nptl_setxid initialization on [SIGSETXID].
41094         * sysdeps/nptl/sys/procfs.h: New file.
41095         * nptl_db/Makefile (headers): Add it.
41096         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
41098         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
41099         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
41100         * nptl/pthread_attr_setaffinity.c: Include it.
41101         * nptl/pthread_setattr_default_np.c: Likewise.
41102         * nptl/check-cpuset.h: New file.
41104 2015-01-08  Richard Henderson  <rth@redhat.com>
41106         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
41107         (CFLAGS-tst-execstack-prog.c): Likewise.
41108         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
41110 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
41111             Sandra Loosemore  <sandra@codesourcery.com>
41112             Andrew Jenner  <andrew@codesourcery.com>
41113             Joseph Myers  <joseph@codesourcery.com>
41114             Nathan Sidwell  <nathan@codesourcery.com>
41116         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
41117         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
41118         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
41119         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
41120         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
41121         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
41122         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
41123         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
41124         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
41125         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
41126         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
41127         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
41128         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
41129         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
41130         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
41131         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
41132         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
41134 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41136         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
41137         timespec struct member in syscall macro.
41138         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
41139         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
41140         first timeval struct member in syscall macro.
41141         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
41143 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
41145         [BZ #17748]
41146         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
41147         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
41148         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
41149         __feupdateenv and define as weak alias of __feupdateenv.  Use
41150         libm_hidden_weak.
41151         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
41152         libm_hidden_def.
41153         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
41154         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
41155         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41156         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
41157         libm_hidden_def.
41158         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
41159         __feupdateenv and define as weak alias of __feupdateenv.  Use
41160         libm_hidden_weak.
41161         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
41162         libm_hidden_def.
41163         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
41164         __feupdateenv and define as weak alias of __feupdateenv.  Use
41165         libm_hidden_weak.
41166         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
41167         libm_hidden_def.
41168         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41169         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41170         (__feupdateenv): Likewise.
41171         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
41172         __feupdateenv and define as weak alias of __feupdateenv.  Use
41173         libm_hidden_weak.
41174         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41175         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
41176         libm_hidden_def.
41177         * sysdeps/tile/math_private.h (__feupdateenv): New inline
41178         function.
41179         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
41180         libm_hidden_def.
41181         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
41182         __feupdateenv instead of feupdateenv.
41183         (default_libc_feupdateenv_test): Likewise.
41184         (libc_feresetround_ctx): Likewise.
41186 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41188         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
41189         prototype.
41191 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
41193         * posix/regcomp.c (parse_bracket_exp): Initialize type to
41194         COLL_SYM in a couple of places to avoid uninitialized variable
41195         wanings on tilegx gcc 4.8.2.
41197 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
41199         * sysdeps/aarch64/strcpy.S: New file.
41200         * sysdeps/aarch64/stpcpy.S: New file.
41201         * NEWS: Updated.
41203 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
41205         * sysdeps/aarch64/strrchr.S: New file.
41206         * NEWS: Updated.
41208 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
41210         [BZ #17658]
41211         * stdlib/setenv.c: Fix memory leak when setting large,
41212         duplicate string.
41214 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
41216         [BZ #17273]
41217         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
41218         and tabs from buffer before parsing fstab entry.
41219         * misc/tst-mntent.c (main): Add test for mount entry with
41220         trailing spaces and tabs.
41222 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
41224         [BZ #17748]
41225         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
41226         * math/fesetround.c (fesetround): Rename to __fesetround and
41227         define as weak alias of __fesetround.  Use libm_hidden_weak.
41228         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
41229         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
41230         * sysdeps/arm/fesetround.c (fesetround): Likewise.
41231         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
41232         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
41233         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
41234         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
41235         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
41236         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
41237         __fesetround_inline.
41238         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
41239         __fesetround_inline instead of __fesetround.
41240         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
41241         __fesetround and define as weak alias of __fesetround.  Use
41242         libm_hidden_weak.  Call __fesetround_inline instead of
41243         __fesetround.
41244         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
41245         __fesetround and define as weak alias of __fesetround.  Use
41246         libm_hidden_weak.
41247         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
41248         Likewise.
41249         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
41250         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41251         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
41252         * sysdeps/tile/math_private.h (__fesetround): New inline function.
41253         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
41254         __fesetround and define as weak alias of __fesetround.  Use
41255         libm_hidden_weak.
41256         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
41257         __fesetround instead of fesetround.
41258         (default_libc_feholdexcept_setround): Likewise.
41259         (libc_feholdsetround_ctx): Likewise.
41260         (libc_feholdsetround_noex_ctx): Likewise.
41262         [BZ #17748]
41263         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
41264         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
41265         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41266         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
41267         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41268         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
41269         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41270         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
41271         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41272         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41273         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41274         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41275         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41276         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41277         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
41278         libm_hidden_def.
41279         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
41280         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
41281         Likewise.
41282         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41283         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41284         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41285         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41286         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
41287         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41288         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
41289         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
41290         __fesetenv instead of fesetenv.
41291         (libc_feresetround_noex_ctx): Likewise.
41292         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41293         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41294         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
41295         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41296         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41297         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41298         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41299         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41300         (__feupdateenv): Likewise.
41301         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41302         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41303         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41304         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
41306 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
41308         [BZ #17806]
41309         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
41310         addresses have been freed.
41312 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
41314         * resolv/res_init.c (__res_vinit): Improve comments about nserv
41315         and nservall.
41317 2015-01-06  Ondƙej BĂ­lka  <neleai@seznam.cz>
41319         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
41320         Clean up check_pf allocation pattern. addresses
41322 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41324         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
41325         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
41326         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
41327         * nptl/pthread_exit.c (__pthread_exit): Likewise.
41328         * nptl/pthread_join.c (pthread_join): Likewise.
41329         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
41330         * sysdeps/posix/waitid.c (__waitid): Likewise.
41331         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
41332         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
41333         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
41334         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
41335         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
41336         Likewise.
41337         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
41338         (__libc_pread64): Likewise.
41339         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
41340         (__libc_pwrite): Likewise.
41341         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
41342         (__libc_pwrite64): Likewsie.
41343         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
41344         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
41345         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
41346         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
41347         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
41348         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
41349         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
41351         Likewise.
41352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41353         (__libc_pread64): Likewise.
41354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
41355         Likewise.
41356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41357         (__libc_pwrite64): Likewise.
41358         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
41359         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
41360         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
41361         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
41362         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
41363         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
41364         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
41365         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
41366         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
41367         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
41368         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
41369         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
41370         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
41371         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
41372         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
41373         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
41374         Likewise.
41376 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
41378         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
41379         (CFLAGS-test-double.c): Likewise.
41380         (CFLAGS-test-ldouble.c): Likewise.
41381         (CPPFLAGS-test-ifloat.c): Likewise.
41382         (CPPFLAGS-test-idouble.c): Likewise.
41383         (CPPFLAGS-test-ildoubl.c): Likewise.
41384         (CFLAGS-test-test-fenv.c): Remove variable.
41385         (CFLAGS-test-misc.c): Likewise.
41387 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
41389         [BZ #17797]
41390         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
41391         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
41392         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
41393         CLOCKS_PER_SEC == 1000000.
41394         * time/clocktest.c (main): Replace %ld with %jd and cast to
41395         intmax_t.
41397 2015-01-05  Roland McGrath  <roland@hack.frob.com>
41399         * sysdeps/generic/unwind-resume.h: New file.
41400         * sysdeps/gnu/unwind-resume.c: Include it.
41401         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
41402         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
41403         argument list.
41404         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
41405         global rather than static.
41406         (_Unwind_Resume): Update user.
41407         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
41408         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
41409         rather than static.  Add __attribute__ ((cold)).
41410         (_Unwind_Resume, __gcc_personality_v0): Update callers.
41411         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
41412         * sysdeps/arm/arm-unwind-resume.S: New file.
41413         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
41414         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
41415         * sysdeps/arm/Makefile [$(subdir) = csu]
41416         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
41417         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41418         Add rt-arm-unwind-resume.
41419         [$(subdir) = nptl]
41420         (libpthread-sysdep_routines, libpthread-shared-only-routines):
41421         Add pt-arm-unwind-resume.
41422         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
41423         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
41425 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41427         [BZ #17748]
41428         * include/fenv.h (__feholdexcept): Declare.  Use
41429         libm_hidden_proto.
41430         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
41431         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
41432         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41433         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
41434         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
41435         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
41436         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
41437         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41438         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
41439         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
41440         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41441         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
41442         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
41443         (feholdexcept): Likewise.
41444         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41445         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41446         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41447         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41448         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
41449         __feholdexcept instead of feholdexcept.
41450         (default_libc_feholdexcept_setround): Likewise.
41452 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41454         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
41455         to avoid using stl/str to align destination.
41457 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41459         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
41461 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41463         [BZ #17796]
41464         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
41465         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
41466         Define as weak alias not strong alias.
41468 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41470         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
41471         bltzal with addiupc.
41472         (RTLD_START): Ditto.
41474 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
41476         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
41477         for __vdso_* functions in declarations.
41478         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
41479         definitions.
41480         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
41481         INTERNAL_VSYSCALL): Use struct return types to check for error.
41483         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
41484         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
41485         function with cast from llround().
41486         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
41487         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
41488         Define.
41490 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41492         [BZ #17793]
41493         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
41494         Define as weak alias not strong alias.
41496         [BZ #17635]
41497         * ctype/ctype-c99.c: New file.  isblank implementation moved from
41498         ...
41499         * ctype/ctype-extn.c: ... here.
41500         (__isblank_l): Move to ...
41501         * ctype/ctype-c99_l.c: ... here.  New file.
41502         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
41503         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
41504         Remove variable.
41505         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41506         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41507         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41508         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41509         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41511         [BZ #17777]
41512         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
41513         (posix_fadvise64): Define as weak alias not strong alias.
41514         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41515         (posix_fallocate64): Likewise.
41516         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
41517         Remove variable.
41518         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41519         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41520         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41521         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41522         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41524 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
41526         [BZ #16191]
41527         * NEWS: Mention bug fix.
41528         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
41529         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
41530         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
41531         (HOST_STACK_END_ADDR): Likewise.
41533 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
41535         [BZ #17748]
41536         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
41537         * math/fegetround.c (fegetround): Rename to __fegetround and
41538         define as weak alias of __fegetround.  Use libm_hidden_weak.
41539         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
41540         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
41541         * sysdeps/arm/fegetround.c (fegetround): Likewise.
41542         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
41543         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41544         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
41545         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
41546         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
41547         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41548         Undefine after rather than before function definition; use
41549         parentheses around function name in definition.
41550         (__fegetround): Also undefine macro after function definition.
41551         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
41552         __fegetround and define as weak alias of __fegetround.  Use
41553         libm_hidden_weak.  Do not undefine as macro.
41554         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41555         Likewise.
41556         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
41557         __fegetround and define as weak alias of __fegetround.  Use
41558         libm_hidden_weak.
41559         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41560         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41561         * sysdeps/tile/math_private.h (__fegetround): New inline function.
41562         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
41563         __fegetround and define as weak alias of __fegetround.  Use
41564         libm_hidden_weak.
41565         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
41566         __fegetround instead of fegetround.
41568         [BZ #17782]
41569         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
41570         Condition macro definition on [__USE_MISC].
41572         [BZ #17781]
41573         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
41574         (struct sigaction): Change type of sa_flags field to int.
41576         [BZ #17780]
41577         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
41578         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
41579         __glibc_reserved0.
41581         * nptl/version.c (banner): Use single year in copyright notice.
41583         * NEWS: Update copyright dates.
41584         * catgets/gencat.c (print_version): Likewise.
41585         * csu/version.c (banner): Likewise.
41586         * debug/catchsegv.sh: Likewise.
41587         * debug/pcprofiledump.c (print_version): Likewise.
41588         * debug/xtrace.sh (do_version): Likewise.
41589         * elf/ldconfig.c (print_version): Likewise.
41590         * elf/ldd.bash.in: Likewise.
41591         * elf/pldd.c (print_version): Likewise.
41592         * elf/sotruss.sh: Likewise.
41593         * elf/sprof.c (print_version): Likewise.
41594         * iconv/iconv_prog.c (print_version): Likewise.
41595         * iconv/iconvconfig.c (print_version): Likewise.
41596         * locale/programs/locale.c (print_version): Likewise.
41597         * locale/programs/localedef.c (print_version): Likewise.
41598         * login/programs/pt_chown.c (print_version): Likewise.
41599         * malloc/memusage.sh (do_version): Likewise.
41600         * malloc/memusagestat.c (print_version): Likewise.
41601         * malloc/mtrace.pl: Likewise.
41602         * manual/libc.texinfo: Likewise.
41603         * nptl/version.c (banner): Likewise.
41604         * nscd/nscd.c (print_version): Likewise.
41605         * nss/getent.c (print_version): Likewise.
41606         * nss/makedb.c (print_version): Likewise.
41607         * posix/getconf.c (main): Likewise.
41608         * scripts/test-installation.pl: Likewise.
41609         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
41611 2015-01-02  Will Newton  <will.newton@linaro.org>
41613         * sysdeps/arm/armv7/configure: Removed.
41614         * sysdeps/arm/armv7/configure.ac: Likewise.
41616 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
41618         * All files with FSF copyright notices: Update copyright dates
41619         using scripts/update-copyrights.
41620         * intl/plural.c: Regenerated.
41621         * locale/programs/charmap-kw.h: Likewise.
41622         * locale/programs/locfile-kw.h: Likewise.
41624 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41626         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
41628 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
41630         [BZ #17748]
41631         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
41632         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
41633         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41634         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
41635         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41636         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
41637         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41638         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
41639         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41640         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41641         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41642         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41643         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41644         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41645         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
41646         libm_hidden_def.
41647         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
41648         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
41649         Likewise.
41650         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41651         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41652         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41653         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41654         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
41655         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41656         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
41657         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
41658         __fegetenv instead of fegetenv.
41659         (libc_feholdsetround_noex_ctx): Likewise.
41661 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
41663         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
41664         (Elf_MIPS_ABIFlags_v0): New structure.
41665         (EF_MIPS_FP64): Define.
41666         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
41667         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
41668         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
41669         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
41670         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
41671         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
41672         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
41673         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
41674         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
41675         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
41676         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
41677         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
41678         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
41679         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
41680         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
41681         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
41682         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
41683         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
41684         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
41685         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
41686         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
41687         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
41688         field.
41689         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
41690         EF_MIPS_FP64.
41691         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
41692         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
41693         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
41694         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
41695         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
41696         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
41697         * sysdeps/mips/tst-abi-interlink.c: Likewise.
41698         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
41699         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
41700         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
41701         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
41702         record the current FP ABI extension.
41703         (mips-mode-switch): Define to show if kernel headers support mode
41704         switching.
41705         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
41706         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
41707         supported SYSV ABI version to 3.
41708         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
41709         feature.
41711 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41712             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41714         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
41715         path.
41716         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
41718 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
41720         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
41721         __fegetround and redefine to call __fegetround.  Remove condition
41722         on [!__NO_MATH_INLINES].
41723         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
41724         function.
41725         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
41726         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41727         Remove macro.
41728         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
41729         instead of <fenv_libc.h>.
41730         (__llrintl): Call fegetround instead of __fegetround.
41731         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
41732         instead of <fenv_libc.h>.
41733         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41734         (__lrintl): Call fegetround instead of __fegetround.
41735         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
41736         instead of <fenv_libc.h>.
41737         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41738         (__rintl): Call fegetround instead of __fegetround.
41740 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41742         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
41743         arrays.
41745 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
41747         [BZ #17775]
41748         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
41749         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
41750         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
41752 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
41754         * sysdeps/i386/tls-macros.h: Include <features.h>.
41755         (TLS_LE): Use non-PIC version for GCC >= 5.0.
41756         (TLS_IE): Likewise.
41757         (TLS_LD): Likewise.
41758         (TLS_GD): Likewise.
41759         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
41760         define for GCC >= 5.0.
41762 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
41764         * math/test-fenv.c (test_single_exception, set_single_exc,
41765         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
41766         feexcp_mask_test, feenable_test, fe_single_test): Add
41767         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
41768         case where they are not used.
41769         * math/libm-test.inc: Likewise.
41770         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
41771         unused in the absence of FP rounding/exception support.
41772         * stdio-common/tst-printf-round.c: Likewise.
41773         * stdlib/tst-strtod-round.c: Likewise.
41774         * stdlib/tst-strtod-underflow.c: Likewise.
41776 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
41778         [BZ #17723]
41779         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
41780         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
41781         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41782         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41783         libm_hidden_weak.
41784         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
41785         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41786         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
41787         libm_hidden_def.
41788         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41789         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41790         libm_hidden_weak.
41791         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
41792         Likewise.
41793         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
41794         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41795         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41796         libm_hidden_weak.
41797         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41798         libm_hidden_def.
41799         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41800         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
41801         (__feraiseexcept): Likewise.
41802         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41803         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41804         libm_hidden_weak.
41805         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41806         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41807         libm_hidden_def.
41808         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
41809         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
41810         Use libm_hidden_def.
41811         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
41812         libm_hidden_def.
41813         (feraiseexcept): Define as weak not strong alias.  Use
41814         libm_hidden_weak.
41815         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
41816         New inline function.  Factored out of ...
41817         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
41818         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
41819         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
41820         feraiseexcept.
41821         * math/w_acos.c (__acos): Likewise.
41822         * math/w_asin.c (__asin): Likewise.
41823         * math/w_ilogb.c (__ilogb): Likewise.
41824         * math/w_j0.c (y0): Likewise.
41825         * math/w_j1.c (y1): Likewise.
41826         * math/w_jn.c (yn): Likewise.
41827         * math/w_log.c (__log): Likewise.
41828         * math/w_log10.c (__log10): Likewise.
41829         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
41830         * sysdeps/aarch64/fpu/math_private.h
41831         (libc_feupdateenv_test_aarch64): Likewise.
41832         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41833         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
41834         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
41835         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41836         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41837         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41838         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
41839         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41840         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41841         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41843 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
41845         [BZ #17732]
41846         * io/test-utime.c (main): Replace %ld with %jd and cast to
41847         intmax_t.
41848         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
41849         * nptl/tst-mutex5.c: Include <stdint.h>.
41850         (do_test): Replace %ld with %jd and cast to intmax_t.
41851         * posix/tst-regex.c (run_test): Likewise.
41852         (run_test_backwards): Likewise.
41853         * rt/tst-clock.c: Include <stdint.h>.
41854         (clock_test): Replace %ld with %jd and cast to intmax_t.
41855         * rt/tst-cpuclock1.c: Include <stdint.h>.
41856         (do_test): Replace %lu with %ju and cast to uintmax_t.
41857         * rt/tst-cpuclock2.c: Include <stdint.h>.
41858         (do_test): Replace %lu with %ju and cast to uintmax_t.
41859         * rt/tst-mqueue1.c: Include <stdint.h>.
41860         (check_attrs): Replace %ld with %jd and cast to intmax_t.
41861         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
41862         intmax_t.
41863         * rt/tst-mqueue4.c (do_test): Likewise.
41864         * rt/tst-timer4.c: Include <stdint.h>.
41865         (check_ts): Replace %ld with %jd and cast to intmax_t.
41866         (do_test): Likewise.
41867         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
41868         and cast to intmax_t.
41869         * sysdeps/pthread/tst-timer.c (main): Likewise.
41870         * time/clocktest.c (main): Likewise.
41871         * time/tst-posixtz.c (do_test): Likewise.
41872         * timezone/tst-timezone.c (main): Likewise.
41874 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
41875             H.J. Lu  <hongjiu.lu@intel.com>
41877         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
41878         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
41879         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
41880         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
41881         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
41882         version if bit_Fast_Unaligned_Load is set.
41883         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41884         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41885         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41886         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41887         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41888         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41889         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41890         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
41891         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
41892         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
41893         to 4.
41894         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
41895         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
41896         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
41897         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
41899 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
41901         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
41902         instead of #if to avoid a Wundef warning.
41903         * stdlib/tst-limits.c (do_test): Likewise.
41905         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
41906         parallel other exception macros.
41907         (fegetenv): Convert from macro to extern inline so that it applies
41908         retroactively to inline functions already seen by the compiler.
41909         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
41911         * posix/Makefile (before-compile): Use $(objpfx) for
41912         posix-conf-vars-def.h.
41914 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41916         * posix/getconf.c (main): Use size_t for type of I.
41917         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
41918         NSPEC.
41920         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
41921         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
41922         * posix/posix-envs.def: Likewise.
41923         * sysdeps/posix/sysconf.c: Likewise.
41924         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
41925         (specs): Remove array.
41926         * scripts/gen-posix-conf-vars.awk: Support generation of specs
41927         array.
41929         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
41930         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
41931         (__sysconf): Use CONF_IS_* macros.
41933         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
41934         ($(objpfx)posix-conf-vars-def.h): New target.
41935         * posix/posix-conf-vars.list: New file.
41936         * posix/posix-conf-vars.h: New file.
41937         * posix/confstr.c: Include posix-conf-vars.h.
41938         (confstr): Use CONF_IS_* macros.
41939         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
41940         CONF_IS_* macros.
41941         * scripts/gen-posix-conf-vars.awk: New file.
41943 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
41945         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
41946         fegetround): Add no-op macros to avoid linknamespace issues.
41948         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
41949         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
41951         * sysdeps/unix/sysv/linux/tile/sysdep.h
41952         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
41953         assembly-specific section to avoid a redefinition warning.
41955         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
41956         long before casting to pointer to avoid a cast warning.
41958 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
41960         * sysdeps/tile/tilegx/Implies: New file.
41962 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
41964         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
41966 2014-12-23  Florian Weimer  <fweimer@redhat.com>
41968         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
41970 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
41972         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
41973         not define.
41974         * sysdeps/unix/sysv/linux/utimes.c: Do not include
41975         <kernel-features.h>.
41976         (__utimes) [__NR_utimes]: Make code unconditional.
41977         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
41978         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41979         (__ASSUME_UTIMES): Do not undefine.
41980         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41981         (__ASSUME_UTIMES): Likewise.
41982         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41983         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
41984         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
41985         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
41987 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
41989         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
41991 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
41993         [BZ #17747]
41994         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
41995         alias to weak alias for j0l, y0l.
41996         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
41997         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
41999         [BZ #17746]
42000         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
42001         conversion.
42003 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
42005         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
42006         to zero if not already defined.
42008 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
42010         [BZ #17724]
42011         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
42012         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
42013         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
42014         (char *) casts added.
42015         * sysdeps/ieee754/k_standardf.c: New file.
42016         * sysdeps/ieee754/k_standardl.c: Likewise.
42017         * math/Makefile (libm-support): Remove k_standard.
42018         (libm-calls): Add k_standard.
42020 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
42022         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
42023         Optimize to avoid an unnecessary FPCR read.
42025 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
42027         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
42028         Optimize to reduce FPCR/FPSR accesses.
42030 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
42032         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
42033         Call libc_fetestexcept_aarch64.
42035 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
42037         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
42038         Call libc_fesetround_aarch64.
42040 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
42042         [BZ #17733]
42043         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
42044         (__bind): Do not define as weak alias.
42045         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
42046         define.
42047         (__getsockname): Do not define as weak alias.
42049 2014-12-22  Will Newton  <will.newton@linaro.org>
42051         * manual/install.texi: Document that we require bison 2.7
42052         or above.
42053         * INSTALL: Regenerate.
42054         * configure.ac: Use AC_CHECK_PROG_VER instead of
42055         AC_PATH_PROG when checking for bison and check for
42056         version 2.7 or above.
42057         * configure: Regenerate.
42059 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
42061         [BZ #17745]
42062         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
42063         * sysdeps/tile/ffsll.c (ffsll): To here.
42065         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
42067 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
42069         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
42070         if not defined.
42071         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
42072         definition.
42073         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
42074         hidden ___tls_get_addr.
42075         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
42076         hidden __tls_get_addr.
42077         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
42078         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
42079         Likewise.
42081 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
42083         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
42084         _dl_init call.
42086 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
42088         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
42089         from "call _dl_init@PLT".
42090         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
42092 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
42094         * manual/search.texi: (Array Sort Function): Clarify stable sorting
42095         guarantees.
42097 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
42099         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
42101 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
42103         [BZ #17744]
42104         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
42105         strnlen.
42107 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
42109         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
42110         of multu on MIPSr6.
42111         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
42112         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
42113         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
42114         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
42115         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
42117 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
42119         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
42120         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
42121         (PTR_SUBU): Use subu for mips32r6/mips64r6.
42122         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
42123         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
42124         mips32r6/mips64r6.
42125         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
42127 2014-12-19  Ondƙej BĂ­lka  <neleai@seznam.cz>
42129         * string/strncat.c (STRNCAT): Simplify implementation.
42131 2014-12-19  David S. Miller  <davem@davemloft.net>
42133         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
42134         access the quad as both a long double and as a series of 4 words.
42136         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
42137         link_map->l_info array access.
42139 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
42141         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
42143         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
42144         * math/atest-exp2.c (TIMEOUT): Likewise.
42145         * math/atest-sincos.c (TIMEOUT): Likewise.
42147 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
42149         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
42150         -Wno-error with -fno-builtin-lround.
42152 2014-12-19  Torvald Riegel  <triegel@redhat.com>
42154         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
42155         Contains futex constants and functions moved over from ...
42156         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
42157         <lowlevellock-futex.h>.
42158         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42159         (lll_timedwait_tid): Add comments and parentheses around macro
42160         arguments.
42162 2014-12-19  Torvald Riegel  <triegel@redhat.com>
42164         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
42165         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
42166         (__lll_private_flag): Remove.
42167         (lll_futex_wait): Likewise.
42168         (lll_futex_timed_wait): Likewise.
42169         (lll_futex_wake): Likewise.
42170         (lll_futex_requeue): Likewise.
42171         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42172         (__lll_timedwait_tid): Spell out argument names.
42173         (lll_timedwait_tid): Add comments and parentheses around macro
42174         arguments.
42175         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
42176         LLL_SHARED and LLL_PRIVATE usable from assembly code.
42178 2014-12-19  Torvald Riegel  <triegel@redhat.com>
42180         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
42181         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
42182         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42183         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
42184         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
42185         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
42186         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
42187         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
42188         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
42189         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
42190         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
42191         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
42192         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
42193         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
42194         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
42195         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
42196         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
42197         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
42198         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
42200 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
42202         * sysdeps/x86_64/x32/Makefile: New file.
42204 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
42206         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
42207         1L with (mp_limb_t) 1.
42209 2014-12-17  Roland McGrath  <roland@hack.frob.com>
42211         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
42212         * nptl/libc_pthread_init.c: ... here.
42213         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
42214         * nptl/register-atfork.c: ... here.
42216         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
42217         Use pthread_sigmask rather than INTERNAL_SYSCALL.
42218         Use assert_perror to check its return value.
42219         (__gai_create_helper_thread): Likewise.
42221         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
42223         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
42225 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
42227         [BZ #17725]
42228         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
42229         __profil_counter.
42230         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
42231         Likewise.
42232         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
42233         Likewise.
42234         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
42235         Likewise.
42236         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
42237         (profil_counter): Likewise.
42238         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
42239         (profil_counter): Likewise.
42240         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
42241         Likewise.
42242         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
42243         Likewise.
42244         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
42245         (profil_counter): Likewise.
42246         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
42247         Likewise.
42248         [!__profil_counter] (profil_counter): Define as weak alias of
42249         __profil_counter.
42250         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
42251         (profil_counter): Rename to __profil_counter.
42252         [!__profil_counter] (profil_counter): Define as weak alias of
42253         __profil_counter.
42254         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
42255         (profil_counter): Rename to __profil_counter.
42256         [!__profil_counter] (profil_counter): Define as weak alias of
42257         __profil_counter.
42258         * sysdeps/posix/profil.c: Update comment referring to
42259         profil_counter.
42260         (__profil): Use __profil_counter instead of profil_counter.
42261         * sysdeps/posix/sprofil.c (profil_counter): Rename to
42262         __profil_counter.  Use __profil_counter_ushort and
42263         __profil_counter_uint in definitions.
42264         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
42265         instead of profil_counter_uint and profil_counter_ushort.
42267         [BZ #17722]
42268         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
42269         define as weak alias of __inet_makeaddr.
42270         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
42271         as weak alias of __inet_addr.
42272         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
42273         as weak alias of __inet_pton.  Use libc_hidden_weak.
42274         * include/arpa/inet.h (__inet_pton): Declare.  Use
42275         libc_hidden_proto.
42276         (inet_makeaddr): Don't use libc_hidden_proto.
42277         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
42278         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
42279         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
42280         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
42281         Remove variable.
42282         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42283         (test-xfail-POSIX/time.h/linknamespace): Likewise.
42285 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
42287         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
42289 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
42291         * stdio-common/bug-vfprintf-nargs.c (do_test):
42292         Cast value to intptr_t to avoid format warning
42293         for usage with PRIdPTR printing macro.
42295 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
42297         * libio/tst-widetext.c (do_test):
42298         Use format type %td instead of %Zd for ptrdiff_t
42299         in order to avoid format warning.
42301 2014-12-17  Andreas Schwab  <schwab@suse.de>
42303         * nscd/mem.c (gc): Add size_t cast to match printf format.
42305 2014-12-16  Roland McGrath  <roland@hack.frob.com>
42307         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
42308         (init): Apply PTR_MANGLE to pointers before storing them.
42309         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
42310         before using them.
42312 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
42314         [BZ #17719]
42315         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
42316         define as weak alias of __memrchr.
42317         (__memrchr): Do not define as strong alias of memrchr.
42318         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
42319         Remove variable.
42320         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42321         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42322         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42324         [BZ #17717]
42325         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
42326         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
42327         (if_indextoname): Rename to __if_indextoname and define as weak
42328         alias of __if_indextoname.  Use libc_hidden_weak.
42329         (if_freenameindex): Rename to __if_freenameindex and define as
42330         weak alias of __if_freenameindex.
42331         (if_nameindex): Rename to __if_nameindex and define as weak alias
42332         of __if_nameindex.
42333         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
42334         __if_nametoindex and define as weak alias of __if_nametoindex.
42335         Use libc_hidden_weak.
42336         (if_freenameindex): Rename to __if_freenameindex and define as
42337         weak alias of __if_freenameindex.
42338         (if_nameindex): Rename to __if_nameindex and define as weak alias
42339         of __if_nameindex.
42340         (if_indextoname): Rename to __if_indextoname and define as weak
42341         alias of __if_indextoname.  Use libc_hidden_weak.
42342         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
42343         __if_nametoindex and define as weak alias of __if_nametoindex.
42344         Use libc_hidden_weak.
42345         (if_freenameindex): Rename to __if_freenameindex and define as
42346         weak alias of __if_freenameindex.  Use libc_hidden_weak.
42347         (if_nameindex_netlink): Use __if_freenameindex instead of
42348         if_freenameindex.
42349         (if_nameindex): Rename to __if_nameindex and define as weak alias
42350         of __if_nameindex.  Use libc_hidden_weak.
42351         (if_indextoname): Rename to __if_indextoname and define as weak
42352         alias of __if_indextoname.  Use libc_hidden_weak.
42353         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
42354         libc_hidden_proto.
42355         [!_ISOMAC] (__if_freenameindex): Likewise.
42356         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
42357         if_nametoindex.
42358         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
42359         variable.
42360         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42361         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42362         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42363         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42364         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42365         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42366         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42368         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
42369         Remove variable.
42370         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42371         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42373 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42375         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
42376         subscript above bounds'
42378         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
42379         bounds.
42381 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
42383         * libio/tst-fopenloc.c: Use test-skeleton.c.
42385         * stdlib/tst-bsearch.c: Use test-skeleton.c.
42386         (entry): Rename to ITEM.
42387         (do_test, comp): Adjust.
42389         * stdio-common/tst-fseek.c: Use test-skeleton.c.
42391 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42393         * string/tester.c: Include <libc-internal.h>.
42394         (test_memset): Ignore -Wmemset-transposed-args.
42396 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42398         * misc/tst-mntent2.c (do_test): Fix warning.
42400 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42402         * elf/tst-unique4lib.cc(a): Mark as used.
42404 2014-12-16  Florian Weimer  <fweimer@redhat.com>
42406         [BZ #17630]
42407         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
42408         names.
42410 2014-12-16  Allan McRae  <allan@archlinux.org>
42412         * stdio-common/Makefile (tests): Re-add bug26.
42414 2014-12-15  Ondƙej BĂ­lka  <neleai@seznam.cz>
42416         [BZ #17657]
42417         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
42418         static array.
42420 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
42422         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
42423         (__lll_lock_wait): Likewise.
42424         (__lll_timedlock_wait): Likewise.
42425         (__lll_timedwait_tid): Likewise.
42426         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
42427         (__lll_robust_timedlock_wait): Likewise.
42428         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
42429         (lll_cond_trylock): Likewise.
42430         (__lll_lock): Likewise.
42431         (__lll_robust_lock): Likewise.
42432         (__lll_cond_lock): Likewise.
42433         (lll_robust_cond_lock): Likewise.
42434         (__lll_timedlock): Likewise.
42435         (__lll_robust_timedlock): Likewise.
42436         (__lll_unlock): Likewise.
42437         (__lll_robust_unlock): Likewise.
42438         (lll_wait_tid): Likewise.
42439         (lll_timedwait_tid): Likewise.
42441 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42443         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
42445 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42447         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
42449 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
42451         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
42452         * stdio-common/tst-sprintf.c: Likewise.
42454 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42456         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
42458 2014-12-15  Jeff Law  <law@redhat.com>
42460         [BZ #16617]
42461         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
42462         on the heap.  (CVE-2012-3406)
42463         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
42464         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
42465         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
42467 2014-12-15  Will Newton  <will.newton@linaro.org>
42469         * manual/install.texi: Bump required version of texinfo
42470         to 4.7 from 4.5.
42471         * INSTALL: Regenerated.
42472         * configure.ac: Check for makeinfo version 4.7 and above.
42473         * configure: Regenerated.
42475 2014-12-12  Roland McGrath  <roland@hack.frob.com>
42477         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
42478         PREFIX, string constant to insert between directory and name.
42479         * sysdeps/posix/shm_open.c: Update caller.
42480         * sysdeps/posix/shm_unlink.c: Likewise.
42481         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
42482         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
42483         (SEM_SHM_PREFIX): New macro.
42484         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
42485         [$(have-thread-library) = no].
42486         * nptl/Makefile (libpthread-routines): Add shm-directory.
42487         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
42488         * sysdeps/nptl/shm-directory.h: New file.
42489         * sysdeps/posix/shm-directory.c
42490         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
42491         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
42492         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
42493         INTERNAL_SYSCALL.
42494         (__where_is_shmfs): Function removed.
42495         (mountpoint, defaultmount, defaultdir, __namedsem_once):
42496         Variables removed.
42497         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
42498         Use SHM_GET_NAME.
42499         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
42501         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
42502         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
42503         unconditional for use inside libpthread.
42504         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
42506 2014-12-12  Roland McGrath  <roland@hack.frob.com>
42508         * nptl/pthread_getaffinity.c: New file.
42509         * nptl/pthread_setaffinity.c: New file.
42510         * nptl/pthread_getname.c: New file.
42511         * nptl/pthread_setname.c: New file.
42513         * nptl/pthread_create.c (START_THREAD_DEFN)
42514         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
42516 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
42517             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42519         * resolv/res_send.c (send_vc): Disable warning resplen may
42520         be used uninitialized.
42522 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
42524         * nptl/tst-mutex6.c
42525         (ATTR_NULL): New define checks ATTR against NULL.
42526         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
42527         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
42529 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
42531         [BZ #17581]
42532         * malloc/hooks.c
42533         (mem2mem_check): Revert my previous change.
42534         (malloc_check_get_size): Revert my previous change.
42535         (mem2chunk_check): Revert my previous change.
42537 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42539         * sysdeps/posix/shm-directory.c: New file.
42540         * sysdeps/posix/shm-directory.h: New file.
42541         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
42542         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
42543         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
42544         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
42545         Transmute EPERM to EACCES.
42546         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
42547         from ...
42548         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
42549         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
42551 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42553         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
42554         pointer and cast to uintptr_t.
42555         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
42556         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
42557         Add cast to avoid warning.
42558         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
42560 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
42562         * nptl/semaphore.h: Move to ...
42563         * sysdeps/pthread/semaphore.h: ... here.
42564         * Makefile (installed-headers): Change nptl/semaphore.h to
42565         sysdeps/pthread/semaphore.h.
42567 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42569         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
42570         generated error format strings.
42572         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
42573         -Wformat-extra-args warnings for scanf formats.
42574         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
42575         test of zero-length format (duh).
42576         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
42577         corner-case scanf format test.
42578         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
42579         generated fprintf format string.
42580         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
42581         corner-case sprintf format tests.
42582         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
42583         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
42584         -Wformat-extra-args warnings throughout.
42585         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
42586         (CFLAGS-scanf4.c): Likewise.
42587         (CFLAGS-scanf7.c): Likewise.
42588         (CFLAGS-tst-sprintf.c): Likewise.
42589         (CFLAGS-tst-printf.c): Likewise.
42590         (CFLAGS-tst-printfsz.c): Likewise.
42592 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
42594         * include/cpio.h: New file.
42595         * include/fmtmsg.h: Likewise.
42597         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
42598         corresponding format argument to size_t.
42599         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
42600         arguments.
42601         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
42602         corresponding format argument to size_t.
42603         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
42604         arguments.
42605         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
42606         corresponding format argument to size_t.
42607         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
42608         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
42609         (CFLAGS-tst-mbswcs2.c): Likewise.
42610         (CFLAGS-tst-mbswcs3.c): Likewise.
42611         (CFLAGS-tst-mbswcs4.c): Likewise.
42612         (CFLAGS-tst-mbswcs5.c): Likewise.
42613         (CFLAGS-tst-trans.c): Likewise.
42615 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42617         * posix/regexbug1.c (main): Use "%s" format with regerror results,
42618         rather than assuming they won't contain any '%'s.
42620 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
42622         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
42623         inhibit_loop_to_libcall to avoid recursive calls.
42624         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
42625         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
42627 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
42629         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
42630         prototype.
42632 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
42634         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
42635         integer value instead of boolean.
42637 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
42639         * malloc/malloc.c: Fix powerof2 check.
42641 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42643         * locale/programs/locfile.h (maybe_swap_uint32):
42644         Remove inline and add unused attribute.
42646 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42648         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42649         Truncating assembler expression to a .long expression.
42651 2014-12-11  Andreas Schwab  <schwab@suse.de>
42653         * elf/rtld.c (struct map_args): Constify str member.
42654         (do_preload): Constify fname argument.
42656 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42658         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
42659         constants definition.
42661 2014-12-11  Andreas Schwab  <schwab@suse.de>
42663         [BZ #16657]
42664         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
42665         FORCE_ELISION instead of DO_ELISION.
42666         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
42667         Remove.
42668         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
42669         Likewise.
42671         * iconvdata/gconv-modules: Remove duplicate entry.
42673 2014-12-11  Will Newton  <will.newton@linaro.org>
42675         Merge gettext 0.19.3 into intl/.
42677         This involves a number of cosmetic changes to comments
42678         and ANSI function definitions and prototypes throughout
42679         all the files. The gettext copyright header is used but
42680         with the date ranges taken from the glibc copy.
42682         * NEWS: Add gettext merge to 2.21.
42683         * intl/bindtextdom.c: Switch to gettext copyright.
42684         Use ANSI definitions and prototypes.
42685         Use gl_* locking primitives rather than __libc_* ones.
42686         Use __builtin_expect rather than __glibc_likely/unlikely.
42687         * intl/dcgettext.c: Switch to gettext copyright.
42688         Use ANSI definitions and prototypes.
42689         * intl/dcigettext.c: Switch to gettext copyright.
42690         Use ANSI definitions and prototypes.
42691         (INTDIV0_RAISES_SIGFPE): New define.
42692         Use gl_* locking primitives rather than __libc_* ones.
42693         Include eval-plural.h instead of plural-eval.c.
42694         Use __builtin_expect rather than __glibc_likely/unlikely.
42695         * intl/dcngettext.c: Switch to gettext copyright.
42696         Use ANSI definitions and prototypes.
42697         * intl/dgettext.c: Likewise.
42698         * intl/dngettext.c: Likewise.
42699         * intl/plural-eval.c: Renamed to...
42700         * intl/eval-plural.h: ...this.
42701         * intl/explodename.c: Switch to gettext copyright.
42702         Use ANSI definitions and prototypes.
42703         (_nl_explode_name): Use strchr instead of __rawmemchr.
42704         * intl/finddomain.c: Switch to gettext copyright.
42705         Use ANSI definitions and prototypes.
42706         Use gl_* locking primitives rather than __libc_* ones.
42707         (_nl_find_domain): Use malloc rather than alloca for
42708         allocation of temporary locale name.
42709         * intl/gettext.c: Switch to gettext copyright.
42710         Use ANSI definitions and prototypes.
42711         * intl/gettextP.h: Switch to gettext copyright.
42712         Use ANSI definitions and prototypes.
42713         Use gl_* locking primitives rather than __libc_* ones.
42714         * intl/gmo.h: Switch to gettext copyright.
42715         (struct sysdep_string): Move struct segment_pair outside of
42716         struct definition.
42717         * intl/hash-string.c: Use ANSI definitions and prototypes.
42718         * intl/hash-string.h: Switch to gettext copyright.
42719         Use ANSI definitions and prototypes.
42720         * intl/l10nflist.c: Switch to gettext copyright.
42721         Use ANSI definitions and prototypes.
42722         (_nl_normalize_codeset): Avoid integer overflow.
42723         * intl/loadinfo.h: Switch to gettext copyright.
42724         Use ANSI definitions and prototypes.
42725         (LIBINTL_DLL_EXPORTED): New define.
42726         (PATH_SEPARATOR): New define.
42727         * intl/loadmsgcat.c: Switch to gettext copyright.
42728         * intl/localealias.c: Switch to gettext copyright.
42729         Use ANSI definitions and prototypes.
42730         (_nl_expand_alias): Use PATH_SEPARATOR.
42731         * intl/ngettext.c: Switch to gettext copyright.
42732         Use ANSI definitions and prototypes.
42733         * intl/plural-exp.c: Likewise.
42734         * intl/plural-exp.h: Switch to gettext copyright.
42735         Use ANSI definitions and prototypes.
42736         (struct expression): Move definition of enum operator outside
42737         of struct definition.
42738         * intl/plural.c: Regenerate.
42739         * intl/plural.y: Switch to gettext copyright.
42740         Use ANSI definitions and prototypes.
42741         Port to bison 3.0.
42742         * intl/textdomain.c: Switch to gettext copyright.
42743         Use ANSI definitions and prototypes.
42744         Use gl_* locking primitives rather than __libc_* ones.
42746 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
42748         * debug/warning-nop.c: Add used atrribute.
42750 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42752         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
42754         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
42755         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
42756         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
42758 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42759             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42761         [BZ #17634]
42762         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
42763         Undefine after defining function.  Define as weak alias of
42764         __wcschr.  Use libc_hidden_weak.
42765         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
42766         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
42767         (libc_hidden_def): Also define __GI___wcschr alias.
42768         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
42769         __wcschr and define as weak alias of __wcschr.
42770         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
42771         __wcschr.
42772         [!WCSCHR] (DEFAULT_WCSCHR): Define.
42773         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
42774         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
42775         libc_hidden_weak.  Do not use libc_hidden_def.
42776         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
42777         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
42778         __GI___wcschr alias.
42779         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
42780         [IS_IN (libc)] (wcschr): Define as macro expanding to
42781         __redirect_wcschr.
42782         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
42783         [IS_IN (libc)] (__wcschr_power6): Likewise.
42784         [IS_IN (libc)] (__wcschr_power7): Likewise.
42785         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
42786         instead of wcschr.
42787         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
42788         __libc_wcschr.
42789         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
42790         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
42791         __wcschr and define as weak alias of __wcschr.  Use
42792         libc_hidden_builtin_def.
42793         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
42794         as weak alias of __wcschr.  Use libc_hidden_weak.
42795         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
42796         wcschr.
42797         * time/era.c (_nl_init_era_entries): Likewise.
42798         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
42799         variable.
42800         (test-xfail-XPG3/time.h/linknamespace): Likewise.
42801         (test-xfail-XPG4/time.h/linknamespace): Likewise.
42803 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42805         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
42806         format for long int variable.
42808 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
42810         [BZ #10672]
42811         * manual/search.texi: (Array Sort Function): Remove claim how to make
42812         qsort stable.
42814 2014-12-10  Andreas Schwab  <schwab@suse.de>
42816         [BZ #12847]
42817         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
42818         user-controlled locks.
42820 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
42822         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
42823         register.
42825 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42827         * configure.ac (--disable-werror): New configure option.
42828         (enable_werror): New AC_SUBST.
42829         * configure: Regenerated.
42830         * config.make.in (enable-werror): New variable.
42831         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
42832         -Wno-error=undef.
42833         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
42834         * manual/install.texi (Configuring and compiling): Document
42835         --disable-werror.
42836         * INSTALL: Regenerated.
42837         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
42838         (CFLAGS-tst-chk2.c): Likewise.
42839         (CFLAGS-tst-chk3.c): Likewise.
42840         (CFLAGS-tst-chk4.cc): Likewise.
42841         (CFLAGS-tst-chk5.cc): Likewise.
42842         (CFLAGS-tst-chk6.cc): Likewise.
42843         (CFLAGS-tst-lfschk1.c): Likewise.
42844         (CFLAGS-tst-lfschk2.c): Likewise.
42845         (CFLAGS-tst-lfschk3.c): Likewise.
42846         (CFLAGS-tst-lfschk4.cc): Likewise.
42847         (CFLAGS-tst-lfschk5.cc): Likewise.
42848         (CFLAGS-tst-lfschk6.cc): Likewise.
42850         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
42851         (main): Disable -Wdeprecated-declarations around calls to
42852         register_printf_function.
42854         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
42855         (do_test): Disable -Wdiv-by-zero around some calls to
42856         fwrite_unlocked and fread_unlocked.
42858         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
42859         (DIAG_POP_NEEDS_COMMENT): Likewise.
42860         (_DIAG_STR1): Likewise.
42861         (_DIAG_STR): Likewise.
42862         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
42863         * stdio-common/bug21.c: Include <libc-internal.h>.
42864         (do_test): Disable -Wformat around call to sscanf.
42865         * stdio-common/scanf14.c: Include <libc-internal.h>.
42866         (main): Disable -Wformat around some calls to scanf functions.
42868 2014-12-09  Torvald Riegel  <triegel@redhat.com>
42870         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
42872 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42874         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
42875         stack variable alignment.
42877 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
42879         [BZ #17682]
42880         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
42881         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
42882         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
42883         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
42884         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
42885         __getrlimit instead of getrlimit.
42886         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
42887         __gettimeofday instead of gettimeofday.
42888         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
42889         Likewise.
42890         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
42891         Likewise.
42892         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42893         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
42894         Remove variable.
42895         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42896         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42898 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42900         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
42901         for wide-character tests.
42903 2014-12-04  Roland McGrath  <roland@hack.frob.com>
42905         * io/openat64.c: #include <libc-internal.h>
42906         (__openat64): Prototypify.  Use ignore_value on MODE.
42907         * io/openat.c: Likewise.
42908         * misc/reboot.c: #include <libc-internal.h>
42909         (reboot): Prototypify.  Use ignore_value on HOWTO.
42910         * misc/ptrace.c: #include <libc-internal.h>
42911         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
42913 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
42915         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
42916         XPG4, UNIX98 and XOPEN2K.
42917         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
42918         Remove variable.
42919         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42921 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42923         * libio/fileops.c: Use ISO C style for function definitions.
42924         * libio/iofopen.c: Likewise.
42925         * libio/wfileops.c: Likewise.
42927         [BZ #17653]
42928         * libio/fileops.c (_IO_new_file_underflow): Unset cached
42929         offset on EOF.
42930         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
42931         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
42932         (fgets_func): Function pointer to fgets and fgetws.
42933         (do_ftell_test): Add test to verify ftell value after read
42934         EOF.
42935         (do_test): Set fgets_func.
42937         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
42938         O_TRUNC flag for w and w+ modes.
42939         (do_rewind_test): Likewise.
42940         (do_ftell_test): Likewise.
42941         (do_write_test): Likewise.
42943         [BZ #17647]
42944         * libio/fileops.c (do_ftell): Seek only when there are
42945         unflushed writes.
42946         * libio/wfileops.c (do_ftell_wide): Likewise.
42947         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
42948         test case.
42949         (do_one_test): Call it.
42951 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
42953         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
42954         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
42955         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
42956         Remove variable.
42957         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42958         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42959         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42961 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
42963         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
42964         Remove variable.
42965         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42967         [BZ #17668]
42968         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
42969         as weak alias of __getifaddrs.  Use libc_hidden_weak.
42970         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42971         __freeifaddrs.  Use libc_hidden_weak.
42972         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
42973         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
42974         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42975         __freeifaddrs.  Use libc_hidden_weak.
42976         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
42977         __getifaddrs and define as weak alias of __getifaddrs.  Use
42978         libc_hidden_weak.
42979         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42980         __freeifaddrs.  Use libc_hidden_weak.
42981         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
42982         Remove variable.
42983         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42984         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42986 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
42988         [BZ #17601]
42989         * sysdeps/mips/start.S (__start): Use indirect jump to call
42990         __libc_start_main.
42992 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
42994         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
42996         * nptl/tst-mutex1.c: Include <stdbool.h>.
42997         [!ATTR] (ATTR_NULL): New macro.
42998         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
42999         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
43000         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
43002         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
43003         to char *.
43005         [BZ #17665]
43006         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
43007         Change conditional to [__USE_MISC].
43009         [BZ #17664]
43010         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
43011         fgets_unlocked.
43012         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
43013         __fgets_unlocked.
43014         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
43015         fgets_unlocked.
43016         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
43017         Remove variable.
43018         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
43019         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
43020         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
43021         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
43022         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
43023         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
43024         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
43025         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
43026         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
43028         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
43030 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43032         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43033         Remove strpbrk objects.
43034         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43035         (__libc_ifunc_impl_list): Remove strpbrk implementation.
43036         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
43037         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
43038         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
43039         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
43041         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43042         Remove strcspn objects.
43043         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43044         (__libc_ifunc_impl_list): Remove strcspn implementation.
43045         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
43046         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
43047         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
43048         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
43050         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43051         Remove strspn objetcs.
43052         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43053         (__libc_ifunc_impl_list): Remove strspn implementation.
43054         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
43055         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43056         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
43057         * sysdeps/powerpc/powerpc64/strspn.S: New file.
43059 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
43061         [BZ #17581]
43062         * malloc/hooks.c
43063         (mem2mem_check): Add a terminator to the chain of checking blocks.
43064         (malloc_check_get_size): Use it here.
43065         (mem2chunk_check): Ditto.
43067 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43069         * sysdeps/powerpc/powerpc64/strtok.S: New file.
43070         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
43072 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
43074         * bits/ioctl-types.h: Indent preprocessor directives correctly.
43076         * nptl/nptl-init.c: Include libc-internal.h.
43077         (__pthread_initialize_minimal_internal): Use ROUND_UP.
43079         * elf/ldconfig.c (search_dir): Expand comment.
43081 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
43083         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
43084         variable.
43085         (linknamespace-symlist-stdlibs-tests): Likewise.
43086         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
43087         instead of $(objpfx)symlist-stdlibs.
43088         (linknamespace-libs-isoc): New variable.
43089         (linknamespace-libs): Use $(linknamespace-libs-isoc).
43090         (linknamespace-libs-ISO): New variable.
43091         (linknamespace-libs-ISO99): Likewise.
43092         (linknamespace-libs-ISO11): Likewise.
43093         (linknamespace-libs-XPG3): Likewise.
43094         (linknamespace-libs-XPG4): Likewise.
43095         (linknamespace-libs-POSIX): Likewise.
43096         (linknamespace-libs-UNIX98): Likewise.
43097         (linknamespace-libs-XOPEN2K): Likewise.
43098         (linknamespace-libs-POSIX2008): Likewise.
43099         (linknamespace-libs-XOPEN2K8): Likewise.
43100         ($(objpfx)symlist-stdlibs): Replace by
43101         $(linknamespace-symlist-stdlibs-tests).  Use
43102         $(linknamespace-libs-$*) as set of libraries.
43103         ($(linknamespace-header-tests)): Update dependencies.  Use
43104         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
43105         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
43106         * conform/linknamespace.pl: Remove comment about considering
43107         definitions of symbols from irrelevant libraries.
43109 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
43111         [BZ #13862]
43112         * elf/dl-tls.c: Include <atomic.h>.
43113         (oom): Remove #ifdef SHARED/#endif.
43114         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
43115         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
43116         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
43117         big enough.
43118         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
43119         * nptl/Makefile (tests): Add tst-stack4.
43120         (modules-names): Add tst-stack4mod.
43121         ($(objpfx)tst-stack4): New.
43122         (tst-stack4mod.sos): Likewise.
43123         ($(objpfx)tst-stack4.out): Likewise.
43124         ($(tst-stack4mod.sos)): Likewise.
43125         (clean): Likewise.
43126         * nptl/tst-stack4.c: New file.
43127         * nptl/tst-stack4mod.c: Likewise.
43129 2014-11-27  J. Brown  <jb999@gmx.de>
43131         * sysdeps/x86/bits/string.h: Add recent CPUs.
43133 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
43135         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
43136         sigblock.
43138         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
43139         feof.
43141         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
43142         variable.
43144 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
43146         * nscd/connections.c: Include libc-internal.h because of macro
43147         usage ignore_value.
43149 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43151         * string/bits/string3.h (__warn_memset_zero_len): Don't
43152         declare for gcc newer than 5.0.
43153         (memset): Don't test for zero-length __LEN for gcc newer than
43154         5.0.
43156 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
43158         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
43159         size_t for %zu format.
43161         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
43162         difference, not %ju.
43164 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
43166         * include/libc-internal.h (ignore_value): New macro.
43167         * nscd/connections.c (restart): Wrap calls to setuid and setgid
43168         with ignore_value.
43170         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
43171         definition.
43173         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
43174         pthread_cleanup_push to void *.
43176         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
43177         Undefine.
43179         [BZ #16619]
43180         [BZ #16740]
43181         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
43182         instead of 1L << 52.
43184         * libio/bug-rewind.c (do_test): Check fwscanf return values.
43185         * libio/bug-rewind2.c (do_test): Likewise.
43187         * debug/test-stpcpy_chk-ifunc.c: Remove file.
43188         * debug/test-strcpy_chk-ifunc.c: Likewise.
43189         * wcsmbs/test-wcschr-ifunc.c: Likewise.
43190         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43191         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43192         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43193         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43194         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43195         * Rules [$(multi-arch) = no] (tests): Do not filter out
43196         $(tests-ifunc).
43197         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
43198         * debug/Makefile (tests-ifunc): Remove variable.
43199         (tests): Do not add $(tests-ifunc).
43200         * wcsmbs/Makefile (tests-ifunc): Remove variable.
43201         (tests): Do not add $(tests-ifunc).
43202         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
43203         [TEST_IFUNC]: Remove conditionals.
43204         * string/test-string.h (TEST_IFUNC): Remove macro.
43205         [TEST_IFUNC]: Remove conditionals.
43207         * string/test-strchr.c [!WIDE] (L): New macro.
43208         [WIDE] (L): Likewise.
43209         (check1): Use CHAR instead of char.  Use L on string and character
43210         constants.
43212 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
43214         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
43215         tests.
43216         * sysdeps/powerpc/bits/atomic.h
43217         (__arch_atomic_exchange_and_add_32_acq): Add definition.
43218         (__arch_atomic_exchange_and_add_32_rel): Likewise.
43219         (atomic_exchange_and_add_acq): Likewise.
43220         (atomic_exchange_and_add_rel): Likewise.
43221         * sysdeps/powerpc/powerpc32/bits/atomic.h
43222         (__arch_atomic_exchange_and_add_64_acq): Add definition.
43223         (__arch_atomic_exchange_and_add_64_rel): Likewise.
43224         * sysdeps/powerpc/powerpc64/bits/atomic.h
43225         (__arch_atomic_exchange_and_add_64_acq): Add definition.
43226         (__arch_atomic_exchange_and_add_64_rel): Likewise.
43228 2014-11-26  Torvald Riegel  <triegel@redhat.com>
43230         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
43231         Change synchronization of __sched_fifo_min_prio and
43232         __sched_fifo_max_prio.
43233         * nptl/pthread_mutexattr_getprioceiling.c
43234         (pthread_mutexattr_getprioceiling): Likewise.
43235         * nptl/pthread_mutexattr_setprioceiling.c
43236         (pthread_mutexattr_setprioceiling): Likewise.
43237         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
43238         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
43239         Likewise.
43241 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
43243         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
43244         void.
43246 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
43248         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
43249         third argument const.
43251 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
43253         fnmatch: work around GCC compiler warning bug with uninit var
43254         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
43255         This works around a bug with x86-64 GCC 4.9.2 and earlier
43256         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
43257         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
43258         used uninitialized in this function [-Wmaybe-uninitialized]".
43260 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
43262         * posix/bug-regex31.c (main): Return RES not 0.
43264 2014-11-25  Anton Blanchard <anton@samba.org>
43266         * sysdeps/powerpc/bits/atomic.h
43267         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
43269 2014-11-24  Sterling Augustine  <saugustine@google.com>
43271         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
43273 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
43275         [BZ #17608]
43276         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
43278 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
43280         [BZ #17633]
43281         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
43282         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
43283         variable.
43284         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
43285         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
43287 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
43289         * string/strncpy.c (strncpy): Improve performance by using memset.
43291 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
43293         * string/strcpy.c (strcpy):
43294         Improve performance by using strlen and memcpy.
43296 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
43298         * string/strcoll_l.c (get_next_seq): __always_inline.
43299         * string/strcoll_l.c (do_compare): __always_inline.
43301 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43303         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
43304         defined.
43305         * include/mqueue.h: Likewise.
43306         * include/stdlib.h: Likewise.
43308         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
43309         (get_null_defines): Adjust.
43310         * sunrpc/Makefile: Adjust comment.
43311         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
43312         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
43313         (CFLAGS-interp.c): Likewise.
43314         (CFLAGS-ldconfig.c): Likewise.
43315         (CPPFLAGS-.os): Likewise.
43316         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43317         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43318         * extra-modules.mk (extra-modules.mk): Likewise.
43319         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
43320         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
43321         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
43322         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
43323         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
43324         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
43325         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
43326         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
43327         * iconvdata/Makefile (CPPFLAGS): Likewise.
43328         (cpp-srcs-left): Add libof for all iconvdata routines.
43329         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
43330         * include/assert.h: Likewise.
43331         * include/ctype.h: Likewise.
43332         * include/errno.h: Likewise.
43333         * include/libc-symbols.h: Likewise.
43334         * include/math.h: Likewise.
43335         * include/netdb.h: Likewise.
43336         * include/resolv.h: Likewise.
43337         * include/stdio.h: Likewise.
43338         * include/stdlib.h: Likewise.
43339         * include/string.h: Likewise.
43340         * include/sys/stat.h: Likewise.
43341         * include/wctype.h: Likewise.
43342         * intl/l10nflist.c: Likewise.
43343         * libidn/idn-stub.c: Likewise.
43344         * libio/libioP.h: Likewise.
43345         * nptl/libc_multiple_threads.c: Likewise.
43346         * nptl/pthreadP.h: Likewise.
43347         * posix/regex_internal.h: Likewise.
43348         * resolv/res_hconf.c: Likewise.
43349         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
43350         * sysdeps/arm/memmove.S: Likewise.
43351         * sysdeps/arm/sysdep.h: Likewise.
43352         * sysdeps/generic/_itoa.h: Likewise.
43353         * sysdeps/generic/symbol-hacks.h: Likewise.
43354         * sysdeps/gnu/errlist.awk: Likewise.
43355         * sysdeps/gnu/errlist.c: Likewise.
43356         * sysdeps/i386/i586/memcpy.S: Likewise.
43357         * sysdeps/i386/i586/memset.S: Likewise.
43358         * sysdeps/i386/i686/memcpy.S: Likewise.
43359         * sysdeps/i386/i686/memmove.S: Likewise.
43360         * sysdeps/i386/i686/mempcpy.S: Likewise.
43361         * sysdeps/i386/i686/memset.S: Likewise.
43362         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43363         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43364         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
43365         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
43366         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43367         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43368         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
43369         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43370         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43371         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43372         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43373         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43374         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43375         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43376         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43377         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43378         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
43379         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
43380         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
43381         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43382         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43383         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43384         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43385         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43386         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43387         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43388         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
43389         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43390         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
43391         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43392         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43393         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43394         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43395         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43396         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43397         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43398         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43399         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43400         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43401         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43402         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43403         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43404         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43405         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43406         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43407         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43408         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
43409         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
43410         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43411         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43412         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43413         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
43414         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
43415         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43416         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43417         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
43418         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43419         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
43420         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
43421         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43422         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43423         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43424         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
43425         * sysdeps/nptl/bits/libc-lock.h: Likewise.
43426         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43427         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
43428         * sysdeps/posix/closedir.c: Likewise.
43429         * sysdeps/posix/opendir.c: Likewise.
43430         * sysdeps/posix/readdir.c: Likewise.
43431         * sysdeps/posix/rewinddir.c: Likewise.
43432         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
43433         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
43434         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43435         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43436         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43437         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
43438         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
43439         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
43440         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
43441         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
43442         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
43443         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
43444         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
43445         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
43446         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
43447         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
43448         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
43449         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
43450         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
43451         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
43452         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
43453         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
43454         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
43455         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
43456         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
43457         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
43458         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
43459         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
43460         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
43461         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
43462         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
43463         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
43464         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
43465         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
43466         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
43467         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
43468         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43469         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43470         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
43471         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
43472         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
43473         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
43474         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
43475         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
43476         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
43477         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
43478         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
43479         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
43480         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
43481         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
43482         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
43483         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
43484         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
43485         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
43486         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
43487         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
43488         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
43489         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
43490         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
43491         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
43492         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
43493         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
43494         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
43495         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
43496         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
43497         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
43498         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
43499         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
43500         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
43501         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
43502         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
43503         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
43504         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
43505         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
43506         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
43507         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
43508         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
43509         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
43510         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43511         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
43512         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
43513         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43514         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
43515         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
43516         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43517         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
43518         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
43519         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43520         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43521         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43522         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
43523         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
43524         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
43525         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43526         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43527         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
43528         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43529         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43530         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
43531         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
43532         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43533         * sysdeps/unix/alpha/sysdep.S: Likewise.
43534         * sysdeps/unix/alpha/sysdep.h: Likewise.
43535         * sysdeps/unix/make-syscalls.sh: Likewise.
43536         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43537         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43538         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43539         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
43540         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43541         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
43542         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
43543         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43544         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43545         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
43546         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43547         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43548         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43549         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43550         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43551         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43552         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43553         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43554         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43555         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43556         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
43557         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43558         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43559         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43560         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43561         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43562         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43565         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
43566         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43567         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43568         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43569         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43570         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43571         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43572         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43573         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43574         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43575         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
43576         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43577         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43578         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43579         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43580         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43581         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43582         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43583         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43584         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43585         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43586         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43587         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43588         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43589         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43590         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
43591         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43592         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43593         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43594         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
43595         * sysdeps/x86_64/memcpy.S: Likewise.
43596         * sysdeps/x86_64/memmove.c: Likewise.
43597         * sysdeps/x86_64/memset.S: Likewise.
43598         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
43599         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43600         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43601         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
43602         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
43603         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43604         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43605         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43606         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43607         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43608         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43609         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43610         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
43611         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43612         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43613         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
43614         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43615         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43616         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43617         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43618         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
43619         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43620         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43621         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43622         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43623         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43624         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43625         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
43626         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43627         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43628         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
43629         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43630         * sysdeps/x86_64/strcmp.S: Likewise.
43632         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
43634         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
43635         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
43636         * elf/rtld-Rules: Likewise.
43637         * elf/setup-vdso.h: Likewise.
43638         * include/assert.h: Likewise.
43639         * include/bits/stdlib-float.h: Likewise.
43640         * include/errno.h: Likewise.
43641         * include/sys/stat.h: Likewise.
43642         * include/unistd.h: Likewise.
43643         * sysdeps/aarch64/setjmp.S: Likewise.
43644         * sysdeps/alpha/setjmp.S: Likewise.
43645         * sysdeps/arm/__longjmp.S: Likewise.
43646         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
43647         * sysdeps/arm/setjmp.S: Likewise.
43648         * sysdeps/arm/sysdep.h: Likewise.
43649         * sysdeps/generic/_itoa.h: Likewise.
43650         * sysdeps/generic/dl-sysdep.h: Likewise.
43651         * sysdeps/generic/ldsodefs.h: Likewise.
43652         * sysdeps/i386/dl-tls.h: Likewise.
43653         * sysdeps/i386/setjmp.S: Likewise.
43654         * sysdeps/m68k/setjmp.c: Likewise.
43655         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
43656         * sysdeps/mach/hurd/opendir.c: Likewise.
43657         * sysdeps/posix/getcwd.c: Likewise.
43658         * sysdeps/posix/opendir.c: Likewise.
43659         * sysdeps/posix/profil.c: Likewise.
43660         * sysdeps/powerpc/dl-procinfo.h: Likewise.
43661         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43662         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43663         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43664         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43665         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
43666         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43667         * sysdeps/s390/dl-tls.h: Likewise.
43668         * sysdeps/s390/s390-32/setjmp.S: Likewise.
43669         * sysdeps/s390/s390-64/setjmp.S: Likewise.
43670         * sysdeps/sh/sh3/setjmp.S: Likewise.
43671         * sysdeps/sh/sh4/setjmp.S: Likewise.
43672         * sysdeps/unix/alpha/sysdep.h: Likewise.
43673         * sysdeps/unix/arm/sysdep.S: Likewise.
43674         * sysdeps/unix/i386/sysdep.S: Likewise.
43675         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43676         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43677         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43678         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43679         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43680         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43681         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43682         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43683         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43684         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43685         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
43686         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43687         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43690         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43691         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43692         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43693         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43694         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43695         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43696         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43697         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43698         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43699         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43700         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43701         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43702         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43703         * sysdeps/x86_64/setjmp.S: Likewise.
43705         * include/math.h: Use IS_IN instead of IS_IN_libm.
43706         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
43707         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43708         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43709         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
43710         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43711         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43712         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43713         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43714         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43715         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43716         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
43717         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
43718         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
43719         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
43720         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
43721         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
43722         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
43723         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
43724         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
43725         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
43726         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
43727         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
43728         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
43729         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
43730         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
43731         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
43732         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
43733         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
43734         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
43735         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
43736         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
43737         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43738         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
43740         Likewise.
43741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
43742         Likewise.
43743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
43744         Likewise.
43745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
43746         Likewise.
43747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
43748         Likewise.
43749         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43750         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
43751         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43752         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43753         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43754         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
43756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
43757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
43758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
43759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
43760         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
43761         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
43762         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43763         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43764         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43765         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43766         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43767         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43768         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43769         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
43770         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
43771         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
43772         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
43773         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
43774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43775         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
43777         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
43778         * nptl/pthreadP.h: Likewise.
43779         * nptl_db/structs.def: Likewise.
43780         * sysdeps/arm/sysdep.h: Likewise.
43781         * sysdeps/nptl/bits/libc-lock.h: Likewise.
43782         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43783         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
43784         * sysdeps/unix/alpha/sysdep.h: Likewise.
43785         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43786         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43787         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43788         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43789         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43790         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43791         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43792         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43793         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43794         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43795         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43796         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43797         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43798         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43801         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43802         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43803         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43804         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43805         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43806         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43807         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43808         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43809         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
43810         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43812         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
43813         * nptl/pthreadP.h: Likewise.
43814         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43815         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43816         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43817         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43818         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43819         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43820         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43821         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43822         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43823         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43824         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43825         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43827         Likewise.
43828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43829         Likewise.
43830         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43831         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43832         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43833         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43834         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43835         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43836         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43837         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43839         * dlfcn/dladdr.c: Use IS_IN.
43840         * dlfcn/dladdr1.c: Likewise.
43841         * dlfcn/dlclose.c: Likewise.
43842         * dlfcn/dlerror.c: Likewise.
43843         * dlfcn/dlinfo.c: Likewise.
43844         * dlfcn/dlmopen.c: Likewise.
43845         * dlfcn/dlopen.c: Likewise.
43846         * dlfcn/dlsym.c: Likewise.
43847         * dlfcn/dlvsym.c: Likewise.
43849         * include/ifaddrs.h: Use IS_IN.
43850         * inet/check_pf.c: Likewise.
43851         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43852         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
43854         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
43855         IS_IN_ldconfig.
43856         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
43857         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
43859         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
43860         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
43861         IS_IN (libc).
43863         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
43865         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
43866         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43867         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43868         * include/libc-symbols.h (IS_IN_LIB): New macro.
43869         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
43870         * include/netdb.h: Likewise.
43871         * include/stap-probe.h: Remove all uses of IN_LIB.
43873         * Makeconfig (module-cppflags-real): Define MODULE_NAME
43874         instead of IN_MODULE.
43875         * include/libc-symbols.h (IN_MODULE): Define using
43876         MODULE_NAME.
43877         (PASTE_NAME, PASTE_NAME1): New macros.
43878         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
43879         of IN_LIB.
43880         (STAP_PROBE_ASM): Likewise.
43882 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43884         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
43885         __mach_init in dlopened libc.
43887 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
43889         * sysdeps/arm/preconfigure.ac: Delete EABI check.
43890         * sysdeps/arm/preconfigure: Regenerate.
43892 2014-11-21  Roland McGrath  <roland@hack.frob.com>
43894         * nptl/pthread_create.c (__pthread_create_2_1): Set
43895         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
43896         when copying values from IATTR into PD.
43898 2014-11-21  Will Newton  <will.newton@linaro.org>
43899             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
43901         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
43902         Refactor inline-asm.  Also add comment.
43904         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
43905         ElfW macro instead of hardcoded Elf64 types.
43906         (la_aarch64_gnu_pltenter): Likewise.
43907         * sysdeps/aarch64/dl-machine.h
43908         (elf_machine_runtime_setup): Use ElfW(Addr).
43910         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
43911         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
43912         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
43913         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
43914         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
43915         (R_AARCH64_TLS_DTPMOD64): Rename to ..
43916         (R_AARCH64_TLS_DTPMOD): This.
43917         (R_AARCH64_TLS_DTPREL64): Rename to ...
43918         (R_AARCH64_TLS_DTPREL): This.
43919         (R_AARCH64_TLS_TPREL64): Rename to ...
43920         (R_AARCH64_TLS_TPREL): This.
43921         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
43922         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
43923         R_AARCH64_TLS_TPREL64.
43924         (elf_machine_rela): Likewise.
43926 2014-11-21  Torvald Riegel  <triegel@redhat.com>
43928         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
43929         by setting it to 0.  64b atomics are not supported currently.
43931 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43933         [BZ #16469]
43934         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
43935         search domain names.
43937 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43939         [BZ #16469]
43940         * NEWS: Update.
43941         * resolv/res_query.c (__libc_res_nquerydomain): Retain
43942         trailing dot.
43943         * posix/tst-getaddrinfo5.c: New.
43944         * posix/Makefile (tests): Add it.
43946 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43948         [BZ #14498]
43949         * NEWS: Fixed.
43950         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
43951         after parsing line but before break_if_match.
43952         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
43953         if there is a protocol mismatch.
43955 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
43957         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
43958         because the potential race is on the user-supplied stream.
43960 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43962         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
43963         string literal if not passed a buffer.
43964         * manual/job.texi (ctermid): Update reasoning, note deviation
43965         from posix, suggest mtasurace when not passed a buffer, for
43966         future non-preliminary safety notes.
43968 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43970         * manual/users.texi (cuserid): Fix MT-Safety note for the case
43971         of not passing it a buffer.
43972         Reported by Peng Haitao.
43974 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43976         * manual/Makefile ($(objpfx)stamp-summary): Require
43977         check-safety.sh to pass.
43978         * manual/check-safety.sh: Wish for verification that every
43979         @deftypefn and @deftypefun is followed by a @safety remark.
43981 2014-11-20  Roland McGrath  <roland@hack.frob.com>
43983         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
43985         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
43986         PTHREAD_CANCEL_ASYNCHRONOUS.
43987         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
43988         send SIGCANCEL.
43990         * nptl/default-sched.h: New file.
43991         * sysdeps/unix/sysv/linux/default-sched.h: New file.
43992         * nptl/pthread_create.c: Include it.
43993         (__pthread_create_2_1): Use collect_default_sched instead of making
43994         Linux syscalls here directly.
43996 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43998         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
43999         __pthread_once): Use C11 atomics.
44001 2014-11-20  Torvald Riegel  <triegel@redhat.com>
44003         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
44005 2014-11-20  Torvald Riegel  <triegel@redhat.com>
44007         * include/atomic.h (__atomic_link_error, __atomic_check_size,
44008         atomic_thread_fence_acquire, atomic_thread_fence_release,
44009         atomic_thread_fence_seq_cst, atomic_load_relaxed,
44010         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
44011         atomic_compare_exchange_weak_relaxed,
44012         atomic_compare_exchange_weak_acquire,
44013         atomic_compare_exchange_weak_release,
44014         atomic_exchange_acquire, atomic_exchange_release,
44015         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
44016         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
44017         atomic_fetch_and_acquire,
44018         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
44020 2014-11-20  Torvald Riegel  <triegel@redhat.com>
44022         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
44023         USE_ATOMIC_COMPILER_BUILTINS): Define.
44024         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
44025         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44026         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
44027         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44028         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
44029         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44030         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
44031         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44032         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
44033         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44034         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
44035         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44036         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
44037         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44038         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
44039         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44040         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
44041         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44042         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
44043         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44044         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
44045         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44046         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
44047         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44048         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
44049         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44050         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
44051         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44052         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
44053         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44054         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
44055         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44056         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
44057         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44058         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
44059         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44060         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
44061         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44062         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
44063         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44065 2014-11-19  Roland McGrath  <roland@hack.frob.com>
44067         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
44068         the sched_priority value here.  It was already checked when the user
44069         called pthread_attr_setschedparam.
44071         * nptl/tst-bad-schedattr.c: New file.
44072         * nptl/Makefile (tests): Add it.
44074 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
44075             Florian Weimer  <fweimer@redhat.com>
44076             Joseph Myers  <joseph@codesourcery.com>
44077             Adam Conrad  <adconrad@0c3.net>
44078             Andreas Schwab  <schwab@suse.de>
44079             Brooks  <bmoses@google.com>
44081         [BZ #17625]
44082         * wordexp-test.c (__dso_handle): Add prototype.
44083         (__register_atfork): Likewise.
44084         (__app_register_atfork): New function.
44085         (registered_forks): New global.
44086         (register_fork): New function.
44087         (test_case): Add 3 new tests for WRDE_CMDSUB.
44088         (main): Call __app_register_atfork.
44089         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
44090         fork count is non-zero fail the test.
44091         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
44092         is set.
44093         (parse_dollars): Remove check for WRDE_NOCMD.
44094         (parse_dquote): Likewise.
44096 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44098         * Makeconfig (built-modules): List non-library modules to be
44099         built.
44100         (module-cppflags): Include libc-modules.h for
44101         everything except shlib-versions.v.i.
44102         (CPPFLAGS): Use it.
44103         (before-compile): Add libc-modules.h.
44104         ($(common-objpfx)libc-modules.h,
44105         $(common-objpfx)libc-modules.stmp): New targets.
44106         (common-generated): Add libc-modules.h and libc-modules.stmp.
44107         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
44108         * include/libc-symbols.h: Don't include libc-modules.h.
44109         * include/libc-modules.h: Remove file.
44110         * scripts/gen-libc-modules.awk: New script to generate
44111         libc-modules.h.
44112         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
44113         Depend on libc-modules.stmp.
44115         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
44117         * Makeconfig (in-module): Get value of libof set for the
44118         translation unit.
44119         (CPPFLAGS): Use $(in-module).
44120         * Makerules: Don't suffix routine names for nonlib.
44121         * include/libc-modules.h: New file.
44122         * include/libc-symbols.h: Include libc-modules.h
44123         (IS_IN): New macro to replace IS_IN_* macros.
44124         * elf/Makefile: Set libof-* for each routine.
44125         * elf/rtld-Rules: Likewise.
44126         * extra-modules.mk: Likewise.
44127         * iconv/Makefile: Likewise.
44128         * iconvdata/Makefile: Likewise.
44129         * locale/Makefile: Likewise.
44130         * malloc/Makefile: Likewise.
44131         * nss/Makefile: Likewise.
44132         * sysdeps/gnu/Makefile: Likewise.
44133         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
44134         * sysdeps/unix/sysv/linux/Makefile: Likewise.
44135         * sysdeps/s390/s390-64/Makefile: Likewise.
44136         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
44137         CPPFLAGS for nscd instead of nonlib.
44139 2014-11-18  Roland McGrath  <roland@hack.frob.com>
44141         * nptl/createthread.c: New file.
44143         * nptl/createthread.c: Moved ...
44144         * sysdeps/unix/sysv/linux/createthread.c: ... here.
44146         * nptl/createthread.c: Add proper top-line comment.
44147         (do_clone): Folded into ...
44148         (create_thread): ... here.  Take new arguments STOPPED_START and
44149         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
44150         increment __nptl_threads, do event-reporting logic, do
44151         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
44152         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
44153         resource cleanup if sched_setaffinity or sched_setscheduler fails,
44154         just send SIGCANCEL.
44155         * nptl/pthread_create.c: Forward-declare create_thread before
44156         including createthread.c.
44157         (start_thread): Use new macro START_THREAD_DEFN to replace defining
44158         declaration, and new macro START_THREAD_SELF to replace argument.
44159         Remove return statement.
44160         (report_thread_creation): New function.
44161         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
44162         synchronization logic, and __nptl_nthreads increment here, around
44163         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
44164         PD->parent_cancelhandling here, before create_thread.  When
44165         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
44166         __deallocate_stack, and ENOMEM translation here.
44168 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
44170         [BZ #17616]
44171         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
44172         (mptwo): Rename to __mptwo.
44173         (__inv): Use __mptwo instead of mptwo.
44174         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
44175         (mptwo): Rename to __mptwo.
44176         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
44177         of mpone and __mptwo instead of mptwo.
44178         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
44179         instead of mpone.
44180         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44181         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
44182         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
44183         of mpone and __mptwo instead of mptwo.
44184         (__mpranred): Use __mpone instead of mpone.
44185         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
44186         variable.
44187         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44188         (test-xfail-ISO99/math.h/linknamespace): Likewise.
44189         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44190         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44191         (test-xfail-ISO11/math.h/linknamespace): Likewise.
44192         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44193         (test-xfail-XPG3/math.h/linknamespace): Likewise.
44194         (test-xfail-XPG4/math.h/linknamespace): Likewise.
44195         (test-xfail-POSIX/math.h/linknamespace): Likewise.
44196         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44197         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44198         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44199         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44200         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44201         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44202         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44203         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44204         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44205         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44207 2014-11-18  Tom de Vries  <tom@codesoucery.com>
44209         * manual/signal.texi (Primitives Interrupted by Signals): In section,
44210         replace BSD Handler xref with BSD Signal Handling.
44212 2014-11-17  Richard Henderson  <rth@redhat.com>
44214         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
44215         (_FP_PACK_RAW_2): Remove.
44216         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
44217         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
44218         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
44219         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
44220         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
44221         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
44222         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
44223         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
44224         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
44225         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
44226         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
44227         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
44228         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
44229         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
44230         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
44231         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
44233 2014-11-14  Roland McGrath  <roland@hack.frob.com>
44235         * signal/signal.h [__USE_MISC]
44236         (struct sigvec): Remove type.
44237         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
44238         (sigvec): Remove declaration.
44239         * sysdeps/posix/sigvec.c: Moved ...
44240         * signal/sigvec.c: ... here, replacing old file.
44241         (struct sigvec): New type, copied from old signal.h definition.
44242         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
44243         (__sigvec): Convert definition to prototype.
44244         (sigvec): Replace weak_alias with compat_symbol.
44245         * signal/Versions (libc: GLIBC_2.21): New version set.
44246         * include/signal.h: Remove __sigvec declaration.
44247         * sysdeps/unix/bsd/sigvec.c: Remove file.
44248         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
44249         * manual/signal.texi (BSD Handler): Remove subsection.
44250         Move siginterrupt up to ...
44251         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
44252         (Blocking in BSD): Fold subsection into its parent.
44253         * NEWS: Mention sigvec removal.
44255 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
44257         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
44258         (DLA_FMS): Make definition conditional only on [__FMA4__].
44259         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
44260         definition.
44262         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
44263         Make definition conditional only on [PROF].
44264         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
44265         definition.
44266         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
44267         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
44269         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
44270         !__GNUC__].
44271         * include/signal.h (__sigpause): Move declaration above call to
44272         libc_hidden_proto.
44273         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
44274         variable.
44275         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44276         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44278 2014-11-14  David S. Miller  <davem@davemloft.net>
44280         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
44281         Define before including <string/memcpy.c> and <string/mempcpy.c>.
44283 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
44285         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
44286         * configure: Regenerated.
44287         * manual/install.texi (Tools for Compilation): Document a
44288         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
44289         compiler verified to work.
44290         * INSTALL: Regenerated.
44292         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
44293         redeclare with asm name.
44294         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
44295         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
44296         including <string.h>.
44297         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44298         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
44299         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44300         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
44301         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44302         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
44303         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44305 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
44307         * stdlib/strtol.c (__strtol): Use prototype definition.
44309         [BZ #17594]
44310         * stdlib/strtol.c (SYM__): New macro.
44311         (SYM__1): Likewise.
44312         (__strtol): Likewise.
44313         (strtol): Rename to __strtol and define as weak alias of
44314         __strtol.  Use libc_hidden_weak.
44316 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44318         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
44319         Use numbered labels in inline assembly.
44321 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44323         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
44324         Add setjmp LIBC_PROBE.
44325         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
44326         Likewise.
44327         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
44328         Add longjmp, longjmp_target LIBC_PROBE.
44329         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
44330         Likewise.
44332 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44334         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
44335         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
44336         to get rid of unused variable warning.
44338 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44340         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
44341         Check for unwind_backtrace ==  NULL only in SHARED case.
44342         (__backchain_backtrace): Compile only in SHARED case.
44343         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
44344         Likewise.
44345         (__backchain_backtrace): Declare as static.
44347 2014-11-12  Roland McGrath  <roland@hack.frob.com>
44349         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
44350         (__libc_multiple_threads_ptr): Variable moved ...
44351         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
44353 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
44355         * conform/GlibcConform.pm: New file.
44356         * conform/conformtest.pl: Use GlibcConform module.
44357         * conform/linknamespace.pl: New file.
44358         * conform/list-header-symbols.pl: Likewise.
44359         * conform/Makefile (linknamespace-symlists-base): New variable.
44360         (linknamespace-symlists-tests): Likewise.
44361         (linknamespace-header-base): Likewise.
44362         (linknamespace-header-tests): Likewise.
44363         (tests-special): Add new tests.
44364         ($(linknamespace-symlists-tests)): New rule.
44365         (linknamespace-libs): New variable.
44366         ($(objpfx)symlist-stdlibs): New rule.
44367         ($(linknamespace-header-tests)): Likewise.
44368         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
44369         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
44370         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
44371         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
44372         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
44373         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
44374         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
44375         (test-xfail-ISO/math.h/linknamespace): Likewise.
44376         (test-xfail-ISO/signal.h/linknamespace): Likewise.
44377         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
44378         (test-xfail-ISO/time.h/linknamespace): Likewise.
44379         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44380         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
44381         (test-xfail-ISO99/math.h/linknamespace): Likewise.
44382         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44383         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
44384         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44385         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44386         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
44387         (test-xfail-ISO11/math.h/linknamespace): Likewise.
44388         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44389         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
44390         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44391         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
44392         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
44393         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
44394         (test-xfail-XPG3/math.h/linknamespace): Likewise.
44395         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
44396         (test-xfail-XPG3/search.h/linknamespace): Likewise.
44397         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
44398         (test-xfail-XPG3/time.h/linknamespace): Likewise.
44399         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
44400         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
44401         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
44402         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
44403         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
44404         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
44405         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
44406         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
44407         (test-xfail-XPG4/math.h/linknamespace): Likewise.
44408         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
44409         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
44410         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
44411         (test-xfail-XPG4/search.h/linknamespace): Likewise.
44412         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
44413         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
44414         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
44415         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
44416         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
44417         (test-xfail-XPG4/time.h/linknamespace): Likewise.
44418         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
44419         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
44420         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
44421         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
44422         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
44423         (test-xfail-POSIX/math.h/linknamespace): Likewise.
44424         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
44425         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
44426         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
44427         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
44428         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
44429         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
44430         (test-xfail-POSIX/time.h/linknamespace): Likewise.
44431         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
44432         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
44433         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
44434         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
44435         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
44436         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
44437         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
44438         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
44439         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
44440         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44441         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
44442         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
44443         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
44444         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
44445         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
44446         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
44447         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
44448         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
44449         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
44450         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
44451         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
44452         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
44453         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
44454         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
44455         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
44456         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
44457         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
44458         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
44459         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44460         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
44461         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
44462         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
44463         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
44464         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
44465         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
44466         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44467         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
44468         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
44469         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
44470         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
44471         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
44472         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
44473         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
44474         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
44475         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
44476         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
44477         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
44478         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
44479         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
44480         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
44481         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
44482         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44483         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
44484         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
44485         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
44486         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
44487         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
44488         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44489         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
44490         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
44491         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
44492         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
44493         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44494         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
44495         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
44496         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
44497         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
44498         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
44499         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
44500         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
44501         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
44502         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
44503         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44504         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
44505         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
44506         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
44507         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44508         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
44509         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
44510         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
44511         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
44512         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
44513         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44514         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
44515         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
44516         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
44517         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
44518         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
44519         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
44520         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
44521         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
44522         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
44523         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
44524         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
44525         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
44526         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44527         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
44528         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
44530         [BZ #17589]
44531         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
44532         of fgets_unlocked.
44534         [BZ #17585]
44535         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
44536         (memmem): Rename to __memmem and define as weak alias of
44537         __memmem.  Use libc_hidden_weak.
44538         (__memmem): Use libc_hidden_def.
44539         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
44540         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
44541         memmem.
44543         [BZ #17582]
44544         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
44545         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
44546         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
44547         and define as weak alias of __fgets_unlocked.  Use
44548         libc_hidden_weak.
44549         (__fgets_unlocked): Use libc_hidden_def.
44550         * include/stdio.h (__fgets_unlocked): Declare.  Use
44551         libc_hidden_proto.
44552         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
44553         __fgets_unlocked instead of fgets_unlocked.
44554         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
44555         (GET_NPROCS_CONF_PARSER): Likewise.
44556         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
44557         (GET_NPROCS_CONF_PARSER): Likewise.
44559         [BZ #17574]
44560         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
44561         weak alias of __wmemset.  Use libc_hidden_weak.
44562         (__wmemset): Use libc_hidden_def.
44563         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
44564         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
44565         of wmemset.
44567         [BZ #17573]
44568         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
44569         with asm name __mempcpy.
44570         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
44572         [BZ #17572]
44573         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
44574         and define as weak alias of __rawmemchr.
44575         (__rawmemchr): Do not define as strong alias of rawmemchr.
44577         [BZ #17571]
44578         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
44579         alias of __qsort_r.
44580         (qsort): Call __qsort_r instead of qsort_r.
44581         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
44582         (__qsort_r): Declare.  Call libc_hidden_proto.
44583         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
44584         instead of qsort_r.
44585         * nscd/gai.c (__qsort_r): Define to qsort_r.
44586         * posix/tst-rfc3484.c (__qsort_r): Likewise.
44587         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
44588         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
44590         [BZ #17570]
44591         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
44592         define as weak alias of __malloc_info.
44594         [BZ #17584]
44595         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
44596         as weak alias of __rewinddir.  Don't use libc_hidden_def.
44597         (__rewinddir): Use libc_hidden_def.
44598         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
44599         as weak alias of __rewinddir.  Don't use libc_hidden_def.
44600         (__rewinddir): Use libc_hidden_def.
44601         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
44602         weak alias of __rewinddir.  Don't use libc_hidden_def.
44603         (__rewinddir): Use libc_hidden_def.
44604         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
44605         (__rewinddir): Use libc_hidden_proto.
44606         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
44607         rewinddir.
44608         (__getcwd): Use __rewinddir instead of rewinddir.
44610         [BZ #17583]
44611         * libio/fileno.c (fileno): Rename to __fileno and define as weak
44612         alias of __fileno.  Use libc_hidden_weak.
44613         (__fileno): Use libc_hidden_def.
44614         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
44615         * libio/ftello.c (ftello): Rename to __ftello and define as weak
44616         alias of __ftello.
44617         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
44618         __ftello.
44619         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
44620         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
44621         libc_hidden_def.
44622         (fread_unlocked): Don't use libc_hidden_ver.
44623         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
44624         and define as weak alias of __fread_unlocked.  Don't use
44625         libc_hidden_def.
44626         (__fread_unlocked): Use libc_hidden_def.
44627         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
44628         (ftello): Don't use libc_hidden_proto.
44629         (__ftello): Declare.  Use libc_hidden_proto.
44630         (fread_unlocked): Don't use libc_hidden_proto.
44631         (__fread_unlocked): Declare.  Use libc_hidden_proto.
44632         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
44633         and __ftello instead of fileno, fread_unlocked and ftello.
44635 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44637         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
44638         GOT12.
44639         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
44640         Likewise.
44641         (_dl_start_user): Likewise.
44642         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
44644 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
44645             Siddhesh Poyarekar  <siddhesh@redhat.com>
44647         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
44648         Move argv and envp down instead of moving argc up.
44649         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
44651 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
44653         [BZ #17506]
44654         * test-skeleton.c (main): Return successful if one of
44655         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
44656         * string/tst-strcoll-overflow.c: Define expected status.
44658 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
44660         [BZ #17475]
44661         * locale/iso-639.def: Define Bhili and Tulu language codes.
44663 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
44665         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
44667 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
44669         [BZ #17555]
44670         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
44672 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
44674         * configure.ac: Updated check of minimal required version to
44675         2.22.
44676         * manual/install.texi (Tools for Compilation): Updated version
44677         number.
44678         * configure: Regenerated.
44679         * INSTALL: Likewise.
44681 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
44683         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
44684         __tls_get_addr.
44686 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
44688         * include/sys/wait.h (__libc_waitpid): Remove declaration.
44689         * posix/waitpid.c (__libc_waitpid): Rename to __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/bsd/waitpid.c (__libc_waitpid): Rename to
44694         __waitpid.
44695         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44696         libc_hidden_weak.
44697         (waitpid): Define as alias of __waitpid.
44698         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
44699         __libc_waitpid alias.
44700         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
44701         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
44702         Likewise.
44703         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
44704         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
44705         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
44706         alias.
44707         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
44708         __waitpid.
44709         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44710         libc_hidden_weak.
44711         (waitpid): Define as alias of __waitpid.
44713 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
44715         * manual/llio.texi: Add comment that write safety has been
44716         fixed in Linux.
44718         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
44719         (localplt-build-dso): Add elf/ld.so.
44720         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
44721         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
44722         and free for ld.so.
44723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
44724         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
44725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
44726         Likewise.
44727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44728         Likewise.
44729         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
44730         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
44731         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
44732         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
44733         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
44734         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
44735         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
44736         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
44737         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
44738         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
44739         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
44741 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
44743         [BZ #14132]
44744         * include/libc-symbols.h (INTUSE): Remove macro.
44745         (INTDEF): Likewise.
44746         (INTVARDEF): Likewise.
44747         (_INTVARDEF): Likewise.
44748         (INTDEF2): Likewise.
44749         (INTVARDEF2): Likewise.
44750         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
44751         rtld_hidden_def instead of INTVARDEF.
44752         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
44753         (_dl_starting_up_internal): Remove declaration.
44754         (_dl_starting_up): Use rtld_hidden_proto.
44755         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
44756         declaration.
44757         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
44758         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
44759         _dl_starting_up.
44760         * elf/dl-writev.h (_dl_writev): Likewise.
44761         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
44762         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
44763         _dl_starting_up_internal.
44765 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44767         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
44768         test-skeleton.c.
44770 2014-11-05  Will Newton  <will.newton@linaro.org>
44772         * benchtests/Makefile: (bench-malloc): Add malloc thread
44773         scalability benchmark.
44774         * benchtests/bench-malloc-threads.c: New file.
44776 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
44778         * sysdeps/aarch64/strchrnul.S: New file.
44780 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44782         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
44783         definition.
44784         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44785         Likewise.
44786         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44787         Likewise.
44788         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44789         Likewise.
44790         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44791         Likewise.
44792         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44793         Likewise.
44795 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
44797         * catgets/test-gencat.c: Use test-skeleton.c.
44798         * catgets/tst-catgets.c: Likewise.
44799         * csu/tst-empty.c: Likewise.
44800         * elf/tst-audit2.c: Likewise.
44801         * elf/tst-global1.c: Likewise.
44802         * elf/tst-pathopt.c: Likewise.
44803         * elf/tst-piemod1.c: Likewise.
44804         * elf/tst-tls10.c: Likewise.
44805         * elf/tst-tls11.c: Likewise.
44806         * elf/tst-tls12.c: Likewise.
44807         * gnulib/tst-gcc.c: Likewise.
44808         * iconvdata/tst-e2big.c: Likewise.
44809         * iconvdata/tst-loading.c: Likewise.
44810         * iconv/tst-iconv1.c: Likewise.
44811         * iconv/tst-iconv2.c: Likewise.
44812         * inet/test-inet6_opt.c: Likewise.
44813         * inet/tst-gethnm.c: Likewise.
44814         * inet/tst-network.c: Likewise.
44815         * inet/tst-ntoa.c: Likewise.
44816         * intl/tst-codeset.c: Likewise.
44817         * intl/tst-gettext2.c: Likewise.
44818         * intl/tst-gettext3.c: Likewise.
44819         * intl/tst-ngettext.c: Likewise.
44820         * intl/tst-translit.c: Likewise.
44821         * io/test-stat.c: Likewise.
44822         * libio/test-fmemopen.c: Likewise.
44823         * libio/tst-freopen.c: Likewise.
44824         * libio/tst-sscanf.c: Likewise.
44825         * libio/tst-ungetwc1.c: Likewise.
44826         * libio/tst-ungetwc2.c: Likewise.
44827         * libio/tst-widetext.c: Likewise.
44828         * localedata/tst-ctype.c: Likewise.
44829         * localedata/tst-digits.c: Likewise.
44830         * localedata/tst-leaks.c: Likewise.
44831         * localedata/tst-mbswcs1.c: Likewise.
44832         * localedata/tst-mbswcs2.c: Likewise.
44833         * localedata/tst-mbswcs3.c: Likewise.
44834         * localedata/tst-mbswcs4.c: Likewise.
44835         * localedata/tst-mbswcs5.c: Likewise.
44836         * localedata/tst-setlocale.c: Likewise.
44837         * localedata/tst-trans.c: Likewise.
44838         * localedata/tst-wctype.c: Likewise.
44839         * localedata/tst-xlocale1.c: Likewise.
44840         * login/tst-grantpt.c: Likewise.
44841         * malloc/tst-calloc.c: Likewise.
44842         * malloc/tst-malloc.c: Likewise.
44843         * malloc/tst-mallocstate.c: Likewise.
44844         * malloc/tst-mcheck.c: Likewise.
44845         * malloc/tst-mtrace.c: Likewise.
44846         * malloc/tst-obstack.c: Likewise.
44847         * math/atest-exp2.c: Likewise.
44848         * math/atest-exp.c: Likewise.
44849         * math/atest-sincos.c: Likewise.
44850         * math/test-matherr.c: Likewise.
44851         * math/test-misc.c: Likewise.
44852         * math/test-powl.c: Likewise.
44853         * math/tst-definitions.c: Likewise.
44854         * misc/tst-dirname.c: Likewise.
44855         * misc/tst-efgcvt.c: Likewise.
44856         * misc/tst-fdset.c: Likewise.
44857         * misc/tst-hsearch.c: Likewise.
44858         * misc/tst-mntent2.c: Likewise.
44859         * nptl/tst-sem7.c: Likewise.
44860         * nptl/tst-sem8.c: Likewise.
44861         * nptl/tst-sem9.c: Likewise.
44862         * nss/test-netdb.c: Likewise.
44863         * posix/tst-fnmatch.c: Likewise.
44864         * posix/tst-getlogin.c: Likewise.
44865         * posix/tst-gnuglob.c: Likewise.
44866         * posix/tst-mmap.c: Likewise.
44867         * pwd/tst-getpw.c: Likewise.
44868         * resolv/tst-inet_ntop.c: Likewise.
44869         * rt/tst-timer.c: Likewise.
44870         * stdio-common/test-fseek.c: Likewise.
44871         * stdio-common/test-popen.c: Likewise.
44872         * stdio-common/test-vfprintf.c: Likewise.
44873         * stdio-common/tst-cookie.c: Likewise.
44874         * stdio-common/tst-fileno.c: Likewise.
44875         * stdio-common/tst-gets.c: Likewise.
44876         * stdio-common/tst-obprintf.c: Likewise.
44877         * stdio-common/tst-perror.c: Likewise.
44878         * stdio-common/tst-sprintf2.c: Likewise.
44879         * stdio-common/tst-sprintf3.c: Likewise.
44880         * stdio-common/tst-sprintf.c: Likewise.
44881         * stdio-common/tst-swprintf.c: Likewise.
44882         * stdio-common/tst-tmpnam.c: Likewise.
44883         * stdio-common/tst-unbputc.c: Likewise.
44884         * stdio-common/tst-wc-printf.c: Likewise.
44885         * stdlib/tst-environ.c: Likewise.
44886         * stdlib/tst-fmtmsg.c: Likewise.
44887         * stdlib/tst-limits.c: Likewise.
44888         * stdlib/tst-rand48-2.c: Likewise.
44889         * stdlib/tst-rand48.c: Likewise.
44890         * stdlib/tst-random2.c: Likewise.
44891         * stdlib/tst-random.c: Likewise.
44892         * stdlib/tst-strtol.c: Likewise.
44893         * stdlib/tst-strtoll.c: Likewise.
44894         * stdlib/tst-tls-atexit.c: Likewise.
44895         * stdlib/tst-xpg-basename.c: Likewise.
44896         * string/test-ffs.c: Likewise.
44897         * string/tst-bswap.c: Likewise.
44898         * string/tst-inlcall.c: Likewise.
44899         * string/tst-strtok.c: Likewise.
44900         * string/tst-strxfrm.c: Likewise.
44901         * sysdeps/x86_64/tst-audit10.c: Likewise.
44902         * sysdeps/x86_64/tst-audit3.c: Likewise.
44903         * sysdeps/x86_64/tst-audit4.c: Likewise.
44904         * sysdeps/x86_64/tst-audit5.c: Likewise.
44905         * time/tst-ftime_l.c: Likewise.
44906         * time/tst-getdate.c: Likewise.
44907         * time/tst-mktime3.c: Likewise.
44908         * time/tst-mktime.c: Likewise.
44909         * time/tst-posixtz.c: Likewise.
44910         * time/tst-strptime2.c: Likewise.
44911         * time/tst-strptime3.c: Likewise.
44912         * wcsmbs/tst-btowc.c: Likewise.
44913         * wcsmbs/tst-mbrtowc.c: Likewise.
44914         * wcsmbs/tst-mbsrtowcs.c: Likewise.
44915         * wcsmbs/tst-wchar-h.c: Likewise.
44916         * wcsmbs/tst-wcpncpy.c: Likewise.
44917         * wcsmbs/tst-wcrtomb.c: Likewise.
44918         * wcsmbs/tst-wcsnlen.c: Likewise.
44919         * wcsmbs/tst-wcstof.c: Likewise.
44921 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
44923         [BZ #14132]
44924         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
44925         INTDEF.
44926         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
44927         declaration.
44928         (_dl_mcount): Use rtld_hidden_proto.
44929         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
44930         _dl_mcount.
44931         * elf/rtld.c (_rtld_global_ro): Likewise.
44933         [BZ #14132]
44934         * elf/dl-init.c (_dl_init): Don't use INTDEF.
44935         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
44936         of _dl_init_internal.
44937         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
44938         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
44939         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
44940         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
44941         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
44942         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
44943         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
44944         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
44945         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
44946         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
44947         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
44948         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
44949         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44950         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44951         * sysdeps/tile/dl-start.S (_start): Likewise.
44952         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
44953         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
44955         [BZ #14132]
44956         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
44957         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
44958         (rtld_progname): Make macro definition unconditional.
44959         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
44960         INTDEF.
44961         (dlmopen_doit): Do not use INTUSE with _dl_argv.
44962         (dl_main): Likewise.
44963         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44964         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
44965         instead of _dl_argv_internal.
44966         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44967         __GI__dl_argv instead of INTUSE(_dl_argv).
44968         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
44969         __GI__dl_argv instead of _dl_argv_internal.
44971         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
44972         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
44973         macro.
44974         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
44975         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
44976         New macro.
44977         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
44978         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
44979         macro.
44980         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
44981         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
44983 2014-11-04  Andreas Schwab  <schwab@suse.de>
44985         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
44987 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44989         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
44990         mtvsrd instruction in binary form.
44992 2014-11-03  Andreas Schwab  <schwab@suse.de>
44994         [BZ #17522]
44995         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
44996         for less than MB_LEN_MAX use a local buffer of that size.
44997         * libio/tst-fputws.c: New file.
44998         * libio/Makefile (tests): Add tst-fputws.
45000 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
45002         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
45003         the size of the fpu_fr.fpu_dregs[] array.
45005 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
45007         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
45008         (__nanosleep): Do not define as alias.
45009         (nanosleep): Define as alias of __nanosleep.
45010         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
45011         __libc_nanosleep name.
45013 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
45015         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
45016         install.texi in comment.
45018 2014-10-31  Torvald Riegel  <triegel@redhat.com>
45020         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
45021         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
45022         ... add here and use lwsync or sync ...
45023         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
45024         ... and add here using lwsync.
45026 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
45028         * elf/dl-machine-reject-phdr.h: New file.
45029         * elf/dl-load.c: #include that.
45030         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
45031         if that returned true.
45033 2014-10-31  Roland McGrath  <roland@hack.frob.com>
45035         [BZ #17496]
45036         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
45037         gen-as-const-headers chunk.  Add a big scare comment after the last
45038         safe place to touch before-compile.
45040 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
45042         * manual/install.texi (Tools for Compilation): Update autoconf
45043         version requirements.
45044         * INSTALL: Regenerated.
45046         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
45047         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
45048         (__libc_pselect): Likewise.
45050         [BZ #14138]
45051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
45052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45056 2014-10-31  Torvald Riegel  <triegel@redhat.com>
45058         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
45059         correct barrier instruction.
45060         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
45061         Likewise.
45062         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
45063         Likewise.
45065 2014-10-30  Roland McGrath  <roland@hack.frob.com>
45067         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
45068         after defining inlines.  Instead, just use parens to defeat macro
45069         expansion of __isctype in its declaration.
45071 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
45073         * include/sys/uio.h (__libc_readv): Remove declaration.
45074         (__libc_writev): Likewise.
45075         * misc/readv.c (__libc_readv): Rename to __readv.
45076         (__readv): Do not define as alias.
45077         (readv): Define as alias of __readv.
45078         * misc/writev.c (__libc_writev): Rename to __writev.
45079         (__writev): Do not define as alias.
45080         (writev): Define as alias of __writev.
45081         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
45082         (__readv): Do not define as alias.
45083         (readv): Define unconditionally as alias of __readv.
45084         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
45085         (__writev): Do not define as alias.
45086         (writev): Define unconditionally as alias of __writev.
45087         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
45088         name.
45089         (writev): Do not define __libc_writev name.
45091 2014-10-30  Roland McGrath  <roland@hack.frob.com>
45093         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
45094         (convert_charseq): New function, broken out of ...
45095         (use_from_charmap): ... here.  Call it.
45096         (use_to_charmap): Use convert_charseq and free instead of duplicating
45097         its code with a variable-length stack struct.
45099 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
45101         * include/fcntl.h (__libc_creat): Remove declaration.
45102         * io/creat.c (__libc_creat): Rename to creat.
45103         (creat): Do not define as alias.
45104         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
45105         of creat instead of __libc_creat.
45106         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
45107         to creat.
45108         (creat): Do not define as alias.
45109         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
45110         __libc_creat.
45111         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
45112         __libc_creat name.
45113         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
45114         Likewise.
45116 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
45118         * manual/llio.texi: Add comments discussing why write() may be
45119         considered MT-unsafe on Linux.
45121 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
45123         * dl-load.c (local_strdup): Remove.
45124         (expand_dynamic_string_token): Use __strdup.
45125         (decompose_rpath): Likewise.
45126         (_dl_map_object): Likewise.
45128 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
45130         [BZ #14132]
45131         * sysdeps/generic/unwind-dw2-fde.c
45132         (__register_frame_info_bases_internal): Do not declare.
45133         (__register_frame_info_table_bases_internal): Likewise.
45134         (__deregister_frame_info_bases_internal): Likewise.
45135         (__register_frame_info_bases): Declare and use hidden_proto before
45136         definition.  Use hidden_def instead of INTDEF.
45137         (__register_frame_info_table_bases): Likewise.
45138         (__deregister_frame_info_bases): Likewise.
45139         (__register_frame_info): Do not use INTUSE.
45140         (__register_frame): Likewise.
45141         (__register_frame_info_table): Likewise.
45142         (__register_frame_table): Likewise.
45143         (__deregister_frame_info): Likewise.
45144         (__deregister_frame): Likewise.
45146 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
45148         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45149         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
45150         not undefine.
45151         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
45152         Likewise.
45153         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
45154         Likewise.
45156 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
45158         [BZ #14138]
45159         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
45160         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
45161         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
45162         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
45163         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
45164         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
45165         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
45166         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
45167         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
45168         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
45169         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
45170         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
45171         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
45172         syscall.
45173         (setfsuid): Likewise.
45174         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
45175         (setfsuid): Likewise.
45176         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
45177         (setfsuid): Likewise.
45178         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
45179         Likewise.
45180         (setfsuid): Likewise.
45181         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
45182         (setfsuid): Likewise.
45183         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
45184         Likewise.
45185         (setfsuid): Likewise.
45187 2014-10-27  Andreas Schwab  <schwab@suse.de>
45189         [BZ #17501]
45190         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
45191         check for Slow_SSE4_2 feature bit.
45192         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
45193         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45194         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
45195         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
45197 2014-10-24  Roland McGrath  <roland@hack.frob.com>
45199         * configure.ac: Validate compiler version with a empirical test of
45200         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
45201         $CC -v output.
45202         * configure: Regenerated.
45204         * inet/htons.c (htons): Prototypify.
45205         * inet/htonl.c (htonl): Likewise.
45207 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45209         * string/strncat.c (strncat): Improve performance by using strlen.
45211 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45213         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
45215 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45217         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
45218         Call libc_fetestexcept_aarch64.
45220 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45222         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
45223         Call libc_feholdexcept_aarch64.
45225 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45227         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
45228         Call get_rounding_mode.
45230 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45232         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
45233         Simplify logic.
45235 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45237         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
45238         Simplify logic.
45240 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
45242         [BZ #14138]
45243         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
45244         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
45245         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
45246         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
45247         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
45248         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
45249         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
45250         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
45251         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
45252         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
45253         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45254         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
45255         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
45256         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
45257         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
45258         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
45259         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
45260         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
45261         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
45262         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
45263         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
45264         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
45265         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
45266         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
45267         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
45268         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
45269         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
45270         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
45271         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
45272         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
45273         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
45274         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
45275         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
45276         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
45277         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
45278         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
45279         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
45280         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
45281         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
45282         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
45283         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
45284         syscall.
45285         (geteuid): Likewise.
45286         (getgid): Likewise.
45287         (getuid): Likewise.
45288         (getresgid): Likewise.
45289         (getresuid): Likewise.
45290         (getgroups): Likewise.
45291         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
45292         (geteuid): Likewise.
45293         (getgid): Likewise.
45294         (getuid): Likewise.
45295         (getresgid): Likewise.
45296         (getresuid): Likewise.
45297         (getgroups): Likewise.
45298         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
45299         (geteuid): Likewise.
45300         (getgid): Likewise.
45301         (getuid): Likewise.
45302         (getresgid): Likewise.
45303         (getresuid): Likewise.
45304         (getgroups): Likewise.
45305         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
45306         Likewise.
45307         (geteuid): Likewise.
45308         (getgid): Likewise.
45309         (getuid): Likewise.
45310         (getresgid): Likewise.
45311         (getresuid): Likewise.
45312         (getgroups): Likewise.
45313         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
45314         (geteuid): Likewise.
45315         (getgid): Likewise.
45316         (getuid): Likewise.
45317         (getresgid): Likewise.
45318         (getresuid): Likewise.
45319         (getgroups): Likewise.
45320         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
45321         Likewise.
45322         (geteuid): Likewise.
45323         (getgid): Likewise.
45324         (getuid): Likewise.
45325         (getgroups): Likewise.
45327         [BZ #14138]
45328         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
45329         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
45330         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
45331         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45332         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
45333         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
45334         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
45335         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
45336         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
45337         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
45338         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
45339         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
45340         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
45341         __chown.
45342         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
45343         (lchown): Likewise.
45344         (fchown): Likewise.
45345         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
45346         Likewise.
45347         (lchown): Likewise.
45348         (fchown): Likewise.
45349         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
45350         (lchown): Likewise.
45351         (fchown): Likewise.
45352         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
45353         Likewise.
45354         (lchown): Likewise.
45355         (fchown): Likewise.
45357 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45359         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
45360         Simplify logic.
45362 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45364         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45365         Cleanup logic.
45367 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45369         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45370         Remove unused include.
45372 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45374         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
45375         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
45376         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
45377         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
45379 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
45380             Helge Deller <deller@gmx.de>
45382         [BZ #17508]
45383         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
45384         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
45385         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
45387 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
45389         [BZ #14132]
45390         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
45391         Remove macro definition.
45392         (__ashrdi3_v_glibc20): Likewise.
45393         (__lshrdi3_v_glibc20): Likewise.
45394         (__cmpdi2_v_glibc20): Likewise.
45395         (__ucmpdi2_v_glibc20): Likewise.
45396         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
45397         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45398         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45399         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45400         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45401         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
45403 2014-10-22  Roland McGrath  <roland@hack.frob.com>
45405         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
45406         old GNU extension [0] syntax.
45407         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
45408         alloca rather than an array member with variable length.
45409         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
45410         * nscd/nscd.c (invalidate_db): New function, broken out of ...
45411         (parse_opt): ... here.  Likewise use alloca there.
45412         Validate the -i argument before checking for rootness.
45413         (send_shutdown): New function, broken out of ...
45414         (parse_opt): ... here.
45416 2014-10-22  Roland McGrath  <roland@hack.frob.com>
45418         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
45419         macro to get at the _rt_local_ro field.
45420         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
45421         ([PIC] case) or _dl_hwcap ([!PIC] case).
45422         * sysdeps/arm/setjmp.S: Likewise.
45424         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
45425         * sysdeps/arm/configure.ac: New check to define it.
45426         * sysdeps/arm/configure: Regenerated.
45427         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
45428         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
45429         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
45430         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
45431         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
45432         Use move/movt pair instead of a load.
45433         (LDST_GLOBAL): Macro removed.
45434         (LDR_GLOBAL): New macro replaces it.
45435         (LDR_HIDDEN): New macro.
45436         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
45437         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
45439         * setjmp/tst-setjmp-static.c: New file.
45440         * setjmp/Makefile (tests): Add it.
45441         (tests-static): New variable.
45443 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
45445         [BZ #17485]
45446         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
45448 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
45450         [BZ #14132]
45451         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
45453 2014-10-21  Roland McGrath  <roland@hack.frob.com>
45455         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
45457 2014-10-20  Roland McGrath  <roland@hack.frob.com>
45459         * io/fts.c (dirent_not_directory): New function.
45460         (fts_build): Call it.
45462 2014-10-20  Roland McGrath  <roland@hack.frob.com>
45464         * nptl/version.c (__nptl_main): Use normal __write rather than
45465         INTERNAL_SYSCALL.
45466         (banner): Update copyright years.
45468         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
45469         gettimeofday.
45470         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45471         * nptl/pthread_cond_timedwait.c: Likewise.
45472         * nptl/pthread_mutex_timedlock.c: Likewise.
45473         * nptl/sem_timedwait.c: Likewise.
45475         * sysdeps/nptl/bits/libc-lock.h
45476         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45477         (__libc_lock_init_recursive): Return void, not 0.
45478         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
45479         (__libc_rwlock_init): Likewise.
45480         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
45482 2014-10-20  Torvald Riegel  <triegel@redhat.com>
45484         [BZ #15215]
45485         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
45486         (__pthread_once_slow): ... here.
45487         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
45488         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
45490 2014-10-20  Torvald Riegel  <triegel@redhat.com>
45492         [BZ #15215]
45493         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
45494         __PTHREAD_ONCE_FORK_GEN_INCR): New.
45495         * sysdeps/nptl/fork.c (__libc_fork): Use them.
45496         * nptl/pthread_once.c (__pthread_once): Likewise.
45497         Update comments.
45499 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
45501         [BZ #14138]
45502         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
45503         name.
45504         (writev): Use __libc_writev as strong name.
45505         * sysdeps/unix/sysv/linux/readv.c: Remove file.
45506         * sysdeps/unix/sysv/linux/writev.c: Likewise.
45508 2014-10-17  Roland McGrath  <roland@hack.frob.com>
45510         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
45512         * sysdeps/i386/nptl/tls.h
45513         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
45514         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
45515         New macros.
45516         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
45517         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
45518         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
45519         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
45520         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
45521         Call CHECK_THREAD_SYSINFO instead of doing an assert.
45523         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
45524         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
45525         on [__NR_futex].
45526         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
45527         broken out of ...
45528         (__pthread_mutex_init): ... here.  Call it.
45529         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
45530         Conditionalize PI cases on [__NR_futex].
45531         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
45532         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
45533         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
45535         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
45536         conditional on [SIGSETXID].
45537         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
45538         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
45539         is defined.  Likewise for SIGSETXID.
45540         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
45541         Conditionalize definitions on [SIGSETXID].
45542         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
45543         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
45544         unblocking on [SIGCANCEL].
45546         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
45547         [__NR_set_robust_list].
45549 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45551         * string/strcoll_l.c (get_next_seq): Fix up formatting.
45552         (do_compare): Likewise.
45554 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
45556         [BZ #15884]
45557         * string/strcoll_l.c: Don't include stdio.h.
45558         (coll_seq): Remove members idxarr and rulearr.
45559         (get_next_seq_cached): Remove function.
45560         (get_next_seq): Likewise.
45561         (get_next_seq_nocache): Rename to get_next_seq.
45562         (do_compare): Remove function.
45563         (do_compare_nocache): Rename to do_compare.
45564         (STRCOLL): Remove weight and rules cache.
45566 2014-10-16  Roland McGrath  <roland@hack.frob.com>
45568         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
45569         * sysdeps/arm/sfp-machine.h: ... to here.
45570         * sysdeps/arm/Implies: Remove arm/soft-fp.
45572 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
45574         * conform/data/sys/utsname.h-data (*_t): Allow.
45575         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
45576         [POSIX] (WEXITED): Do not expect constant.
45577         [POSIX] (WSTOPPED): Likewise.
45578         [POSIX] (WNOHANG): Likewise.
45579         [POSIX] (WNOWAIT): Likewise.
45580         [POSIX] (siginfo_t): Do not expect type or elements.
45581         [POSIX] (pid_t): Do not expect type.
45582         [POSIX] (signal.h): Do not allow header.
45583         [POSIX] (sys/resource.h): Likewise.
45584         [POSIX] (si_*): Do not allow pattern.
45585         [POSIX] (W*): Likewise.
45586         [POSIX] (P_*): Likewise.
45587         [POSIX] (BUS_*): Likewise.
45588         [POSIX] (CLD_*): Likewise.
45589         [POSIX] (FPE_*): Likewise.
45590         [POSIX] (ILL_*): Likewise.
45591         [POSIX] (POLL_*): Likewise.
45592         [POSIX] (SEGV_*): Likewise.
45593         [POSIX] (SI_*): Likewise.
45594         [POSIX] (TRAP_*): Likewise.
45595         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
45596         variable.
45598 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
45600         [BZ #12926]
45601         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
45602         infinite loop when __recvmsg returns 0.
45604 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
45606         * CANCEL-FCT-WAIVE: Remove file.
45607         * CANCEL-FILE-WAIVE: Likewise.
45609         [BZ #14132]
45610         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
45611         instead of INTVARDEF.
45612         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45613         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
45614         rtld_hidden_data_def instead of INTVARDEF.
45615         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45616         * elf/dl-deps.c (expand_dst): Likewise.
45617         * elf/dl-load.c (_dl_dst_count): Likewise.
45618         (_dl_dst_substitute): Likewise.
45619         (decompose_rpath): Likewise.
45620         (_dl_init_paths): Likewise.
45621         (open_path): Likewise.
45622         (_dl_map_object): Likewise.
45623         * elf/rtld.c (dl_main): Likewise.
45624         (process_dl_audit): Likewise.
45625         (process_envvars): Likewise.
45626         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
45627         Remove declaration.
45628         (__libc_enable_secure): Use rtld_hidden_proto.
45630 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45632         * elf/dl-load.c
45633         (add_path): New function broken out of _dl_rtld_di_serinfo.
45634         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
45636 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
45638         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
45639         parentheses around macro arguments.
45640         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
45641         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
45642         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
45643         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
45644         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
45645         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45646         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45647         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
45648         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
45649         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
45650         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
45651         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
45652         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
45653         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
45654         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
45655         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
45656         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
45657         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
45658         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
45659         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
45660         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
45661         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
45662         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
45663         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45664         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45665         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
45666         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
45667         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
45668         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
45669         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
45670         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
45671         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
45672         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
45673         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
45674         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
45675         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
45676         Likewise.
45677         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
45678         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45679         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45680         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
45681         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
45682         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
45683         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
45684         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
45685         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
45686         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
45687         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
45688         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
45689         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
45690         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
45691         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
45692         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45693         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45694         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
45695         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
45696         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
45697         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
45698         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
45699         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
45700         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
45701         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
45702         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
45703         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
45704         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
45705         (_FP_FRAC_SRS_1): Likewise.
45706         (_FP_FRAC_CLZ_1): Likewise.
45707         (_FP_MUL_MEAT_1_imm): Likewise.
45708         (_FP_MUL_MEAT_1_wide): Likewise.
45709         (_FP_MUL_MEAT_1_hard): Likewise.
45710         (_FP_SQRT_MEAT_1): Likewise.
45711         (_FP_FRAC_ASSEMBLE_1): Likewise.
45712         (_FP_FRAC_DISASSEMBLE_1): Likewise.
45713         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
45714         (__FP_CLZ_2): Likewise.
45715         (_FP_MUL_MEAT_2_wide): Likewise.
45716         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45717         (_FP_MUL_MEAT_2_gmp): Likewise.
45718         (_FP_MUL_MEAT_2_120_240_double): Likewise.
45719         (_FP_SQRT_MEAT_2): Likewise.
45720         (_FP_FRAC_ASSEMBLE_2): Likewise.
45721         (_FP_FRAC_DISASSEMBLE_2): Likewise.
45722         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
45723         (_FP_FRAC_CLZ_4): Likewise.
45724         (_FP_MUL_MEAT_4_wide): Likewise.
45725         (_FP_MUL_MEAT_4_gmp): Likewise.
45726         (_FP_SQRT_MEAT_4): Likewise.
45727         (_FP_FRAC_ASSEMBLE_4): Likewise.
45728         (_FP_FRAC_DISASSEMBLE_4): Likewise.
45729         * soft-fp/op-common.h (_FP_CMP): Likewise.
45730         (_FP_CMP_EQ): Likewise.
45731         (_FP_CMP_UNORD): Likewise.
45732         (_FP_TO_INT): Likewise.
45733         (_FP_FROM_INT): Likewise.
45734         [!__FP_CLZ] (__FP_CLZ): Likewise.
45735         (_FP_DIV_HELP_imm): Likewise.
45736         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
45737         Likewise.
45738         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
45739         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
45740         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
45741         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
45742         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
45743         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45744         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45745         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
45746         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
45747         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
45748         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
45749         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
45750         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
45751         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
45752         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
45753         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
45754         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
45755         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
45756         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
45757         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
45758         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
45759         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
45760         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
45761         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45762         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45763         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
45764         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
45765         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
45766         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
45767         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
45768         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
45769         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
45770         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
45771         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
45772         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
45773         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
45774         (FP_UNPACK_RAW_SP): Likewise.
45775         (FP_PACK_RAW_S): Likewise.
45776         (FP_PACK_RAW_SP): Likewise.
45777         (FP_UNPACK_S): Likewise.
45778         (FP_UNPACK_SP): Likewise.
45779         (FP_UNPACK_SEMIRAW_S): Likewise.
45780         (FP_UNPACK_SEMIRAW_SP): Likewise.
45781         (FP_PACK_S): Likewise.
45782         (FP_PACK_SP): Likewise.
45783         (FP_PACK_SEMIRAW_S): Likewise.
45784         (FP_PACK_SEMIRAW_SP): Likewise.
45785         (_FP_SQRT_MEAT_S): Likewise.
45786         (FP_CMP_S): Likewise.
45787         (FP_CMP_EQ_S): Likewise.
45788         (FP_CMP_UNORD_S): Likewise.
45789         (FP_TO_INT_S): Likewise.
45790         (FP_FROM_INT_S): Likewise.
45792         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
45794         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
45795         (FP_EX_INVALID_IMZ): Likewise.
45796         (FP_EX_INVALID_IMZ_FMA): Likewise.
45797         (FP_EX_INVALID_ISI): Likewise.
45798         (FP_EX_INVALID_ZDZ): Likewise.
45799         (FP_EX_INVALID_IDI): Likewise.
45800         (FP_EX_INVALID_SQRT): Likewise.
45801         (FP_EX_INVALID_CVI): Likewise.
45802         (FP_EX_INVALID_VC): Likewise.
45803         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
45804         "invalid" exceptions.
45805         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
45806         (_FP_ADD_INTERNAL): Likewise.
45807         (_FP_MUL): Likewise.
45808         (_FP_FMA): Likewise.
45809         (_FP_DIV): Likewise.
45810         (_FP_CMP_CHECK_NAN): Likewise.
45811         (_FP_SQRT): Likewise.
45812         (_FP_TO_INT): Likewise.
45813         (FP_EXTEND): Likewise.
45815 2014-10-09  Allan McRae  <allan@archlinux.org>
45817         * po/fr.po: Update French translation from translation project.
45819 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
45821         [BZ #14132]
45822         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
45823         of INTDEF.
45824         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
45825         (__cxa_atexit): Use libc_hidden_proto.
45826         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
45828         [BZ #14132]
45829         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
45830         declaration.
45831         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
45832         [!_ISOMAC] (__iswspace_l_internal): Likewise.
45833         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
45834         [!_ISOMAC] (__iswctype_internal): Likewise.
45835         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
45836         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
45837         alias.
45838         (fcntl): Remove __fcntl_internal alias.
45839         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
45840         __connect_internal alias.
45841         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
45842         Likewise.
45844         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
45845         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
45846         FP_DENORM_ZERO.
45847         (_FP_CHECK_FLUSH_ZERO): New macro.
45848         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
45849         (_FP_CMP): Likewise.
45850         (_FP_CMP_EQ): Likewise.
45851         (_FP_TO_INT): Do not set inexact for subnormal arguments if
45852         FP_DENORM_ZERO.
45853         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
45854         (FP_TRUNC): Likewise.
45856         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
45857         treated as invalid conversion, not as normal exponent.
45859         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
45860         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
45861         (_FP_CMP_EQ): Likewise.
45862         (_FP_CMP_UNORD): Likewise.
45863         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
45864         (FP_CMP_EQ_D): Likewise.
45865         (FP_CMP_UNORD_D): Likewise.
45866         * soft-fp/extended.h (FP_CMP_E): Likewise.
45867         (FP_CMP_EQ_E): Likewise.
45868         (FP_CMP_UNORD_E): Likewise.
45869         * soft-fp/quad.h (FP_CMP_Q): Likewise.
45870         (FP_CMP_EQ_Q): Likewise.
45871         (FP_CMP_UNORD_Q): Likewise.
45872         * soft-fp/single.h (FP_CMP_S): Likewise.
45873         (FP_CMP_EQ_S): Likewise.
45874         (FP_CMP_UNORD_S): Likewise.
45875         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
45876         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
45877         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
45878         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
45879         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
45880         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
45881         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
45882         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
45883         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
45884         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
45885         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
45886         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
45887         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
45888         to FP_CMP_Q.
45889         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
45890         FP_CMP_Q.
45891         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
45892         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
45893         FP_CMP_EQ_Q.
45894         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
45895         FP_CMP_Q.
45896         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
45897         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
45898         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
45899         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
45900         FP_CMP_EQ_Q.
45901         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
45902         FP_CMP_Q.
45903         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
45904         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
45905         FP_CMP_EQ_Q.
45906         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
45907         FP_CMP_Q.
45908         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
45909         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
45910         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
45911         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
45912         FP_CMP_EQ_Q.
45914         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
45915         a subnormal result, set the underflow exception if trapping on
45916         underflow is enabled.
45917         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
45918         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
45919         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
45920         redefine to 0.
45921         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
45922         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45923         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45924         * soft-fp/extendxftf2.c (__extendxftf2): Use
45925         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
45927         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
45928         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
45929         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45930         FP_HANDLE_EXCEPTIONS.
45931         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
45932         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45933         FP_HANDLE_EXCEPTIONS.
45934         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
45935         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45936         FP_HANDLE_EXCEPTIONS.
45937         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
45938         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45939         FP_HANDLE_EXCEPTIONS.
45941 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
45943         [BZ #14132]
45944         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
45945         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
45946         use INTUSE.
45947         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
45948         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
45949         Remove alias.
45950         (__adjtimex): Define using libc_hidden_ver.
45951         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
45952         Remove declaration.
45953         (ntp_gettime): Call __adjtimex directly.
45954         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
45955         Remove declaration.
45956         (ntp_gettimex): Call __adjtimex directly.
45957         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
45958         __adjtimex_internal alias.
45960 2014-10-08  Roland McGrath  <roland@hack.frob.com>
45962         [BZ #17460]
45963         * nscd/nscd.c (more_help): Rewrite list of tables collection
45964         using xstrdup and asprintf.
45966         * nscd/nscd_conf.c: Remove local xstrdup declaration.
45968 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45969             Roland McGrath  <roland@hack.frob.com>
45971         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
45972         (do_lookup_unique): ... local function 'enter' here; update callers.
45974 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
45976         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
45977         compat_symbol calls on [SHARED].
45978         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
45979         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
45980         Remove.
45981         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45982         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
45983         (oldsetrlimit): Remove.
45984         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45986         (lchown): New syscall entry.
45987         (oldsetrlimit): Remove.
45988         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45989         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
45990         (oldsetrlimit): Remove.
45991         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45993         [BZ #14138]
45994         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
45995         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
45996         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
45997         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
45998         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45999         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
46000         (fchown): Likewise.
46001         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
46002         (fchown): Likewise.
46003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
46004         Likewise.
46006 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46008         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
46009         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
46010         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
46011         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
46012         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
46013         Likewise.
46014         (__old_sem_post): Likewise.
46016 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
46018         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
46019         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
46020         HAVE_CLOCK_GETTIME_VSYSCALL macros.
46021         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
46022         Use INLINE_VSYSCALL macro.
46023         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
46024         __vdso_clock_gettime.
46025         * sysdeps/unix/sysv/linux/tile/init-first.c
46026         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
46027         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
46028         __vdso_clock_gettime.
46030         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
46031         to set up frame more cleanly.
46033         * sysdeps/tile/memcmp.c: New file.
46035         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
46037         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
46038         * sysdeps/tile/tilegx/strcasestr.c: New file.
46039         * sysdeps/tile/tilegx/strnlen.c: New file.
46040         * sysdeps/tile/tilegx/strstr.c: New file.
46042         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
46044 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
46046         * nptl/tst-setuid3.c: Write errors to stdout.
46048 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46050         * elf/dl-deps.c
46051         (preload): New functions broken out of _dl_map_object_deps.
46052         (_dl_map_object_deps):  Remove a nested function. Update call sites.
46054 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
46056         [BZ #14138]
46057         * sysdeps/unix/sysv/linux/execve.c: Remove file.
46058         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
46060 2014-10-01  Steve Ellcey  <sellcey@mips.com>
46062         * sysdeps/mips/strcmp.S: New.
46064 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
46066         [BZ #14138]
46067         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
46068         (linkat): Likewise.
46069         (mkdirat): Likewise.
46070         (readlinkat): Likewise.
46071         (renameat): Likewise.
46072         (symlinkat): Likewise.
46073         (unlinkat): Likewise.
46074         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
46075         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
46076         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
46077         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
46078         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
46079         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
46080         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
46082 2014-09-30  Will Newton  <will.newton@linaro.org>
46084         * math/math.h: Define long double math functions if
46085         _LIBC_TEST is defined.
46086         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
46088         * localedata/Makefile: Move assignment to tests-special
46089         into an ifdef testing run-built-tests.
46090         * timezone/Makefile: Likewise.
46092 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
46094         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
46095         with $(BASH) not $(SHELL).
46097 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
46098             Matthew LeGendre  <legendre1@llnl.gov>
46100         [BZ #17411]
46101         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
46102         l_reloc_result.
46104 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46106         * stdio-common/printf_fp.c
46107         (hack_digit): New function, broken out of ...
46108         (__printf_fp): ... local function here.  Update call sites.
46109         hack_digit now takes an additional parameter that is a pointer
46110         to a struct of the referenced locals.  Those locals moved inside
46111         the struct and references updated.
46113 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
46115         * aclocal.m4: Require autoconf 2.69.
46116         * configure: Regenerated.
46117         * sysdeps/aarch64/configure: Likewise.
46118         * sysdeps/alpha/configure: Likewise.
46119         * sysdeps/arm/armv7/configure: Likewise.
46120         * sysdeps/arm/configure: Likewise.
46121         * sysdeps/ia64/configure: Likewise.
46122         * sysdeps/mach/configure: Likewise.
46123         * sysdeps/mips/configure: Likewise.
46124         * sysdeps/s390/configure: Likewise.
46125         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
46126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
46128         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
46129         file.
46130         * sysdeps/ia64/configure.ac: Likewise.
46132 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
46134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
46135         specify symbol version for ld.so.  Do not include entry for
46136         libpthread.
46137         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46138         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46139         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46141         [BZ #14171]
46142         * Makeconfig [$(build-shared) = yes]
46143         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
46144         makefiles.
46145         [$(build-shared) = yes && $(soversions.mk-done) = t]
46146         ($(common-objpfx)gnu/lib-names.h): Remove rule.
46147         [$(build-shared) = yes && $(soversions.mk-done) = t]
46148         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
46149         to Makerules.
46150         [$(build-shared) = yes && $(soversions.mk-done) = t]
46151         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
46152         here.
46153         [$(build-shared) = yes && $(soversions.mk-done) = t]
46154         (common-generated): Don't append gnu/lib-names.h and
46155         gnu/lib-names.stmp here.
46156         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
46157         (lib-names-h-abi): New variable.
46158         [$(build-shared) = yes && $(soversions.mk-done) = t]
46159         (lib-names-stmp-abi): Likewise.
46160         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46161         abi-variants] (before-compile): Append
46162         $(common-objpfx)$(lib-names-h-abi).
46163         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46164         abi-variants] (common-generated): Append gnu/lib-names.h.
46165         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46166         abi-variants] (install-others-nosubdir): Depend on
46167         $(inst_includedir)/$(lib-names-h-abi).
46168         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46169         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
46170         [$(build-shared) = yes && $(soversions.mk-done) = t]
46171         ($(common-objpfx)$(lib-names-h-abi)): New rule.
46172         [$(build-shared) = yes && $(soversions.mk-done) = t]
46173         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
46174         [$(build-shared) = yes && $(soversions.mk-done) = t]
46175         (common-generated): Append $(lib-names-h-abi) and
46176         $(lib-names-stmp-abi).
46177         * scripts/lib-names.awk: Do not handle multi being set.
46178         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
46179         Remove variable.
46180         (abi-lp64_be-ld-soname): Likewise.
46181         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
46182         Likewise.
46183         (abi-hard-ld-soname): Likewise.
46184         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
46185         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
46186         Remove variable.
46187         (abi-o32_hard-ld-soname): Likewise.
46188         (abi-o32_soft_2008-ld-soname): Likewise.
46189         (abi-o32_hard_2008-ld-soname): Likewise.
46190         (abi-n32_soft-ld-soname): Likewise.
46191         (abi-n32_hard-ld-soname): Likewise.
46192         (abi-n32_soft_2008-ld-soname): Likewise.
46193         (abi-n32_hard_2008-ld-soname): Likewise.
46194         (abi-n64_soft-ld-soname): Likewise.
46195         (abi-n64_hard-ld-soname): Likewise.
46196         (abi-n64_soft_2008-ld-soname): Likewise.
46197         (abi-n64_hard_2008-ld-soname): Likewise.
46198         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
46199         Likewise.
46200         (abi-64-v2-ld-soname): Likewise.
46201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
46202         ld.so entries.
46203         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
46204         variable.
46205         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
46206         entry.
46207         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
46208         variable.
46209         (abi-64-ld-soname): Likewise.
46210         (abi-x32-ld-soname): Likewise.
46211         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
46212         entry.
46213         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46215 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
46217         [BZ #14138]
46218         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
46219         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
46220         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
46221         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
46222         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
46223         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
46224         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
46225         syscall entry for GLIBC_2.2 symbol version.
46226         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
46227         Likewise.
46228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
46229         (setrlimit): Likewise.
46230         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
46231         Likewise.
46233 2014-09-23  Will Newton  <will.newton@linaro.org>
46235         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
46236         _LINUX_ARM_SYSDEP_H include guard too.
46237         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
46238         define.
46240 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
46242         * sysdeps/unix/sysv/linux/eventfd.c:
46243         Make first argument unsigned.
46244         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
46245         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
46247 2014-09-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
46249         [BZ #16852]
46250         * socket/recvmmsg.c (recvmmsg): Drop const argument.
46251         * socket/sys/socket.h: Likewise.
46252         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
46254 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46256         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
46258 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
46260         * time/tst-ftime.c: New test.
46261         * time/Makefile (tests): Add tst-ftime.
46263 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
46265         * soft-fp/extended.h: Fix comment formatting.
46266         * soft-fp/op-1.h: Likewise.
46267         * soft-fp/op-2.h: Likewise.
46268         * soft-fp/op-4.h: Likewise.
46269         * soft-fp/op-8.h: Likewise.
46270         * soft-fp/op-common.h: Likewise.
46271         * soft-fp/soft-fp.h: Likewise.
46273         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
46275 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
46277         [BZ #6652]
46278         * Makeconfig (soversions-default-setname): Remove variable.
46279         ($(common-objpfx)soversions.i): Don't pass default_setname to
46280         soversions.awk.
46281         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
46282         oldest_abi to abi-versions.awk.
46283         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
46284         * config.make.in (oldest-abi): Remove variable.
46285         * configure.ac (--enable-oldest-abi): Remove configure option.
46286         * configure: Regenerated.
46287         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
46288         text.
46289         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
46290         * scripts/soversions.awk: Do not handle default_setname variable.
46291         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
46292         variable.
46293         * sysdeps/mach/hurd/configure: Regenerated.
46294         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
46295         variable.
46296         * sysdeps/unix/sysv/linux/configure: Regenerated.
46298 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46300         * elf/Makefile (CFLAGS-interp.c): Remove.
46301         ($(elf-objpfx)runtime-linker.h): Generate header with linker
46302         path string.
46303         * elf/interp.c: Include generated runtime-linker.h
46305         * Makerules (lib%.so): Don't include $(+interp) in
46306         prerequisites.
46307         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
46308         * dlfcn/eval.c: Remove file.
46310         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
46311         macros.
46313         [BZ #17266]
46314         * misc/sys/cdefs.h: Define __extern_always_inline for clang
46315         4.2 and newer.
46317         [BZ #17370]
46318         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
46320 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46321             Jakub Jelinek  <jakub@redhat.com>
46323         [BZ #17266]
46324         * libio/stdio.h: Check definition of __fortify_function
46325         instead of __extern_always_inline to include bits/stdio2.h.
46326         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
46327         check if __extern_always_inline is defined.
46328         [__USE_MISC || __USE_XOPEN]: Likewise.
46329         [__USE_ISOC99] Likewise.
46330         * misc/sys/cdefs.h (__fortify_function): Define only if
46331         __extern_always_inline is defined.
46332         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
46333         __extern_always_inline and __extern_inline only for g++-4.3
46334         and newer or a compatible gcc.
46336 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
46338         [BZ #17371]
46339         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
46340         last change to handle zero prefix length.
46342 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46344         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
46345         _SC_REGEX_VERSION.
46347         * posix/getconf.c (vars): Add _POSIX_IPV6 and
46348         _POSIX_RAW_SOCKETS.
46350 2014-09-13  Allan McRae  <allan@archlinux.org>
46352         * po/ru.po: Update Russian translation from translation project.
46354 2014-09-12  Roland McGrath  <roland@hack.frob.com>
46356         * locale/programs/locale.c (show_locale_vars): Inline local function
46357         into its sole call site.  Clean up some style nits.
46358         (print_item): New function, broken out of ...
46359         (show_info): ... local function here.  Clean up style nits.
46361         * locale/programs/ld-ctype.c (set_one_default): New function, broken
46362         out of ...
46363         (set_class_defaults): ... local function set_default here.
46364         Define set_default as a macro locally to pass constant parameters.
46365         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
46366         rather than a shared local.
46368         * stdlib/rpmatch.c (try): New function, broken out of ...
46369         (rpmatch): ... local function here.  Also, prototypify definition.
46371 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
46373         * scripts/soversions.awk: Do not handle configuration names.
46374         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
46375         vendor and os variables to soversions.awk.
46376         * configure.ac: Do not modify gnu-* host_os.
46377         * configure: Regenerated
46378         * shlib-versions: Remove first column with configuration names.
46379         * nptl/shlib-versions: Likewise.
46380         * nptl_db/shlib-versions: Likewise.
46381         * sysdeps/hppa/shlib-versions: Likewise.
46382         * sysdeps/m68k/shlib-versions: Likewise.
46383         * sysdeps/mach/hurd/shlib-versions: Likewise.
46384         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
46385         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
46386         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
46387         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
46388         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
46389         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
46390         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
46391         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
46392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46393         Likewise.
46394         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46395         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46396         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46397         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46398         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46399         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
46400         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46401         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46404         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
46405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46406         Regenerated.
46407         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
46408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46409         Condition symbol version definitions on [HAVE_ELFV2_ABI].
46411         * shlib-versions: Remove OS-specific entries.  Moved to files in
46412         sysdeps.
46413         * sysdeps/mach/hurd/shlib-versions: New file.
46414         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46416         * nptl/shlib-versions: Remove architecture-specific entries.
46417         Moved to files in sysdeps.
46418         * shlib-versions: Likewise.
46419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
46420         file.
46421         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46422         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46423         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46424         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46426         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
46427         (UDP_NO_CHECK6_RX): Likewise.
46429 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46431         * sysdeps/posix/sysconf.c (__sysconf): Spell
46432         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
46434 2014-08-12  Florian Weimer  <fweimer@redhat.com>
46436         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
46437         loading.
46438         * iconv/Versions (__gconv_transliterate): Export for use from
46439         gconv modules.
46440         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
46441         (struct __gconv_trans_data, __gconv_trans_fct,
46442         __gconv_trans_context_fct, __gconv_trans_query_fct,
46443         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
46444         definitions.
46445         (struct __gconv_step_data): Remove __trans member.
46446         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
46447         longer hidden.  Remove unused trans_data argument.
46448         * iconv/gconv_int.h (struct trans_struct): Remove definition.
46449         (__gconv_translit_find): Remove declaration.
46450         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
46451         prototype.
46452         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
46453         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
46454         trans_data argument.  Add hidden definition.
46455         (__gconv_translit_find): Remove.
46456         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
46457         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
46458         * iconv/skeleton.c: Remove transliteration initialization.
46459         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
46460         __gconv_step_data initialization.
46461         * libio/iofwide.c (__libio_translit_): Remove.
46462         (_IO_fwide): Adjust struct __gconv_step_data initialization.
46463         * wcsmbs/btowc.c (__btowc): Likewise.
46464         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46465         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46466         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
46467         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
46468         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
46469         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
46470         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
46471         * wcsmbs/wctob.c (wctob): Likewise.
46473 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46475         [BZ #16194]
46476         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
46477         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
46478         register usage.
46479         * sysdeps/x86/Makefile: Adjust.
46481 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46482             Roland McGrath  <roland@hack.frob.com>
46484         * locale/weight.h: Add include guard.
46485         (findidx): Make static rather than auto; take new parameters
46486         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
46487         * locale/weightwc.h: Likewise.
46488         * posix/fnmatch_loop.c
46489         (FCT): Change type of EXTRA from int32_t to wint_t.
46490         Don't include either header inside the function.
46491         Call FINDIDX rather than findidx, and pass new arguments.
46492         #undef FINDIDX at the end of the file.
46493         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
46494         FINDIDX before including fnmatch_loop.c for the non-wide version.
46495         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
46496         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
46497         for the wide version.
46498         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
46499         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
46500         Pass new arguments to findidx.
46501         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
46502         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
46503         Don't #include it inside the function.  Pass new arguments to findidx.
46504         * posix/regex_internal.h
46505         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
46506         (re_string_elem_size_at): Don't #include it inside the function.
46507         Pass new arguments to findidx.
46508         * string/strcoll_l.c: #include WEIGHT_H at top level.
46509         (get_next_seq): Don't #include it inside the function.
46510         Pass new arguments to findidx.
46511         (get_next_seq_nocache): Likewise.
46512         * string/strxfrm_l.c: #include WEIGHT_H at top level.
46513         (STRXFRM): Don't #include it inside the function.
46514         Pass new arguments to findidx.
46516 2014-09-11  Florian Weimer  <fweimer@redhat.com>
46518         [BZ #17344]
46519         * malloc/malloc.c (unlink): Turn asserts into a call to
46520         malloc_printerr.
46522 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
46524         [BZ #17370]
46525         * libio/wfileops (do_ftell_wide): Free OUT.
46527 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
46529         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
46531 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46533         [BZ #17363]
46534         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
46535         group if the current group is empty.
46537 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46539         * benchtests/bench-memset.c (test_main): Add more test from size
46540         from 32 to 512 bytes.
46541         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46542         Add POWER8 memset object.
46543         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46544         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
46545         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
46546         implementation.
46547         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
46548         Likewise.
46549         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
46550         multiarch POWER8 memset optimization.
46551         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
46552         POWER8 memset optimization.
46554         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46555         Remove bzero multiarch objects.
46556         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
46557         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
46558         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
46559         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
46560         Remove define.
46561         [__bzero]: Redefine to specific name.
46562         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
46563         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
46564         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
46565         define.
46566         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46567         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46569 2014-09-10  Florian Weimer  <fweimer@redhat.com>
46571         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
46572         warnings into errors.
46574         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
46575         __cxa_thread_atexit_impl prototype.
46577 2014-09-09  Steve Ellcey  <sellcey@mips.com>
46579         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
46580         Fix capitalization of error message.
46582 2014-09-09  Steve Ellcey  <sellcey@mips.com>
46584         * sysdeps/mips/preconfigure: Modify ABI tests.
46586 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
46588         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
46590 2014-09-07  Roland McGrath  <roland@hack.frob.com>
46591             Carlos O'Donell  <carlos@systemhalted.org>
46593         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
46594         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
46595         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
46596         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
46597         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
46598         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
46599         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
46600         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
46601         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
46602         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
46603         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
46604         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
46605         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
46606         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
46607         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
46608         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
46609         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
46610         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
46611         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
46612         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
46613         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
46614         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
46615         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
46616         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
46617         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
46618         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
46619         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
46620         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
46621         Deconditionalize the code that was previously under [RESET_PID].
46622         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
46623         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
46624         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
46625         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
46626         include sysdep.h.
46628 2014-09-08  Allan McRae  <allan@archlinux.org>
46630         * version.h (RELEASE): Set to "development".
46631         (VERSION): Set to "2.20.90"
46633 2014-09-07  Allan McRae  <allan@archlinux.org
46635         * version.h (RELEASE): Set to "stable".
46636         (VERSION): Set to "2.20"
46637         * include/features.h (__GLIBC_MINOR__): Set to 20.
46639         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
46640         Liebler.
46642         * po/ko.po: Update Korean translation from translation project.
46644 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
46646         [BZ #17354]
46647         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
46648         macro for handling signed relocations.
46650 2014-09-03  Florian Weimer  <fweimer@redhat.com>
46652         [BZ #17325]
46653         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
46654         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
46655         assert.
46656         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
46657         * iconvdata/ibm935.c (BODY): Likewise.
46658         * iconvdata/ibm937.c (BODY): Likewise.
46659         * iconvdata/ibm939.c (BODY): Likewise.
46660         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
46661         assert.
46662         * iconvdata/Makefile (iconv-test.out): Pass module list to test
46663         script.
46664         * iconvdata/run-iconv-test.sh: New test loop for checking for
46665         decoder crashers.
46667 2014-09-02  Khem Raj  <raj.khem@gmail.com>
46669         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
46670         libm_hidden_ver.
46672 2014-09-01  Allan McRae  <allan@archlinux.org>
46674         * po/eo.po: Update Esperanto translation from translation project.
46676         * po/ca.po: Update Catalan translation from translation project.
46678 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46680         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
46681         __proc_dostop call.
46683 2014-08-27  Mark Wielaard  <mjw@redhat.com>
46685         [BZ #17319]
46686         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
46687         to call set_thread_area instead of hand written asm.
46688         (__NR_set_thread_area): Removed define.
46689         (TLS_FLAG_WRITABLE): Likewise.
46690         (__ASSUME_SET_THREAD_AREA): Remove check.
46691         (TLS_EBX_ARG): Remove define.
46692         (TLS_LOAD_EBX): Likewise.
46694 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46696         Simplify atomicity of socket creation in bind.
46698         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
46699         looking up the name after linking the file.
46701 2014-08-27  Allan McRae  <allan@archlinux.org>
46703         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46705 2014-08-26  Florian Weimer  <fweimer@redhat.com>
46707         [BZ #17187]
46708         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
46709         trans_compare, open_translit, __gconv_translit_find):
46710         Remove module loading code.
46712 2014-08-26  Allan McRae  <allan@archlinux.org>
46714         * po/vi.po: Update Vietnamese translation from translation project.
46716         * po/uk.po: Update Ukrainian translation from translation project.
46718         * po/fr.po: Update French translation from translation project.
46720         * po/ru.po: Update Russian translation from translation project.
46722         * po/pl.po: Update Polish translation from translation project.
46724         * po/cs.po: Update Czech translation from translation project.
46726         * po/de.po: Update German translation from translation project.
46728         * po/bg.po: Update Bulgarian translation from translation project.
46730         * po/sv.po: Update Sweedish translation from translation project.
46732         * po/nl.po: Update Dutch translation from translation project.
46734         * po/es.po: Update Spanish translation from translation project.
46736 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46738         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
46740         * catgets/Makefile (CPPFLAGS-gencat): Remove.
46741         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
46742         (CPPFLAGS-iconvconfig): Likewise.
46743         * timezone/Makefile (CPPFLAGS-zic): Likewise.
46745         * include/libc-symbols.h: Remove unnecessary check for
46746         NOT_IN_libc.
46747         * nptl/pthreadP.h: Likewise.
46748         * sysdeps/aarch64/setjmp.S: Likewise.
46749         * sysdeps/alpha/setjmp.S: Likewise.
46750         * sysdeps/arm/sysdep.h: Likewise.
46751         * sysdeps/i386/setjmp.S: Likewise.
46752         * sysdeps/m68k/setjmp.c: Likewise.
46753         * sysdeps/posix/getcwd.c: Likewise.
46754         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46755         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
46756         * sysdeps/s390/s390-32/setjmp.S: Likewise.
46757         * sysdeps/s390/s390-64/setjmp.S: Likewise.
46758         * sysdeps/sh/sh3/setjmp.S: Likewise.
46759         * sysdeps/sh/sh4/setjmp.S: Likewise.
46760         * sysdeps/unix/alpha/sysdep.h: Likewise.
46761         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
46762         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46763         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
46764         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
46765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46767         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46768         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46769         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46770         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46771         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46772         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
46773         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46774         * sysdeps/x86_64/setjmp.S: Likewise.
46776 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
46778         [BZ #17263]
46779         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
46780         <stdint.h>.
46781         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
46782         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
46784 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46786         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
46788         [BZ #17262]
46789         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
46790         and __x86_64__ when disabling x87 inline functions.
46792 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
46794         [BZ #17259]
46795         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
46796         asm statement with __cpuid_count.
46798 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
46800         * configure.ac: Change __ehdr_start code to dereference the struct.
46801         Run readelf on the output to look for relocations.
46802         * configure: Regenerated.
46804 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
46806         [BZ #17261]
46807         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
46808         value to 0.
46809         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
46811 2014-08-12  Roland McGrath  <roland@hack.frob.com>
46813         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
46815 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
46817         [BZ #16892]
46818         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
46819         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
46821 2014-08-12  Sean Anderson  <seanga2@gmail.com>
46823         * malloc/malloc.c: Fix typo in comment.
46825 2014-08-09  Allan McRae  <allan@archlinux.org>
46827         * Regenerate libc.po.
46829 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
46831         * intl/tst-gettext2.sh: Check every lang file for creation.
46833 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
46835         * sysdeps/aarch64/fpu/math_private.h
46836         (libc_feholdsetround_noex_aarch64_ctx): New function.
46838 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
46840         * sysdeps/arm/armv6/strcpy.S (strcpy):
46841         Fix performance issue in misaligned cases.
46843 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46845         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
46846         Move definition from termios.h.
46847         (struct termio): Likewise.
46848         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46849         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46850         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46851         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46852         Likewise.
46853         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
46854         Move definition to ioctl-types.h
46855         (struct termio): Likewise.
46856         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46857         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46858         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46859         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46860         Likewise.
46862 2014-08-05  Richard Henderson  <rth@redhat.com>
46864         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
46865         exceptions.
46866         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
46867         Add fraiseexcpt.
46868         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
46869         Use __feraiseexcept.
46870         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
46871         Protect libm symbols with IS_IN_libm.
46873         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
46875 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
46877         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
46879 2014-08-04  Will Newton  <will.newton@linaro.org>
46881         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
46882         file.
46884 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
46886         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
46887         variants for each function.
46889 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46891         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
46892         appended ...
46893         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
46894         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
46895         appended ...
46896         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
46897         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
46898         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
46899         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
46900         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
46901         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
46902         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
46903         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
46904         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
46905         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
46906         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
46907         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
46908         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
46909         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
46910         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
46911         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
46912         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
46913         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
46914         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
46915         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
46916         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
46917         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
46918         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
46919         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
46920         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
46921         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
46922         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
46923         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
46924         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
46925         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
46926         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
46927         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
46928         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
46929         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
46930         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
46931         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
46932         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
46933         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
46934         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
46935         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
46936         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
46937         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
46938         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
46939         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
46940         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
46941         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
46942         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
46943         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
46944         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
46945         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
46946         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
46947         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
46948         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
46949         Update #include.
46950         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
46951         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
46953 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46955         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
46956         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
46957         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
46958         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
46959         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
46960         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
46962 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46964         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
46965         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
46966         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46967         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
46969 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46971         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
46972         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
46973         (__libc_vfork): Define function under this name.
46974         (__vfork): Define as an alias.
46975         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
46976         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
46978 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46980         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
46981         that was previously under [RESET_PID].
46982         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
46984 2014-08-04  Andreas Schwab  <schwab@suse.de>
46986         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
46988 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
46990         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
46991         (main): Likewise.
46993 2014-08-01  Roland McGrath  <roland@hack.frob.com>
46995         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
46997 2014-08-01  Richard Henderon  <rth@redhat.com>
46999         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
47000         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
47001         typo in exact zero test.
47002         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47003         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47004         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47006 2014-08-01  Roland McGrath  <roland@hack.frob.com>
47008         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
47009         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
47010         * sysdeps/arm/sysdep.h: ... here.
47011         [!__ASSEMBLER__]: Include <stdint.h>.
47013 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
47015         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
47016         (HAVE_WCTYPE_H): Likewise.
47017         (HAVE_ISWCTYPE): Likewise.
47018         (ENABLE_NLS): Likewise.
47019         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
47020         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
47022         * posix/regex_internal.c: Check if DEBUG is defined and is
47023         set.
47025         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
47026         (HAVE_MBSRTOWCS): Likewise.
47027         * posix/fnmatch.c: Include string.h unconditionally.
47029 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
47031         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
47032         reversal.
47034 2014-07-31  Roland McGrath  <roland@hack.frob.com>
47036         * sysdeps/generic/safe-fatal.h: New file.
47037         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
47038         * nptl/forward.c: Include it.
47039         (__pthread_unwind): Use __safe_fatal as default action, rather
47040         than a bogus use of INTERNAL_SYSCALL that could never work.
47042         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
47043         * configure.ac (libc_cv_builtin_trap): New test.
47044         * configure: Regenerated.
47045         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
47046         (ABORT_INSTRUCTION): Define using __builtin_trap.
47048         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
47049         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
47050         * sysdeps/nptl/nptl-signals.h: New file.
47051         * nptl/pthreadP.h: Include <nptl-signals.h>.
47053 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
47055         * sysdeps/s390/s390-64/utf16-utf32-z9.c
47056         (ONE_DIRECTION): Define.
47057         * sysdeps/s390/s390-64/utf8-utf16-z9.c
47058         (ONE_DIRECTION): Define.
47059         * sysdeps/s390/s390-64/utf8-utf32-z9.c
47060         (ONE_DIRECTION): Define.
47062 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
47064         * sysdeps/s390/Makefile: Delete file.
47065         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
47066         * sysdeps/s390/__longjmp.c: Delete file.
47067         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
47068         Remove fields __flags and __reserved.
47069         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
47070         and add versioning.
47071         * sysdeps/s390/rtld-__longjmp.c: Delete file.
47072         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
47073         * sysdeps/s390/rtld-setjmp.S: Likewise.
47074         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
47075         * sysdeps/s390/s390-32/__longjmp.c: ... here.
47076         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
47077         * sysdeps/s390/s390-32/setjmp.S: ... here.
47078         Add versioning.
47079         (__sigsetjmp): Remove setting __flags field.
47080         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
47081         * sysdeps/s390/s390-64/__longjmp.c: ... here.
47082         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
47083         * sysdeps/s390/s390-64/setjmp.S: ... here.
47084         Add versioning.
47085         (__sigsetjmp): Remove setting __flags field.
47086         * sysdeps/s390/setjmp.S: Delete file.
47087         * sysdeps/s390/sigjmp.c: Likewise.
47088         * sysdeps/s390/v1-longjmp.c: Likewise.
47089         * sysdeps/s390/v1-setjmp.h: Likewise.
47090         * sysdeps/s390/v1-sigjmp.c: Likewise.
47091         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
47092         Remove v1-longjmp_chk.
47093         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
47094         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
47095         Include debug/longjmp_chk.c and add versioning.
47096         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
47097         Include nptl/pt-longjmp.c and add versioning.
47098         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
47099         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
47100         Include __longjmp.c.
47101         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47102         Move to ...
47103         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
47104         (__getcontext): Remove setting __flags field.
47105         Add versioning.
47106         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
47107         Don't restore upper high grps.
47108         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
47109         Likewise.
47110         (__swapcontext): Remove setting uc_flags field.
47111         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
47112         Delete file.
47113         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47114         Include __longjmp.c.
47115         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47116         Move to ...
47117         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
47118         (__getcontext): Remove setting __flags field.
47119         Add versioning.
47120         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
47121         (__swapcontext): Remove setting uc_flags field.
47122         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
47123         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
47124         Remove fields uc_high_gprs and __reserved.
47125         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
47126         New file with reverted content.
47127         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
47128         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
47129         Regenerated.
47130         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
47131         Regenerated.
47133 2014-07-31  Andreas Schwab  <schwab@suse.de>
47135         * config.h.in (HAVE_IFUNC): Define to 0.
47136         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
47137         definedness.
47139 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
47141         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47142         memmove-avx-unaligned, memcpy-avx-unaligned and
47143         mempcpy-avx-unaligned.
47144         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47145         Add tests for AVX memcpy functions.
47146         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
47147         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
47148         memcpy_chk.
47149         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
47150         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
47151         memmove_chk.
47152         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
47153         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
47154         mempcpy_chk.
47155         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
47156         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
47157         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
47159 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47161         [BZ #17213]
47162         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
47163         powerpc64le.
47165 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
47167         [BZ #16839]
47168         * manual/llio.texi: Add section about open file description locks.
47169         * manual/examples/ofdlocks.c: Example of open file description
47170         lock usage.
47171         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
47172         F_OFD_SETLK, and F_OFD_SETLKW.
47174 2014-07-23  Allan McRae  <allan@archlinux.org>
47176         * po/es.po: Update Spanish translation from translation project.
47178 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
47180         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
47182 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
47184         [BZ #17078]
47185         * sysdeps/arm/dl-machine.h (elf_machine_rela)
47186         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
47187         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
47189 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
47191         [BZ #17088]
47192         * math/fesetenv.c (__fesetenv)
47193         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
47194         * math/feupdateenv.c (__feupdateenv)
47195         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
47197         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
47198         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
47199         (__ASSUME_SOCKETCALL): Do not define.
47201         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
47202         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
47203         (__ASSUME_SOCKETCALL): Do not define.
47204         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
47205         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47206         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47207         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47208         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47209         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
47210         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47211         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47213         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
47214         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
47215         (__ASSUME_SOCKETCALL): Do not define.
47216         (__ASSUME_IPC64): Define unconditionally.
47217         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47218         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47219         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47220         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47221         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
47222         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47223         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
47224         Likewise.
47226         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
47227         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
47228         (__ASSUME_SOCKETCALL): Do not define.
47229         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
47230         (__ASSUME_FUTEX_LOCK_PI): Likewise.
47231         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47232         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
47233         (__ASSUME_REQUEUE_PI): Define unconditionally.
47234         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
47235         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
47236         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47237         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
47238         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47239         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47241         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
47242         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
47243         (__ASSUME_SOCKETCALL): Do not define.
47244         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
47245         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47246         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47247         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
47248         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47249         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47251         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
47252         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
47253         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47254         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
47255         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47256         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
47257         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47258         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
47259         (__ASSUME_GETCPU_SYSCALL): Likewise.
47261         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
47262         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
47263         cases for individual architectures.
47264         * sysdeps/gnu/configure: Regenerated.
47265         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
47266         LIBC_SLIBDIR_RTLDDIR.
47267         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
47268         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
47269         LIBC_SLIBDIR_RTLDDIR.
47270         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
47271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
47272         LIBC_SLIBDIR_RTLDDIR.
47273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
47274         Regenerated.
47275         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
47276         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
47277         file.
47278         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
47279         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
47280         file.
47281         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
47282         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
47283         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
47284         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
47286         * sysdeps/aarch64/shlib-versions: Move to ...
47287         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
47288         * sysdeps/alpha/shlib-versions: Move to ...
47289         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
47290         * sysdeps/arm/shlib-versions: Move to ...
47291         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
47292         * sysdeps/hppa/shlib-versions: Move all contents except for
47293         libgcc_s entry to ...
47294         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
47295         entry from ...
47296         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
47297         * sysdeps/ia64/shlib-versions: Move to ...
47298         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
47299         entry from ...
47300         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
47301         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
47302         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
47303         * sysdeps/microblaze/shlib-versions: Move to ...
47304         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
47305         * sysdeps/mips/shlib-versions: Move to ...
47306         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
47307         entry from ...
47308         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
47309         * sysdeps/tile/shlib-versions: Move to ...
47310         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
47311         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
47312         from ...
47313         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
47314         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
47315         entry from ...
47316         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
47318 2014-07-17  Will Newton  <will.newton@linaro.org>
47320         * sysdeps/arm/bits/atomic.h
47321         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
47322         (__arch_compare_and_exchange_bool_16_int): Likewise.
47323         (__arch_compare_and_exchange_bool_64_int): Likewise.
47325         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
47326         into an #else block.
47328 2014-07-16  Roland McGrath  <roland@hack.frob.com>
47330         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
47331         just Linux configurations.  Test empirically that the compiler sets
47332         __ARM_EABI__, rather than using the tuple to decide.
47333         * sysdeps/arm/preconfigure: Regenerated.
47334         * sysdeps/unix/sysv/linux/arm/configure: File removed.
47335         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
47336         contents appended ...
47337         * sysdeps/arm/configure.ac: ... here.
47338         * sysdeps/arm/configure: Regenerated.
47340 2014-07-15  Roland McGrath  <roland@hack.frob.com>
47342         * nptl/pthread_kill.c: New file.
47343         * nptl/pthread_sigmask.c: New file.
47344         * nptl/pthread_sigqueue.c: New file.
47346         * sysdeps/nptl/lowlevellock.h: New file.
47347         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
47348         * sysdeps/nptl/lowlevellock-futex.h: New file.
47350         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
47351         Remove dead declarations.
47353 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
47355         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
47356         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
47357         config-cflags-avx2.
47358         * sysdeps/x86_64/configure.ac: Likewise.
47359         * sysdeps/i386/configure: Regenerated.
47360         * sysdeps/x86_64/configure: Likewise.
47361         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47362         memset-avx2 only if config-cflags-avx2 is yes.
47363         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47364         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
47365         defined.
47366         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
47367         only if HAVE_AVX2_SUPPORT is defined.
47368         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47370 2014-07-14  Alan Modra  <amodra@gmail.com>
47372         [BZ #17153]
47373         * elf/elf.h (DT_PPC64_NUM): Correct value.
47374         * NEWS: Add to fixed bug list.
47376 2014-07-13  Jim Meyering  <meyering@fb.com>
47378         [BZ 17150]
47379         regex: don't deref NULL upon heap allocation failure
47380         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
47381         failure in one more place.
47382         To trigger the segfault, configure grep -with-included-regex,
47383         build it, and run these commands:
47384         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
47386 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
47388         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47390 2014-07-11  Richard Henderson  <rth@redhat.com>
47392         * sysdeps/aarch64/libm-test-ulps: Update.
47394 2014-07-10  Florian Weimer  <fweimer@redhat.com>
47396         [BZ #17135]
47397         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
47398         * nptl/allocatestack.c (__nptl_setxid_error): New function.
47399         (__nptl_setxid): Initialize error member.  Call
47400         __nptl_setxid_error.
47401         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
47402         * nptl/descr.h (struct xid_command): Add error member.
47403         * nptl/tst-setuid3.c: New file.
47404         * nptl/Makefile (tests): Add it.
47406 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47408         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
47409         New define.
47410         (__lll_trylock): Use __lll_base_trylock.
47411         (__lll_cond_trylock): Likewise.
47413 2014-07-10  Roland McGrath  <roland@hack.frob.com>
47415         * nptl/pthread_create.c (start_thread): Use atomic_or and
47416         lll_futex_wake directly rather than lll_robust_dead.
47417         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47418         (lll_robust_dead): Macro removed.
47419         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
47420         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47421         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47422         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47423         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47424         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47425         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47426         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47427         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47428         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47429         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47430         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47431         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47432         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47433         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47435         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
47436         Use atomic_compare_and_exchange_val_acq directly rather than
47437         lll_robust_trylock.
47438         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47439         (__lll_robust_trylock, lll_robust_trylock): Removed.
47440         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47441         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47442         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47443         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47444         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47445         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47446         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47447         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47448         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47449         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47450         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47451         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47452         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47453         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47455 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47457         * manual/locale.texi (Locale Names): New section documenting
47458         locale name syntax.  Adjust menu and node chaining accordingly.
47459         (Choosing Locale): Reference Locale Names, Locale Categories.
47460         Mention setting LC_ALL=C.  Reflect that name syntax is now
47461         documented.
47462         (Locale Categories): New section title.  Reference Locale Names.
47463         LC_ALL is an environment variable, but not a category.
47464         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
47465         description, now in Locale Name.  Reference that section.  Locale
47466         name syntax is now documented.
47468 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47470         [BZ #17137]
47471         * locale/findlocale.c (name_present, valid_locale_name): New
47472         functions.
47473         (_nl_find_locale): Use the loc_name variable to store name
47474         candidates.  Call name_present and valid_locale_name to check and
47475         validate locale names.  Return an error if the locale is invalid.
47477 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47479         * locale/setlocale.c (setlocale): Use strdup for allocating
47480         composite name copy.
47482 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47484         Sync up with gnulib.
47485         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
47486         [!_LIBC && ENABLE_NLS]: Include gettext.h.
47487         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
47488         and _GL_ARG_NONNULL.
47489         [USE_UNLOCKED_IO]: Include unlocked-io.h.
47490         [!_LIBC]: Include code for Windows and Cygwin.
47491         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
47492         Include prototype for int strerror_r.
47493         [!_LIBC] (is_open): New function.
47494         (flush_stdout): New function.
47495         (print_errno_message): Use it.
47496         (error): Likewise.
47497         (error_at_line): Likewise.
47498         (error_tail) Add function attribute macros.  Use
47499         __builtin_expect.
47501         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
47503         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
47505         * io/ftw.c: Include sys/param.h unconditionally.
47507         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
47509         [BZ #17125]
47510         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
47511         libc_freeres_ptr.
47512         (freecache): New function to free CACHE on exit.
47514         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
47515         initialization.
47517 2014-07-09  David S. Miller  <davem@davemloft.net>
47519         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47521         * sysdeps/sparc/nptl/internaltypes.h: Delete.
47522         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
47523         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
47524         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
47525         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
47526         * sysdeps/sparc/nptl/sem_init.c: Likewise.
47527         * sysdeps/sparc/nptl/sem_post.c: Likewise.
47528         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
47529         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
47530         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
47531         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
47532         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
47533         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
47535 2014-07-09  Andreas Schwab  <schwab@suse.de>
47537         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
47538         output.
47539         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
47540         (do_test): Likewise.
47542         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47544 2014-07-09  Will Newton  <will.newton@linaro.org>
47546         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
47547         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
47548         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
47549         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
47550         * sysdeps/hppa/start.S (_start): Likewise.
47552 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
47554         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
47556         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
47557         defined.
47559 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47561         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
47562         after checking that it is non-NULL.
47564         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
47566 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47568         * sysdeps/powerpc/memmove.c: Remove file.
47569         * sysdeps/powerpc/powerpc32/power4/memcopy.h
47570         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
47571         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
47572         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
47573         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
47574         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
47575         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
47576         string memmove instead of removed powerpc one.
47578         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47579         [weak_alias]: Fix compiler warning due trailing data.
47580         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
47581         [weak_alias]: Likewise.
47582         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
47583         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
47585         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47586         (__libc_ifunc_impl_list): Add memmove functions.
47588 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47590         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
47591         Remove code.
47592         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
47593         Likewise.
47594         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
47595         Likewise.
47596         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
47597         Likewise.
47598         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
47599         Likewise.
47600         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
47601         Likewise.
47602         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
47603         Likewise.
47604         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
47605         Likewise.
47606         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
47607         Likewise.
47608         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
47609         Likewise.
47610         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
47611         Likewise.
47612         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
47613         Likewise.
47614         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
47615         Likewise.
47616         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
47617         Likewise.
47618         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
47619         Likewise.
47620         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
47621         Likewise.
47622         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
47623         Likewise.
47625 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47627         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
47628         to avoid alignment traps in non-cacheable memory.
47629         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47631         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
47632         multiarch objects.
47633         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
47634         file: multiarch power7 memmove.
47635         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
47636         multiarch default memmove.
47637         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
47638         multiarch memove for powerpc32/power4.
47640         * string/bcopy.c: Use full path to include memmove.c.
47641         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
47642         multiarch objects.
47643         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
47644         bcopy for powerpc64.
47645         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
47646         bcopy for powerpc64.
47647         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
47648         and memmove implementations.
47649         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
47650         optimized multiarch memmove for POWER7/powerpc64.
47651         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
47652         default multiarch memmove for powerpc64.
47653         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
47654         multiarch for powerpc64.
47655         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
47656         for POWER7/powerpc64.
47657         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
47658         memmove for POWER7/powerpc64.
47660         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
47661         glibc default one.
47663         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
47664         __ELF_NATIVE_CLASS equal to 64.
47666 2014-07-07  Roland McGrath  <roland@hack.frob.com>
47668         * sysdeps/nptl/lowlevellock.h: File removed.
47670         * NEWS: NPTL is no longer an add-on!
47671         * nptl/internaltypes.h: Moved ...
47672         * sysdeps/nptl/internaltypes.h: ... here.
47673         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
47674         * sysdeps/nptl/fork.c: Likewise.
47675         * sysdeps/nptl/gai_misc.h: Likewise.
47676         * sysdeps/nptl/librt-cancellation.c: Likewise.
47677         * sysdeps/nptl/jmp-unwind.c: Likewise.
47678         * sysdeps/nptl/setxid.h: Likewise.
47679         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
47680         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
47681         * sysdeps/unix/sysv/linux/arm/Implies: New file.
47682         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
47683         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
47684         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
47685         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
47686         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
47687         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
47688         * sysdeps/unix/sysv/linux/mips/Implies: New file.
47689         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
47690         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
47691         * sysdeps/unix/sysv/linux/sh/Implies: New file.
47692         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
47693         * sysdeps/unix/sysv/linux/tile/Implies: New file.
47694         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
47695         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
47696         * nptl/Makeconfig: Moved ...
47697         * sysdeps/nptl/Makeconfig: ... here.
47698         * nptl/configure: File removed.
47699         * nptl/ANNOUNCE: File removed.
47700         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
47701         * sysdeps/unix/sysv/linux/configure: Regenerated.
47703         * nptl/Makefile (routines): Add libc_pthread_init,
47704         libc_multiple_threads, register-atfork and unregister-atfork.
47705         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
47706         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
47707         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
47708         pthread-pi-defines.sym, structsem.sym.
47709         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
47710         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
47711         [$(subdir) = nptl] (tests): Add tst-setgetname.
47712         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
47713         * sysdeps/unix/sysv/linux/sigaction.c: Just include
47714         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
47715         [!LIBC_SIGACTION]: Remove aliases.
47716         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47717         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47718         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47719         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
47720         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47721         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
47722         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47723         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47724         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47725         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
47726         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
47727         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
47728         __libc_allocate_rtsig_private.
47729         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
47730         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
47731         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
47732         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
47733         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
47734         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
47735         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
47736         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
47737         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
47738         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
47739         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
47740         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
47741         * nptl/internaltypes.h: ... here.
47742         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
47743         * sysdeps/nptl/jmp-unwind.c: ... here.
47744         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
47745         * nptl/libc-lowlevellock.c: ... here.
47746         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
47747         * nptl/libc_multiple_threads.c: ... here.
47748         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
47749         * nptl/libc_pthread_init.c: ... here.
47750         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
47751         * nptl/lowlevelbarrier.sym: ... here.
47752         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
47753         * nptl/lowlevelcond.sym: ... here.
47754         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
47755         * nptl/lowlevellock.c: ... here.
47756         * nptl/lowlevellock.h: Moved ...
47757         * sysdeps/nptl/lowlevellock.h: ... here.
47758         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
47759         * nptl/lowlevelrobustlock.c: ... here.
47760         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
47761         * nptl/lowlevelrobustlock.sym: ... here.
47762         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
47763         * nptl/lowlevelrwlock.sym: ... here.
47764         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
47765         * nptl/pt-fork.c: ... here.
47766         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
47767         * nptl/pthread-pi-defines.sym: ... here.
47768         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
47769         * nptl/pthread_attr_getaffinity.c: ... here.
47770         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
47771         * nptl/pthread_attr_setaffinity.c: ... here.
47772         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
47773         * nptl/pthread_mutex_cond_lock.c: ... here.
47774         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47775         Update #include.
47776         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
47777         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
47778         * nptl/pthread_once.c: ... here, replacing old file.
47779         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
47780         * nptl/pthread_yield.c: ... here.
47781         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
47782         * nptl/register-atfork.c: ... here.
47783         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
47784         * nptl/sem_post.c: ... here.
47785         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
47786         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
47787         * nptl/sem_timedwait.c: ... here.
47788         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
47789         * nptl/sem_trywait.c: ... here.
47790         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
47791         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
47792         * nptl/sem_wait.c: ... here.
47793         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
47794         * nptl/structsem.sym: ... here.
47795         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
47796         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
47797         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
47798         * nptl/unregister-atfork.c: ... here.
47799         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
47800         * nptl/unwindbuf.sym: ... here.
47801         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
47802         * sysdeps/nptl/fork.c: ... here.
47803         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
47804         * sysdeps/nptl/fork.h: ... here.
47805         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
47806         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
47807         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
47808         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
47809         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
47810         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
47811         * sysdeps/unix/sysv/linux/getpid.c: ... here.
47812         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
47813         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
47814         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
47815         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
47816         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
47817         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
47818         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
47819         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
47820         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
47821         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
47822         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
47823         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
47824         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
47825         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
47826         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
47827         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
47828         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
47829         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
47830         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
47831         * sysdeps/unix/sysv/linux/raise.c: ... here.
47832         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
47833         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
47834         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
47835         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
47836         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
47837         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
47838         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
47839         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
47840         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
47841         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
47842         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
47843         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
47844         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
47845         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
47846         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
47848 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47850         * sysdeps/generic/memcopy.h: Add comment for
47851         MEMCPY_OK_FOR_FWD_MEMMOVE.
47853 2014-07-04  Will Newton  <will.newton@linaro.org>
47855         * string/memchr.c: Merge from gnulib.
47856         [_LIBC]: Remove conditionals.
47857         (__ptr_t): Remove define.
47858         (LONG_MAX_32_BITS): Likewise.
47859         (LONG_MAX): Likewise.
47860         (MEMCHR): Use ANSI prototype and optimize algorithm.
47862         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
47864 2014-07-03  Roland McGrath  <roland@hack.frob.com>
47866         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
47867         (lll_futex_timed_wait_bitset): Fix syscall argument count.
47869         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
47870         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
47871         in a bare environment with no <stdlib.h> installed.
47872         * sysdeps/nptl/configure: Regenerated.
47874         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
47876         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
47877         AC_EGREP_CPP for kernel header checks, so they only succeed if
47878         including <linux/version.h> actually works right.
47879         * sysdeps/unix/sysv/linux/configure: Regenerated.
47881         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
47882         value so it's not diagnosed as unused.
47884         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
47885         thing) with "ifeq ($(subdir),rt)".
47887 2014-07-03  Richard Henderson  <rth@redhat.com>
47889         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
47890         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
47891         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
47893         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
47894         (math_force_eval): New.
47896         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
47897         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
47899         * sysdeps/alpha/fpu/s_round.c: Remove file.
47900         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
47902         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
47903         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
47904         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
47905         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
47906         (_dl_start, print_statistics): Likewise.
47907         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
47908         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
47910         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47911         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47912         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47913         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47914         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47915         (HP_SMALL_TIMING_AVAIL): Define.
47916         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47917         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47918         (HP_SMALL_TIMING_AVAIL): Define.
47919         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47920         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47922         * sysdeps/aarch64/hp-timing.h: New file.
47924         * sysdeps/generic/hp-timing.h: Remove dead comment.
47925         * sysdeps/generic/hp-timing-common.h: New file.
47926         * sysdeps/alpha/hp-timing.h: Include it.
47927         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
47928         * sysdeps/i386/i686/hp-timing.h: Likewise.
47929         * sysdeps/ia64/hp-timing.h: Likewise.
47930         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47931         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47932         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47933         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47934         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
47935         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
47936         (hp_timing_t): New.
47938         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
47939         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
47940         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
47941         * elf/rtld.c (_dl_start_final): Likewise.
47942         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
47943         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47944         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47945         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47946         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47947         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47948         (HP_TIMING_DIFF_INIT): Remove.
47949         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47950         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47951         (HP_TIMING_DIFF_INIT): Remove.
47952         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47953         * sysdeps/i386/i686/hp-timing.c: Remove file.
47954         * sysdeps/x86_64/hp-timing.c: Remove file.
47955         * sysdeps/ia64/hp-timing.c: Remove file.
47956         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
47957         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
47958         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
47959         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
47961         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
47962         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
47963         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
47964         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47965         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47966         (HP_TIMING_ACCUM): Remove.
47967         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47968         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
47969         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47971         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
47972         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
47973         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
47974         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
47975         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
47976         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47977         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
47978         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47980         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
47982 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
47984         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
47986 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47988         Sync up with gettext.
47989         * intl/loadmsgcat.c: Define O_BINARY if not defined.
47990         [_MSC_VER]: Include malloc.h
47991         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
47992         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
47993         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
47994         TEMP_FAILURE_RETRY.  Cast return of alloca.
47995         [!_LIBC] Call gl_rwlock_init.
47996         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
47998 2014-07-02  Roland McGrath  <roland@hack.frob.com>
48000         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
48001         before checking its value.
48003 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48005         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
48007         * debug/memcpy_chk.c: Don't include pagecopy.h.
48008         * debug/mempcpy_chk.c: Likewise.
48009         * string/memcpy.c: Likewise.
48010         * string/memmove.c: Likewise.
48011         * sysdeps/powerpc/memmove.c: Likewise.
48012         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
48013         definition of PAGE_COPY_FWD_MAYBE here...
48014         * sysdeps/generic/pagecopy.h: ... from here.
48015         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
48017 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48018             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48020         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
48021         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
48022         optimizations.
48023         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48024         (__libc_ifunc_impl_list): Likewise.
48025         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
48026         multiarch strcat for PPC64.
48027         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
48028         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
48030 2014-07-02  Roland McGrath  <roland@hack.frob.com>
48032         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
48034 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48036         * intl/loadmsgcat.c: Remove declaration of
48037         get_sysdep_segment_value.
48038         (get_sysdep_segment_value): Use ISO C style.
48039         (_nl_load_domain): Use ISO C style.  Get rid of redundant
48040         semicolon.  Fix typo and formatting in comment.
48041         (_nl_unload_domain): Use ISO C style.
48043         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
48045 2014-07-02  Will Newton  <will.newton@linaro.org>
48047         * malloc/obstack.c: Merge from gnulib master.
48048         [HAVE_CONFIG_H]: Remove conditional code.
48049         [!_LIBC]: Include config.h.
48050         [!ELIDE_CODE]: Don't include inttypes.h, include
48051         stdint.h unconditionally.
48052         (print_and_abort): Mark as _Noreturn.
48053         (_obstack_allocated_p): Mark as __attribute_pure__.
48054         (obstack_free): Rename to __obstack_free.
48055         [!__attribute__]: Remove conditional code.
48056         * malloc/obstack.h: Merge from gnulib master.
48057         [__cplusplus]: Move conditional down.
48058         [!__attribute_pure__]: Define __attribute_pure__ here
48059         if it is not already defined.
48060         (_obstack_memory_used): Mark as __attribute_pure__.
48061         [!__obstack_free]: Define as obstack_free.
48062         [__GNUC__]: Remove check for ancient NeXT gcc.
48064 2014-07-02  Will Newton  <will.newton@linaro.org>
48065             Paul Eggert  <eggert@cs.ucla.edu>
48067         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
48069 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48071         * resolv/gethnamaddr.c: Add comment warning that the file is
48072         not maintained.
48074 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
48076         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
48077         entries.
48079         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
48080         entry for aio_cancel and aio_cancel64.
48081         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
48082         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
48083         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
48084         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
48085         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
48086         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
48087         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
48088         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
48089         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
48090         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
48091         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
48092         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
48093         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
48095 2014-07-01  Roland McGrath  <roland@hack.frob.com>
48097         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
48098         * nptl/pthread_mutex_lock.c: Likewise.
48099         * nptl/pthread_mutex_timedlock.c: Likewise.
48100         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
48102 2014-07-01  Richard henderson  <rth@redhat.com>
48104         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
48105         (__isnan, __isnanl): Remove.
48106         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
48108         * sysdeps/alpha/fpu/libm-test-ulps: Update.
48110 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
48112         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48114 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
48116         * resolv/nss_dns/dns-host.c (getanswer_r)
48117         [MULTI_PTRS_ARE_ALIASES]: Remove code.
48119 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
48121         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48122         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
48123         undefine.
48124         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
48125         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
48127 2014-07-01  Roland McGrath <roland@hack.frob.com>
48129         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
48130         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
48132         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
48133         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
48135         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
48136         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
48137         ... here.
48138         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
48139         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
48141         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
48142         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
48143         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
48144         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
48146         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
48147         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
48148         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
48149         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
48150         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
48151         Moved ...
48152         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
48153         ... here.
48154         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
48155         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
48156         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
48157         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
48158         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
48159         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
48160         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
48161         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
48162         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
48163         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
48164         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
48165         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
48166         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
48167         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
48168         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
48169         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
48170         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
48171         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
48172         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
48173         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
48174         ... here.
48175         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
48176         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
48177         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
48178         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
48179         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
48180         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
48181         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
48182         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
48184 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
48186         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
48187         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
48188         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
48189         Add sysdep.
48191 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48195 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
48197         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
48198         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48200         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48202         * sysdeps/arm/libm-test-ulps: Regenerated.
48204 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
48205             Roland McGrath <roland@hack.frob.com>
48207         * test-skeleton.c (signal_handler): Kill the whole process group
48208         before killing the child individually.
48209         (main): Report any failure on `setpgid'.
48211 2014-06-30  Roland McGrath  <roland@hack.frob.com>
48213         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
48214         from _TLS_H to _ARM_NPTL_TLS_H.
48215         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
48216         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
48218 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
48220         [BZ #16539]
48221         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
48222         (__expm1l): Return argument unchanged when small but not
48223         subnormal.
48225         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
48226         include macro name.
48227         (_FP_UNPACK_RAW_1_P): Likewise.
48228         (_FP_PACK_RAW_1): Likewise.
48229         (_FP_PACK_RAW_1_P): Likewise.
48230         (_FP_MUL_MEAT_1_wide): Likewise.
48231         (_FP_MUL_MEAT_DW_1_hard): Likewise.
48232         (_FP_MUL_MEAT_1_hard): Likewise.
48233         (_FP_DIV_MEAT_1_imm): Likewise.
48234         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
48235         (_FP_DIV_MEAT_1_udiv): Likewise.
48236         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
48237         (_FP_UNPACK_RAW_2): Likewise.
48238         (_FP_UNPACK_RAW_2_P): Likewise.
48239         (_FP_PACK_RAW_2): Likewise.
48240         (_FP_PACK_RAW_2_P): Likewise.
48241         (_FP_MUL_MEAT_DW_2_wide): Likewise.
48242         (_FP_MUL_MEAT_2_wide): Likewise.
48243         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
48244         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
48245         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
48246         (_FP_MUL_MEAT_2_gmp): Likewise.
48247         (_FP_DIV_MEAT_2_udiv): Likewise.
48248         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
48249         (_FP_FRAC_SRL_4): Likewise.
48250         (_FP_FRAC_SRST_4): Likewise.
48251         (_FP_FRAC_SRS_4): Likewise.
48252         (_FP_UNPACK_RAW_4): Likewise.
48253         (_FP_UNPACK_RAW_4_P): Likewise.
48254         (_FP_PACK_RAW_4): Likewise.
48255         (_FP_PACK_RAW_4_P): Likewise.
48256         (_FP_MUL_MEAT_DW_4_wide): Likewise.
48257         (_FP_MUL_MEAT_4_wide): Likewise.
48258         (_FP_MUL_MEAT_4_gmp): Likewise.
48259         (umul_ppppmnnn): Likewise.
48260         (_FP_DIV_MEAT_4_udiv): Likewise.
48261         (__FP_FRAC_ADD_4): Likewise.
48262         (__FP_FRAC_SUB_3): Likewise.
48263         (__FP_FRAC_SUB_4): Likewise.
48264         (__FP_FRAC_DEC_3): Likewise.
48265         (__FP_FRAC_DEC_4): Likewise.
48266         (__FP_FRAC_ADDI_4): Likewise.
48267         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
48268         (_FP_FRAC_SRL_8): Likewise.
48269         (_FP_FRAC_SRS_8): Likewise.
48271         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
48272         include macro name.
48273         (FP_UNPACK_RAW_EP): Likewise.
48274         (FP_PACK_RAW_E): Likewise.
48275         (FP_PACK_RAW_EP): Likewise.
48276         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
48277         (_FP_ISSIGNAN): Likewise.
48278         (_FP_ADD_INTERNAL): Likewise.
48279         (_FP_FMA): Likewise.
48280         (_FP_CMP): Likewise.
48281         (_FP_SQRT): Likewise.
48282         (_FP_TO_INT): Likewise.
48283         (_FP_FROM_INT): Likewise.
48284         (FP_EXTEND): Likewise.
48285         (_FP_DIV_MEAT_N_loop): Likewise.
48287 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
48289         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
48290         throughout.
48292 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
48294         [BZ #17097]
48295         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
48296         result with correct sign in case of exponents that produce
48297         overflow except for X very close to 1.
48299 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
48301         mktime: merge #if/#ifdef usage from glibc
48302         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
48303         as that works with both Glibc's and Gnulib's style.
48304         See thread starting at Siddhesh Poyarekar's bug report at:
48305         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
48307 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48309         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
48310         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
48311         * sysdeps/tile/tilegx/memmove.c: Remove file.
48313 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
48315         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
48316         abi-name definition.
48317         * scripts/soversions.awk: Do not handle or generate ABI lines.
48318         * shlib-versions: Remove ABI entries.
48319         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
48320         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
48322 2014-06-27  Roland McGrath  <roland@hack.frob.com>
48324         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
48325         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
48326         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
48327         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
48328         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
48329         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
48330         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
48331         Moved ...
48332         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
48333         ... here.
48334         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
48335         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
48336         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
48337         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
48338         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
48339         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
48340         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
48341         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
48342         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
48343         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
48344         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
48345         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
48346         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
48347         Moved ...
48348         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
48349         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
48350         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
48351         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
48352         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
48353         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
48354         Moved ...
48355         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
48356         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
48357         Moved ...
48358         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
48359         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
48360         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
48361         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
48362         Moved ...
48363         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
48364         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
48365         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
48366         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
48367         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
48368         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
48369         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
48370         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
48371         Moved ...
48372         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
48373         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
48374         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
48375         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
48376         Moved ...
48377         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
48378         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
48379         Moved ...
48380         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
48381         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
48382         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
48383         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
48384         Moved ...
48385         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
48386         ... here.
48387         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
48388         Identical file removed.
48389         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
48390         Moved ...
48391         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
48392         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
48393         Identical file removed.
48394         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
48395         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
48396         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
48397         Moved ...
48398         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
48399         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
48400         Identical file removed.
48401         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
48402         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
48403         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
48404         Identical file removed.
48405         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
48406         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
48407         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
48408         Identical file removed.
48409         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
48410         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
48411         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
48412         Identical file removed.
48413         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
48414         Moved ...
48415         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
48416         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
48417         Identical file removed.
48418         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
48419         Moved ...
48420         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
48421         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
48422         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
48423         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
48424         Identical file removed.
48425         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
48426         Moved ...
48427         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
48428         ... here.
48429         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
48430         Identical file removed.
48431         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
48432         Moved ...
48433         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
48434         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
48435         Identical file removed.
48436         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
48437         Moved ...
48438         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
48439         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
48440         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
48441         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
48442         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
48443         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
48444         Moved ...
48445         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
48446         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
48447         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
48449         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
48450         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
48451         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
48452         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
48453         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
48455 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
48457         [BZ #17092]
48458         * nscd/nscd.c (monitor_child): Return exit status of child
48459         instead of return value from wait syscall.
48461 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
48463         * configure.ac (libc_commonpagesize): Remove variable.
48464         (libc_relro_required): Likewise.
48465         (libc_cv_z_relro): Remove configure test.
48466         * configure: Regenerated.
48467         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
48468         variable.
48469         (libc_relro_required): Likewise.
48470         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
48471         (libc_relro_required): Likewise.
48472         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
48473         (libc_relro_required): Likewise.
48474         * sysdeps/arm/preconfigure: Regenerated.
48475         * sysdeps/ia64/preconfigure: Remove file.
48476         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
48477         variable.
48478         (libc_relro_required): Likewise.
48480         [BZ #16561]
48481         [BZ #16562]
48482         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
48483         (__ieee754_yn): Set FE_TONEAREST mode internally and then
48484         recompute overflowing results in original rounding mode.
48485         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
48486         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
48487         recompute overflowing results in original rounding mode.
48488         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
48489         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48490         recompute overflowing results in original rounding mode.
48491         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
48492         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48493         recompute overflowing results in original rounding mode.
48494         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
48495         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48496         recompute overflowing results in original rounding mode.
48497         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
48498         (libc_feholdsetround_ctx): New macro.
48499         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
48500         * sysdeps/i386/fpu/libm-test-ulps: Update.
48501         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
48503 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48505         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
48506         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
48507         corresponding .cpsetup call.
48509 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48511         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
48512         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
48513         * sysdeps/arm/Makefile [$(subdir) = csu]
48514         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
48515         (static-only-routines): Add aeabi_read_tp here.
48516         (shared-only-routines): Add libc-aeabi_read_tp here.
48517         (CFLAGS-libc-start.c): Add -fexceptions here.
48518         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
48519         (sysdep_routines, static-only-routines, shared-only-routines):
48520         Don't add to these here.
48521         (CFLAGS-libc-start.c): Likewise.
48523         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
48524         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48525         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
48526         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48527         * sysdeps/arm/Makefile [$(subdir) = rt]
48528         (librt-sysdep_routines, librt-shared-only-routines):
48529         Append rt-aeabi_unwind_cpp_pr1 here.
48530         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
48531         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
48532         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
48533         (libpthread-sysdep_routines, libpthread-shared-only-routines):
48534         Append nptl-aeabi_unwind_cpp_pr1 here.
48535         (tests): Filter out tst-cleanupx4 here.
48536         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
48537         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
48538         Don't do those here.
48540 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48542         * scripts/list-sources.sh: Do not handle ports specially.
48544 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48546         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
48547         * sysdeps/arm/feupdateenv.c: Likewise.
48549         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
48551 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48553         * manual/texinfo.tex: Update to version 2014-05-05.10 with
48554         trailing whitespace removed.
48555         * scripts/config.guess: Update to version 2014-03-23.
48556         * scripts/config.sub: Update to version 2014-05-01
48557         * scripts/install-sh: Update to version 2013-12-25.23.
48558         * scripts/move-if-change: Update from gnulib.
48560 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48562         * debug/memmove_chk.c: Remove pagecopy.h include.
48564 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
48566         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
48567         identical to gnulib mktime.
48569 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48571         * configure.ac: Do not test for machine being rs6000.  Do not test
48572         for powerpc*-*soft.
48573         * configure: Regenerated.
48575         [BZ #11505]
48576         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
48577         test.
48578         * configure: Regenerated.
48579         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
48580         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
48581         Remove configure test.
48582         * sysdeps/arm/configure: Regenerated.
48583         * sysdeps/nptl/configure.ac: Do not check
48584         libc_cv_asm_cfi_directives.
48585         * sysdeps/nptl/configure: Regenerated.
48586         * sysdeps/x86_64/nptl/configure.ac: Remove file.
48587         * sysdeps/x86_64/nptl/configure: Remove generated file.
48588         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
48589         unconditional.
48590         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
48592 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48594         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
48595         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
48596         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
48597         it is defined.
48599         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
48600         instead of whether it is defined.
48601         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
48602         * sysdeps/hppa/dl-machine.h: Likewise.
48603         * sysdeps/ia64/dl-machine.h: Likewise.
48604         * sysdeps/m68k/dl-machine.h: Likewise.
48605         * sysdeps/microblaze/dl-machine.h: Likewise.
48606         * sysdeps/mips/dl-machine.: Likewise.
48607         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48608         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48609         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48610         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48611         * sysdeps/sh/dl-machine.h: Likewise.
48612         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48613         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48614         * sysdeps/tile/dl-machine.h: Likewise.
48615         * sysdeps/x86_64/dl-machine.h: Likewise.
48617         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
48618         code.
48619         (verify_persistent_db): Likewise.
48621 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
48624         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
48625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
48626         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
48627         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48628         Moved ...
48629         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
48630         ... here.
48631         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
48632         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
48633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
48634         Identical file removed.
48635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
48636         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
48637         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
48638         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
48639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
48640         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
48641         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
48642         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
48643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
48644         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
48645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48646         Moved ...
48647         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
48648         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
48649         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
48650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
48651         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
48652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48653         Moved ...
48654         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
48655         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
48656         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
48657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
48658         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
48659         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48660         Identical file removed.
48661         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
48662         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
48663         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
48664         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
48665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48666         Moved ...
48667         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
48668         ... here.
48669         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
48670         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
48671         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
48672         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
48673         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
48674         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
48675         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
48676         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
48677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
48678         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
48679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48680         Moved ...
48681         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
48682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
48683         Moved ...
48684         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
48685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
48686         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
48687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48688         Moved ...
48689         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
48690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
48691         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
48693         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
48694         folded into ...
48695         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
48696         * sysdeps/unix/sysv/linux/s390/Versions
48697         (libpthread: GLIBC_2.19): New version set.
48698         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
48699         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
48700         (librt: GLIBC_2.3.3): New version set.
48701         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
48702         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
48703         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
48704         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
48705         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
48706         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
48707         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
48708         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
48709         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
48710         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
48711         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
48712         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
48713         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
48714         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
48715         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
48716         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
48717         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
48718         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
48719         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
48720         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
48721         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
48722         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
48723         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
48724         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
48725         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
48726         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
48727         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
48728         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
48729         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
48730         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
48731         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
48732         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
48733         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
48734         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
48735         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
48736         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
48737         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
48738         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
48739         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
48740         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
48741         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
48742         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
48743         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
48744         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
48745         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
48747         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
48748         * sysdeps/unix/sysv/linux/s390/s390-32/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         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
48753         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
48754         (__libc_vfork): Define the function under this name.
48755         [!NOT_IN_libc] (__vfork): Make this an alias.
48756         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48757         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
48758         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
48759         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
48760         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
48761         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48763         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
48764         code that was previously under [RESET_PID].
48765         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
48766         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
48767         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
48769         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
48770         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
48771         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
48772         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
48773         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
48774         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
48775         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
48776         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
48777         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
48778         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
48779         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
48780         Moved ...
48781         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
48782         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
48783         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
48784         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
48785         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
48786         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
48787         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
48788         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
48789         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
48790         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
48791         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48792         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
48793         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
48794         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
48795         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
48796         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
48797         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
48798         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
48799         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
48800         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
48801         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
48802         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
48803         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
48804         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
48805         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
48806         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
48807         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
48808         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
48809         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
48811 2014-06-25  Roland McGrath  <roland@hack.frob.com>
48813         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
48814         that was previously under [RESET_PID].
48815         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
48817 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
48819         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
48820         not undefine and redefine.
48821         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
48822         [O_CLOEXEC]: Make code unconditional.
48823         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
48824         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
48825         <kernel-features.h>.
48826         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
48827         conditional variable definition.
48828         (shm_open) [O_CLOEXEC]: Make code unconditional.
48829         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
48830         code.
48832         * configure.ac (USE_REGPARMS): Don't define here.
48833         * configure: Regenerated.
48834         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
48835         * sysdeps/i386/configure: Regenerated.
48837         * nptl/createthread.c: Don't include kernel-features.h.
48838         * nptl/pthread_cancel.c: Likewise.
48839         * nptl/pthread_condattr_setclock.c: Likewise.
48840         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
48841         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
48842         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
48843         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
48844         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
48845         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
48846         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
48847         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
48848         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
48849         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
48850         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
48851         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
48852         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
48853         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
48854         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
48855         * nscd/gai.c: Likewise.
48856         * nss/nss_db/db-open.c: Likewise.
48857         * sysdeps/generic/ldsodefs.h: Likewise.
48858         * sysdeps/sh/nptl/tls.h: Likewise.
48859         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
48860         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
48861         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
48862         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
48863         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
48864         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
48865         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
48866         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48867         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48868         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
48869         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
48870         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48871         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
48872         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
48873         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
48874         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
48875         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
48876         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
48877         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
48878         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
48879         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
48880         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
48881         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
48882         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
48883         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
48884         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
48885         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
48886         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
48887         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
48888         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
48889         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
48890         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
48891         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
48892         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48893         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48894         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
48895         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48896         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
48897         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
48898         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
48899         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48900         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
48901         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
48902         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48903         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
48904         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
48905         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
48906         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
48907         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
48908         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
48909         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
48910         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
48911         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
48912         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
48913         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
48914         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48915         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
48916         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
48917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
48919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
48920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
48921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
48922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
48923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
48924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
48925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
48928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
48929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
48930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
48931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
48937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
48938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
48939         * sysdeps/unix/sysv/linux/pread.c: Likewise.
48940         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
48941         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
48942         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
48943         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
48944         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
48945         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
48946         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
48947         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
48948         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
48949         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
48950         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
48951         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
48952         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
48953         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
48954         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
48955         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48956         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
48957         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
48958         * sysdeps/unix/sysv/linux/system.c: Likewise.
48959         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
48960         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
48961         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48962         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48963         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
48964         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
48965         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48967         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
48968         * configure: Regenerated.
48969         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
48971         * configure.ac (base_machine): Do not set specially for particular
48972         machines here.
48973         * configure: Regenerated.
48974         * sysdeps/powerpc/preconfigure: Move machine and base_machine
48975         settings from configure.ac.
48976         * sysdeps/i386/preconfigure: New file.
48977         * sysdeps/s390/preconfigure: Likewise.
48978         * sysdeps/sh/preconfigure: Likewise.
48979         * sysdeps/sparc/preconfigure: Likewise.
48981 2014-06-25  Roland McGrath  <roland@hack.frob.com>
48983         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
48984         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
48985         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
48986         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
48987         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
48988         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
48989         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
48990         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
48991         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
48992         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
48993         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
48994         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
48995         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
48996         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
48997         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
48998         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
48999         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
49000         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
49001         * sysdeps/sparc/sparc64/Makefile: ... appended here.
49003         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
49004         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
49005         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
49006         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
49007         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
49008         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
49009         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
49010         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
49011         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
49012         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
49013         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
49014         * sysdeps/sparc/sparc32/sem_post.c: ... here.
49015         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
49016         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
49017         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
49018         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
49019         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
49020         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
49021         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
49022         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
49023         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
49024         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
49025         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
49026         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
49027         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
49028         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
49029         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
49030         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
49031         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
49032         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
49033         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
49034         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
49035         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
49036         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
49037         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
49038         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
49039         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
49040         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
49042         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
49043         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
49044         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
49045         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
49046         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49047         Moved ...
49048         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
49049         ... here.
49050         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
49051         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
49052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
49053         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
49054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
49055         Moved ...
49056         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
49057         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
49058         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
49059         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
49060         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
49061         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
49062         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
49063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49064         Moved ...
49065         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
49066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49067         Moved ...
49068         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
49069         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
49070         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
49071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49072         Moved ...
49073         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
49074         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
49075         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
49076         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
49077         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
49078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
49079         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
49080         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
49081         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
49082         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49083         Moved ...
49084         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
49085         ... here.
49086         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
49087         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
49088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
49089         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
49090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
49091         Moved ...
49092         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
49093         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
49094         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
49095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
49096         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
49097         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
49098         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
49099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49100         Moved ...
49101         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
49102         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49103         Moved ...
49104         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
49105         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
49106         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
49107         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49108         Moved ...
49109         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
49110         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
49111         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
49112         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
49113         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
49115 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
49117         * timezone/checktab.awk: Update from tzcode 2014e.
49118         * timezone/private.h: Likewise.
49119         * timezone/tzfile.h: Likewise.
49120         * timezone/zdump.c: Likewise.
49121         * timezone/zic.c: Likewise.
49123         * sysdeps/unix/sysv/linux/kernel-features.h
49124         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
49125         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
49126         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
49127         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49128         Remove conditional code.
49130 2014-06-25  Will Newton  <will.newton@linaro.org>
49132         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
49133         (_dl_arm_cap_flags): Add HWCAP2 values.
49134         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
49135         (_DL_HWCAP_COUNT): Increase to 37.
49136         (_DL_HWCAP_LAST): New define.
49137         (_DL_HWCAP2_LAST): New define.
49138         (_dl_procinfo): Add support for printing
49139         AT_HWCAP2 entries.
49140         (_dl_string_hwcap): Use _dl_hwcap_string.
49142 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49146 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
49148         * README: Do not mention ports directory.
49150         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
49151         Remove macro.
49152         * sysdeps/unix/sysv/linux/futimes.c: Do not include
49153         <kernel-features.h>.
49154         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
49155         conditional variable definition.
49156         (__futimes): Update comment.
49157         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
49158         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
49160         [BZ #16560]
49161         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
49162         arguments close to 0.
49163         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
49164         Likewise.
49165         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
49166         Likewise.
49167         * math/auto-libm-test-in: Add more tests of exp10.
49168         * math/auto-libm-test-out: Regenerated.
49169         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49171         * sysdeps/unix/sysv/linux/kernel-features.h
49172         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
49173         * sysdeps/unix/sysv/linux/readv.c: Do not include
49174         <kernel-features.h>.
49175         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49176         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49177         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49178         unconditional.
49179         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49180         conditional code.
49181         * sysdeps/unix/sysv/linux/writev.c: Do not include
49182         <kernel-features.h>.
49183         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49184         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49185         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49186         unconditional.
49187         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49188         conditional code.
49190 2014-06-25  Will Newton  <will.newton@linaro.org>
49192         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
49193         comment changes throughout the file.  Remove checks
49194         for HAVE_*_H definitions that are not required.
49195         (__gen_tempname): Call abort if an unknown kind value is
49196         passed.
49198 2014-06-25  Andreas Schwab  <schwab@suse.de>
49200         [BZ #17086]
49201         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
49202         scalbln, scalblnf, scalblnl in libc.
49204 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49206         [BZ #17086]
49207         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
49208         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49209         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49211 2014-06-24  Roland McGrath  <roland@hack.frob.com>
49213         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
49214         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
49215         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
49216         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
49217         Update #include.
49218         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
49219         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
49220         Update #include.
49221         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
49222         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
49223         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
49224         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
49225         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
49226         * sysdeps/x86/bits/pthreadtypes.h: ... here.
49227         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
49228         * sysdeps/x86/bits/semaphore.h: ... here.
49229         * sysdeps/x86/nptl/elide.h: Moved ...
49230         * sysdeps/x86/elide.h: ... here.
49231         * sysdeps/x86_64/nptl/Implies: File removed.
49232         * sysdeps/i386/nptl/Implies: File removed.
49234 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
49236         [BZ #16539]
49237         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
49238         return the argument for normal arguments with exponent below -64.
49239         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
49240         Likewise.
49241         * math/auto-libm-test-in: Add another test of expm1.
49242         * math/auto-libm-test-out: Regenerated.
49244         [BZ #16287]
49245         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
49246         calling __erfcl for arguments at least 16.
49247         * math/auto-libm-test-in: Add more tests of erf.
49248         * math/auto-libm-test-out: Regenerated.
49250         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
49251         individual architectures.
49252         * sysdeps/unix/sysv/linux/configure: Regenerated.
49253         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
49254         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
49255         * sysdeps/unix/sysv/linux/powerpc/configure.ac
49256         (ldd_rewrite_script): Define variable.
49257         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
49258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
49259         file.
49260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
49261         generated file.
49262         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
49263         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
49264         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
49265         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
49266         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
49267         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
49268         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
49269         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
49271 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49273         [BZ #17084]
49274         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
49275         Rename member __data.d to __data.__elision_data.
49277 2014-06-24  Wilco  <wdijkstr@arm.com>
49279         * NEWS: Add 16918 to fixed bug list.
49281 2014-06-24  Wilco  <wdijkstr@arm.com>
49283         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
49285 2014-06-24  Wilco  <wdijkstr@arm.com>
49287         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
49288         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
49289         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
49290         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
49291         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
49292         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
49293         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
49294         Use _FPU_MASK_RM.
49296 2014-06-24  Wilco  <wdijkstr@arm.com>
49298         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
49300 2014-06-24  Wilco  <wdijkstr@arm.com>
49302         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
49303         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
49304         * sysdeps/arm/fesetround.c (fesetround): Remove space.
49305         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
49307 2014-06-24  Wilco  <wdijkstr@arm.com>
49309         [BZ #16918]
49310         * sysdeps/arm/feupdateenv.c (feupdateenv):
49311         Rewrite to reduce FPSCR accesses and fix return value.
49313 2014-06-24  Wilco  <wdijkstr@arm.com>
49315         * sysdeps/arm/fclrexcpt.c (feclearexcept):
49316         Optimize to avoid unnecessary FPSCR writes.
49317         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
49318         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
49319         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
49320         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
49322 2014-06-24  Wilco  <wdijkstr@arm.com>
49324         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
49325         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
49326         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
49327         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
49328         Call libc_fetestexcept_vfp.
49329         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
49330         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
49331         __SOFTFP__ ifdef so that they can be built for softfp.
49333 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49335         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
49336         argument type signed char.
49338         * Makerules (check-abi): Dump diff of symlist if the test
49339         fails.
49341 2014-06-23  Roland McGrath  <roland@hack.frob.com>
49343         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
49344         using abort.
49346         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49347         Remove unused variable ST.
49349 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
49351         [BZ #16354]
49352         [BZ #17061]
49353         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
49354         small arguments before calling __expm1.
49355         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
49356         small arguments before calling __expm1f.
49357         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
49358         small arguments before calling __expm1l.
49359         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49360         Likewise.
49361         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
49362         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
49363         spurious underflow for some cosh tests.
49364         * math/auto-libm-test-out: Regenerated.
49365         * sysdeps/i386/fpu/libm-test-ulps: Update.
49367         [BZ #17050]
49368         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
49369         (__ieee754_y1): Set errno if return value overflows.
49370         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
49371         (__ieee754_y1f): Set errno if return value overflows.
49372         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
49373         (__ieee754_y1l): Set errno if return value overflows.
49374         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
49375         (__ieee754_y1l): Set errno if return value overflows.
49376         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
49377         * math/auto-libm-test-out: Regenerated.
49379         * math/gen-auto-libm-tests.c: Document use of
49380         ignore-zero-inf-sign.
49381         (input_flag_type): Add value flag_ignore_zero_inf_sign.
49382         (input_flags): Add ignore-zero-inf-sign.
49383         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
49384         * math/gen-libm-test.pl (generate_testfile): Handle
49385         ignore-zero-inf-sign.
49386         * math/auto-libm-test-in: Mark some cpow tests with
49387         ignore-zero-inf-sign and some with xfail-rounding.
49388         * math/auto-libm-test-out: Regenerated.
49389         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
49390         * sysdeps/i386/fpu/libm-test-ulps: Update.
49391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49393         [BZ #16315]
49394         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
49395         overflowing or underflowing operations take place with sign of
49396         result.
49397         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49398         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
49399         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
49400         (__ieee754_pow): Recompute overflowing and underflowing results in
49401         original rounding mode.
49402         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
49403         (__powl_helper): Allow negative argument X and scale negated value
49404         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
49405         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
49406         overflowing or underflowing operations take place with sign of
49407         result.
49408         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
49409         Include <math.h>.
49410         * math/auto-libm-test-in: Add more tests of pow.
49411         * math/auto-libm-test-out: Regenerated.
49412         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
49413         (pow_tonearest_test_data): Remove.
49414         (pow_test_tonearest): Likewise.
49415         (pow_towardzero_test_data): Likewise.
49416         (pow_test_towardzero): Likewise.
49417         (pow_downward_test_data): Likewise.
49418         (pow_test_downward): Likewise.
49419         (pow_upward_test_data): Likewise.
49420         (pow_test_upward): Likewise.
49421         (main): Don't call removed functions.
49422         * sysdeps/i386/fpu/libm-test-ulps: Update.
49423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49425 2014-06-23  Roland McGrath  <roland@hack.frob.com>
49427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
49428         Moved ...
49429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
49430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49431         Moved ...
49432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
49433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49434         Moved ...
49435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
49436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49437         Moved ...
49438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
49439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49440         File removed.
49441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49442         File removed.
49443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
49444         File removed.
49445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
49446         File removed.
49447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
49448         File removed.
49449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
49450         File removed.
49451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
49452         File removed.
49453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49454         File removed.
49455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
49456         File removed.
49457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49458         File removed.
49459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
49460         File removed.
49461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
49462         File removed.
49463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
49464         Moved ...
49465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
49466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
49467         Moved ...
49468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
49469         ... here.
49470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
49471         Moved ...
49472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
49473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
49474         Moved ...
49475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
49476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
49477         Moved ...
49478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
49479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
49480         Moved ...
49481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
49482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
49483         Moved ...
49484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
49485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
49486         Moved ...
49487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
49488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
49489         Moved ...
49490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
49491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
49492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
49493         ... here.
49494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
49495         Moved ...
49496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
49497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49498         Moved ...
49499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
49500         ... here.
49501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
49502         Moved ...
49503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
49504         ... here.
49505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49506         Moved ...
49507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
49508         ... here.
49509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49510         Moved ...
49511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
49512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49513         Moved ...
49514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
49515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
49516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
49517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49518         Moved ...
49519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
49520         ... here.
49521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49522         Moved ...
49523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
49524         ... here.
49525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49526         Moved ...
49527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
49528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49529         Moved ...
49530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
49531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49532         Moved ...
49533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
49534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49535         Moved ...
49536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
49537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49538         Moved ...
49539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
49540         ... here.
49541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49542         Moved ...
49543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
49544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49545         Moved ...
49546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
49547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49548         Moved ...
49549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
49550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49551         Moved ...
49552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
49553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
49554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
49555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49556         Moved ...
49557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
49558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49559         Moved ...
49560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
49561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49562         Moved ...
49563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
49564         ... here.
49565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49566         Moved ...
49567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
49568         ... here.
49569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49570         Moved ...
49571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
49572         ... here.
49573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49574         Moved ...
49575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
49576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49577         Moved ...
49578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
49579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49580         Moved ...
49581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
49582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49583         Moved ...
49584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
49585         ... here.
49586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49587         Moved ...
49588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
49589         ... here.
49590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49591         Moved ...
49592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
49593         ... here.
49594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49595         Moved ...
49596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
49597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49598         Moved ...
49599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
49601 2014-06-23  Will Newton  <will.newton@linaro.org>
49602             Wilco  <wdijkstr@arm.com>
49604         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
49605         implementation.  Include get-rounding-mode.h.
49606         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
49607         [!libc_feholdsetround_noex_ctx]: Define
49608         libc_feholdsetround_noex_ctx.
49609         [!libc_feholdsetround_noexf_ctx]: Define
49610         libc_feholdsetround_noexf_ctx.
49611         [!libc_feholdsetround_noexl_ctx]: Define
49612         libc_feholdsetround_noexl_ctx.
49613         (libc_feholdsetround_ctx): New function.
49614         (libc_feresetround_ctx): New function.
49615         (libc_feholdsetround_noex_ctx): New function.
49616         (libc_feresetround_noex_ctx): New function.
49618 2014-06-23  Roland McGrath  <roland@hack.frob.com>
49620         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
49621         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
49622         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
49623         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
49624         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
49625         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
49627         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
49628         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
49629         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
49630         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
49631         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
49632         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
49633         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
49634         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
49635         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
49636         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
49637         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
49638         Moved ...
49639         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
49640         ... here.
49641         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
49642         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
49643         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
49644         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
49645         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
49646         Moved ...
49647         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
49648         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
49649         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
49650         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
49651         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
49652         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
49653         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
49654         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
49655         Moved ...
49656         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
49657         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
49658         Moved ...
49659         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
49660         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
49661         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
49662         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
49663         Moved ...
49664         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
49665         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
49666         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
49667         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
49668         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
49669         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
49670         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
49671         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
49672         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
49673         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
49674         Moved ...
49675         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
49676         ... here.
49677         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
49678         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
49679         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
49680         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
49681         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
49682         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
49683         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
49684         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
49685         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
49686         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
49687         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
49688         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
49689         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
49690         Moved ...
49691         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
49692         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
49693         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
49694         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
49695         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
49696         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
49697         Moved ...
49698         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
49699         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
49700         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
49701         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
49702         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
49704         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
49705         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
49706         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
49707         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
49708         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
49709         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
49710         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
49711         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
49712         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
49713         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
49714         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
49715         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
49716         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
49717         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
49718         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
49719         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
49720         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
49721         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
49722         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
49723         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
49724         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
49725         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
49726         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
49727         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
49728         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
49729         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
49730         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
49731         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
49733 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
49735         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
49736         (FALLOC_FL_COLLAPSE_RANGE): New macro.
49737         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
49738         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
49739         (IPV6_PMTUDISC_INTERFACE): Likewise.
49740         (IPV6_PMTUDISC_OMIT): Likewise.
49742 2014-06-23  Andreas Schwab  <schwab@suse.de>
49744         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
49745         Remove unused errout label.
49747 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49749         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
49750         macro: hardware supports Vector Crypto instructions.
49752 2014-06-23  Will Newton  <will.newton@linaro.org>
49754         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
49755         rather than __builtin_expect.
49757         * elf/dl-lookup.c (undefined_msg): Remove variable.
49758         (_dl_lookup_symbol_x): Replace undefined_msg with string
49759         literal.
49761         * elf/dl-lookup.c (do_lookup_unique): New function.
49762         (do_lookup_x): Move STB_GNU_UNIQUE handling code
49763         to a separate function.
49765 2014-06-23  Andreas Schwab  <schwab@suse.de>
49767         [BZ #17079]
49768         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
49769         before reading the next line.
49771 2014-06-23  Will Newton  <will.newton@linaro.org>
49773         * test-skeleton.c (signal_handler): Use printf and %m
49774         rather than perror.  Use printf rather than fprintf to
49775         stderr.  Use puts rather than fputs to stderr.
49776         (main): Likewise.
49778 2014-06-22  Ludovic CourtĂšs  <ludo@gnu.org>
49780         * nscd/nscd.c (thread_info_t): Remove typedef.
49781         (thread_info): Remove variable.
49783 2014-06-21  Allan McRae  <allan@archlinux.org>
49785         * NEWS: Mention CVE-2014-4043.
49787 2014-06-20  Roland McGrath  <roland@hack.frob.com>
49789         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49790         * nptl/smp.h: ... here.
49792         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
49794         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49795         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
49796         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
49797         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
49799         * nptl/allocatestack.c: Include <stack-aliasing.h>.
49800         * nptl/stack-aliasing.h: New file.
49801         * sysdeps/i386/i686/stack-aliasing.h: New file.
49802         * sysdeps/i386/i686/nptl/Makefile: File removed.
49803         * sysdeps/x86_64/stack-aliasing.h: New file.
49804         * sysdeps/x86_64/nptl/Makefile
49805         (CFLAGS-pthread_create.c): Variable removed.
49807         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
49808         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
49809         old file.
49810         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
49811         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
49812         old file.
49814 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
49816         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49817         (__ASSUME_SIGFRAME_V2): Remove macro.
49818         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
49819         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
49820         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
49821         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
49822         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
49823         Declare as function.  Remove conditional macro definitions.
49824         (__default_rt_sa_restorer): Likewise.
49825         (__default_sa_restorer_v1): Remove declaration.
49826         (__default_sa_restorer_v2): Likewise.
49827         (__default_rt_sa_restorer_v1): Likewise.
49828         (__default_rt_sa_restorer_v2): Likewise.
49829         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
49830         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
49831         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
49833 2014-06-20  Roland McGrath  <roland@hack.frob.com>
49835         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
49836         (libpthread-routines): Add sysdep.
49837         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
49838         * sysdeps/unix/sysv/linux/sparc/Versions
49839         (libpthread: GLIBC_2.3.3): New version set.
49840         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
49841         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
49842         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
49843         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
49844         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
49845         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
49846         Moved ...
49847         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
49848         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
49849         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
49850         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
49851         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
49852         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
49853         * sysdeps/sparc/nptl/sem_init.c: ... here.
49854         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
49855         * sysdeps/sparc/nptl/sem_post.c: ... here.
49856         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
49857         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
49858         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
49859         * sysdeps/sparc/nptl/sem_wait.c: ... here.
49860         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
49861         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
49862         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
49863         (libpthread-routines): Add cpu_relax.
49864         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
49865         File removed.
49866         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
49867         (librt: GLIBC_2.3.3): New version set.
49868         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
49869         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
49870         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
49871         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
49872         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
49873         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
49874         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
49875         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
49876         Moved ...
49877         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
49878         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
49879         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
49880         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
49881         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
49882         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
49883         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
49884         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
49885         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
49886         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
49887         Moved ...
49888         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
49889         Update #include.
49890         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
49891         Moved ...
49892         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
49893         Update #include.
49894         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
49895         Moved ...
49896         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
49897         Update #include.
49898         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
49899         Moved ...
49900         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
49901         Update #include.
49902         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
49903         Moved ...
49904         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
49905         Update #include.
49906         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
49907         Moved ...
49908         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
49909         Update #include.
49910         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
49911         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
49912         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
49913         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
49914         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
49915         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
49916         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
49917         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
49918         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
49919         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
49920         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49921         Moved ...
49922         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
49923         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
49924         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
49925         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
49926         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
49928 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
49930         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
49931         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
49932         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
49933         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
49934         * nscd/nscd.c: Likewise.
49935         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
49936         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
49937         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
49938         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
49940         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
49941         <kernel-features.h>.
49942         (init_mq_netlink): Remove conditional have_sock_cloexec
49943         definitions.  Remove code conditional on have_sock_cloexec < 0.
49944         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
49945         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
49946         * sysdeps/unix/sysv/linux/opensock.c: Do not include
49947         <kernel-features.h>.
49948         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
49949         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
49951 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
49953         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49954         Add tests for memset_chk and memset.
49956         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
49957         with AVX2_Usable.
49959 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
49961         [BZ #16046]
49962         * elf/tst-dl-iter-static.c: New file.
49963         * elf/Makefile (tests-static): Add tst-dl-iter-static.
49965         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
49966         error.
49968 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
49970         * sysdeps/unix/sysv/linux/kernel-features.h
49971         (__ASSUME_F_GETOWN_EX): Remove macro.
49972         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
49973         <kernel-features.h>.
49974         (miss_F_GETOWN_EX): Remove variable or macro.
49975         (do_fcntl): Do not check miss_F_GETOWN_EX.
49976         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
49978         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
49979         Remove macro.
49980         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
49981         [!__ASSUME_AT_RANDOM]: Remove conditional code.
49982         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
49984         * sysdeps/unix/sysv/linux/kernel-features.h
49985         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
49986         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
49987         [ADJ_OFFSET_SS_READ]: Make code unconditional.
49988         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
49990 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
49992         [BZ #17075]
49993         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
49994         Fix calculation of the symbol's value.
49995         * sysdeps/arm/tst-armtlsdescloc.c: New file.
49996         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
49997         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
49998         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
49999         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
50000         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
50001         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
50002         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
50003         (modules-names): Add `tst-armtlsdescmod',
50004         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
50005         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
50006         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
50007         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
50008         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
50009         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
50010         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
50011         ($(objpfx)tst-armtlsdescloc): New dependency.
50012         ($(objpfx)tst-armtlsdescextnow): Likewise.
50013         ($(objpfx)tst-armtlsdescextlazy): Likewise.
50014         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
50015         TLS scheme support.
50016         * sysdeps/arm/configure: Regenerate.
50018 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
50020         * include/fcntl.h (__atfct_seterrno): Remove prototype.
50021         (__atfct_seterrno_2): Likewise.
50022         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
50023         <kernel-features.h>.
50024         (__ASSUME_ATFCTS): Do not undefine and redefine.
50025         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
50026         (__have_atfcts): Remove conditional definition.
50027         (__fxstatat([__NR_fstatat64]: Make code unconditional.
50028         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
50029         unreachable if [__ASSUME_ATFCTS].
50030         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
50031         not undefine and redefine.
50032         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
50033         <kernel-features.h>.
50034         (faccessat) [__NR_faccessat]: Make code unconditional.
50035         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
50036         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
50037         <kernel-features.h>.
50038         (fchmodat) [__NR_fchmodat]: Make code unconditional.
50039         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
50040         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
50041         <kernel-features.h>.
50042         (fchownat) [__NR_fchownat]: Make code unconditional.
50043         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
50044         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
50045         <kernel-features.h>.
50046         (futimesat) [__NR_futimesat]: Make code unconditional.
50047         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
50048         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
50049         <kernel-features.h>.
50050         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
50051         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50052         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
50053         <kernel-features.h>.
50054         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
50055         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
50056         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
50057         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
50058         <kernel-features.h>.
50059         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
50060         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50061         * sysdeps/unix/sysv/linux/linkat.c: Do not include
50062         <kernel-features.h>.
50063         (linkat) [__NR_linkat]: Make code unconditional.
50064         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50065         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
50066         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
50067         <kernel-features.h>.
50068         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
50069         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
50070         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
50071         <kernel-features.h>.
50072         (mkdirat) [__NR_mkdirat]: Make code unconditional.
50073         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
50074         * sysdeps/unix/sysv/linux/openat.c: Do not include
50075         <kernel-features.h>.
50076         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
50077         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
50078         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
50079         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
50080         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
50081         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
50082         <kernel-features.h>.
50083         (readlinkat) [__NR_readlinkat]: Make code unconditional.
50084         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
50085         result of INLINE_SYSCALL directly, not via int variable.
50086         * sysdeps/unix/sysv/linux/renameat.c: Do not include
50087         <kernel-features.h>.
50088         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
50089         (renameat) [__NR_renameat]: Make code unconditional.
50090         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
50091         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
50092         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
50093         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
50094         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
50095         (__ASSUME_ATFCTS): Do not undefine and redefine.
50096         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
50097         <kernel-features.h>.
50098         (symlinkat) [__NR_symlinkat]: Make code unconditional.
50099         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50100         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
50101         <kernel-features.h>.
50102         (unlinkat) [__NR_unlinkat]: Make code unconditional.
50103         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50104         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
50105         (__ASSUME_ATFCTS): Do not undefine and redefine.
50106         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50107         <kernel-features.h>.
50108         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
50109         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50110         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
50111         <kernel-features.h>.
50112         (__xmknodat) [__NR_mknodat]: Make code unconditional.
50113         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
50115 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
50117         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
50119 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
50121         [BZ #17069]
50122         * posix/regcomp.c (parse_reg_exp): Deallocate partially
50123         constructed tree before returning error.
50124         * posix/bug-regexp36.c: Expand test case.
50126 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
50128         [BZ #6803]
50129         * math/libm-test.inc (scalbln_test_date):
50130         Add errno expectations.
50131         * math/w_scalblnf.c: New File.
50132         Add wrapper which checks for setting errno to ERANGE.
50133         Add weak_alias for corresponding scalbln function.
50134         * math/w_scalbln.c: Likewise.
50135         * math/w_scalblnl.c: Likewise.
50136         * math/Makefile (libm-calls): Add w_scalbln.
50137         * sysdeps/ieee754/flt-32/s_scalblnf.c:
50138         Remove weak_alias for corresponding scalbln function.
50139         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50140         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50141         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50142         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50143         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
50144         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
50145         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
50146         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
50147         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
50148         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
50149         Remove long_double_symbol for scalblnl function in libm, libc.
50150         * sysdeps/ieee754/ldbl-64-128/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, libc.
50153         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
50154         Remove long_double_symbol for scalblnl in libm.
50155         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
50156         Add wrapper which checks for setting errno to ERANGE.
50157         Add long_double_symbol for scalblnl function in libm.
50158         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
50159         Do not use wrapper because of own implementation.
50161 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
50163         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
50164         3 bytes for __pad1 for x32.
50165         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
50167 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
50168             H.J. Lu  <hongjiu.lu@intel.com>
50170         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
50171         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
50172         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50173         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50174         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
50176 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
50178         [BZ #17069]
50179         * posix/regcomp.c (parse_expression): Deallocate partially
50180         constructed tree before returning error.
50181         * posix/Makefile.c (tests): Add bug-regex36.
50182         (generated): Add bug-regex36.mtrace.
50183         (tests-special): Add $(objpfx)bug-regex36-mem.out
50184         (bug-regex36-ENV): New variable.
50185         ($(objpfx)bug-regex36-mem.out): New rule.
50186         * posix/bug-regex36.c: New file.
50188 2014-06-19  Will Newton  <will.newton@linaro.org>
50190         * malloc/malloc.c (systrim): If extra is zero then return
50191         early.
50193 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50195         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
50197 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
50199         * sysdeps/aarch64/strchr.S: New file.
50201 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
50203         [BZ #17022]
50204         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
50205         from arguments -2 or below.
50206         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
50207         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
50209 2014-06-18  Andreas Schwab  <schwab@suse.de>
50211         [BZ #17062]
50212         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
50213         of a bracket expr not to run off the end of the string.
50214         * posix/Makefile (tests): Add tst-fnmatch3.
50215         * posix/tst-fnmatch3.c: New file.
50217 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
50219         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
50220         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50221         [$(cross-compiling) = no]: Likewise.
50222         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50223         [$(cross-compiling) = no]: Likewise.
50225 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50227         [BZ #17031]
50228         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
50229         double, adjusted for any remainder from the high double.
50230         * math/libm-test.inc (nearbyint): Add tests.
50231         (rint): Likewise.
50233 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50235         * nptl/sysdeps/powerpc/Makefile: Moved ...
50236         * sysdeps/powerpc/nptl/Makefile: ... here.
50237         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
50238         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
50239         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
50240         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
50241         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
50242         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
50243         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
50244         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
50245         * nptl/sysdeps/powerpc/tls.h: Moved ...
50246         * sysdeps/powerpc/nptl/tls.h: ... here.
50248 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
50250         [BZ #16681]
50251         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
50252         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
50253         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
50254         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
50255         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
50256         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
50257         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
50258         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
50259         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
50261 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
50263         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
50265 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
50267         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
50268         defined operator.
50270         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
50271         $TIMEOUTFACTOR.
50273 2014-06-16  Florian Weimer  <fweimer@redhat.com>
50275         [BZ #17058]
50276         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
50277         non-executed part of the test.
50279 2014-06-16  Andreas Schwab  <schwab@suse.de>
50281         * string/bits/string2.h (strdup, strndup): Update feature guard.
50283 2014-06-14  David S. Miller  <davem@davemloft.net>
50285         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50287 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
50289         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
50290         that was previously under [RESET_PID].
50291         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
50293         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
50294         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
50295         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
50296         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50297         (__libc_vfork): New strong alias.
50298         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
50300 2014-06-14 Andi Kleen  <ak@linux.intel.com>
50302         * sysdeps/generic/elide.h: New file.
50304 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
50306         * Makefile (installed-headers): Adjust path of pthread.h header.
50308 2014-06-13  Roland McGrath  <roland@hack.frob.com>
50310         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
50311         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
50312         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
50313         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
50315         * nptl/sysdeps/s390/Makefile: Moved ...
50316         * sysdeps/s390/nptl/Makefile: ... here.
50317         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
50318         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
50319         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
50320         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
50321         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
50322         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
50323         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
50324         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
50325         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
50326         * sysdeps/s390/nptl/pthreaddef.h: ... here.
50327         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
50328         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
50329         * nptl/sysdeps/s390/tls.h: Moved ...
50330         * sysdeps/s390/nptl/tls.h: ... here.
50332         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
50333         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
50335 2014-06-13  David S. Miller  <davem@davemloft.net>
50337         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
50338         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
50339         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
50340         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
50341         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
50342         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
50343         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
50344         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
50345         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
50346         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
50347         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
50348         Remove RESET_PID cpp guards.
50349         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
50350         Remove RESET_PID cpp guards.
50351         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
50353 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
50355         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
50356         __sp to uintptr_t.
50358 2014-06-13  Andi Kleen  <ak@linux.intel.com>
50360         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
50361         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
50362         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
50363         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
50364         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
50365         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
50366         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
50367         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
50368         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
50369         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
50370         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
50371         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
50372         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
50373         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
50374         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
50375         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
50376         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
50377         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
50378         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
50379         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
50381         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
50382         (pthread_rwlock_rdlock): Add elision.
50383         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
50384         (pthread_rwlock_wrlock): Add elision.
50385         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
50386         (pthread_rwlock_trywrlock): Add elision.
50387         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
50388         (pthread_rwlock_tryrdlock): Add elision.
50389         * nptl/pthread_rwlock_unlock.c: Include elide.h.
50390         (pthread_rwlock_tryrdlock): Add elision unlock.
50391         * nptl/sysdeps/pthread/pthread.h:
50392         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
50393         (PTHREAD_RWLOCK_INITIALIZER,
50394         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
50395         Handle new elision field.
50396         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
50397         * sysdeps/arm/nptl/bits/pthreadtypes.h
50398         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50399         * sysdeps/sh/nptl/bits/pthreadtypes.h
50400         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50401         * sysdeps/tile/nptl/bits/pthreadtypes.h
50402         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50403         * sysdeps/a/nptl/bits/pthreadtypes.h
50404         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50405         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50406         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50407         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50408         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50409         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
50410         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50411         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50412         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50413         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50414         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50415         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50416         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50417         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50418         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50419         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
50420         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50421         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
50422         (elision_init): Set try_xbegin to zero when no RTM.
50423         * sysdeps/x86/nptl/bits/pthreadtypes.h
50424         (pthread_rwlock_t): Change __pad1 to __rwelision.
50425         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50427 2014-06-13  Andi Kleen  <ak@linux.intel.com>
50429         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
50430         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
50431         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
50432         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
50434 2014-06-13  Meador Inge  <meadori@codesourcery.com>
50436         [BZ #16996]
50437         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
50438         that the cached result has been set before returning it.
50440 2014-06-12  Roland McGrath  <roland@hack.frob.com>
50442         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
50443         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
50444         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
50445         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
50446         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
50447         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
50449         * nptl/sysdeps/sparc/Makefile: Moved ...
50450         * sysdeps/sparc/nptl/Makefile: ... here.
50451         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
50452         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
50453         * nptl/sysdeps/sparc/tls.h: Moved ...
50454         * sysdeps/sparc/nptl/tls.h: ... here.
50455         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
50456         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
50457         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
50458         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
50459         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
50460         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
50461         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
50462         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
50463         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
50464         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
50465         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
50466         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
50467         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
50468         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
50469         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
50470         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
50471         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
50472         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
50473         Update #include.
50474         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
50475         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
50476         Update #include.
50477         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
50478         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
50479         Update #include.
50480         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
50481         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
50482         Update #include.
50484         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50486         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
50487         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
50489         * sysdeps/pthread/posix-timer.h: Include <list.h>.
50490         (struct list_links): Type removed.
50491         (struct thread_node, struct timer_node): Replace struct list_links
50492         with struct list_head.
50493         (list_unlink_ip): Likewise.
50494         * sysdeps/pthread/timer_routines.c
50495         (timer_free_list, thread_free_list, thread_active_list): Likewise.
50496         (list_append, list_insbefore): Likewise.
50497         (list_init): Function removed.
50498         (thread_init, init_module): Use INIT_LIST_HEAD instead.
50499         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
50500         * sysdeps/pthread/Makefile: ... here, new file.
50502         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
50503         * sysdeps/nptl/Implies: ... here.
50504         * sysdeps/unix/sysv/linux/Implies: Add nptl.
50505         * nptl/sysdeps/pthread/list.h: Moved ...
50506         * include/list.h: ... here.
50507         * nptl/sysdeps/pthread/createthread.c: Moved ...
50508         * nptl/createthread.c: ... here.
50509         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
50510         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
50511         * nptl/pt-longjmp.c: ... here.
50512         * nptl/sysdeps/pthread/Makefile: Moved ...
50513         * sysdeps/nptl/Makefile: ... here.
50514         * nptl/sysdeps/pthread/Subdirs: Moved ...
50515         * sysdeps/nptl/Subdirs: ... here.
50516         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
50517         * sysdeps/nptl/aio_misc.h: ... here.
50518         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
50519         * sysdeps/nptl/bits/libc-lock.h: ... here.
50520         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
50521         * sysdeps/nptl/bits/libc-lockP.h: ... here.
50522         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
50523         * sysdeps/nptl/bits/stdio-lock.h: ... here.
50524         * nptl/sysdeps/pthread/configure: Moved ...
50525         * sysdeps/nptl/configure: ... here.
50526         * nptl/sysdeps/pthread/configure.ac: Moved ...
50527         * sysdeps/nptl/configure.ac: ... here.
50528         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
50529         * sysdeps/nptl/gai_misc.h: ... here.
50530         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
50531         * sysdeps/nptl/librt-cancellation.c: ... here.
50532         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
50533         * sysdeps/nptl/malloc-machine.h: ... here.
50534         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
50535         * sysdeps/nptl/pthread-functions.h: ... here.
50536         * nptl/sysdeps/pthread/pthread.h: Moved ...
50537         * sysdeps/nptl/pthread.h: ... here.
50538         * nptl/sysdeps/pthread/setxid.h: Moved ...
50539         * sysdeps/nptl/setxid.h: ... here.
50540         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
50541         * sysdeps/nptl/sigfillset.c: ... here.
50542         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
50543         * sysdeps/nptl/tcb-offsets.h: ... here.
50544         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
50545         * sysdeps/nptl/tst-mqueue8x.c: ... here.
50546         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
50547         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
50548         * nptl/sysdeps/pthread/allocalim.h: Moved ...
50549         * sysdeps/pthread/allocalim.h: ... here.
50550         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
50551         * sysdeps/pthread/bits/sigthread.h: ... here.
50552         * nptl/sysdeps/pthread/flockfile.c: Moved ...
50553         * sysdeps/pthread/flockfile.c: ... here.
50554         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
50555         * sysdeps/pthread/ftrylockfile.c: ... here.
50556         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
50557         * sysdeps/pthread/funlockfile.c: ... here.
50558         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
50559         * sysdeps/pthread/posix-timer.h: ... here.
50560         * nptl/sysdeps/pthread/timer_create.c: Moved ...
50561         * sysdeps/pthread/timer_create.c: ... here.
50562         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
50563         * sysdeps/pthread/timer_delete.c: ... here.
50564         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
50565         * sysdeps/pthread/timer_getoverr.c: ... here.
50566         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
50567         * sysdeps/pthread/timer_gettime.c: ... here.
50568         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
50569         * sysdeps/pthread/timer_routines.c: ... here.
50570         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
50571         * sysdeps/pthread/timer_settime.c: ... here.
50572         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
50573         * sysdeps/pthread/tst-timer.c: ... here.
50574         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
50575         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
50577         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
50578         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
50580         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
50581         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
50582         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
50583         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
50584         Update #include target.
50585         * nptl/sysdeps/i386/i686/Makefile: Moved ...
50586         * sysdeps/i386/i686/nptl/Makefile: ... here.
50587         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
50588         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
50589         Update #include target.
50590         * nptl/sysdeps/i386/i686/tls.h: Moved ...
50591         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
50592         * nptl/sysdeps/i386/Makefile: Moved ...
50593         * sysdeps/i386/nptl/Makefile: ... here.
50594         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
50595         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
50596         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
50597         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
50598         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
50599         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
50600         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
50601         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
50602         * sysdeps/i386/nptl/pthreaddef.h: ... here.
50603         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
50604         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
50605         * nptl/sysdeps/i386/tls.h: Moved ...
50606         * sysdeps/i386/nptl/tls.h: ... here.
50608         * sysdeps/sh/Makefile [$(subdir) = csu]
50609         (gen-as-const-headers): Add tcb-offsets.sym.
50610         * nptl/sysdeps/sh/Makefile: File removed.
50611         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
50612         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
50613         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
50614         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
50615         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
50616         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
50617         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
50618         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
50619         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
50620         * sysdeps/sh/nptl/pthreaddef.h: ... here.
50621         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
50622         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
50623         * nptl/sysdeps/sh/tls.h: Moved ...
50624         * sysdeps/sh/nptl/tls.h: ... here.
50625         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
50626         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
50627         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
50628         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
50629         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
50630         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
50631         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
50632         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
50633         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
50634         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
50635         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
50636         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
50637         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
50638         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
50639         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
50640         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
50641         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
50642         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
50643         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
50644         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
50645         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
50646         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
50647         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
50648         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
50649         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
50650         Moved ...
50651         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
50652         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
50653         Moved ...
50654         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
50655         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
50656         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
50657         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
50658         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
50659         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
50660         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
50661         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
50662         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
50663         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
50664         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
50665         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
50666         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
50667         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
50668         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
50669         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
50670         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
50671         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
50672         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
50674 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
50676         * posix/spawn_faction_addopen.c: Include string.h.
50678 2014-06-11  Roland McGrath  <roland@hack.frob.com>
50680         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
50681         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
50682         * nptl/sysdeps/x86_64/Makefile: Moved ...
50683         * sysdeps/x86_64/nptl/Makefile: ... here.
50684         * nptl/sysdeps/x86_64/configure: Moved ...
50685         * sysdeps/x86_64/nptl/configure: ... here.
50686         * nptl/sysdeps/x86_64/configure.ac: Moved ...
50687         * sysdeps/x86_64/nptl/configure.ac: ... here.
50688         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
50689         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
50690         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
50691         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
50692         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
50693         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
50694         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
50695         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
50696         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
50697         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
50698         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
50699         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
50700         * nptl/sysdeps/x86_64/tls.h: Moved ...
50701         * sysdeps/x86_64/nptl/tls.h: ... here.
50702         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
50703         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
50704         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
50705         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
50707         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
50709 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50713 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
50715         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
50716         type.
50717         [POSIX] (off_t): Likewise.
50718         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
50719         [POSIX] (S_ISBLK): Require macro.
50720         [POSIX] (S_ISCHR): Likewise.
50721         [POSIX] (S_ISDIR): Likewise.
50722         [POSIX] (S_ISFIFO): Likewise.
50723         [POSIX] (S_ISREG): Likewise.
50724         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
50725         optional-macro.
50726         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
50727         type.
50728         [POSIX] (time_t): Likewise.
50729         [POSIX] (timer_t): Likewise.
50731 2014-06-11  Florian Weimer  <fweimer@redhat.com>
50733         [BZ #17048]
50734         * posix/spawn_int.h (struct __spawn_action): Make the path string
50735         non-const to support deallocation.
50736         * posix/spawn_faction_addopen.c
50737         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
50738         * posix/spawn_faction_destroy.c
50739         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
50740         path in all spawn_do_open actions.
50741         * posix/tst-spawn.c (do_test): Exercise the copy operation in
50742         posix_spawn_file_actions_addopen.
50744 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
50746         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
50747         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
50748         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
50749         conditional code always true.
50750         (__libc_vfork): New alias.
50752 2014-06-11  Roland McGrath  <roland@hack.frob.com>
50754         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50755         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
50757         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
50759         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50760         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
50762         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50763         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
50765         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50766         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
50768 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50770         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
50771         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
50772         multiarch strcmp for PPC64.
50773         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
50774         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
50775         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
50776         multiarch optimizations.
50777         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50778         (__libc_ifunc_impl_list): Likewise.
50780 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50782         * benchtests/scripts/validate_benchout.py: New script.
50783         * benchtests/Makefile (bench-func): Call it.
50784         * benchtests/scripts/benchout.schema.json: New file.
50786 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
50788         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
50789         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
50790         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
50791         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
50792         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
50793         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
50794         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
50795         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
50796         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
50797         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
50798         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
50799         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
50800         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
50801         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
50802         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
50803         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
50804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
50805         Moved ...
50806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
50807         ... here.
50808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
50809         Moved ...
50810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
50811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
50812         Moved ...
50813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
50814         ... here.
50815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
50816         Moved ...
50817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
50818         ... here.
50819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
50820         Moved ...
50821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
50822         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
50823         Moved ...
50824         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
50825         ... here.
50826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
50827         Moved ...
50828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
50829         ... here.
50830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
50831         Moved ...
50832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
50833         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
50834         Moved ...
50835         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
50836         ... here.
50837         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
50838         Moved ...
50839         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
50840         ... here.
50841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
50842         Moved ...
50843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
50844         ... here.
50845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
50846         Moved ...
50847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
50848         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
50849         Moved ...
50850         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
50851         ... here.
50852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
50853         Moved ...
50854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
50855         ... here.
50856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
50857         Moved ...
50858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
50859         ... here.
50860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
50861         Moved ...
50862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
50863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
50864         Moved ...
50865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
50866         ... here.
50867         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
50868         Moved ...
50869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
50870         ... here.
50871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
50872         Moved ...
50873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
50874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
50875         Moved ...
50876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
50877         ... here.
50878         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
50879         Moved ...
50880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
50881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
50882         Moved ...
50883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
50884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
50885         Moved ...
50886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
50887         ... here.
50888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
50889         Moved ...
50890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
50891         ... here.
50892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
50893         Moved ...
50894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
50895         ... here.
50896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
50897         Moved ...
50898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
50899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
50900         Moved ...
50901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
50902         ... here.
50903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
50904         Moved ...
50905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
50906         ... here.
50907         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
50908         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
50909         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
50910         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
50911         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
50912         Moved ...
50913         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
50914         ... here.
50915         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
50916         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
50917         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
50918         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
50919         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
50920         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
50921         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
50922         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
50923         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
50924         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
50925         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
50926         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
50927         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
50928         Moved ...
50929         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
50930         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
50931         Moved ...
50932         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
50933         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
50934         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
50935         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
50936         Moved ...
50937         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
50938         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
50939         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
50940         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
50941         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
50942         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
50943         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
50945 2014-06-10  Wilco  <wdijkstr@arm.com>
50947         * math/test-fenv-return.c: New file.
50948         * math/Makefile: Add new test test-fenv-return.
50950 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
50952         [BZ #17042]
50953         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
50954         when x - 1 is zero.
50955         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
50956         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
50957         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
50958         0.0L for an argument of 1.0L.
50959         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
50960         Likewise.
50961         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
50962         value when x - 1 is zero.
50963         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
50964         * sysdeps/i386/fpu/libm-test-ulps: Update.
50965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50967 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
50969         [BZ #15119]
50970         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
50972 2014-06-09  Roland McGrath  <roland@hack.frob.com>
50974         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
50975         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
50977 2014-06-09  Roland McGrath  <roland@hack.frob.com>
50979         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50980         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
50982         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50983         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
50985         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50986         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
50988         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50989         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
50991         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
50992         if not already defined.
50993         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
50994         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
50995         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
50996         (TLS_INIT_TP): Use it.
50997         (TLS_DEFINE_INIT_TP): New macro.
50998         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
51000 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
51002         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
51003         constant.
51004         [POSIX] (IXANY): Likewise.
51005         [POSIX] (OLCUC): Likewise.
51006         [POSIX || POSIX2008] (CBAUD): Do not allow.
51007         [POSIX || POSIX2008] (DEFECHO): Likewise.
51008         [POSIX || POSIX2008] (ECHOCTL): Likewise.
51009         [POSIX || POSIX2008] (ECHOKE): Likewise.
51010         [POSIX || POSIX2008] (ECHOPRT): Likewise.
51011         [POSIX || POSIX2008] (EXTA): Likewise.
51012         [POSIX || POSIX2008] (EXTB): Likewise.
51013         [POSIX || POSIX2008] (FLUSHO): Likewise.
51014         [POSIX || POSIX2008] (LOBLK): Likewise.
51015         [POSIX || POSIX2008] (PENDIN): Likewise.
51016         [POSIX || POSIX2008] (SWTCH): Likewise.
51017         [POSIX || POSIX2008] (VDISCARD): Likewise.
51018         [POSIX || POSIX2008] (VDSUSP): Likewise.
51019         [POSIX || POSIX2008] (VLNEXT): Likewise.
51020         [POSIX || POSIX2008] (VREPRINT): Likewise.
51021         [POSIX || POSIX2008] (VSTATUS): Likewise.
51022         [POSIX || POSIX2008] (VWERASE): Likewise.
51023         (B*): Change to B[0123456789]*.
51024         * conform/data/time.h-data [POSIX || UNIX98]
51025         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
51026         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
51027         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
51028         [POSIX] (tm_*): Do not allow.
51030 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
51032         * Makefile (install): Don't set LANGUAGE.
51033         * Makefile.in (install): Likewise.
51034         * assert/Makefile (test-assert-ENV): Remove variable.
51035         (test-assert-perr-ENV): Likewise.
51036         * elf/Makefile (neededtest4-ENV): Likewise.
51037         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51038         [$(cross-compiling) = no]: Don't set LANGUAGE.
51039         * io/ftwtest-sh (LANG): Remove variable.
51040         * libio/Makefile (tst-widetext-ENV): Likewise.
51041         * manual/install.texi (Running make install): Don't refer to
51042         environment settings for make install.
51043         * INSTALL: Regenerated.
51044         * nptl/tst-tls6.sh: Don't set LANG.
51045         * posix/globtest.sh (LANG): Remove variable.
51046         * string/Makefile (tester-ENV): Likewise.
51047         (inl-tester-ENV): Likewise.
51048         (noinl-tester-ENV): Likewise.
51049         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51050         [$(cross-compiling) = no]: Don't set LANGUAGE.
51051         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
51052         without explicit environment settings.
51054 2014-06-06  Roland McGrath  <roland@hack.frob.com>
51056         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
51057         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
51058         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
51059         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
51061 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
51063         * crypt/crypt-private.h [DOS]: Add some includes taken from the
51064         other files in the crypt directory.
51065         * crypt/crypt.c: Remove duplicate includes.
51066         * crypt/crypt-entry.c: Likewise.
51067         * crypt/crypt_util.c: Likewise.
51069 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
51071         * Makeconfig (run-program-env): New variable.
51072         (run-program-prefix-before-env): Likewise.
51073         (run-program-prefix-after-env): Likewise.
51074         (run-program-prefix): Define in terms of new variables.
51075         (built-program-cmd-before-env): New variable.
51076         (built-program-cmd-after-env): Likewise.
51077         (built-program-cmd): Define in terms of new variables.
51078         (test-program-prefix-before-env): New variable.
51079         (test-program-prefix-after-env): Likewise.
51080         (test-program-prefix): Define in terms of new variables.
51081         (test-program-cmd-before-env): New variable.
51082         (test-program-cmd-after-env): Likewise.
51083         (test-program-cmd): Define in terms of new variables.
51084         * Rules (make-test-out): Use $(run-program-env).
51085         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
51086         (help): Do not mention environment variables.  Mention
51087         --timeoutfactor option.
51088         (timeoutfactor): New variable.
51089         (blacklist_exports): Remove function.
51090         (exports): Remove variable.
51091         (command): Do not include ${exports}.
51092         * manual/install.texi (Configuring and compiling): Do not mention
51093         test wrappers preserving environment variables.  Mention that last
51094         assignment to a variable must take precedence.
51095         * INSTALL: Regenerated.
51096         * benchtests/Makefile (run-bench): Use $(run-program-env).
51097         * catgets/Makefile ($(objpfx)test1.cat): Use
51098         $(built-program-cmd-before-env), $(run-program-env) and
51099         $(built-program-cmd-after-env).
51100         ($(objpfx)test2.cat): Do not specify environment variables
51101         explicitly.
51102         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
51103         $(run-program-env) and $(built-program-cmd-after-env).
51104         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
51105         $(run-program-env) and $(test-program-cmd-after-env).
51106         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
51107         explicitly.
51108         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
51109         run_program_env and test_program_cmd_after_env arguments.
51110         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
51111         * elf/tst-pathopt.sh: Use run_program_env argument.
51112         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
51113         $(test-wrapper-env) and $(run-program-env).
51114         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
51115         run_program_env arguments.
51116         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
51117         * intl/Makefile ($(objpfx)tst-gettext.out): Use
51118         $(test-program-prefix-before-env), $(run-program-env) and
51119         $(test-program-prefix-after-env).
51120         ($(objpfx)tst-gettext2.out): Likewise.
51121         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
51122         run_program_env and test_program_prefix_after_env arguments.
51123         * intl/tst-gettext2.sh: Likewise.
51124         * intl/tst-gettext4.sh: Do not set environment variables
51125         explicitly.
51126         * intl/tst-gettext6.sh: Likewise.
51127         * intl/tst-translit.sh: Likewise.
51128         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
51129         $(test-program-prefix-before-env), $(run-program-env) and
51130         $(test-program-prefix-after-env).
51131         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
51132         run_program_env and test_program_prefix_after_env arguments.
51133         * math/Makefile (run-regen-ulps): Use $(run-program-env).
51134         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
51135         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
51136         explicitly with each use of ${test_wrapper_env}.
51137         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
51138         $(test-program-prefix-before-env), $(run-program-env) and
51139         $(test-program-prefix-after-env).
51140         * posix/tst-getconf.sh: Do not set environment variables
51141         explicitly.
51142         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
51143         run_program_env and test_program_prefix_after_env arguments.
51144         * stdio-common/tst-printf.sh: Do not set environment variables
51145         explicitly.
51146         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
51147         $(test-program-prefix-before-env), $(run-program-env) and
51148         $(test-program-prefix-after-env).
51149         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
51150         run_program_env and test_program_prefix_after_env arguments.
51151         Split $test calls into $test_pre and $test.
51152         * timezone/Makefile (build-testdata): Use
51153         $(built-program-cmd-before-env), $(run-program-env) and
51154         $(built-program-cmd-after-env).
51156 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51158         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
51159         strlen for non SHARED builds.
51161 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51163         * nptl/allocatestack.c (check_list): Inlined function...
51164         (__reclaim_stacks): ... here.
51166 2014-06-05  Ondƙej BĂ­lka  <neleai@seznam.cz>
51168         [BZ #15698]
51169         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
51170         memory overrun.
51172 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
51174         * Rules (make-test-out): Include
51175         LOCPATH=$(common-objpfx)localedata in default environment.
51176         * debug/Makefile (tst-chk1-ENV): Remove variable.
51177         (tst-chk2-ENV): Likewise.
51178         (tst-chk3-ENV): Likewise.
51179         (tst-chk4-ENV): Likewise.
51180         (tst-chk5-ENV): Likewise.
51181         (tst-chk6-ENV): Likewise.
51182         (tst-lfschk1-ENV): Likewise.
51183         (tst-lfschk2-ENV): Likewise.
51184         (tst-lfschk3-ENV): Likewise.
51185         (tst-lfschk4-ENV): Likewise.
51186         (tst-lfschk5-ENV): Likewise.
51187         (tst-lfschk6-ENV): Likewise.
51188         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
51189         (tst-iconv7-ENV): Likewise.
51190         * intl/Makefile (LOCPATH-ENV): Likewise.
51191         (tst-codeset-ENV): Likewise.
51192         (tst-gettext3-ENV): Likewise.
51193         (tst-gettext5-ENV): Likewise.
51194         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
51195         (tst-fopenloc-ENV): Likewise.
51196         (tst-fgetws-ENV): Remove variable.
51197         (tst-ungetwc1-ENV): Likewise.
51198         (tst-ungetwc2-ENV): Likewise.
51199         (bug-ungetwc2-ENV): Likewise.
51200         (tst-swscanf-ENV): Likewise.
51201         (bug-ftell-ENV): Likewise.
51202         (tst-fgetwc-ENV): Likewise.
51203         (tst-fseek-ENV): Likewise.
51204         (tst-ftell-partial-wide-ENV): Likewise.
51205         (tst-ftell-active-handler-ENV): Likewise.
51206         (tst-ftell-append-ENV): Likewise.
51207         * posix/Makefile (tst-fnmatch-ENV): Likewise.
51208         (tst-regexloc-ENV): Likewise.
51209         (bug-regex1-ENV): Likewise.
51210         (tst-regex-ENV): Likewise.
51211         (tst-regex2-ENV): Likewise.
51212         (bug-regex5-ENV): Likewise.
51213         (bug-regex6-ENV): Likewise.
51214         (bug-regex17-ENV): Likewise.
51215         (bug-regex18-ENV): Likewise.
51216         (bug-regex19-ENV): Likewise.
51217         (bug-regex20-ENV): Likewise.
51218         (bug-regex22-ENV): Likewise.
51219         (bug-regex23-ENV): Likewise.
51220         (bug-regex25-ENV): Likewise.
51221         (bug-regex26-ENV): Likewise.
51222         (bug-regex30-ENV): Likewise.
51223         (bug-regex32-ENV): Likewise.
51224         (bug-regex33-ENV): Likewise.
51225         (bug-regex34-ENV): Likewise.
51226         (bug-regex35-ENV): Likewise.
51227         (tst-rxspencer-ENV): Likewise.
51228         (tst-rxspencer-no-utf8-ENV): Likewise.
51229         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
51230         (tst-sscanf-ENV): Likewise.
51231         (tst-swprintf-ENV): Likewise.
51232         (tst-swscanf-ENV): Likewise.
51233         (test-vfprintf-ENV): Likewise.
51234         (scanf13-ENV): Likewise.
51235         (bug14-ENV): Likewise.
51236         (tst-grouping-ENV): Likewise.
51237         * stdlib/Makefile (tst-strtod-ENV): Likewise.
51238         (tst-strtod3-ENV): Likewise.
51239         (tst-strtod4-ENV): Likewise.
51240         (tst-strtod5-ENV): Likewise.
51241         (testmb2-ENV): Likewise./
51242         * string/Makefile (tst-strxfrm-ENV): Likewise.
51243         (tst-strxfrm2-ENV): Likewise.
51244         (bug-strcoll1-ENV): Likewise.
51245         (test-strcasecmp-ENV): Likewise.
51246         (test-strncasecmp-ENV): Likewise.
51247         * time/Makefile (tst-strptime-ENV): Likewise.
51248         (tst-ftime_l-ENV): Likewise.
51249         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
51250         (tst-mbrtowc-ENV): Likewise.
51251         (tst-wcrtomb-ENV): Likewise.
51252         (tst-mbrtowc2-ENV): Likewise.
51253         (tst-c16c32-1-ENV): Likewise.
51254         (tst-mbsnrtowcs-ENV): Likewise.
51256 2014-06-05  Ondƙej BĂ­lka  <neleai@seznam.cz>
51258         * manual/resource.texi (How to get information about the memory
51259         subsystem?): Fix typo.
51260         Reported by Peon de la Parra Ivan <peon@keba.com>
51262 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
51264         [BZ #16882]
51265         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
51266         (pthread_spin_lock): Branch out of spin loop to proper location.
51267         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
51268         (pthread_spin_lock): Likewise.
51270         * nptl/tst-spin4.c: New test.
51271         * nptl/Makefile (tests): Add tst-spin4.
51273 2014-06-03  Andreas Schwab  <schwab@suse.de>
51275         [BZ #15946]
51276         * resolv/res_send.c (send_dg): Reload file descriptor after
51277         calling reopen.
51279 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
51281         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51283 2014-06-03  Richard Henderson  <rth@redhat.com>
51285         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
51286         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
51287         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
51288         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
51289         in the SAVE_PID block.
51290         (__libc_vfork): New alias.
51291         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
51293         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
51294         child in registers, not on the stack.  Remove RESET_PID conditionals.
51295         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
51297 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51299         * sysdeps/aarch64/libm-test-ulps: Regenerate.
51301 2014-06-03  Wilco  <wdijkstr@arm.com>
51303         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
51304         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
51305         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51306         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
51307         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
51308         Likewise.
51310 2014-06-03  Wilco  <wdijkstr@arm.com>
51312         * sysdeps/aarch64/fpu/math_private.h
51313         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
51314         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
51315         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
51316         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51317         Fix declarations.
51319 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
51321         * crypt/crypt-private.h: Include ufc-crypt.h.
51322         (__b64_from_24bit): Declare extern.
51323         * crypt/crypt_util.c(__b64_from_24bit): New function.
51324         (b64t): New static const variable.
51325         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
51326         (b64t): Remove variable.
51327         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
51328         * crypt/sha256-crypt.c: Include crypt-private.h.
51329         (b64t): Remove variable.
51330         (__sha256_crypt_r): Remove b64_from_24bit and replace
51331         with __b64_from_24bit.
51332         * crypt/sha512-crypt.c: Likewise.
51334 2014-06-02  Roland McGrath  <roland@hack.frob.com>
51336         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
51337         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
51338         Label the code __libc_vfork rather than __vfork.
51339         [!NOT_IN_libc] (vfork): Define as weak alias.
51340         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
51341         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
51342         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
51344 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51346         * malloc/malloc.c (malloc_info): Fix format specifier for
51347         n_mmaps.
51349 2014-06-02  Wilco  <wdijkstr@arm.com>
51351         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
51352         FPCR write.
51354 2014-06-02  Wilco  <wdijkstr@arm.com>
51356         [BZ #17009]
51357         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
51358         Rewrite to reduce FPCR/FPSR accesses.
51360 2014-06-01  David S. Miller  <davem@davemloft.net>
51362         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51364 2014-05-31  David S. Miller  <davem@davemloft.net>
51366         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
51367         to occur in round to nearest mode when |x| >= 2.0
51369 2014-05-30  Richard Henderson  <rth@twiddle.net>
51371         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
51372         (PSEUDO_RET_NOERRNO): Remove.
51373         (ret): Don't redefine.
51374         (ret_NOERRNO): Define in terms of ret.
51375         (ret_ERRVAL): Likewise.
51377         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
51378         use of PSEUDO_RET; perform the error check directly.
51380 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
51382         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
51383         with __int128_t.
51385 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51387         * malloc/malloc (malloc_info): Fix formatting.
51389 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51390             Roland McGrath  <roland@hack.frob.com>
51392         * malloc/malloc (malloc_info): Also print mmapped statistics.
51394 2014-05-30  Roland McGrath  <roland@hack.frob.com>
51396         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
51397         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
51399 2014-05-30  Ondƙej BĂ­lka  <neleai@seznam.cz>
51401         * malloc/malloc.c (malloc_info): Inline mi_arena.
51403 2014-05-29  Richard Henderson  <rth@twiddle.net>
51405         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
51406         Remove comma before expanding ASM_ARGS_##nr.
51407         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
51408         Make _x0 a strict output; make _x8 a strict input; adjust expansion
51409         of ASM_ARGS_##nr.
51410         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
51411         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
51412         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
51413         (ASM_ARGS_1): Add leading comma.
51415         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
51416         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
51417         to __errno_location.
51418         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
51419         Remove the expected plt for __errno_location.
51421         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51422         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
51423         call to __read_tp.
51425         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51426         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
51427         it and break it down.
51428         (DOCARGS_0, DOCARGS_1): Do nothing.
51429         (DOCARGS_2): Update to store into the new stack frame.
51430         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
51431         (UNDOCARGS_1): Update to restore from the new stack frame.
51432         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
51433         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
51435         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51436         (SINGLE_THREAD_P): New parameter for result regno.
51437         (PSEUDO): Update to match; use cbz instead of beq.
51439         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51440         Use ENTRY to define the _nocancel entry point.  Share the syscall
51441         and syscall error check paths with the cancel path.
51442         (PSEUDO_END): New.
51444         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
51445         whitespace; tabs before and after asm mnemonics.
51447 2014-05-29  Eric Wong  <normalperson@yhbt.net>
51449         [BZ #15132]
51450         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51451         Call fstat64 or stat64 internally, depending on arguments passed.
51452         Replace stat buffer argument with file descriptor argument.
51453         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
51454         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
51455         Pass fd to __internal_statvfs instead of calling fstat64.
51456         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
51457         Pass fd to __internal_statvfs64 instead of calling fstat64.
51458         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
51459         Pass -1 to __internal_statvfs instead of calling stat64.
51460         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
51461         Pass -1 to __internal_statvfs64 instead of calling stat64.
51463 2014-05-28  Roland McGrath  <roland@hack.frob.com>
51465         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
51466         that was previously under [RESET_PID].
51467         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
51469         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
51470         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
51472 2014-05-27  Roland McGrath  <roland@hack.frob.com>
51474         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
51476         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
51477         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
51479 2014-05-27  Ondƙej BĂ­lka  <neleai@seznam.cz>
51481         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
51483 2014-05-27  Andreas Schwab  <schwab@suse.de>
51485         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
51486         TLS_INIT_TP macro.
51487         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
51488         * elf/rtld.c (init_tls, dl_main): Likewise.
51489         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
51490         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
51491         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
51492         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
51493         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
51494         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
51495         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
51496         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
51497         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
51498         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
51499         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
51500         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
51501         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
51502         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
51503         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
51504         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
51505         * sysdeps/generic/tls.h: Update description.
51507 2014-05-27  Will Newton  <will.newton@linaro.org>
51509         [BZ #16990]
51510         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
51511         and restore r2 rather than just restoring.
51513 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51515         [BZ #16724]
51516         * libio/tst-ftell-append.c: New test case.
51517         * libio/Makefile (tests): Add test case.
51518         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
51519         append mode.
51520         * libio/wfileops.c (do_ftell_wide): Likewise.
51522 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51526         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
51527         ...
51528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
51529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51530         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
51531         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
51532         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
51533         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
51534         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
51535         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
51536         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
51537         Moved ...
51538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
51539         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
51540         Moved ...
51541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
51542         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
51543         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
51544         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
51545         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
51546         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
51547         ...
51548         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
51549         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
51550         Moved ...
51551         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
51552         here.
51553         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
51554         ...
51555         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
51556         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
51557         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
51559         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
51560         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
51561         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
51562         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
51564         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
51565         merge into ...
51566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
51567         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
51568         ...
51569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
51570         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
51571         ...
51572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
51573         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51574         Moved ...
51575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
51576         here.
51577         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51578         Moved ...
51579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
51580         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51581         Moved ...
51582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
51584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
51585         conditional [RESET_PID].
51586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
51587         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
51588         removed.
51589         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
51590         removed.
51592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
51593         <tcb-offsets.h>.
51594         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51595         (__libc_vfork): New strong alias.
51596         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
51597         removed.
51598         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
51599         Removed.
51601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
51602         <tcb-offsets.h>.
51603         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
51604         (__libc_vfork): New strong alias.
51605         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
51606         removed.
51607         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
51608         removed.
51610 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
51612         * malloc/malloc.c (mi_arena): New function.
51613         (malloc_info): Remove nested function mi_arena. Call non-nosted
51614         function mi_arena.
51616 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51618         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
51619         by insrwi.
51620         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
51621         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
51622         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
51623         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
51624         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
51625         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
51626         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
51628 2014-05-26  Andreas Schwab  <schwab@suse.de>
51630         [BZ #16984]
51631         * locale/programs/repertoire.c (repertoire_read): Add slash
51632         between I18NPATH element and file name.
51633         * locale/programs/locfile.c (locfile_read): Likewise.
51635 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
51637         * nptl/pthread_mutexattr_settype.c
51638         (__pthread_mutexattr_settype):
51639         Disable lock elision for PTHREAD_MUTEX_NORMAL.
51641 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
51643         * nptl/tst-mutex5 (do_test):
51644         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
51646 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51648         * benchtests/README: Document 'init' directive.
51649         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
51650         BENCH_INIT.
51651         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
51652         (parse_file): Recognize 'init' directive.
51654 2014-05-26  Kyle McMartin  <kyle@redhat.com>
51656         [BZ #16796]
51657         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
51658         alignment of struct pthread.
51660 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51662         [BZ #16878]
51663         * nscd/netgroupcache.c (addgetnetgrentX): Look for
51664         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51665         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
51666         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51668 2014-05-25  Richard Henderson  <rth@twiddle.net>
51670         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51671         (SINGLE_THREAD_P_PIC): Remove.
51672         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
51673         (SINGLE_THREAD_P_PIC): Remove.
51675         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
51676         branch to syscall error ...
51677         (PSEUDO): ... here.
51678         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
51679         from __local_syscall_error to .Lsyscall_error.
51680         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
51681         (SYSCALL_ERROR): Update label name.
51683         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51684         Do not use DOARGS/UNDOARGS.
51685         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
51686         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
51687         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
51688         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
51689         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
51691         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
51692         block comment.
51694         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
51695         define if !NOT_IN_libc.
51696         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
51697         define with non-default symbol versions.
51699 2014-05-23  Richard Henderson  <rth@twiddle.net>
51701         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
51702         (vfork, __vfork): Define via compat_symbol.
51704         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
51705         [!HAVE_IFUNC] (vfork_compat): Remove.
51706         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
51708 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
51710         [BZ #16978]
51711         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
51712         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
51713         variable.
51715 2014-05-23  Richard Henderson  <rth@twiddle.net>
51717         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
51718         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
51719         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
51720         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
51722         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
51723         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
51724         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
51725         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
51726         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
51727         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
51728         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
51729         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
51730         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
51731         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
51732         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
51733         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
51734         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
51735         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
51736         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
51737         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
51738         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
51739         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
51740         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
51741         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
51742         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
51743         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
51744         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
51745         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
51746         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
51747         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
51748         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
51749         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
51750         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
51751         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
51752         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
51753         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
51754         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
51755         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
51756         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
51757         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
51758         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
51759         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
51760         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
51761         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
51762         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
51763         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
51764         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
51765         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
51766         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
51767         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
51768         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
51769         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
51770         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
51771         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
51772         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
51773         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
51774         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
51775         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
51776         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
51777         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
51779         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
51780         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
51781         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
51782         before exiting on error.
51783         (__libc_vfork): New strong alias.
51784         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
51785         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
51787         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
51788         that was previously under [RESET_PID].
51789         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
51791         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
51793 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
51795         [BZ #16977]
51796         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
51797         value when x - 1 is zero.
51798         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
51799         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
51800         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
51801         0.0L for an argument of 1.0L.
51802         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
51803         Likewise.
51804         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
51805         value when x - 1 is zero.
51806         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
51807         * sysdeps/i386/fpu/libm-test-ulps: Update.
51808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51810 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
51812         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
51813         alphasort and versionsort.
51815 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51817         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
51818         macro.
51819         [copysignf]: Likewise.
51821 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51823         * crypt/md5-crypt.c: Fix formatting.
51825 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
51827         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
51828         (b64_from_24bit): New function.
51830 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51832         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
51833         libc_hidden_builtin_def to ifunc.
51834         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51835         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
51837 2014-05-21  Roland McGrath  <roland@hack.frob.com>
51839         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
51840         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
51842 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
51844         * nscd/Depend (linuxthreads): Remove.
51845         (nptl): Add.
51846         * resolv/Depend (linuxthreads): Remove.
51847         * rt/Depend (linuxthreads): Remove.
51849         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
51850         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
51851         $(common-objpfx)elf/.
51852         (link-libc-before-gnulib): Likewise.
51853         (elfobjdir): Remove variable.
51854         * Makefile (install): Use $(elf-objpfx) instead of
51855         $(common-objpfx)elf/.
51856         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
51857         $(elfobjdir)/.
51858         (link-libc-deps): Likewise.
51859         ($(common-objpfx)libc.so): Likewise.
51860         ($(common-objpfx)linkobj/libc.so): Likewise.
51861         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
51862         instead of $(common-objpfx)elf/.
51863         (symbolic-link-list): Likewise.
51864         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51865         [$(cross-compiling) = no]: Likewise.
51866         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
51867         $(elfobjdir)/.
51868         (static-gnulib-arch): Likewise.
51869         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51870         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
51871         $(common-objpfx)elf/.
51873 2014-05-21  Richard Henderson  <rth@redhat.com>
51875         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51876         (SINGLE_THREAD_P): Use the correct width load.  Fold
51877         into the ldr offset.
51879         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
51880         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
51882 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
51884         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
51885         (libgcc_s_resume): Use __attribute_used__.
51886         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
51887         Likewise.
51889 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51891         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
51892         optimization when used with float constants.
51894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51896 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
51898         [BZ #16915]
51899         * locale/nl_langinfo_l.c: Make direct reference to every
51900         _nl_current_CATEGORY symbol.
51901         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
51902         (tests-static): Add tst-langinfo-static.
51903         (tests-special): Add tst-langinfo-static.out.
51904         ($(objpfx)tst-langinfo.out): Redirect output.
51905         ($(objpfx)tst-langinfo-static.out): New.
51906         * localedata/tst-langinfo.sh: Send output to stdout.
51907         * localedata/tst-langinfo-static.c: New file.
51909         [BZ #16965]
51910         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
51911         when the shift amount is modulo the limb size.
51913 2014-05-20  Richard Henderson  <rth@redhat.com>
51915         [BZ #16967]
51916         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
51917         Change type of sa_flags from unsigned int to int.
51919         [BZ #16966]
51920         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
51922         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
51924 2014-05-20  Will Newton  <will.newton@linaro.org>
51926         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51927         Test the return value of the system call in the nocancel case.
51929 2014-05-20  Will Newton  <will.newton@linaro.org>
51930             Yvan Roux  <yvan.roux@linaro.org>
51932         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
51933         #include of asm/ptrace.h.
51934         (PTRACE_GET_THREAD_AREA): Remove #undef.
51935         (PTRACE_GETHBPREGS): Likewise.
51936         (PTRACE_SETHBPREGS): Likewise.
51937         (struct user_regs_struct): New structure.
51938         (struct user_fpsimd_struct): New structure.
51939         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
51940         #include of asm/ptrace.h and second #include of sys/user.h.
51941         (PTRACE_GET_THREAD_AREA): Remove #undef.
51942         (PTRACE_GETHBPREGS): Likewise.
51943         (PTRACE_SETHBPREGS): Likewise.
51944         (ELF_NGREG): Use new struct user_regs_struct.
51945         (elf_fpregset_t): Use new struct user_fpsimd_struct.
51947 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51949         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
51950         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
51952 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
51954         [BZ #16958]
51955         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
51956         membar to avoid block loads/stores to overlap previous stores.
51958 2014-05-17  Richard Henderson  <rth@redhat.com>
51960         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
51961         Create the __##syscall_name##_nocancel entry point.
51962         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
51963         Remove; let the sysdep-cancel.h code create it.
51965 2014-05-17  David S. Miller  <davem@davemloft.net>
51967         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
51968         Protect with __USE_GNU.
51969         (TIOCSET_TEMPT): Likewise.
51970         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
51971         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
51972         these are already provided in bits/ioctl-types.h
51974 2014-05-16  Roland McGrath  <roland@hack.frob.com>
51976         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
51977         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
51979         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
51980         Use wait4 regardless of [__NR_waitpid].
51982 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
51984         PR libgcc/60166
51985         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
51986         (_FP_NANSIGN_Q): Set the quiet bit.
51988 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
51990         * benchtests/Makefile
51991         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
51992         not $(common-objpfx)math/libm.so.
51993         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
51994         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
51995         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
51996         $(common-objpfx)dlfcn/libdl.so.
51997         ($(objpfx)tst-audit8): Depend on $(libm), not
51998         $(common-objpfx)math/libm.so.
51999         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
52000         not $(common-objpfx)dlfcn/libdl.so.
52001         * math/Makefile
52002         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
52003         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
52004         [$(build-shared) = yes].
52005         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
52006         $(common-objpfx)nptl/libpthread.so.
52007         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
52008         $(common-objpfx)math/libm.so$(libm.so-version) or
52009         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
52010         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
52011         $(common-objpfx)dlfcn/libdl.so.
52012         * setjmp/Makefile (link-libm): Remove variable.
52013         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
52014         * stdio-common/Makefile (link-libm): Remove variable.
52015         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
52016         * stdlib/Makefile (link-libm): Remove variable.
52017         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
52018         ($(objpfx)tst-strtod-round): Likewise.
52019         ($(objpfx)tst-tininess): Likewise.
52020         ($(objpfx)tst-strtod-underflow): Likewise.
52021         ($(objpfx)tst-strtod6): Likewise.
52022         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
52023         $(libdl), not $(common-objpfx)nptl/libpthread.so and
52024         $(common-objpfx)dlfcn/libdl.so.
52026 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52028         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
52029         BSD terminal modes definitions.
52031 2014-05-16  Roland McGrath  <roland@hack.frob.com>
52033         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
52034         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
52036         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
52037         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
52038         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
52039         Don't do #include_next.
52040         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
52041         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
52042         Don't do #include_next.
52043         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
52044         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
52045         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
52046         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
52048 2014-05-16  Allan McRae  <allan@archlinux.org>
52050         * po/sv.po: Update Swedish translation from translation project.
52052         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
52053         in sed expression.
52055 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
52057         [BZ #16917]
52058         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
52059         errno if the TIOCGPTN ioctl fails with an error different than
52060         EINVAL.
52061         * login/tst-ptsname.c: New file.
52062         * login/Makefile (tests): Add tst-ptsname.
52064         [BZ #16943]
52065         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
52066         and prlimit64.
52068 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52070         [BZ #16849]
52071         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
52072         herrno to return EAI_AGAIN.
52074 2014-05-14  Roland McGrath  <roland@hack.frob.com>
52076         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
52077         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
52078         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
52079         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
52080         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
52081         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
52082         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
52083         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
52084         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
52085         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
52086         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
52087         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
52088         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
52089         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
52090         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
52091         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
52092         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
52093         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
52094         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
52095         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
52096         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
52097         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
52098         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
52099         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
52100         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
52101         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
52102         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
52103         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
52104         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
52105         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
52106         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
52107         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
52108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
52109         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
52110         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52111         Moved ...
52112         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
52113         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
52114         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
52115         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
52116         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
52117         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
52118         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
52119         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
52120         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
52121         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
52122         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
52123         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
52124         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
52125         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
52126         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
52127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
52128         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
52129         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
52130         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
52131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
52132         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
52133         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
52134         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
52135         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
52136         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
52137         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
52138         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
52139         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
52140         Moved ...
52141         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
52142         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
52143         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
52144         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
52145         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
52146         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
52147         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
52148         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
52149         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
52150         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
52151         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
52152         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
52153         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
52154         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
52155         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
52156         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
52157         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
52158         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
52159         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
52160         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
52161         Moved ...
52162         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
52163         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
52164         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
52166         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
52167         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
52168         (libpthread-sysdep_routines): Add elision-related stuff here instead.
52169         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
52170         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
52171         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
52172         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
52173         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
52174         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
52175         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
52176         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
52177         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
52178         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
52179         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
52180         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
52181         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
52182         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
52183         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
52184         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
52185         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
52186         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
52187         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
52188         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
52189         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
52190         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
52191         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
52192         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
52193         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
52194         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
52195         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
52196         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
52198         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
52199         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
52201         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
52202         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
52203         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
52204         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
52205         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
52206         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
52207         Moved ...
52208         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
52209         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
52210         Moved ...
52211         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
52212         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
52213         Moved ...
52214         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
52215         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
52216         Moved ...
52217         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
52218         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
52219         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
52220         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
52221         Moved ...
52222         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
52223         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
52224         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
52225         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
52226         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
52227         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
52228         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
52229         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
52230         Moved ...
52231         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
52232         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52233         Moved ...
52234         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52235         ... here.
52236         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
52237         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
52238         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
52239         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
52240         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52241         Moved ...
52242         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52243         ... here.
52244         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
52245         Moved ...
52246         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
52247         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
52248         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
52249         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
52250         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
52251         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
52252         Moved ...
52253         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
52254         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
52255         Moved ...
52256         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
52257         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
52258         Moved ...
52259         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
52260         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
52261         Moved ...
52262         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
52263         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
52264         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
52265         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
52266         Moved ...
52267         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
52268         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
52269         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
52270         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
52271         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
52272         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
52273         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
52274         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
52275         Moved ...
52276         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
52277         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52278         Moved ...
52279         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52280         ... here.
52281         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
52282         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
52283         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
52284         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
52285         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52286         Moved ...
52287         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52288         ... here.
52289         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
52290         Moved ...
52291         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
52292         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
52293         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
52294         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
52295         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
52296         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
52297         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
52298         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
52299         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
52300         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
52301         Moved ...
52302         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
52303         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
52304         Moved ...
52305         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
52306         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
52307         Moved ...
52308         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
52309         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
52310         Moved ...
52311         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
52312         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
52313         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
52314         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
52315         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
52316         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
52317         Moved ...
52318         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
52319         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
52320         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
52321         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
52322         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
52323         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
52324         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
52325         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
52326         Moved ...
52327         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
52328         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52329         Moved ...
52330         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52331         ... here.
52332         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
52333         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
52334         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
52335         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
52336         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52337         Moved ...
52338         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52339         ... here.
52340         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
52341         Moved ...
52342         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
52343         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
52344         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
52345         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
52346         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
52347         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
52348         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
52349         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
52350         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
52351         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
52352         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
52354         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
52355         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
52357         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
52358         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
52360         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
52361         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
52362         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
52363         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
52364         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
52365         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
52366         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
52367         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
52368         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
52369         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
52370         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
52371         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
52372         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
52373         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
52374         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
52375         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
52376         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
52377         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
52378         Moved ...
52379         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
52380         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
52381         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
52382         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
52383         Moved ...
52384         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
52385         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
52386         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
52387         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
52388         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
52389         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
52390         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
52391         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
52392         Moved ...
52393         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
52394         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
52395         Moved ...
52396         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
52397         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
52398         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
52399         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
52400         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
52401         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
52402         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
52403         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
52404         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
52405         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
52406         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
52407         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
52408         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
52409         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
52410         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
52411         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
52412         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
52414         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
52415         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
52416         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
52417         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
52418         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
52420         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
52421         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
52422         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
52423         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
52424         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
52425         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
52426         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
52427         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
52428         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
52429         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
52431         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
52432         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
52434         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
52435         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
52436         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
52437         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
52438         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
52439         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
52440         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
52441         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
52442         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
52443         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
52444         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
52445         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
52446         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
52447         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
52448         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
52449         Update #include.
52450         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
52451         Likewise.
52452         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
52453         Likewise.
52454         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
52455         Likewise.
52456         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
52457         Likewise.
52458         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
52459         Likewise.
52460         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
52461         Likewise.
52462         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
52463         Likewise.
52464         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
52465         Likewise.
52466         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
52467         Likewise.
52468         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
52469         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
52470         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
52471         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
52472         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
52473         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
52474         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
52475         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
52476         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
52477         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
52478         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
52479         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
52480         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
52481         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
52482         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
52484         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
52485         that was previously under [RESET_PID].
52486         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
52487         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
52488         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
52490         * sysdeps/i386/nptl/Implies: New file.
52491         * sysdeps/x86_64/nptl/Implies: New file.
52492         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
52493         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
52494         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
52495         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
52497         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
52498         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52499         (__libc_vfork): New strong alias.
52500         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
52501         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
52503         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
52504         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52505         (__libc_vfork): New strong alias.
52506         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
52507         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
52509         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
52510         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52511         (__libc_vfork): New strong alias.
52512         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
52513         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
52514         * nptl/pt-vfork.c: New file.
52515         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
52516         (libpthread: GLIBC_2.20): New version set (empty).
52518 2014-05-14  Will Newton  <will.newton@linaro.org>
52520         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
52521         rather than #if.
52523 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
52525         [BZ #16564]
52526         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
52527         arguments with exponent 65 or above.
52528         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
52529         arguments 0x1p113L or above.
52530         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
52531         to arguments 0x1p107L or above.
52532         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
52533         positive arguments with exponent 65 or above.
52534         * math/auto-libm-test-in: Add more tests of log1p.
52535         * math/auto-libm-test-out: Regenerated.
52537         [BZ #16928]
52538         * math/s_cacos.c (__cacos): Ensure zero real part of result from
52539         non-finite arguments is +0.
52540         * math/s_cacosf.c (__cacosf): Likewise.
52541         * math/s_cacosl.c (__cacosl): Likewise.
52542         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
52543         * sysdeps/i386/fpu/libm-test-ulps: Update.
52544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52546         [BZ #16927]
52547         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
52548         value.
52549         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
52550         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
52551         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
52552         for explicit high bit of mantissa when testing for argument equal
52553         to 1.
52554         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
52555         * sysdeps/i386/fpu/libm-test-ulps: Update.
52556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52558         [BZ #16516]
52559         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
52560         (__erf): Scale by 16 instead of 8 in potentially underflowing
52561         case.  Ensure exception if result actually underflows.
52562         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
52563         (__erff): Scale by 16 instead of 8 in potentially underflowing
52564         case.  Ensure exception if result actually underflows.
52565         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
52566         (efx8): Remove variable.
52567         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52568         case.  Ensure exception if result actually underflows.
52569         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
52570         (efx8): Remove variable.
52571         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52572         case.  Ensure exception if result actually underflows.
52573         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
52574         (efx8): Remove variable.
52575         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52576         case.  Ensure exception if result actually underflows.
52577         * math/auto-libm-test-in: Add more tests of erf.
52578         * math/auto-libm-test-out: Regenerated.
52580 2014-05-14  Andreas Schwab  <schwab@suse.de>
52582         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
52583         Remove code conditionalized on USE___THREAD.
52585         * config.h.in (HAVE_PT_CHOWN): Define as 0.
52586         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
52587         not definedness.
52589 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
52591         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
52592         Define unconditionally.
52593         (__ASSUME_O_CLOEXEC): Likewise.
52594         (__ASSUME_SOCK_CLOEXEC): Likewise.
52595         (__ASSUME_IN_NONBLOCK): Likewise.
52596         (__ASSUME_PIPE2): Likewise.
52597         (__ASSUME_EVENTFD2): Likewise.
52598         (__ASSUME_SIGNALFD4): Likewise.
52599         (__ASSUME_DUP3): Likewise.
52600         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52601         (__ASSUME_DUP3): Do not define.
52602         (__ASSUME_EVENTFD2): Likewise.
52603         (__ASSUME_IN_NONBLOCK): Likewise.
52604         (__ASSUME_O_CLOEXEC): Likewise.
52605         (__ASSUME_PIPE2): Likewise.
52606         (__ASSUME_SIGNALFD4): Likewise.
52607         (__ASSUME_SOCK_CLOEXEC): Likewise.
52608         (__ASSUME_UTIMES): Undefine.
52609         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52610         (__ASSUME_UTIMES): Do not define.
52611         (__ASSUME_O_CLOEXEC): Likewise.
52612         (__ASSUME_SOCK_CLOEXEC): Likewise.
52613         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
52614         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
52615         0x020621].
52616         (__ASSUME_PIPE2): Likewise.
52617         (__ASSUME_EVENTFD2): Likewise.
52618         (__ASSUME_SIGNALFD4): Likewise.
52619         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
52620         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
52621         Do not define.
52622         (__ASSUME_EVENTFD2): Likewise.
52623         (__ASSUME_SIGNALFD4): Likewise.
52624         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
52625         (__ASSUME_32BITUIDS): Likewise.
52626         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
52627         (__ASSUME_IPC64): Likewise.
52628         (__ASSUME_ST_INO_64_BIT): Likewise.
52629         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
52630         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
52631         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52632         (__ASSUME_UTIMES): Do not define.
52633         (__ASSUME_PSELECT): Likewise.
52634         (__ASSUME_PPOLL): Likewise.
52635         (__ASSUME_O_CLOEXEC): Likewise.
52636         (__ASSUME_SOCK_CLOEXEC): Likewise.
52637         (__ASSUME_IN_NONBLOCK): Likewise.
52638         (__ASSUME_PIPE2): Likewise.
52639         (__ASSUME_EVENTFD2): Likewise.
52640         (__ASSUME_SIGNALFD4): Likewise.
52641         (__ASSUME_DUP3): Likewise.
52642         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52643         (__ASSUME_UTIMES): Likewise.
52644         (__ASSUME_O_CLOEXEC): Likewise.
52645         (__ASSUME_SOCK_CLOEXEC): Likewise.
52646         (__ASSUME_IN_NONBLOCK): Likewise.
52647         (__ASSUME_PIPE2): Likewise.
52648         (__ASSUME_EVENTFD2): Likewise.
52649         (__ASSUME_SIGNALFD4): Likewise.
52650         (__ASSUME_DUP3): Likewise.
52651         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52652         (__ASSUME_UTIMES): Likewise.
52653         (__ASSUME_O_CLOEXEC): Likewise.
52654         (__ASSUME_SOCK_CLOEXEC): Likewise.
52655         (__ASSUME_IN_NONBLOCK): Likewise.
52656         (__ASSUME_PIPE2): Likewise.
52657         (__ASSUME_EVENTFD2): Likewise.
52658         (__ASSUME_SIGNALFD4): Likewise.
52659         (__ASSUME_DUP3): Likewise.
52660         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
52661         Likewise.
52662         (__ASSUME_UTIMES): Likewise.
52663         (__ASSUME_EVENTFD2): Likewise.
52664         (__ASSUME_SIGNALFD4): Likewise.
52665         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52666         (__ASSUME_O_CLOEXEC): Likewise.
52667         (__ASSUME_SOCK_CLOEXEC): Likewise.
52668         (__ASSUME_IN_NONBLOCK): Likewise.
52669         (__ASSUME_PIPE2): Likewise.
52670         (__ASSUME_EVENTFD2): Likewise.
52671         (__ASSUME_SIGNALFD4): Likewise.
52672         (__ASSUME_DUP3): Likewise.
52673         (__ASSUME_UTIMES): Undefine.
52675         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
52676         feclearexcept.  Remove symbol versioning code.
52677         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
52678         symbol versioning code.
52679         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
52680         symbol versioning code.
52681         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
52682         feupdateenv.  Remove symbol versioning code.
52683         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
52684         fegetexceptflag.  Remove symbol versioning code.
52685         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
52686         fesetexceptflag.  Remove symbol versioning code.
52687         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
52688         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
52689         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
52690         (__posix_fadvise64_l32): Remove prototype.
52691         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
52692         code.
52694 2014-05-13  Roland McGrath  <roland@hack.frob.com>
52696         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
52697         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
52698         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
52699         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
52701 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
52703         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
52704         current working directory
52706 2014-05-13  Roland McGrath  <roland@hack.frob.com>
52708         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
52709         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
52710         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
52711         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
52712         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
52713         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
52714         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
52715         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
52716         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
52717         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
52718         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
52719         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
52720         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
52721         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
52722         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
52723         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
52724         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
52725         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
52726         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
52727         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
52728         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
52729         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
52730         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
52731         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
52732         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
52733         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
52734         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
52735         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
52736         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
52737         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
52738         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
52739         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
52740         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
52741         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
52742         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
52743         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
52744         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
52745         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
52746         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
52747         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
52748         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
52749         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
52751         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
52752         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
52754         * sysdeps/unix/sysv/linux/arm/Makefile
52755         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
52756         Add rt-aeabi_unwind_cpp_pr1.
52757         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
52758         Add nptl-aeabi_unwind_cpp_pr1.
52759         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
52760         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
52761         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
52762         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
52763         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
52764         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
52766         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
52767         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
52768         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
52769         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
52771         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
52772         Deconditionalize the code that was previously under [RESET_PID].
52773         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
52775         * sysdeps/generic/exit-thread.h: New file.
52776         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
52777         * include/unistd.h (__exit_thread): Remove declaration.
52778         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
52779         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
52780         * csu/libc-start.c: Include <exit-thread.h>.
52781         (LIBC_START_MAIN): Pass no argument to __exit_thread.
52782         * nptl/pthread_create.c: Include <exit-thread.h>.
52783         (start_thread): Call __exit_thread in place of __exit_thread_inline.
52784         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
52785         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
52786         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
52787         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
52788         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
52789         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
52790         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
52791         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
52792         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
52793         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
52794         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
52795         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
52796         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
52797         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
52798         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
52799         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
52801 2014-05-13  Andreas Schwab  <schwab@suse.de>
52803         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
52805 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
52807         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
52808         (__ASSUME_UTIMES): Do not condition on kernel version.
52809         (__ASSUME_PSELECT): Define unconditionally.
52810         (__ASSUME_PPOLL): Likewise.
52811         (__ASSUME_ATFCTS): Likewise.
52812         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
52813         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
52814         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
52815         (__ASSUME_UTIMENSAT): Define unconditionally.
52816         (__ASSUME_PRIVATE_FUTEX): Likewise.
52817         (__ASSUME_FALLOCATE): Likewise.
52818         (__ASSUME_O_CLOEXEC): Likewise.
52819         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
52820         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
52821         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
52822         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
52823         (__ASSUME_IN_NONBLOCK): Likewise.
52824         (__ASSUME_PIPE2): Likewise.
52825         (__ASSUME_EVENTFD2): Likewise.
52826         (__ASSUME_SIGNALFD4): Likewise.
52827         (__ASSUME_DUP3): Likewise.
52828         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52829         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
52830         (__ASSUME_AT_RANDOM): Likewise.
52831         (__ASSUME_PREADV): Likewise.
52832         (__ASSUME_PWRITEV): Likewise.
52833         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
52834         (__ASSUME_F_GETOWN_EX): Define unconditionally.
52835         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
52836         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52837         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
52838         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52839         (__ASSUME_O_CLOEXEC): Define unconditionally.
52840         (__ASSUME_PSELECT): Do not undefine conditionally.
52841         (__ASSUME_PPOLL): Likewise.
52842         (__ASSUME_ATFCTS): Likewise.
52843         (__ASSUME_SET_ROBUST_LIST): Likewise.
52844         (__ASSUME_UTIMENSAT): Likewise.
52845         (__ASSUME_FDATASYNC): Define unconditionally.
52846         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52847         (__ASSUME_SIGFRAME_V2): Likewise.
52848         )__ASSUME_EVENTFD2): Likewise.
52849         (__ASSUME_SIGNALFD4): Likewise.
52850         (__ASSUME_PSELECT): Do not undefine conditionally.
52851         (__ASSUME_PPOLL): Likewise.
52852         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52853         (__ASSUME_PSELECT): Define unconditionally.
52854         (__ASSUME_PPOLL): Likewise.
52855         (__ASSUME_O_CLOEXEC): Likewise.
52856         (__ASSUME_SOCK_CLOEXEC): Likewise.
52857         (__ASSUME_IN_NONBLOCK): Likewise.
52858         (__ASSUME_PIPE2): Likewise.
52859         (__ASSUME_EVENTFD2): Likewise.
52860         (__ASSUME_SIGNALFD4): Likewise.
52861         (__ASSUME_DUP3): Likewise.
52862         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52863         (__ASSUME_O_CLOEXEC): Likewise.
52864         (__ASSUME_SOCK_CLOEXEC): Likewise.
52865         (__ASSUME_IN_NONBLOCK): Likewise.
52866         (__ASSUME_PIPE2): Likewise.
52867         (__ASSUME_EVENTFD2): Likewise.
52868         (__ASSUME_SIGNALFD4): Likewise.
52869         (__ASSUME_DUP3): Likewise.
52870         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52871         (__ASSUME_EVENTFD2): Likewise.
52872         (__ASSUME_SIGNALFD4): Likewise.
52873         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52875 2014-05-12  Andreas Schwab  <schwab@suse.de>
52877         [BZ #16932]
52878         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
52879         (_nss_nis_gethostbyname4_r): Return error if item length is larger
52880         than maximum RPC packet size.
52881         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
52882         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
52883         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
52884         (_nss_nis_getservbyport_r): Likewise.
52886 2014-05-12  Will Newton  <will.newton@linaro.org>
52888         * malloc/Makefile (tests): Add tst-mallopt.
52889         * malloc/tst-mallopt.c: New file.
52891 2014-05-09  Roland McGrath  <roland@hack.frob.com>
52893         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
52894         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
52896 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52898         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
52899         (tst-tlsmod6.so): Likewise.
52901 2014-05-09  Roland McGrath  <roland@hack.frob.com>
52903         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
52905 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
52907         [BZ #16064]
52908         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
52909         and <dl-procinfo.h>.
52910         (__fegetenv): Save SSE state in envp->__eip if supported.
52911         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
52912         envp->__eip if supported.
52913         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
52914         and <dl-procinfo.h>.
52915         (__fesetenv): Always set __eip, __cs_selector, __opcode,
52916         __data_offset and __data_selector in environment to 0.  Set SSE
52917         state if supported.
52918         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
52919         test-fenv-sse.
52920         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
52921         -mfpmath=sse.
52922         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
52924 2014-05-09  Will Newton  <will.newton@linaro.org>
52926         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
52927         and libc_relro_required for ARM.
52928         * sysdeps/arm/preconfigure: Regenerate.
52930 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
52931             Stefan Liebler  <stli@linux.vnet.ibm.com>
52933         * config.make.in (enable-lock-elision): New Makefile variable.
52934         * configure.ac: Likewise.
52935         * configure: Regenerate.
52936         * sysdeps/s390/configure.ac:
52937         Add check for gcc transactions support.
52938         * sysdeps/s390/configure: Regenerate.
52939         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
52940         Build elision files if enabled.
52941         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
52942         Add lock elision support for s390.
52943         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
52944         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
52945         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
52946         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
52947         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
52948         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
52949         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
52950         Likewise.
52951         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
52952         Likewise.
52953         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
52954         Likewise.
52955         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
52956         Likewise.
52957         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
52958         (__lll_timedlock_elision, __lll_lock_elision)
52959         (__lll_unlock_elision, __lll_trylock_elision)
52960         (lll_timedlock_elision, lll_lock_elision)
52961         (lll_unlock_elision, lll_trylock_elision): Add.
52962         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52963         (pthread_mutex_t): Add lock elision support for s390.
52965 2014-05-14  Wilco  <wdijkstr@arm.com>
52967         * sysdeps/arm/fclrexcpt.c: Cleanup.
52968         * sysdeps/arm/fedisblxcpt.c: Cleanup.
52969         * sysdeps/arm/feenablxcpt.c: Cleanup.
52970         * sysdeps/arm/fegetenv.c: Cleanup.
52971         * sysdeps/arm/fegetexcept.c: Cleanup.
52972         * sysdeps/arm/fegetround.c: Cleanup.
52973         * sysdeps/arm/feholdexcpt.c: Cleanup.
52974         * sysdeps/arm/fesetenv.c: Cleanup.
52975         * sysdeps/arm/fesetround.c: Cleanup.
52976         * sysdeps/arm/feupdateenv.c: Cleanup.
52977         * sysdeps/arm/fgetexcptflg.c: Cleanup.
52978         * sysdeps/arm/fraiseexcpt.c: Cleanup.
52979         * sysdeps/arm/fsetexcptflg.c: Cleanup.
52980         * sysdeps/arm/ftestexcept.c: Cleanup.
52981         * sysdeps/arm/get-rounding-mode.h: Cleanup.
52982         * sysdeps/arm/setfpucw.c: Cleanup.
52984 2014-05-09  Will Newton  <will.newton@linaro.org>
52986         * sysdeps/arm/armv7/strcmp.S: New file.
52987         * NEWS: Mention addition of ARMv7 optimized strcmp.
52989 2014-05-08  Roland McGrath  <roland@hack.frob.com>
52991         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
52992         look for %.ac rather than %.in.
52994         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
52995         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
52996         * sysdeps/mach/hurd/configure: Regenerated.
52997         * sysdeps/unix/sysv/linux/configure: Regenerated.
52999         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
53001 2014-05-07  Steve Ellcey  <sellcey@mips.com>
53003         [BZ #16922]
53004         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
53005         (LONG_SUB): Ditto.
53006         (PTR_SUB): Ditto.
53008 2014-05-07  Andreas Schwab  <schwab@suse.de>
53010         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
53011         when skipping over non-matching result from nscd.
53013 2014-05-07  Ondƙej BĂ­lka  <neleai@seznam.cz>
53015         [BZ #16876]
53016         * nptl/sockperf.c (client): Check socket return value.
53018         [BZ #16877]
53019         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
53020         nscd security class.
53022 2014-05-06  Roland McGrath  <roland@hack.frob.com>
53024         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
53025         * sysdeps/arm/unwind.h: ... here.
53027 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
53029         [BZ #16916]
53030         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
53031         Define.
53033 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
53035         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
53036         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
53037         multiarch strncpy for PPC64.
53038         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
53039         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
53040         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
53041         multiarch optimizations.
53042         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53043         (__libc_ifunc_impl_list): Likewise.
53044         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
53045         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
53046         multiarch stpncpy for PPC64.
53047         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
53048         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
53050 2014-05-06  Andreas Schwab  <schwab@suse.de>
53052         [BZ #16912]
53053         * gmon/mcount.c (_MCOUNT_DECL): Use
53054         atomic_compare_and_exchange_bool_acq instead of
53055         catomic_compare_and_exchange_bool_acq.
53057 2014-05-05  Roland McGrath  <roland@hack.frob.com>
53059         * elf/Makefile (others, install-bin): Remove pldd.
53060         (pldd-modules): Variable removed.
53061         ($(objpfx)pldd): Target removed.
53062         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
53063         (others, install-bin): Append pldd here.
53064         ($(objpfx)pldd): New target.
53066         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
53067         to 0, so the first #if test emitted later doesn't see it undefined.
53068         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
53069         * sysdeps/gnu/errlist.c: Regenerated.
53071 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53073         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
53074         [libc_hidden_builtin_def]: Define to empty value.
53075         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
53076         [libc_hidden_builtin_def]: Likewise.
53077         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
53078         [libc_hidden_builtin_def]: Likewise.
53079         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
53080         [libc_hidden_builtin_def]: Likewise.
53081         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
53082         __redirect_memcpy and define ifunc as default hidden symbol.
53083         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
53084         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
53086 2014-05-04  Adam Conrad  <adconrad@0c3.net>
53088         * locale/iso-4217.def: Reintroduce XDR currency.
53090 2014-05-04  Allan McRae  <allan@archlinux.org>
53092         * po/eo.po: Update Esperanto translation from translation project.
53094 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
53096         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
53097         and FEATURE_INDEX_MAX to 1.
53098         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
53100 2014-05-01  Steve Ellcey  <sellcey@mips.com>
53102         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
53103         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
53104         * iconvdata/big5.c (ONE_DIRECTION): Define.
53105         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
53106         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
53107         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
53108         * iconvdata/cp932.c (ONE_DIRECTION): Define.
53109         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
53110         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
53111         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
53112         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
53113         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
53114         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
53115         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
53116         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
53117         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
53118         * iconvdata/gbk.c (ONE_DIRECTION): Define.
53119         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
53120         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
53121         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
53122         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
53123         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
53124         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
53125         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
53126         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
53127         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
53128         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
53129         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
53130         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
53131         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
53132         * iconvdata/iso646.c (ONE_DIRECTION): Define.
53133         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
53134         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
53135         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
53136         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
53137         * iconvdata/johab.c (ONE_DIRECTION): Define.
53138         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
53139         * iconvdata/sjis.c (ONE_DIRECTION): Define.
53140         * iconvdata/t.61.c (ONE_DIRECTION): Define.
53141         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
53142         * iconvdata/tscii.c (ONE_DIRECTION): Define.
53143         * iconvdata/uhc.c (ONE_DIRECTION): Define.
53144         * iconvdata/unicode.c (ONE_DIRECTION): Define.
53145         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
53146         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
53147         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
53149 2014-05-01  Roland McGrath  <roland@hack.frob.com>
53151         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
53152         (_IO_JUMPS_OFFSET): Define to 0.
53154         * nptl/sysdeps/pthread/bits/libc-lock.h
53155         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
53156         (__libc_lock_define_initialized_recursive): Always define using
53157         initializer.  Modern compilers treat uninitialized (implicit zero) and
53158         explicit zero initializers the same (i.e. put the datum in bss).
53160 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
53162         * nscd/nscd-client.h: Include <string.h>.
53164 2014-05-01  David S. Miller  <davem@davemloft.net>
53166         [BZ #16885]
53167         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
53168         multiple zero bytes exist at the end of a string.
53169         Reported by Aurelien Jarno <aurelien@aurel32.net>
53171         * string/test-strcmp.c (check): Add explicit test for situations where
53172         there are multiple zero bytes after the first.
53174 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
53176         [BZ #16890]
53177         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
53178         when compiling wprintf.
53179         * stdio-common/tstdiomisc.c (t3): New function.
53180         (main): Call it.
53182 2014-05-01  Steve Ellcey  <sellcey@mips.com>
53184         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
53185         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
53186         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
53187         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
53189 2014-05-01  Steve Ellcey  <sellcey@mips.com>
53191         * stdlib/longlong.h: Updated from GCC.
53193 2014-05-01  Will Newton  <will.newton@linaro.org>
53194             Bernard Ogden  <bernie.ogden@linaro.org>
53196         * NEWS: Update fixed bug list.
53198         [BZ #15119]
53199         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
53201 2014-04-30  David S. Miller  <davem@davemloft.net>
53203         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
53204         (libc_feholdexcept_setround_sparc_ctx): New function.
53205         (libc_fesetenv_sparc_ctx): Likewise.
53206         (libc_feupdateenv_sparc_ctx): Likewise.
53207         (libc_feholdsetround_sparc_ctx): Likewise.
53208         (libc_feholdexcept_setround_ctx): Define.
53209         (libc_feholdexcept_setroundf_ctx): Likewise.
53210         (libc_feholdexcept_setroundl_ctx): Likewise.
53211         (libc_fesetenv_ctx): Likewise.
53212         (libc_fesetenvf_ctx): Likewise.
53213         (libc_fesetenvl_ctx): Likewise.
53214         (libc_feupdateenv_ctx): Likewise.
53215         (libc_feupdateenvf_ctx): Likewise.
53216         (libc_feupdateenvl_ctx): Likewise.
53217         (libc_feresetround_ctx): Likewise.
53218         (libc_feresetroundf_ctx): Likewise.
53219         (libc_feresetroundl_ctx): Likewise.
53220         (libc_feholdsetround_ctx): Likewise.
53221         (libc_feholdsetroundf_ctx): Likewise.
53222         (libc_feholdsetroundl_ctx): Likewise.
53224         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53225         with __USE_GNU instead of XOPEN cpp guards.
53227         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
53228         0.
53230         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53231         with XOPEN cpp guards.
53233 2014-04-30  Julian Brown  <julian@codesourcery.com>
53235         [BZ #16888]
53236         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
53237         handling.
53239 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
53241         [BZ #9894]
53242         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
53243         Change to 2.6.32.
53244         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
53245         * sysdeps/unix/sysv/linux/configure: Regenerated.
53246         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
53247         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
53248         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
53249         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
53250         * README: Update reference to required Linux kernel version.
53251         * manual/install.texi (Linux): Update reference to required Linux
53252         kernel headers version.
53253         * INSTALL: Regenerated.
53255         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
53256         header inclusion.
53257         [POSIX] (limits.h): Likewise.
53258         [POSIX] (math.h): Likewise.
53259         [POSIX] (sys/wait.h): Likewise.
53260         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
53261         function.
53262         [POSIX] (stddef.h): Do not allow header inclusion.
53264 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53266         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
53268 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
53270         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
53271         Return immediately after lll_futex_wake.
53273 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53275         [BZ #16791]
53276         * nscd/nscd-client.h (datahead_init_common): Initialize entire
53277         structure.
53278         (datahead_init_pos): Call datahead_init_common early.
53279         (datahead_init_neg): Likewise.
53281         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
53282         datahead_init_neg): New functions.
53283         * nscd/aicache.c (addhstaiX): Use them.
53284         * nscd/grpcache.c (cache_addgr): Likewise.
53285         * nscd/hstcache.c (cache_addhst): Likewise.
53286         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53287         * nscd/netgroupcache.c (do_notfound): Likewise.
53288         (addgetnetgrentX): Likewise.
53289         (addinnetgrX): Likewise.
53290         * nscd/pwdcache.c (cache_addpw): Likewise.
53291         * nscd/servicescache.c (cache_addserv): Likewise.
53293 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53294             Atsushi Onoe  <atsushi@onoe.org>
53296         [BZ #14308]
53297         [BZ #12994]
53298         [BZ #13651]
53299         * resolv/res_query.c (__libc_res_nsearch): Return if at least
53300         one response is valid.
53301         * resolv/res_send.c (send_dg): Check for validity of other
53302         response if the current response is a referral.
53304 2014-04-29  Steve Ellcey  <sellcey@mips.com>
53306         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
53308 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
53310         [BZ #16823]
53311         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
53312         Always divide by positive zero when computing -Inf result.
53313         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
53314         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
53316 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53318         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
53319         FPSCR if value do not change.
53320         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
53321         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
53322         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
53323         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53324         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
53325         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
53326         function.
53328 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
53330         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
53331         * sysdeps/unix/sysv/linux/hppa: Move directory from
53332         ports/systeps/unix/sysv/linux/hppa.
53333         * README: Update listing for hppa-*-linux-gnu.
53335 2014-04-28  Ondƙej BĂ­lka  <neleai@seznam.cz>
53337         [BZ #16754]
53338         * manual/stdio.texi (Hook functions): Fix types of stream hook
53339         functions.
53340         [BZ #16854]
53341         * socket/sys/socket.h: Fix typo in comment.
53343 2014-04-28  Wilco  <wdijkstr@arm.com>
53345         * sysdeps/arm/fenv_private.h: New file.
53346         * sysdeps/arm/math_private.h: New file.
53347         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
53349 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
53351         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
53352         with __int128_t.
53353         (La_x86_64_retval): Likewise.
53355 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
53357         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
53358         fpsr if value didn't change.
53359         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
53360         to fpcr if value didn't change.
53361         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
53362         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
53363         fpsr or fpcr if value didn't change.
53364         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53365         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
53366         fpcr if value didn't change.
53367         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
53368         to fpsr if value didn't change.
53370 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
53372         * nptl/tst-sem3.c: Use test-skeleton.c
53373         (main): Rename to do_test.  Use return instead of
53374         exit.
53375         * nptl/tst-sem4.c: Use test-skeleton.c
53376         (main): Rename to do_test.
53378 2014-04-22  David S. Miller  <davem@davemloft.net>
53380         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
53381         (struct sigaction): New struct member __glibc_reserved0, change
53382         type of sa_flags to int.
53384 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
53386         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
53387         (COUNT_LEADING_ZEROS_0): Define for AArch64.
53389 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53391         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
53392         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
53394 2014-04-22  Will Newton  <will.newton@linaro.org>
53395             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
53397         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
53398         (__longjmp): Add longjmp and longjmp_target SystemTap
53399         probes.
53400         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
53401         (__sigsetjmp): Add setjmp SystemTap probe.
53403 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
53405         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
53406         match manual order.
53408 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53410         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
53412         * sysdeps/powerpc/fpu/fenv_private.h
53413         (libc_feholdexcept_setroundl_ctx): Define to
53414         libc_feholdexcept_setround_ppc_ctx.
53415         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
53416         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
53417         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
53418         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
53420 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
53422         * sysdeps/aarch64/math-tests.h: New file.
53424 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
53426         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
53427         New.
53428         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53429         Check and set bit_AVX2_Usable.
53430         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
53431         macro.
53432         (bit_AVX2): Likewise.
53433         (index_AVX2_Usable): Likewise.
53434         (CPUID_AVX2): Likewise.
53435         (HAS_AVX2): Likewise.
53437 2014-04-17  Will Newton  <will.newton@linaro.org>
53439         * manual/setjmp.texi (System V contexts): Add note that
53440         calling setcontext on a context created by a call to a
53441         signal handler is undefined.  Update text to note that
53442         setcontext from a signal handler is possible but not
53443         recommended.
53445         [BZ #16629]
53446         * stdlib/tst-setcontext.c: Include signal.h.
53447         (main): Check that the signal stack before and
53448         after swapcontext is the same.
53450         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
53451         Re-implement to restore registers in user code and avoid
53452         rt_sigreturn system call.
53454 2014-04-17  Wilco  <wdijkstr@arm.com>
53456         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
53457         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
53458         * math/test-fenv.c: Skip exception trap tests on targets which only
53459         support non-stop mode.
53461 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
53462             Wilco Dijkstra  <wilco.dijkstra@arm.com>
53464         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
53465         (libc_feholdsetround_aarch64_ctx)
53466         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
53467         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
53468         (libc_feresetround_ctx, libc_feresetroundf_ctx)
53469         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
53470         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
53471         (libc_feresetround_noexl_ctx): Define.
53473 2014-04-16  Richard Henderson  <rth@redhat.com>
53475         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
53477         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
53478         unwind tables.
53480         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
53481         const from the non-libc, non-ldso copy.
53483         * sysdeps/alpha/libm-test-ulps: Regenerate.
53485 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
53486             Wilco Dijkstra  <wilco.dijkstra@arm.com>
53488         * sysdeps/aarch64/fpu/math_private.h: New file.
53490 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53492         * sysdeps/aarch64/libm-test-ulps: Regenerate.
53494 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
53496         [BZ #16275]
53497         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
53498         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
53499         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
53500         Intel MPX bound registers before _dl_profile_fixup.
53501         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
53502         registers after _dl_profile_fixup.  Save and restore bound
53503         registers bnd0/bnd1 when calling _dl_call_pltexit.
53504         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
53505         (LR_BND_OFFSET): Likewise.
53506         (LRV_BND0_OFFSET): Likewise.
53507         (LRV_BND1_OFFSET): Likewise.
53509 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53511         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
53512         to...
53513         * sysdeps/mach/hurd/i386/tls.h: ... here.
53514         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
53515         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
53516         fields.
53518 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53520         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
53522 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
53524         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53526 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
53528         [BZ #14770]
53529         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
53530         * sysdeps/s390/configure: Regenerate.
53532         [BZ #16824]
53533         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
53534         Set round-to-nearest internally to reduce error accumulation.
53536 2014-04-16  Alan Modra  <amodra@gmail.com>
53538         [BZ #16740]
53539         [BZ #16619]
53540         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
53541         * math/libm-test.inc (frexp_test_data): Add tests.
53542         * NEWS: Update fixed bug list.
53544 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53546         * benchtests/Makefile: Depend on libraries in build directory.
53547         (bench-math): Separate out math tests.
53548         (bench-pthread): Separate out pthread tests.
53549         (bench): Include math and pthread tests.
53551 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
53553         [BZ #16831]
53554         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
53555         _dl_debug_initialize.
53557         * configure.ac: Remove SELinux header check.
53558         * configure: Regenerate.
53559         * nscd/selinux.c (perms): Array of const char* to permission names.
53560         (nscd_request_avc_has_perm): Call security_deny_unknown to find
53561         default policy. Call string_to_security_class and string_to_av_perm to
53562         translate strings. Enforce default policy and call avs_has_perm with
53563         results of translated strings.
53565 2014-04-13  David S. Miller  <davem@davemloft.net>
53567         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53569 2014-04-12  Allan McRae  <allan@archlinux.org>
53571         [BZ #16838]
53572         * manual/string.texi (Collation Functions): Fix qsort argument
53573         order in example.
53574         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
53576 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
53578         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
53579         Make the test a no-op if there are no exceptions defined.
53581 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
53583         * elf/Makefile (tests): make tst-dlopen-aout conditional on
53584         enable-hardcoded-path-in-tests
53586 2014-04-11  Will Newton  <will.newton@linaro.org>
53588         * benchtests/Makefile (extra-objs): Add json-lib.o.
53589         (bench-func): Tidy up JSON output.
53590         * benchtests/bench-skeleton.c: Include json-lib.h.
53591         (main): Use JSON library functions to do output of
53592         benchmark results.
53593         * benchtests/bench-timing-type.c (main): Output the
53594         timing type simply, leaving formatting to the user.
53595         * benchtests/json-lib.c: New file.
53596         * benchtests/json-lib.h: Likewise.
53598 2014-04-11  Torvald Riegel  <triegel@redhat.com>
53600         [BZ #15215]
53601         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
53602         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
53603         memory barriers.  Add comments.
53604         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
53605         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
53606         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
53607         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
53608         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
53609         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
53611 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
53613         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
53614         * sysdeps/s390/s390-64/configure.ac: ... this ...
53615         * sysdeps/s390/configure.ac: ... to here.
53616         * sysdeps/s390/s390-32/configure: Delete file.
53617         * sysdeps/s390/s390-64/configure: Delete file.
53618         * sysdeps/s390/configure: Regenerate.
53620 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
53622         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
53624 2014-04-11  Will Newton  <will.newton@linaro.org>
53626         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
53627         to zero if it is not defined elsewhere.  (mtrim): Test
53628         the value of MALLOC_DEBUG with #if rather than #ifdef.
53630 2014-04-10 Torvald Riegel  <triegel@redhat.com>
53632         * benchtests/pthread_once-inputs: New file.
53633         * benchtests/pthread_once-source.c: New file.
53634         * benchtests/README: Update documentation.
53636 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
53637             H.J. Lu  <hongjiu.lu@intel.com>
53639         [BZ #16275]
53640         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
53641         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
53642         * sysdeps/x86_64/configure: Regenerated.
53643         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
53644         macro.
53645         (REGISTER_SAVE_RAX): Likewise.
53646         (REGISTER_SAVE_RCX): Likewise.
53647         (REGISTER_SAVE_RDX): Likewise.
53648         (REGISTER_SAVE_RSI): Likewise.
53649         (REGISTER_SAVE_RDI): Likewise.
53650         (REGISTER_SAVE_R8): Likewise.
53651         (REGISTER_SAVE_R9): Likewise.
53652         (REGISTER_SAVE_BND0): Likewise.
53653         (REGISTER_SAVE_BND1): Likewise.
53654         (REGISTER_SAVE_BND2): Likewise.
53655         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
53656         bound registers when calling _dl_fixup.
53658 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53660         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
53661         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
53662         of its definition.
53663         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
53664         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
53665         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
53666         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
53667         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
53668         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
53669         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
53671 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
53673         [BZ #15514]
53674         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
53675         pathconf(_PC_NAME_MAX).
53677 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53679         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
53680         Remove macro usage.
53681         (__PTHREAD_SPINS): Move definition to ...
53682         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53683         (__PTHREAD_SPINS): ... here.
53684         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53685         (__PTHREAD_SPIN): Likewise.
53686         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
53687         (__PTHREAD_SPIN): Likewise.
53688         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
53689         (__PTHREAD_SPIN): Likewise.
53690         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
53691         (__PTHREAD_SPIN): Likewise.
53692         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
53693         (__PTHREAD_SPIN): Likewise.
53694         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
53695         (__PTHREAD_SPIN): Likewise.
53696         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
53697         (__PTHREAD_SPIN): Likewise.
53698         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
53699         (__PTHREAD_SPIN): Likewise.
53700         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
53701         (__PTHREAD_SPIN): Likewise.
53702         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
53703         (__PTHREAD_SPIN): Likewise.
53704         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
53705         (__PTHREAD_SPIN): Likewise.
53706         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
53707         (__PTHREAD_SPIN): Likewise.
53709         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
53710         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
53711         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
53712         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
53713         imply folder.
53714         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
53715         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
53716         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
53717         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
53718         correct imply path.
53719         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
53720         strlen symbol for non multi-arch builds.
53721         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
53722         missing hidden_def and weak_alias.
53724 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
53726         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
53728 2014-04-07  Will Newton  <will.newton@linaro.org>
53730         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
53731         and contents.  [!_LIBC] Remove #ifndef and contents.
53732         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
53733         * string/memccpy.c (__memccpy): Use ANSI prototype.
53734         * string/memfrob.c (memfrob): Likewise.
53735         * string/strcoll.c (STRCOLL): Likewise.
53736         * string/strlen.c (strlen): Likewise.
53737         * string/strtok.c (STRTOK): Likewise.
53738         * string/strcat.c: Remove unused #include of memcopy.h.
53739         (strcat): Use ANSI prototype.
53740         * string/strchr.c: Remove unused #include of memcopy.h.
53741         (strchr): Use ANSI prototype.
53742         * string/strcmp.c: Remove unused #include of memcopy.h.
53743         (strcmp): Use ANSI prototype.
53744         * string/strcpy.c: Remove unused #include of memcopy.h.
53745         (strcpy): Use ANSI prototype.
53747 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53749         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
53750         * config.make.in (config-extra-cppflags): Set it from
53751         libc_extra_cppflags.
53752         * configure.ac (libc_extra_cflags): Make it accumulate over
53753         configure fragments.
53754         (libc_extra_cppflags): New flag.
53755         * configure. Regenerate.
53756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
53757         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
53758         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
53759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
53761         [BZ #16815]
53762         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
53763         result for FE_DOWNWARD rounding mode.
53764         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
53765         Likewise.
53766         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53768 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
53770         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
53771         in function argument name.
53773 2014-04-03  David Svoboda  <svoboda@cert.org>
53775         [BZ #5666]
53776         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
53777         explicitly.
53779 2014-04-03  Roland McGrath  <roland@hack.frob.com>
53781         * elf/dl-unmap-segments.h: New file.
53782         * sysdeps/generic/ldsodefs.h
53783         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
53784         * elf/dl-close.c: Include <dl-unmap-segments.h>.
53785         * elf/dl-fptr.c: Likewise.
53786         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
53787         * sysdeps/aarch64/tlsdesc.c: Likewise.
53788         * sysdeps/arm/tlsdesc.c: Likewise.
53789         * sysdeps/i386/tlsdesc.c: Likewise.
53790         * sysdeps/tile/dl-runtime.c: Likewise.
53791         * sysdeps/x86_64/tlsdesc.c: Likewise.
53792         * elf/dl-load.h: New file.
53793         * elf/dl-load.c: Include it.
53794         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
53795         Macros moved to dl-load.h.
53796         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
53797         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
53798         Use _dl_unmap_segments in place of __munmap.
53799         Break out segment-mapping loop into ...
53800         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
53802 2014-04-03  Will Newton  <will.newton@linaro.org>
53804         * elf/dl-lookup.c (do_lookup_x): Remove comment
53805         referring to nested function and move variable
53806         declarations down to before first use.
53808 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
53810         [BZ #16799]
53811         [BZ #16800]
53812         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
53813         with 0 numerator.
53814         * math/s_catanf.c (__catanf): Likewise.
53815         * math/s_catanh.c (__catanh): Likewise.
53816         * math/s_catanhf.c (__catanhf): Likewise.
53817         * math/s_catanhl.c (__catanhl): Likewise.
53818         * math/s_catanl.c (__catanl): Likewise.
53819         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
53820         by positive zero when computing -Inf result.
53821         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
53822         (catanh_test): Likewise.
53823         * sysdeps/i386/fpu/libm-test-ulps: Update.
53824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53826         [BZ #16789]
53827         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
53828         instead of using underflowing value in computing result.
53829         * math/s_clog10.c (__clog10): Likewise.
53830         * math/s_clog10f.c (__clog10f): Likewise.
53831         * math/s_clog10l.c (__clog10l): Likewise.
53832         * math/s_clogf.c (__clogf): Likewise.
53833         * math/s_clogl.c (__clogl): Likewise.
53834         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
53835         (clog10_test): Likewise.
53836         * sysdeps/i386/fpu/libm-test-ulps: Update.
53837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53839 2014-04-02  Alan Modra  <amodra@gmail.com>
53841         [BZ #16739]
53842         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
53843         output when value is near a power of two.  Use int64_t for lx and
53844         remove casts.  Use decimal rather than hex exponent constants.
53845         Don't use long double multiplication when double will suffice.
53846         * math/libm-test.inc (nextafter_test_data): Add tests.
53847         * NEWS: Add 16739 and 16786 to bug list.
53849         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
53851         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
53853 2014-04-01  Will Newton  <will.newton@linaro.org>
53855         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
53856         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
53858 2014-04-01  Florian Weimer  <fweimer@redhat.com>
53860         [BZ #13347]
53861         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
53862         * nptl/tst-setuid2.c: New file.
53863         * nptl/Makefile (xtests): Add tst-setuid2.
53865 2014-04-01  Alan Modra  <amodra@gmail.com>
53867         [BZ #16786]
53868         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
53870 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
53872         [BZ #6803]
53873         [BZ #6804]
53874         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
53875         set errno as appropriate.
53876         * math/w_scalbf.c (__scalbf): Likewise.
53877         * math/w_scalbl.c (__scalbl): Likewise.
53878         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
53879         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
53880         * math/libm-test.inc (scalb_test_data): Add errno expectations.
53881         Add more NaN tests.
53883         [BZ #16349]
53884         * math/w_atan2.c: Include <errno.h>.
53885         (__atan2): Set errno for result underflowing to zero.
53886         * math/w_atan2f.c: Include <errno.h>.
53887         (__atan2f): Set errno for result underflowing to zero.
53888         * math/w_atan2l.c: Include <errno.h>.
53889         (__atan2l): Set errno for result underflowing to zero.
53890         * math/auto-libm-test-in: Don't allow missing errno for some atan2
53891         tests.
53892         * math/auto-libm-test-out: Regenerated.
53894 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53896         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
53897         Encode instruction correctly in little endian.
53898         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
53899         Likewise.
53900         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
53901         Likewise.
53902         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
53903         Likewise.
53904         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
53905         Likewise.
53907 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
53909         [BZ #9894]
53910         * sysdeps/unix/sysv/linux/kernel-features.h
53911         [__sparc__ && !__arch64__ && !__sparc_v9__]
53912         (__ASSUME_SET_ROBUST_LIST): Do not define.
53913         [__sparc__ && !__arch64__ && !__sparc_v9__]
53914         (__ASSUME_FUTEX_LOCK_PI): Likewise.
53915         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
53916         Likewise.
53917         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53918         (__ASSUME_FUTEX_LOCK_PI): Undefine.
53919         (__ASSUME_REQUEUE_PI): Likewise.
53920         (__ASSUME_SET_ROBUST_LIST): Likewise.
53921         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53922         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
53923         Undefine.
53924         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53925         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
53926         Likewise.
53927         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
53928         Likewise.
53929         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
53930         Likewise.
53931         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53932         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
53933         Undefine.
53934         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
53935         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
53936         Likewise.
53938         [BZ #16648]
53939         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53940         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
53941         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
53943 2014-03-31  Will Newton  <will.newton@linaro.org>
53945         * benchtests/Makefile (bench): Add ffs and ffsll to list
53946         of tests.
53947         * benchtests/ffs-inputs: New file.
53948         * benchtests/ffsll-inputs: Likewise.
53950 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
53952         [BZ #16770]
53953         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
53954         too large before casting to int.
53955         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
53956         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
53957         * math/libm-test.inc (scalb_test_data): Add more tests.
53959 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53961         * benchtests/Makefile (DETAILED_OPT): New make option.
53962         (bench-func): Run benchmark program with -d if DETAILED_OPT is
53963         set.
53964         * benchtests/bench-skeleton.c: Include stdbool.h.
53965         (main): Store and print timings per input.
53966         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
53967         member to each argument value.
53968         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
53969         (_print_arg_data): Initialize per-input timing to 0.
53971         * benchtests/Makefile (timing-type): New binary.
53972         (bench-clean): Also remove bench-timing-type.
53973         (bench): New target for timing-type.
53974         (bench-func): Print output in JSON format.
53975         * benchtests/bench-skeleton.c (main): Print output in JSON
53976         format.
53977         * benchtests/bench-timing-type.c: New file.
53978         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
53979         (TIMING_PRINT_STATS): Remove.
53980         * benchtests/scripts/bench.py (_print_arg_data): Store variant
53981         name separately.
53983         * benchtests/bench-modf.c: Remove.
53984         * benchtests/modf-inputs: New inputs file.
53986 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
53988         [BZ #16362]
53989         * math/s_clog10.c (M_PI_LOG10E): New macro.
53990         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
53991         imaginary parts are 0.
53992         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
53993         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
53994         imaginary parts are 0.
53995         * math/s_clog10l.c (M_PI_LOG10El): New macro.
53996         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
53997         imaginary parts are 0.
53998         * math/libm-test.inc (clog10_test_data): Update expected results
53999         for when real and imaginary parts are 0.
54001 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
54003         * elf/dl-load.c: Finish conversion of __builtin_expect into
54004         __glibc_{un}likely.
54006 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
54008         [BZ #16348]
54009         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
54010         1+x for argument with exponent below -67.
54011         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
54012         Likewise.
54013         * math/auto-libm-test-in: Add more tests of exp.
54014         * math/auto-libm-test-out: Regenerated.
54016 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54018         [BZ #16759]
54019         * inet/getnetgrent_r.c (get_nonempty_val): New function.
54020         (nscd_getnetgrent): Use it.
54022         [BZ #16760]
54023         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
54024         of stpcpy.
54026 2014-03-27  Andi Kleen  <ak@linux.intel.com>
54028         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
54029         (lll_robust_lock, lll_cond_lock, lll_timedlock)
54030         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
54031         (lll_robust_unlock): Remove out of line section. Use cfi
54032         intrinsics.
54033         (LLL_STUB_UNWIND_INFO*): Remove.
54034         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
54035         (lll_robust_lock, lll_cond_lock, lll_timedlock)
54036         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
54037         (lll_robust_unlock): Remove out of line section. Use cfi
54038         intrinsics.
54039         (LLL_STUB_UNWIND_INFO*): Remove.
54041 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54043         [BZ #16758]
54044         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
54045         blank values.
54047 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
54049         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
54051 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
54053         [BZ #16198]
54054         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
54055         fnstenv.
54056         * math/test-fenv-preserve.c: New file.
54057         * math/Makefile (tests): Add test-fenv-preserve.
54059 2014-03-26  Will Newton <will.newton@linaro.org>
54061         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
54063 2014-03-25  Roland McGrath  <roland@hack.frob.com>
54065         * scripts/versionlist.awk: Partition the version sets and emit all
54066         GLIBC_* (sorted) before all others (sorted).
54068 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
54070         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
54071         GLIBC_2.2.5 version.
54073 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54075         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
54076         calls.
54078         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
54079         previous change.
54081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54083 2014-03-25  Andreas Schwab  <schwab@suse.de>
54085         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
54086         label to be used after in6ailist is initialized.
54088 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54090         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
54091         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54093 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
54095         [BZ #16357]
54096         [BZ #16599]
54097         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
54098         min_plus_half.
54099         (fp_formats): Update initializers.
54100         (init_fp_formats): Initialize new field.
54101         (output_for_one_input_case): Allow underflow for results up to
54102         min_plus_half.
54103         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
54104         * math/auto-libm-test-in: Don't mark some underflows from asin and
54105         atanh as spurious.
54106         * math/auto-libm-test-out: Regenerated.
54107         * sysdeps/i386/fpu/libm-test-ulps: Update.
54108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54110 2014-03-25  Andreas Schwab  <schwab@suse.de>
54112         * libio/Makefile (tst-ftell-partial-wide-ENV)
54113         (tst-ftell-active-handler-ENV): Define.
54115 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
54117         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
54119 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
54121         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
54123 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
54125         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
54126         * sysdeps/x86_64/fpu/multiarch/e_exp.c
54127         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
54129 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
54131         [BZ #16634]
54132         * elf/dl-load.c (open_verify): Add mode parameter.
54133         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
54134         (open_path): Change from boolean 'secure' to complete flag 'mode'
54135         (_dl_map_object): Adjust.
54136         * elf/Makefile (tests): Add tst-dlopen-aout.
54137         * elf/tst-dlopen-aout.c: New test.
54139 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
54141         [BZ #16714]
54142         * sysdeps/unix/sysv/linux/s390/bits/stat.h
54143         (struct stat): Rename member pad0 to __glibc_reserved0.
54145         [BZ #16712]
54146         * sysdeps/s390/s390-32/bits/wordsize.h
54147         (__WORDSIZE32_SIZE_ULONG): New define.
54148         * sysdeps/s390/s390-64/bits/wordsize.h
54149         (__WORDSIZE32_SIZE_ULONG): Likewise.
54150         * sysdeps/generic/stdint.h (SIZE_MAX):
54151         Define as UL if __WORDSIZE32_SIZE_ULONG.
54153         [BZ #16713]
54154         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
54155         (__glibc_reserved0): New variable.
54156         (sa_flags): Change type to int.
54158         * posix/Makefile (before-compile): Use += before-compile instead
54159         of a :=.
54161         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
54162         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54164 2014-03-20  Andreas Schwab  <schwab@suse.de>
54166         [BZ #16743]
54167         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
54168         non-matching result from nscd.
54170 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54172         * scripts/bench.py: Moved to ...
54173         * benchtests/scripts/bench.py: ... here.
54174         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
54176 2014-03-24  Andreas Schwab  <schwab@suse.de>
54178         [BZ #16002]
54179         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
54180         alloca_account and account alloca use for struct in6ailist.
54182 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
54184         [BZ #16284]
54185         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
54186         rounding mode to recompute results that overflow to infinity or
54187         underflow to zero.
54188         * math/auto-libm-test-in: Don't mark tests as expected to fail for
54189         bug 16284.
54190         * math/auto-libm-test-out: Regenerated.
54191         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
54192         (ccosh_test): Likewise.
54193         (csin_test_data): Use plus_oflow.
54194         (csin_test): Use ALL_RM_TEST.
54195         (csinh_test_data): Use plus_oflow.
54196         (csinh_test): Use ALL_RM_TEST.
54197         * sysdeps/i386/fpu/libm-test-ulps: Update.
54198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54200 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
54202         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
54203         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
54204         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
54206         [BZ #16731]
54207         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
54208         when x - 1 is zero.
54209         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
54210         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
54211         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
54212         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
54213         argument is 1.
54214         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
54215         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
54216         zero.
54217         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
54218         * sysdeps/i386/fpu/libm-test-ulps: Update.
54219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54221 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54223         * scripts/bench.pl: Remove file.
54224         * scripts/bench.py: New benchmark script.
54225         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
54226         * benchtests/README: Mention python dependency.
54227         * scripts/pylintrc: New file.
54228         * scripts/pylint: New file.
54230         * bits/mathdef.h: Use #ifdef instead of #if.
54231         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
54232         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54233         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
54234         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54235         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
54236         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54238 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54239             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
54241         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
54242         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
54243         and strpbrk-ppc64 objects.
54244         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54245         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
54246         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
54247         multiarch strpbrk for POWER7.
54248         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
54249         multiarch strpbrk for PPC64.
54250         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
54251         ifunc selector.
54252         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
54253         strpbrk for POWER7.
54255 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
54257         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
54258         (atan_test): Likewise.
54259         (atanh_test_data): Use NO_TEST_INLINE for two tests.
54260         (atanh_test): Use ALL_RM_TEST.
54261         (atan2_test_data): Likewise.
54262         (cabs_test): Likewise.
54263         (cacosh_test): Likewise.
54264         (carg_test): Likewise.
54265         (casin_test): Likewise.
54266         (casinh_test): Likewise.
54267         (cbrt_test): Likewise.
54268         (csqrt_test): Likewise.
54269         (erf_test): Likewise.
54270         (erfc_test): Likewise.
54271         (pow10_test): Likewise.
54272         (exp2_test): Likewise.
54273         (hypot_test): Likewise.
54274         (j0_test): Likewise.
54275         (j1_test): Likewise.
54276         (lgamma_test): Likewise.
54277         (gamma_test): Likewise.
54278         (sincos_test): Likewise.
54279         (tanh_test): Likewise.
54280         (y0_test): Likewise.
54281         (y1_test): Likewise.
54282         * sysdeps/i386/fpu/libm-test-ulps: Update.
54283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54285 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54287         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
54288         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
54289         and strcspn-ppc64 objects.
54290         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54291         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
54292         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
54293         multiarch strcspn for POWER7.
54294         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
54295         multiarch strcspn for PPC64.
54296         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
54297         ifunc selector.
54298         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
54299         strcspn for POWER7.
54301 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
54303         * math/gen-libm-test.pl (generate_testfile): Expect only function
54304         name as argument to AUTO_TESTS_* and pass results for all rounding
54305         modes to parse_args.
54306         (parse_auto_input): Separate inputs of automatic tests from
54307         outputs before storing in %auto_tests.
54308         * math/libm-test.inc (acos_test_data): Update call to
54309         AUTO_TESTS_f_f.
54310         (acos_test): Use ALL_RM_TEST.
54311         (acos_tonearest_test_data): Remove.
54312         (acos_test_tonearest): Likewise.
54313         (acos_towardzero_test_data): Likewise.
54314         (acos_test_towardzero): Likewise.
54315         (acos_downward_test_data): Likewise.
54316         (acos_test_downward): Likewise.
54317         (acos_upward_test_data): Likewise.
54318         (acos_test_upward): Likewise.
54319         (acosh_test_data): Update call to AUTO_TESTS_f_f.
54320         (asin_test_data): Likewise.
54321         (asin_test): Use ALL_RM_TEST.
54322         (asin_tonearest_test_data): Remove.
54323         (asin_test_tonearest): Likewise.
54324         (asin_towardzero_test_data): Likewise.
54325         (asin_test_towardzero): Likewise.
54326         (asin_downward_test_data): Likewise.
54327         (asin_test_downward): Likewise.
54328         (asin_upward_test_data): Likewise.
54329         (asin_test_upward): Likewise.
54330         (asinh_test_data): Update call to AUTO_TESTS_f_f.
54331         (atan_test_data): Likewise.
54332         (atanh_test_data): Likewise.
54333         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
54334         (cabs_test_data): Update call to AUTO_TESTS_c_f.
54335         (carg_test_data): Likewise.
54336         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
54337         (ccos_test_data): Update call to AUTO_TESTS_c_c.
54338         (ccosh_test_data): Likewise.
54339         (cexp_test_data): Likewise.
54340         (clog_test_data): Likewise.
54341         (clog10_test_data): Likewise.
54342         (cos_test_data): Update call to AUTO_TESTS_f_f.
54343         (cos_test): Use ALL_RM_TEST.
54344         (cos_tonearest_test_data): Remove.
54345         (cos_test_tonearest): Likewise.
54346         (cos_towardzero_test_data): Likewise.
54347         (cos_test_towardzero): Likewise.
54348         (cos_downward_test_data): Likewise.
54349         (cos_test_downward): Likewise.
54350         (cos_upward_test_data): Likewise.
54351         (cos_test_upward): Likewise.
54352         (cosh_test_data): Update call to AUTO_TESTS_f_f.
54353         (cosh_test): Use ALL_RM_TEST.
54354         (cosh_tonearest_test_data): Remove.
54355         (cosh_test_tonearest): Likewise.
54356         (cosh_towardzero_test_data): Likewise.
54357         (cosh_test_towardzero): Likewise.
54358         (cosh_downward_test_data): Likewise.
54359         (cosh_test_downward): Likewise.
54360         (cosh_upward_test_data): Likewise.
54361         (cosh_test_upward): Likewise.
54362         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
54363         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
54364         (ctan_test_data): Likewise.
54365         (ctan_test): Use ALL_RM_TEST.
54366         (ctan_tonearest_test_data): Remove.
54367         (ctan_test_tonearest): Likewise.
54368         (ctan_towardzero_test_data): Likewise.
54369         (ctan_test_towardzero): Likewise.
54370         (ctan_downward_test_data): Likewise.
54371         (ctan_test_downward): Likewise.
54372         (ctan_upward_test_data): Likewise.
54373         (ctan_test_upward): Likewise.
54374         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
54375         (ctanh_test): Use ALL_RM_TEST.
54376         (ctanh_tonearest_test_data): Remove.
54377         (ctanh_test_tonearest): Likewise.
54378         (ctanh_towardzero_test_data): Likewise.
54379         (ctanh_test_towardzero): Likewise.
54380         (ctanh_downward_test_data): Likewise.
54381         (ctanh_test_downward): Likewise.
54382         (ctanh_upward_test_data): Likewise.
54383         (ctanh_test_upward): Likewise.
54384         (erf_test_data): Update call to AUTO_TESTS_f_f.
54385         (erfc_test_data): Likewise.
54386         (exp_test_data): Likewise.
54387         (exp_test): Use ALL_RM_TEST.
54388         (exp_tonearest_test_data): Remove.
54389         (exp_test_tonearest): Likewise.
54390         (exp_towardzero_test_data): Likewise.
54391         (exp_test_towardzero): Likewise.
54392         (exp_downward_test_data): Likewise.
54393         (exp_test_downward): Likewise.
54394         (exp_upward_test_data): Likewise.
54395         (exp_test_upward): Likewise.
54396         (exp10_test_data): Update call to AUTO_TESTS_f_f.
54397         (exp10_test): Use ALL_RM_TEST.
54398         (exp10_tonearest_test_data): Remove.
54399         (exp10_test_tonearest): Likewise.
54400         (exp10_towardzero_test_data): Likewise.
54401         (exp10_test_towardzero): Likewise.
54402         (exp10_downward_test_data): Likewise.
54403         (exp10_test_downward): Likewise.
54404         (exp10_upward_test_data): Likewise.
54405         (exp10_test_upward): Likewise.
54406         (exp2_test_data): Update call to AUTO_TESTS_f_f.
54407         (expm1_test_data): Likewise.
54408         (expm1_test): Use ALL_RM_TEST.
54409         (expm1_tonearest_test_data): Remove.
54410         (expm1_test_tonearest): Likewise.
54411         (expm1_towardzero_test_data): Likewise.
54412         (expm1_test_towardzero): Likewise.
54413         (expm1_downward_test_data): Likewise.
54414         (expm1_test_downward): Likewise.
54415         (expm1_upward_test_data): Likewise.
54416         (expm1_test_upward): Likewise.
54417         (fma_test_data): Update call to AUTO_TESTS_fff_f.
54418         (fma_test): Use ALL_RM_TEST.
54419         (fma_towardzero_test_data): Remove.
54420         (fma_test_towardzero): Likewise.
54421         (fma_downward_test_data): Likewise.
54422         (fma_test_downward): Likewise.
54423         (fma_upward_test_data): Likewise.
54424         (fma_test_upward): Likewise.
54425         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
54426         (j0_test_data): Update call to AUTO_TESTS_f_f.
54427         (j1_test_data): Likewise.
54428         (jn_test_data): Update call to AUTO_TESTS_if_f.
54429         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
54430         (log_test_data): Update call to AUTO_TESTS_f_f.
54431         (log10_test_data): Likewise.
54432         (log1p_test_data): Likewise.
54433         (log2_test_data): Likewise.
54434         (pow_test_data): Update call to AUTO_TESTS_ff_f.
54435         (pow_tonearest_test_data): Likewise.
54436         (sin_test_data): Update call to AUTO_TESTS_f_f.
54437         (sin_test): Use ALL_RM_TEST.
54438         (sin_tonearest_test_data): Remove.
54439         (sin_test_tonearest): Likewise.
54440         (sin_towardzero_test_data): Likewise.
54441         (sin_test_towardzero): Likewise.
54442         (sin_downward_test_data): Likewise.
54443         (sin_test_downward): Likewise.
54444         (sin_upward_test_data): Likewise.
54445         (sin_test_upward): Likewise.
54446         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
54447         (sinh_test_data): Update call to AUTO_TESTS_f_f.
54448         (sinh_test): Use ALL_RM_TEST.
54449         (sinh_tonearest_test_data): Remove.
54450         (sinh_test_tonearest): Likewise.
54451         (sinh_towardzero_test_data): Likewise.
54452         (sinh_test_towardzero): Likewise.
54453         (sinh_downward_test_data): Likewise.
54454         (sinh_test_downward): Likewise.
54455         (sinh_upward_test_data): Likewise.
54456         (sinh_test_upward): Likewise.
54457         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
54458         (sqrt_test): Use ALL_RM_TEST.
54459         (sqrt_tonearest_test_data): Remove.
54460         (sqrt_test_tonearest): Likewise.
54461         (sqrt_towardzero_test_data): Likewise.
54462         (sqrt_test_towardzero): Likewise.
54463         (sqrt_downward_test_data): Likewise.
54464         (sqrt_test_downward): Likewise.
54465         (sqrt_upward_test_data): Likewise.
54466         (sqrt_test_upward): Likewise.
54467         (tan_test_data): Update call to AUTO_TESTS_f_f.
54468         (tan_test): Use ALL_RM_TEST.
54469         (tan_tonearest_test_data): Remove.
54470         (tan_test_tonearest): Likewise.
54471         (tan_towardzero_test_data): Likewise.
54472         (tan_test_towardzero): Likewise.
54473         (tan_downward_test_data): Likewise.
54474         (tan_test_downward): Likewise.
54475         (tan_upward_test_data): Likewise.
54476         (tan_test_upward): Likewise.
54477         (tanh_test_data): Update call to AUTO_TESTS_f_f.
54478         (tgamma_test_data): Likewise.
54479         (y0_test_data): Likewise.
54480         (y1_test_data): Likewise.
54481         (yn_test_data): Update call to AUTO_TESTS_if_f.
54482         (main): Do not call removed functions.
54484 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
54486         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
54487         (ldexp_test_data): Remove.
54488         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
54489         scalbn_test_data.
54490         (scalb_test): Use ALL_RM_TEST.
54492 2014-03-19  Andreas Schwab  <schwab@suse.de>
54494         * nscd/nscd.service: Also invalidate netgroup cache on reload.
54496 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
54498         [BZ #16649]
54499         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54500         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
54501         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
54502         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54503         (__ASSUME_PREADV): Undefine.
54504         (__ASSUME_PWRITEV): Likewise.
54506 2014-03-18  Roland McGrath  <roland@hack.frob.com>
54508         * bits/mman-linux.h: Add comment about non-Linux use.
54509         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
54510         bits/mman-linux.h resting place.
54512         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
54513         * bits/mman-linux.h: ... here.
54515 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54517         * conform/conformtest.pl: Add standard definition when calling C
54518         preprocessor on data files.
54519         (checknamespace): Remove unused variable.
54521 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
54523         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
54524         minus_oflow, plus_uflow and minus_uflow in expected results.
54525         * math/libm-test.inc (scalbn_test_data): Add more tests of
54526         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
54527         minus_uflow.
54528         (scalbn_test): Use ALL_RM_TEST.
54529         (scalbln_test_data): Add more tests of negative arguments.  Use
54530         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
54531         (scalbln_test): Use ALL_RM_TEST.
54533 2014-03-18  Roland McGrath  <roland@hack.frob.com>
54535         * scripts/abilist.awk: Ignore symbols marked with .hidden.
54537 2014-03-18  Will Newton  <will.newton@linaro.org>
54539         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
54540         inaccurate comment.
54542 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
54544         * Makerules [!subdir] (check-abi): Exit with error status if a
54545         test failed.
54547 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
54549         * math/libm-test.inc (nearbyint_test_data): Include all tests used
54550         for rint.  Include results for all rounding modes.
54551         (nearbyint_test): Use ALL_RM_TEST.
54552         (rint_test_data): Include all tests used for nearbyint.
54554 2014-03-17  Will Newton  <will.newton@linaro.org>
54556         * nptl/sysdeps/pthread/pthread.h: Revert previous
54557         change.
54559         * sysdeps/generic/ldsodefs.h: Revert previous
54560         change.
54562         * libio/genops.c: Revert previous change.
54563         * libio/libioP.h: Likewise.
54564         * stdio-common/vfprintf.c: Likewise.
54566         * sysdeps/generic/math_private.h: Revert previous
54567         change.
54569         * sysdeps/generic/math_private.h: Check whether
54570         HAVE_RM_CTX is defined with #ifdef rather
54571         than #if.
54573         * argp/argp-fmtstream.h: Check whether
54574         __STRICT_ANSI__ is defined with #ifdef rather
54575         than #if.
54576         * argp/argp.h: Likewise.
54578         * libio/genops.c: Check whether
54579         _IO_JUMPS_OFFSET is defined with #ifdef rather
54580         than #if.
54581         * libio/libioP.h: Likewise.
54582         * stdio-common/vfprintf.c: Likewise.
54584         * sysdeps/generic/ldsodefs.h: Check whether
54585         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
54586         than #if.
54588         * nptl/sysdeps/pthread/pthread.h: Check
54589         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
54590         its value.
54592 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54594         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
54595         setting O_APPEND.
54596         * libio/tst-ftell-active-handler.c (do_append_test): Add a
54597         test case.
54599         [BZ #16680]
54600         * libio/fileops.c (_IO_file_open): Seek to end of file but
54601         don't cache the offset.
54602         (get_file_offset): Remove function.
54603         (do_ftell): Use cached offset when available.
54604         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
54605         don't cache the offset.
54606         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
54607         case.
54608         (do_one_test): Call it.
54609         (do_ftell_test): Fix up expected old offset for a+ mode.
54610         * libio/wfileops.c (do_ftell_wide): Used cached offset when
54611         available.
54613         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
54614         up test status with function return status.
54615         (do_write_test): Likewise.
54616         (do_append_test): Likewise.
54618         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
54619         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
54620         Remove.
54622 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
54624         * math/gen-libm-test.pl (parse_args): Handle results specified for
54625         each rounding mode separately.
54626         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
54627         tests and results from lrint_tonearest_test_data,
54628         lrint_towardzero_test_data, lrint_downward_test_data and
54629         lrint_upward_test_data.
54630         (lrint_test): Use ALL_RM_TEST.
54631         (lrint_tonearest_test_data): Remove.
54632         (lrint_test_tonearest): Likewise.
54633         (lrint_towardzero_test_data): Likewise.
54634         (lrint_test_towardzero): Likewise.
54635         (lrint_downward_test_data): Likewise.
54636         (lrint_test_downward): Likewise.
54637         (lrint_upward_test_data): Likewise.
54638         (lrint_test_upward): Likewise.
54639         (llrint_test_data): Merge in per-rounding-mode tests and results
54640         from llrint_tonearest_test_data, llrint_towardzero_test_data,
54641         llrint_downward_test_data and llrint_upward_test_data.
54642         (llrint_test): Use ALL_RM_TEST.
54643         (llrint_tonearest_test_data): Remove.
54644         (llrint_test_tonearest): Likewise.
54645         (llrint_towardzero_test_data): Likewise.
54646         (llrint_test_towardzero): Likewise.
54647         (llrint_downward_test_data): Likewise.
54648         (llrint_test_downward): Likewise.
54649         (llrint_upward_test_data): Likewise.
54650         (llrint_test_upward): Likewise.
54651         (rint_test_data): Merge in per-rounding-mode tests and results
54652         from rint_tonearest_test_data, rint_towardzero_test_data,
54653         rint_downward_test_data and rint_upward_test_data.  Add
54654         per-rounding-mode results for tests not in those arrays.
54655         (rint_test): Use ALL_RM_TEST.
54656         (rint_tonearest_test_data): Remove.
54657         (rint_test_tonearest): Likewise.
54658         (rint_towardzero_test_data): Likewise.
54659         (rint_test_towardzero): Likewise.
54660         (rint_downward_test_data): Likewise.
54661         (rint_test_downward): Likewise.
54662         (rint_upward_test_data): Likewise.
54663         (rint_test_upward): Likewise.
54664         (main): Don't call removed functions.
54666 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54668         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
54669         "Compiled on ..." crapola.  It is anti-useful.
54671 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
54673         * scripts/evaluate-test.sh: Handle fourth argument to determine
54674         whether test run should stop on failure.
54675         * Makeconfig (stop-on-test-failure): New variable.
54676         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
54677         $(stop-on-test-failure).
54678         * Makefile (tests): Give a summary of results from testing and
54679         exit with failure status if they include an ERROR or FAIL.
54680         (xtests): Likewise.
54681         * manual/install.texi (Configuring and compiling): Mention
54682         stop-on-test-failure=y.
54683         * INSTALL: Regenerated.
54685 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54687         * scripts/versionlist.awk: New file.
54688         * Makerules [$(build-shared) = yes]
54689         (postclean-generated): Add Versions.def, not Versions.def.v and
54690         Versions.def.v.i.
54691         ($(common-objpfx)Versions.def.v.i): Target removed.
54692         ($(common-objpfx)Versions.def): New target.
54693         ($(common-objpfx)Versions.all): Depend on that rather that
54694         $(common-objpfx)Versions.def.v.
54695         * Versions.def: File removed.
54697         * Makeconfig (+gccwarn): Add -Wundef.
54698         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
54699         a dl-sysdep.h breaking its contract.
54700         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
54701         * include/stackinfo.h: New file.
54702         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
54703         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
54704         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
54705         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
54706         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
54707         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
54708         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54709         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54710         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54711         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54712         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54713         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
54714         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54715         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54716         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54718 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54720         [BZ #16707]
54721         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
54722         implementation.
54723         * math/libm-test.inc (round_test_data): Add more tests.
54725         [BZ #16706]
54726         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
54727         implementation.
54728         * math/libm-test.inc (nearbyint_test_data): Add more tests.
54730         [BZ #16701]
54731         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
54732         implementation.
54733         * math/libm-test.inc (ceil_test_data): Add more tests.
54735         * math/libm-test.inc (trunc_test_data): Add more tests related to
54736         BZ#16414.
54738 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54740         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
54741         with #if rather than #ifdef.
54742         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
54744 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
54746         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
54747         first.  Disable AVX-512 GCC support if assembler doesn't support
54748         it.
54749         * sysdeps/x86_64/configure: Regenerated.
54751 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
54753         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
54754         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
54755         (__old_pthread_attr_setstack): Likewise.
54756         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
54757         [!_STACK_GROWS_DOWN]: Likewise.
54759 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
54761         * config.make.in (have-bash2): Delete.
54762         * configure.ac (libc_cv_have_bash2): Delete.
54763         * configure: Regenerate.
54764         * elf/Makefile (common-ldd-rewrite): Rename to ...
54765         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
54766         (sh-ldd-rewrite): Delete.
54767         (bash-ldd-rewrite): Delete.
54768         (have-bash2): Delete checks.
54769         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
54770         ldd-rewrite.
54772         * config.make.in (have-ksh): Delete.
54773         (KSH): Delete.
54774         * configure.ac (libc_cv_have_ksh): Delete.
54775         * configure: Regenerate.
54777         * elf/Makefile: Delete $(have-ksh) check.
54778         ($(objpfx)sotruss): Change KSH to BASH.
54779         * elf/sotruss.ksh: Rename to ...
54780         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
54781         function style to match POSIX.  Drop ksh vim mode setting.
54783         * manual/time.texi (Specifying the Time Zone with TZ): Change
54784         Tuesday to Thursday.
54786         * debug/tst-longjmp_chk2.c: Update header comment.
54787         (stackoverflow_handler): Add comment.  Call assert on pass value.
54789 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
54791         [BZ #16194]
54792         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
54793         (HAVE_AVX512_ASM_SUPPORT): Likewise.
54794         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
54795         (La_x86_64_vector): Add zmm.
54796         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
54797         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
54798         ($(objpfx)tst-audit10): New target.
54799         ($(objpfx)tst-audit10.out): Likewise.
54800         (tst-audit10-ENV): New.
54801         (AVX512-CFLAGS): Likewise.
54802         (CFLAGS-tst-audit10.c): Likewise.
54803         (CFLAGS-tst-auditmod10a.c): Likewise.
54804         (CFLAGS-tst-auditmod10b.c): Likewise.
54805         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
54806         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
54807         * sysdeps/x86_64/configure: Regenerated.
54808         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
54809         AVX-512 zmm register support.
54810         (_dl_x86_64_save_sse): Likewise.
54811         (_dl_x86_64_restore_sse): Likewise.
54812         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
54813         size vector registers.
54814         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
54815         (ZMM_SIZE): Likewise.
54816         * sysdeps/x86_64/tst-audit10.c: New file.
54817         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
54818         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
54820 2014-03-13  Roland McGrath  <roland@hack.frob.com>
54822         * configure.ac (HAVE_EHDR_START): New check.
54823         * configure: Regenerated.
54824         * config.h.in (HAVE_EHDR_START): New #undef.
54825         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
54826         assuming the lowest-addressed segment maps the start of the file.
54828 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
54830         * INSTALL: Regenerated.
54832 2014-03-13  Will Newton  <will.newton@linaro.org>
54834         * manual/setjmp.texi (System V contexts): Improve
54835         clarity and grammar of documentation.
54837 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
54839         [BZ #16381]
54840         * elf/Makefile (tests): Add tst-pie2.
54841         (tests-pie): Add tst-pie2.
54842         * elf/tst-pie2.c: New file.
54843         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
54844         for ET_EXEC.
54845         * elf/rtld.c (map_doit): Load executable as lt_executable.
54846         (dl_main): Likewise.
54848 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
54850         [BZ #16642]
54851         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54852         (__ASSUME_PSELECT): Undefine.
54854 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54856         [BZ #16689]
54857         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
54858         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
54859         static build.
54860         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
54861         selector for static builds.
54863 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54865         [BZ #16695]
54866         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
54867         key in the buffer.
54869 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54871         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
54872         IFUNC selector for static builds.
54874 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
54876         * sysdeps/mips/math_private.h [__mips_hard_float]
54877         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
54878         libc_feresetround_mips_ctx.
54879         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
54880         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
54881         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
54883         [BZ #16677]
54884         * math/s_nextafter.c (__nextafter): Do not return value from
54885         overflowing computation.
54886         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
54887         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
54888         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
54889         Likewise.
54890         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
54891         Likewise.
54892         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
54893         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
54895 2014-03-11  Roland McGrath  <roland@hack.frob.com>
54897         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
54898         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
54899         Move sfi_sp use from the load-multiple (that no longer sets sp) to
54900         the new mov targetting sp.
54902 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54904         [BZ #16683]
54905         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
54906         Define it for static builds as well.
54907         (NO_BZERO_IMPL): Likewise.
54909 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
54911         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
54912         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
54913         multiarch strspn for PPC64.
54914         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
54915         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
54916         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54917         (__libc_ifunc_impl_list): Likewise.
54918         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
54919         multiarch optimizations
54920         * string/strspn.c (strspn): Using macro to redefine symbol name.
54922 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
54923             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54925         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
54926         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
54927         multiarch strncat for PPC64.
54928         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
54929         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
54930         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54931         (__libc_ifunc_impl_list): Likewise.
54932         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
54933         multiarch optimizations
54935 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54937         [BZ #16639]
54938         * nscd/nscd.service: Make service type forking.
54940 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54942         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
54943         sign in non default rounding modes.
54944         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
54946 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
54948         * math/libm-test.inc (ALL_RM_TEST): New macro.
54949         (ceil_test): Use ALL_RM_TEST.
54950         (cimag_test): Likewise.
54951         (conj_test): Likewise.
54952         (copysign_test): Likewise.
54953         (cproj_test): Likewise.
54954         (creal_test): Likewise.
54955         (fabs_test): Likewise.
54956         (floor_test): Likewise.
54957         (fmax_test): Likewise.
54958         (fmin_test): Likewise.
54959         (fmod_test): Likewise.
54960         (fpclassify_test): Likewise.
54961         (frexp_test): Likewise.
54962         (ilogb_test): Likewise.
54963         (isfinite_test): Likewise.
54964         (finite_test): Likewise.
54965         (isgreater_test): Likewise.
54966         (isgreaterequal_test): Likewise.
54967         (isinf_test): Likewise.
54968         (isless_test): Likewise.
54969         (islessequal_test): Likewise.
54970         (islessgreater_test): Likewise.
54971         (isnan_test): Likewise.
54972         (isnormal_test): Likewise.
54973         (issignaling_test): Likewise.
54974         (isunordered_test): Likewise.
54975         (logb_test): Likewise.
54976         (logb_downward_test_data): Remove.
54977         (logb_test_downward): Likewise.
54978         (lround_test): Use ALL_RM_TEST.
54979         (llround_test): Likewise.
54980         (modf_test): Likewise.
54981         (nexttoward_test): Likewise.
54982         (remainder_test): Likewise.
54983         (drem_test): Likewise.
54984         (remainder_tonearest_test_data): Likewise.
54985         (remainder_test_tonearest): Likewise.
54986         (drem_test_tonearest): Likewise.
54987         (remainder_towardzero_test_data): Likewise.
54988         (remainder_test_towardzero): Likewise.
54989         (drem_test_towardzero): Likewise.
54990         (remainder_downward_test_data): Likewise.
54991         (remainder_test_downward): Likewise.
54992         (drem_test_downward): Likewise.
54993         (remainder_upward_test_data): Likewise.
54994         (remainder_test_upward): Likewise.
54995         (drem_test_upward): Likewise.
54996         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
54997         (round_test): Use ALL_RM_TEST.
54998         (signbit_test): Likewise.
54999         (trunc_test): Likewise.
55000         (significand_test): Likewise.
55001         (main): Don't call removed functions.
55003 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
55005         [BZ #16674]
55006         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
55007         || __USE_XOPEN2K8].
55008         (ILL_ILLOPN): Likewise.
55009         (ILL_ILLADR): Likewise.
55010         (ILL_ILLTRP): Likewise.
55011         (ILL_PRVOPC): Likewise.
55012         (ILL_PRVREG): Likewise.
55013         (ILL_COPROC): Likewise.
55014         (ILL_BADSTK): Likewise.
55015         (FPE_INTDIV): Likewise.
55016         (FPE_INTOVF): Likewise.
55017         (FPE_FLTDIV): Likewise.
55018         (FPE_FLTOVF): Likewise.
55019         (FPE_FLTUND): Likewise.
55020         (FPE_FLTRES): Likewise.
55021         (FPE_FLTINV): Likewise.
55022         (FPE_FLTSUB): Likewise.
55023         (SEGV_MAPERR): Likewise.
55024         (SEGV_ACCERR): Likewise.
55025         (BUS_ADRALN): Likewise.
55026         (BUS_ADRERR): Likewise.
55027         (BUS_OBJERR): Likewise.
55028         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55029         (TRAP_TRACE): Likewise.
55030         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55031         __USE_XOPEN2K8].
55032         (CLD_KILLED): Likewise.
55033         (CLD_DUMPED): Likewise.
55034         (CLD_TRAPPED): Likewise.
55035         (CLD_STOPPED): Likewise.
55036         (CLD_CONTINUED): Likewise.
55037         (POLL_IN): Likewise.
55038         (POLL_OUT): Likewise.
55039         (POLL_MSG): Likewise.
55040         (POLL_ERR): Likewise.
55041         (POLL_PRI): Likewise.
55042         (POLL_HUP): Likewise.
55043         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
55044         Likewise.
55045         (ILL_ILLOPN): Likewise.
55046         (ILL_ILLADR): Likewise.
55047         (ILL_ILLTRP): Likewise.
55048         (ILL_PRVOPC): Likewise.
55049         (ILL_PRVREG): Likewise.
55050         (ILL_COPROC): Likewise.
55051         (ILL_BADSTK): Likewise.
55052         (FPE_INTDIV): Likewise.
55053         (FPE_INTOVF): Likewise.
55054         (FPE_FLTDIV): Likewise.
55055         (FPE_FLTOVF): Likewise.
55056         (FPE_FLTUND): Likewise.
55057         (FPE_FLTRES): Likewise.
55058         (FPE_FLTINV): Likewise.
55059         (FPE_FLTSUB): Likewise.
55060         (SEGV_MAPERR): Likewise.
55061         (SEGV_ACCERR): Likewise.
55062         (BUS_ADRALN): Likewise.
55063         (BUS_ADRERR): Likewise.
55064         (BUS_OBJERR): Likewise.
55065         (BUS_MCEERR_AR): Likewise.
55066         (BUS_MCEERR_AO): Likewise.
55067         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55068         (TRAP_TRACE): Likewise.
55069         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55070         __USE_XOPEN2K8].
55071         (CLD_KILLED): Likewise.
55072         (CLD_DUMPED): Likewise.
55073         (CLD_TRAPPED): Likewise.
55074         (CLD_STOPPED): Likewise.
55075         (CLD_CONTINUED): Likewise.
55076         (POLL_IN): Likewise.
55077         (POLL_OUT): Likewise.
55078         (POLL_MSG): Likewise.
55079         (POLL_ERR): Likewise.
55080         (POLL_PRI): Likewise.
55081         (POLL_HUP): Likewise.
55082         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
55083         (ILL_ILLOPN): Likewise.
55084         (ILL_ILLADR): Likewise.
55085         (ILL_ILLTRP): Likewise.
55086         (ILL_PRVOPC): Likewise.
55087         (ILL_PRVREG): Likewise.
55088         (ILL_COPROC): Likewise.
55089         (ILL_BADSTK): Likewise.
55090         (FPE_INTDIV): Likewise.
55091         (FPE_INTOVF): Likewise.
55092         (FPE_FLTDIV): Likewise.
55093         (FPE_FLTOVF): Likewise.
55094         (FPE_FLTUND): Likewise.
55095         (FPE_FLTRES): Likewise.
55096         (FPE_FLTINV): Likewise.
55097         (FPE_FLTSUB): Likewise.
55098         (SEGV_MAPERR): Likewise.
55099         (SEGV_ACCERR): Likewise.
55100         (BUS_ADRALN): Likewise.
55101         (BUS_ADRERR): Likewise.
55102         (BUS_OBJERR): Likewise.
55103         (BUS_MCEERR_AR): Likewise.
55104         (BUS_MCEERR_AO): Likewise.
55105         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55106         (TRAP_TRACE): Likewise.
55107         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55108         __USE_XOPEN2K8].
55109         (CLD_KILLED): Likewise.
55110         (CLD_DUMPED): Likewise.
55111         (CLD_TRAPPED): Likewise.
55112         (CLD_STOPPED): Likewise.
55113         (CLD_CONTINUED): Likewise.
55114         (POLL_IN): Likewise.
55115         (POLL_OUT): Likewise.
55116         (POLL_MSG): Likewise.
55117         (POLL_ERR): Likewise.
55118         (POLL_PRI): Likewise.
55119         (POLL_HUP): Likewise.
55120         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
55121         Likewise.
55122         (ILL_ILLOPN): Likewise.
55123         (ILL_ILLADR): Likewise.
55124         (ILL_ILLTRP): Likewise.
55125         (ILL_PRVOPC): Likewise.
55126         (ILL_PRVREG): Likewise.
55127         (ILL_COPROC): Likewise.
55128         (ILL_BADSTK): Likewise.
55129         (ILL_BADIADDR): Likewise.
55130         (ILL_BREAK): Likewise.
55131         (FPE_INTDIV): Likewise.
55132         (FPE_INTOVF): Likewise.
55133         (FPE_FLTDIV): Likewise.
55134         (FPE_FLTOVF): Likewise.
55135         (FPE_FLTUND): Likewise.
55136         (FPE_FLTRES): Likewise.
55137         (FPE_FLTINV): Likewise.
55138         (FPE_FLTSUB): Likewise.
55139         (FPE_DECOVF): Likewise.
55140         (FPE_DECDIV): Likewise.
55141         (FPE_DECERR): Likewise.
55142         (FPE_INVASC): Likewise.
55143         (FPE_INVDEC): Likewise.
55144         (SEGV_MAPERR): Likewise.
55145         (SEGV_ACCERR): Likewise.
55146         (SEGV_PSTKOVF): Likewise.
55147         (BUS_ADRALN): Likewise.
55148         (BUS_ADRERR): Likewise.
55149         (BUS_OBJERR): Likewise.
55150         (BUS_MCEERR_AR): Likewise.
55151         (BUS_MCEERR_AO): Likewise.
55152         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55153         (TRAP_TRACE): Likewise.
55154         (TRAP_BRANCH): Likewise.
55155         (TRAP_HWBKPT): Likewise.
55156         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55157         __USE_XOPEN2K8].
55158         (CLD_KILLED): Likewise.
55159         (CLD_DUMPED): Likewise.
55160         (CLD_TRAPPED): Likewise.
55161         (CLD_STOPPED): Likewise.
55162         (CLD_CONTINUED): Likewise.
55163         (POLL_IN): Likewise.
55164         (POLL_OUT): Likewise.
55165         (POLL_MSG): Likewise.
55166         (POLL_ERR): Likewise.
55167         (POLL_PRI): Likewise.
55168         (POLL_HUP): Likewise.
55169         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
55170         (ILL_ILLOPN): Likewise.
55171         (ILL_ILLADR): Likewise.
55172         (ILL_ILLTRP): Likewise.
55173         (ILL_PRVOPC): Likewise.
55174         (ILL_PRVREG): Likewise.
55175         (ILL_COPROC): Likewise.
55176         (ILL_BADSTK): Likewise.
55177         (FPE_INTDIV): Likewise.
55178         (FPE_INTOVF): Likewise.
55179         (FPE_FLTDIV): Likewise.
55180         (FPE_FLTOVF): Likewise.
55181         (FPE_FLTUND): Likewise.
55182         (FPE_FLTRES): Likewise.
55183         (FPE_FLTINV): Likewise.
55184         (FPE_FLTSUB): Likewise.
55185         (SEGV_MAPERR): Likewise.
55186         (SEGV_ACCERR): Likewise.
55187         (BUS_ADRALN): Likewise.
55188         (BUS_ADRERR): Likewise.
55189         (BUS_OBJERR): Likewise.
55190         (BUS_MCEERR_AR): Likewise.
55191         (BUS_MCEERR_AO): Likewise.
55192         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55193         (TRAP_TRACE): Likewise.
55194         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55195         __USE_XOPEN2K8].
55196         (CLD_KILLED): Likewise.
55197         (CLD_DUMPED): Likewise.
55198         (CLD_TRAPPED): Likewise.
55199         (CLD_STOPPED): Likewise.
55200         (CLD_CONTINUED): Likewise.
55201         (POLL_IN): Likewise.
55202         (POLL_OUT): Likewise.
55203         (POLL_MSG): Likewise.
55204         (POLL_ERR): Likewise.
55205         (POLL_PRI): Likewise.
55206         (POLL_HUP): Likewise.
55207         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
55208         (ILL_ILLOPN): Likewise.
55209         (ILL_ILLADR): Likewise.
55210         (ILL_ILLTRP): Likewise.
55211         (ILL_PRVOPC): Likewise.
55212         (ILL_PRVREG): Likewise.
55213         (ILL_COPROC): Likewise.
55214         (ILL_BADSTK): Likewise.
55215         (FPE_INTDIV): Likewise.
55216         (FPE_INTOVF): Likewise.
55217         (FPE_FLTDIV): Likewise.
55218         (FPE_FLTOVF): Likewise.
55219         (FPE_FLTUND): Likewise.
55220         (FPE_FLTRES): Likewise.
55221         (FPE_FLTINV): Likewise.
55222         (FPE_FLTSUB): Likewise.
55223         (SEGV_MAPERR): Likewise.
55224         (SEGV_ACCERR): Likewise.
55225         (BUS_ADRALN): Likewise.
55226         (BUS_ADRERR): Likewise.
55227         (BUS_OBJERR): Likewise.
55228         (BUS_MCEERR_AR): Likewise.
55229         (BUS_MCEERR_AO): Likewise.
55230         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55231         (TRAP_TRACE): Likewise.
55232         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55233         __USE_XOPEN2K8].
55234         (CLD_KILLED): Likewise.
55235         (CLD_DUMPED): Likewise.
55236         (CLD_TRAPPED): Likewise.
55237         (CLD_STOPPED): Likewise.
55238         (CLD_CONTINUED): Likewise.
55239         (POLL_IN): Likewise.
55240         (POLL_OUT): Likewise.
55241         (POLL_MSG): Likewise.
55242         (POLL_ERR): Likewise.
55243         (POLL_PRI): Likewise.
55244         (POLL_HUP): Likewise.
55245         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
55246         (ILL_ILLOPN): Likewise.
55247         (ILL_ILLADR): Likewise.
55248         (ILL_ILLTRP): Likewise.
55249         (ILL_PRVOPC): Likewise.
55250         (ILL_PRVREG): Likewise.
55251         (ILL_COPROC): Likewise.
55252         (ILL_BADSTK): Likewise.
55253         (FPE_INTDIV): Likewise.
55254         (FPE_INTOVF): Likewise.
55255         (FPE_FLTDIV): Likewise.
55256         (FPE_FLTOVF): Likewise.
55257         (FPE_FLTUND): Likewise.
55258         (FPE_FLTRES): Likewise.
55259         (FPE_FLTINV): Likewise.
55260         (FPE_FLTSUB): Likewise.
55261         (SEGV_MAPERR): Likewise.
55262         (SEGV_ACCERR): Likewise.
55263         (BUS_ADRALN): Likewise.
55264         (BUS_ADRERR): Likewise.
55265         (BUS_OBJERR): Likewise.
55266         (BUS_MCEERR_AR): Likewise.
55267         (BUS_MCEERR_AO): Likewise.
55268         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55269         (TRAP_TRACE): Likewise.
55270         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55271         __USE_XOPEN2K8].
55272         (CLD_KILLED): Likewise.
55273         (CLD_DUMPED): Likewise.
55274         (CLD_TRAPPED): Likewise.
55275         (CLD_STOPPED): Likewise.
55276         (CLD_CONTINUED): Likewise.
55277         (POLL_IN): Likewise.
55278         (POLL_OUT): Likewise.
55279         (POLL_MSG): Likewise.
55280         (POLL_ERR): Likewise.
55281         (POLL_PRI): Likewise.
55282         (POLL_HUP): Likewise.
55283         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
55284         (ILL_ILLOPN): Likewise.
55285         (ILL_ILLADR): Likewise.
55286         (ILL_ILLTRP): Likewise.
55287         (ILL_PRVOPC): Likewise.
55288         (ILL_PRVREG): Likewise.
55289         (ILL_COPROC): Likewise.
55290         (ILL_BADSTK): Likewise.
55291         (ILL_DBLFLT): Likewise.
55292         (ILL_HARDWALL): Likewise.
55293         (FPE_INTDIV): Likewise.
55294         (FPE_INTOVF): Likewise.
55295         (FPE_FLTDIV): Likewise.
55296         (FPE_FLTOVF): Likewise.
55297         (FPE_FLTUND): Likewise.
55298         (FPE_FLTRES): Likewise.
55299         (FPE_FLTINV): Likewise.
55300         (FPE_FLTSUB): Likewise.
55301         (SEGV_MAPERR): Likewise.
55302         (SEGV_ACCERR): Likewise.
55303         (BUS_ADRALN): Likewise.
55304         (BUS_ADRERR): Likewise.
55305         (BUS_OBJERR): Likewise.
55306         (BUS_MCEERR_AR): Likewise.
55307         (BUS_MCEERR_AO): Likewise.
55308         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55309         (TRAP_TRACE): Likewise.
55310         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55311         __USE_XOPEN2K8].
55312         (CLD_KILLED): Likewise.
55313         (CLD_DUMPED): Likewise.
55314         (CLD_TRAPPED): Likewise.
55315         (CLD_STOPPED): Likewise.
55316         (CLD_CONTINUED): Likewise.
55317         (POLL_IN): Likewise.
55318         (POLL_OUT): Likewise.
55319         (POLL_MSG): Likewise.
55320         (POLL_ERR): Likewise.
55321         (POLL_PRI): Likewise.
55322         (POLL_HUP): Likewise.
55323         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
55324         (ILL_ILLOPN): Likewise.
55325         (ILL_ILLADR): Likewise.
55326         (ILL_ILLTRP): Likewise.
55327         (ILL_PRVOPC): Likewise.
55328         (ILL_PRVREG): Likewise.
55329         (ILL_COPROC): Likewise.
55330         (ILL_BADSTK): Likewise.
55331         (FPE_INTDIV): Likewise.
55332         (FPE_INTOVF): Likewise.
55333         (FPE_FLTDIV): Likewise.
55334         (FPE_FLTOVF): Likewise.
55335         (FPE_FLTUND): Likewise.
55336         (FPE_FLTRES): Likewise.
55337         (FPE_FLTINV): Likewise.
55338         (FPE_FLTSUB): Likewise.
55339         (SEGV_MAPERR): Likewise.
55340         (SEGV_ACCERR): Likewise.
55341         (BUS_ADRALN): Likewise.
55342         (BUS_ADRERR): Likewise.
55343         (BUS_OBJERR): Likewise.
55344         (BUS_MCEERR_AR): Likewise.
55345         (BUS_MCEERR_AO): Likewise.
55346         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55347         (TRAP_TRACE): Likewise.
55348         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55349         __USE_XOPEN2K8].
55350         (CLD_KILLED): Likewise.
55351         (CLD_DUMPED): Likewise.
55352         (CLD_TRAPPED): Likewise.
55353         (CLD_STOPPED): Likewise.
55354         (CLD_CONTINUED): Likewise.
55355         (POLL_IN): Likewise.
55356         (POLL_OUT): Likewise.
55357         (POLL_MSG): Likewise.
55358         (POLL_ERR): Likewise.
55359         (POLL_PRI): Likewise.
55360         (POLL_HUP): Likewise.
55361         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
55362         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55364         [BZ #16670]
55365         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
55366         before #include of <time.h>.
55367         [!__USE_XOPEN2K] (__need_timespec): Likewise.
55368         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
55369         (test-xfail-UNIX98/sched.h/conform): Likewise.
55371 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
55373         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
55374         error absence of trapping exception support.
55375         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
55377 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
55379         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
55380         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
55381         * timezone/Makefile (testdata): Move definition above include of
55382         Rules.
55383         (test-zones): New variable.
55384         (tests-special): Add zone files.
55385         (build-testdata): Use $(evaluate-test).
55387         * elf/Makefile (tests-special): Rename tests to end with .out.
55388         ($(objpfx)noload-mem): Likewise.
55389         ($(objpfx)tst-leaks1-mem): Likewise.
55390         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
55391         * iconv/Makefile (xtests-special): Change test-iconvconfig to
55392         $(objpfx)test-iconvconfig.out.
55393         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
55394         set -e inside subshell and redirect output to file.
55395         * iconvdata/Makefile (generated): Rename tests to end with .out.
55396         Correct type.
55397         (tests-special): Rename tests to end with .out.
55398         ($(objpfx)mtrace-tst-loading): Likewise.
55399         * intl/Makefile (generated): Likewise.
55400         (tests-special): Likewise.
55401         ($(objpfx)mtrace-tst-gettext): Likewise.
55402         * misc/Makefile (generated): Likewise.
55403         (tests-special): Likewise.
55404         ($(objpfx)tst-error1-mem): Likewise.
55405         * nptl/Makefile (tests-special): Likewise.
55406         ($(objpfx)tst-stack3-mem): Likewise.
55407         (generated): Likewise.
55408         * posix/Makefile (generated): Likewise.
55409         (tests-special): Likewise.
55410         (xtests-special): Likewise.
55411         ($(objpfx)tst-fnmatch-mem): Likewise.
55412         ($(objpfx)bug-regex2-mem): Likewise.
55413         ($(objpfx)bug-regex14-mem): Likewise.
55414         ($(objpfx)bug-regex21-mem): Likewise.
55415         ($(objpfx)bug-regex31-mem): Likewise.
55416         ($(objpfx)tst-vfork3-mem): Likewise.
55417         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55418         ($(objpfx)tst-pcre-mem): Likewise.
55419         ($(objpfx)tst-boost-mem): Likewise.
55420         ($(objpfx)bug-ga2-mem): Likewise.
55421         ($(objpfx)bug-glob2-mem): Likewise.
55422         * resolv/Makefile (generate): Likewise.
55423         (tests-special): Likewise.
55424         (xtests-special): Likewise.
55425         (generated): Likewise.
55426         ($(objpfx)mtrace-tst-leaks): Likewise.
55427         ($(objpfx)mtrace-tst-leaks2): Likewise.
55429         * scripts/merge-test-results.sh: New file.
55430         * Makefile (tests-special-notdir): New variable.
55431         (tests): Run merge-test-results.sh.
55432         (xtests): Likewise.
55433         * Rules (tests-special-notdir): New variable.
55434         (xtests-special-notdir): Likewise.
55435         (tests): Run merge-test-results.sh
55436         (xtests): Likewise.
55438         * Makeconfig (test-xfail-name): New variable.
55439         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
55440         compute variable name for expected failures.
55441         * conform/Makefile (conformtest-headers-data): New variable.
55442         (conformtest-standards): Likewise.
55443         (conformtest-headers-ISO): Likewise.
55444         (conformtest-headers-ISO99): Likewise.
55445         (conformtest-headers-ISO11): Likewise.
55446         (conformtest-headers-POSIX): Likewise.
55447         (conformtest-headers-XPG3): Likewise.
55448         (conformtest-headers-XPG4): Likewise.
55449         (conformtest-headers-UNIX98): Likewise.
55450         (conformtest-headers-XOPEN2K): Likewise.
55451         (conformtest-headers-POSIX2008): Likewise.
55452         (conformtest-headers-XOPEN2K8): Likewise.
55453         (conformtest-header-list-base): Likewise.
55454         (conformtest-header-list-tests): Likewise.
55455         (conformtest-header-base): Likewise.
55456         (conformtest-header-tests): Likewise.
55457         (tests-special): Add $(conformtest-header-list-tests).  If
55458         [$(fast-check) && !$(cross-compiling)], add
55459         $(conformtest-header-tests) instead of
55460         $(objpfx)run-conformtest.out.
55461         (generated): Add $(conformtest-header-list-base).  If
55462         [$(fast-check) && !$(cross-compiling)], add
55463         $(conformtest-header-base).  Remove previous setting.
55464         ($(conformtest-header-list-tests)): New target.
55465         (test-xfail-run-conformtest): Remove variable.
55466         ($(objpfx)run-conformtest.out): Remove target.
55467         (test-xfail-ISO11/complex.h/conform): New variable.
55468         (test-xfail-ISO11/stdalign.h/conform): Likewise.
55469         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
55470         (test-xfail-XPG3/varargs.h/conform): Likewise.
55471         (test-xfail-XPG4/varargs.h/conform): Likewise.
55472         (test-xfail-UNIX98/varargs.h/conform): Likewise.
55473         (test-xfail-XPG4/ndbm.h/conform): Likewise.
55474         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
55475         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
55476         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
55477         (test-xfail-XPG3/fcntl.h/conform): Likewise.
55478         (test-xfail-XPG3/ftw.h/conform): Likewise.
55479         (test-xfail-XPG3/grp.h/conform): Likewise.
55480         (test-xfail-XPG3/langinfo.h/conform): Likewise.
55481         (test-xfail-XPG3/limits.h/conform): Likewise.
55482         (test-xfail-XPG3/pwd.h/conform): Likewise.
55483         (test-xfail-XPG3/search.h/conform): Likewise.
55484         (test-xfail-XPG3/signal.h/conform): Likewise.
55485         (test-xfail-XPG3/stdio.h/conform): Likewise.
55486         (test-xfail-XPG3/stdlib.h/conform): Likewise.
55487         (test-xfail-XPG3/string.h/conform): Likewise.
55488         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
55489         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
55490         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
55491         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
55492         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
55493         (test-xfail-XPG3/sys/types.h/conform): Likewise.
55494         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
55495         (test-xfail-XPG3/termios.h/conform): Likewise.
55496         (test-xfail-XPG3/time.h/conform): Likewise.
55497         (test-xfail-XPG3/unistd.h/conform): Likewise.
55498         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
55499         (test-xfail-XPG4/fcntl.h/conform): Likewise.
55500         (test-xfail-XPG4/langinfo.h/conform): Likewise.
55501         (test-xfail-XPG4/netdb.h/conform): Likewise.
55502         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
55503         (test-xfail-XPG4/signal.h/conform): Likewise.
55504         (test-xfail-XPG4/stdio.h/conform): Likewise.
55505         (test-xfail-XPG4/stdlib.h/conform): Likewise.
55506         (test-xfail-XPG4/stropts.h/conform): Likewise.
55507         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
55508         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
55509         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
55510         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
55511         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
55512         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
55513         (test-xfail-XPG4/sys/time.h/conform): Likewise.
55514         (test-xfail-XPG4/sys/types.h/conform): Likewise.
55515         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
55516         (test-xfail-XPG4/termios.h/conform): Likewise.
55517         (test-xfail-XPG4/ucontext.h/conform): Likewise.
55518         (test-xfail-XPG4/unistd.h/conform): Likewise.
55519         (test-xfail-XPG4/utmpx.h/conform): Likewise.
55520         (test-xfail-POSIX/sched.h/conform): Likewise.
55521         (test-xfail-POSIX/signal.h/conform): Likewise.
55522         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55523         (test-xfail-POSIX/tar.h/conform): Likewise.
55524         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
55525         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
55526         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
55527         (test-xfail-UNIX98/netdb.h/conform): Likewise.
55528         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
55529         (test-xfail-UNIX98/sched.h/conform): Likewise.
55530         (test-xfail-UNIX98/signal.h/conform): Likewise.
55531         (test-xfail-UNIX98/stdio.h/conform): Likewise.
55532         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
55533         (test-xfail-UNIX98/stropts.h/conform): Likewise.
55534         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
55535         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
55536         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
55537         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
55538         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
55539         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
55540         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
55541         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
55542         (test-xfail-UNIX98/unistd.h/conform): Likewise.
55543         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
55544         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
55545         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
55546         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
55547         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
55548         (test-xfail-XOPEN2K/math.h/conform): Likewise.
55549         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
55550         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
55551         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
55552         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
55553         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
55554         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
55555         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
55556         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
55557         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
55558         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
55559         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
55560         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
55561         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
55562         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
55563         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
55564         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
55565         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
55566         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
55567         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
55568         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
55569         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
55570         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
55571         (test-xfail-POSIX2008/signal.h/conform): Likewise.
55572         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
55573         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
55574         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
55575         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
55576         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
55577         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
55578         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
55579         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
55580         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
55581         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
55582         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
55583         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
55584         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
55585         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
55586         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
55587         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
55588         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
55589         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
55590         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
55591         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
55592         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
55593         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
55594         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
55595         (conformtest-cc-flags): Likewise.
55596         ($(conformtest-header-tests): New target.
55597         * conform/check-header-lists.sh: New file.
55598         * conform/run-conformtest.sh: Remove.
55600         * conform/conformtest.pl: Allow ' and \ in values given for
55601         constants.
55602         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
55603         inclusion.
55604         [POSIX] (sys/types.h): Likewise.
55605         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
55606         inclusion.
55607         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
55608         inclusion.
55609         * conform/data/signal.h-data (SIGIO): Remove expectation.
55610         [XPG3] (SIGBUS): Do not expect.
55611         [POSIX || XPG3] (SIGPOLL): Likewise.
55612         [POSIX || XPG3] (SIGPROF): Likewise.
55613         [POSIX || XPG3] (SIGSYS): Likewise.
55614         [XPG3] (SIGTRAP): Likewise.
55615         [POSIX || XPG3] (SIGURG): Likewise.
55616         [POSIX || XPG3] (SIGVTALRM): Likewise.
55617         [POSIX || XPG3] (SIGXCPU): Likewise.
55618         [POSIX || XPG3] (SIGXFSZ): Likewise.
55619         [POSIX] (SA_SIGINFO): Expect.
55620         [XPG3] (siginfo_t): Do not expect type or contents.
55621         [POSIX] (si_pid): Do not expect element.
55622         [POSIX] (si_uid): Likewise.
55623         [POSIX] (si_addr): Likewise.
55624         [POSIX] (si_status): Likewise.
55625         [POSIX] (si_band): Likewise.
55626         [XPG4] (si_value): Likewise.
55627         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
55628         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
55629         [POSIX || XPG3] (ILL_ILLADR): Likewise.
55630         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
55631         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
55632         [POSIX || XPG3] (ILL_PRVREG): Likewise.
55633         [POSIX || XPG3] (ILL_COPROC): Likewise.
55634         [POSIX || XPG3] (ILL_BADSTK): Likewise.
55635         [POSIX || XPG3] (FPE_INTDIV): Likewise.
55636         [POSIX || XPG3] (FPE_INTOVF): Likewise.
55637         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
55638         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
55639         [POSIX || XPG3] (FPE_FLTUND): Likewise.
55640         [POSIX || XPG3] (FPE_FLTRES): Likewise.
55641         [POSIX || XPG3] (FPE_FLTINV): Likewise.
55642         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
55643         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
55644         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
55645         [POSIX || XPG3] (BUS_ADRALN): Likewise.
55646         [POSIX || XPG3] (BUS_ADRERR): Likewise.
55647         [POSIX || XPG3] (BUS_OBJERR): Likewise.
55648         [POSIX || XPG3] (CLD_EXITED): Likewise.
55649         [POSIX || XPG3] (CLD_KILLED): Likewise.
55650         [POSIX || XPG3] (CLD_DUMPED): Likewise.
55651         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
55652         [POSIX || XPG3] (CLD_STOPPED): Likewise.
55653         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
55654         [POSIX || XPG3] (POLL_IN): Likewise.
55655         [POSIX || XPG3] (POLL_OUT): Likewise.
55656         [POSIX || XPG3] (POLL_MSG): Likewise.
55657         [POSIX || XPG3] (POLL_ERR): Likewise.
55658         [POSIX || XPG3] (POLL_PRI): Likewise.
55659         [POSIX || XPG3] (POLL_HUP): Likewise.
55660         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
55661         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
55662         (SIG*): Do not allow.
55663         [XPG3] (si_*): Likewise.
55664         [XPG3] (SI_*): Likewise.
55665         [XPG3 || XPG4] (sigev_*): Likewise.
55666         [XPG3 || XPG4] (SIGEV_*): Likewise.
55667         [XPG3 || XPG4] (sival_*): Likewise.
55668         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
55669         [POSIX || XPG3] (BUS_*): Likewise.
55670         [POSIX || XPG3] (CLD_*): Likewise.
55671         [POSIX || XPG3] (FPE_*): Likewise.
55672         [POSIX || XPG3] (ILL_*): Likewise.
55673         [POSIX || XPG3] (POLL_*): Likewise.
55674         [POSIX || XPG3] (SEGV_*): Likewise.
55675         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
55676         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
55677         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
55678         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
55679         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
55680         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
55681         Specify type and value.
55682         (TVERSLEN): Likewise.
55683         (REGTYPE): Likewise.
55684         (AREGTYPE): Likewise.
55685         (LNKTYPE): Likewise.
55686         (SYMTYPE): Likewise.
55687         (CHRTYPE): Likewise.
55688         (BLKTYPE): Likewise.
55689         (DIRTYPE): Likewise.
55690         (FIFOTYPE): Likewise.
55691         (CONTTYPE): Likewise.
55692         (TSUID): Likewise.
55693         (TSGID): Likewise.
55694         (TSVTX): Likewise.
55695         (TUREAD): Likewise.
55696         (TUWRITE): Likewise.
55697         (TUEXEC): Likewise.
55698         (TGREAD): Likewise.
55699         (TGWRITE): Likewise.
55700         (TGEXEC): Likewise.
55701         (TOREAD): Likewise.
55702         (TOWRITE): Likewise.
55703         (TOEXEC): Likewise.
55704         [POSIX] (TSVTX): Expect constant.
55706 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
55708         * Makefile (tests): Change dependencies to ....
55709         (tests-special): ... additions to this variable.
55710         (tests): Depend on $(tests-special).
55711         * Makerules (check-abi-list): New variable.
55712         (check-abi): Depend on $(check-abi-list).
55713         [$(subdir) = elf] (tests-special): Add
55714         $(objpfx)check-abi-libc.out.
55715         [$(build-shared) = yes && subdir] (tests-special): Add
55716         $(check-abi-list).
55717         [$(build-shared) = yes && subdir] (tests): Do not depend on
55718         check-abi.
55719         * Rules (tests): Depend on $(tests-special).
55720         (xtests): Depend on $(xtests-special).
55721         * catgets/Makefile (tests): Change dependencies to ....
55722         (tests-special): ... additions to this variable.
55723         * conform/Makefile (tests): Change dependencies to ....
55724         (tests-special): ... additions to this variable.
55725         * elf/Makefile (tests): Change dependencies to ....
55726         (tests-special): ... additions to this variable.
55727         * grp/Makefile (tests): Change dependencies to ....
55728         (tests-special): ... additions to this variable.
55729         * iconv/Makefile (xtests): Change dependencies to ....
55730         (xtests-special): ... additions to this variable.
55731         * iconvdata/Makefile (tests): Change dependencies to ....
55732         (tests-special): ... additions to this variable.
55733         * intl/Makefile (tests): Change dependencies to ....
55734         (tests-special): ... additions to this variable.  Also add
55735         $(objpfx)tst-gettext.out.
55736         * io/Makefile (tests): Change dependencies to ....
55737         (tests-special): ... additions to this variable.
55738         * libio/Makefile (tests): Change dependencies to ....
55739         (tests-special): ... additions to this variable.
55740         * malloc/Makefile (tests): Change dependencies to ....
55741         (tests-special): ... additions to this variable.
55742         * misc/Makefile (tests): Change dependencies to ....
55743         (tests-special): ... additions to this variable.
55744         * nptl/Makefile (tests): Change dependencies to ....
55745         (tests-special): ... additions to this variable.
55746         * nptl_db/Makefile (tests): Change dependencies to ....
55747         (tests-special): ... additions to this variable.
55748         * posix/Makefile (tests): Change dependencies to ....
55749         (tests-special): ... additions to this variable.
55750         (xtests): Change dependencies to ....
55751         (xtests-special): ... additions to this variable.
55752         * resolv/Makefile (tests): Change dependencies to ....
55753         (tests-special): ... additions to this variable.
55754         (xtests): Change dependencies to ....
55755         (xtests-special): ... additions to this variable.
55756         * stdio-common/Makefile (tests): Change dependencies to ....
55757         (tests-special): ... additions to this variable.
55758         (do-tst-unbputc): Remove target.
55759         (do-tst-printf): Likewise.
55760         * stdlib/Makefile (tests): Change dependencies to ....
55761         (tests-special): ... additions to this variable.
55762         * string/Makefile (tests): Change dependencies to ....
55763         (tests-special): ... additions to this variable.
55764         * sysdeps/x86/Makefile (tests): Change dependencies to ....
55765         (tests-special): ... additions to this variable.
55767         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
55768         whole file.
55769         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
55770         whole file.
55771         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
55772         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
55774         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
55775         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
55776         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
55777         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
55778         * conform/data/libgen.h-data [XPG3]: Likewise.
55779         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
55780         * conform/data/ndbm.h-data [XPG3]: Likewise.
55781         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55782         * conform/data/netdb.h-data [XPG3]: Likewise.
55783         * conform/data/netinet/in.h-data [XPG3]: Likewise.
55784         * conform/data/poll.h-data [XPG3]: Likewise.
55785         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55786         * conform/data/strings.h-data [XPG3]: Likewise.
55787         * conform/data/stropts.h-data [XPG3]: Likewise.
55788         * conform/data/sys/mman.h-data [XPG3]: Likewise.
55789         * conform/data/sys/resource.h-data [XPG3]: Likewise.
55790         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
55791         Likewise.
55792         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
55793         * conform/data/sys/time.h-data [XPG3]: Likewise.
55794         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
55795         * conform/data/sys/uio.h-data [XPG3]: Likewise.
55796         * conform/data/sys/un.h-data [XPG3]: Likewise.
55797         * conform/data/syslog.h-data [XPG3]: Likewise.
55798         * conform/data/ucontext.h-data [XPG3]: Likewise.
55799         * conform/data/utmpx.h-data [XPG3]: Likewise.
55800         * conform/data/varargs.h-data [UNIX98]: Enable file.
55802         * manual/Makefile (INSTALL_INFO): Remove variable setting.
55804         * math/libm-test.inc (struct test_f_f_data): Move expected results
55805         into structure for each rounding mode.
55806         (struct test_ff_f_data): Likewise.
55807         (struct test_ff_f_data_nexttoward): Likewise.
55808         (struct test_fi_f_data): Likewise.
55809         (struct test_fl_f_data): Likewise.
55810         (struct test_if_f_data): Likewise.
55811         (struct test_fff_f_data): Likewise.
55812         (struct test_c_f_data): Likewise.
55813         (struct test_f_f1_data): Likewise.
55814         (struct test_fF_f1_data): Likewise.
55815         (struct test_ffI_f1_data): Likewise.
55816         (struct test_c_c_data): Likewise.
55817         (struct test_cc_c_data): Likewise.
55818         (struct test_f_i_data): Likewise.
55819         (struct test_ff_i_data): Likewise.
55820         (struct test_f_l_data): Likewise.
55821         (struct test_f_L_data): Likewise.
55822         (struct test_fFF_11_data): Likewise.
55823         (RM_): New macro.
55824         (RM_FE_DOWNWARD): Likewise.
55825         (RM_FE_TONEAREST): Likewise.
55826         (RM_FE_TOWARDZERO): Likewise.
55827         (RM_FE_UPWARD): Likewise.
55828         (RUN_TEST_LOOP_f_f): Update references to expected results.
55829         (RUN_TEST_LOOP_2_f): Likewise.
55830         (RUN_TEST_LOOP_fff_f): Likewise.
55831         (RUN_TEST_LOOP_c_f): Likewise.
55832         (RUN_TEST_LOOP_f_f1): Likewise.
55833         (RUN_TEST_LOOP_fF_f1): Likewise.
55834         (RUN_TEST_LOOP_fI_f1): Likewise.
55835         (RUN_TEST_LOOP_ffI_f1): Likewise.
55836         (RUN_TEST_LOOP_c_c): Likewise.
55837         (RUN_TEST_LOOP_cc_c): Likewise.
55838         (RUN_TEST_LOOP_f_i): Likewise.
55839         (RUN_TEST_LOOP_f_i_tg): Likewise.
55840         (RUN_TEST_LOOP_ff_i_tg): Likewise.
55841         (RUN_TEST_LOOP_f_b): Likewise.
55842         (RUN_TEST_LOOP_f_b_tg): Likewise.
55843         (RUN_TEST_LOOP_f_l): Likewise.
55844         (RUN_TEST_LOOP_f_L): Likewise.
55845         (RUN_TEST_LOOP_fFF_11): Likewise.
55846         * math/gen-libm-test.pl (parse_args): Output four copies of
55847         expected results for each test.
55849         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55850         (__ASSUME_UTIMES): Remove.
55851         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55852         (__ASSUME_UTIMES): Likewise.
55854         * math/gen-auto-libm-tests.c: Update comment on output format.
55855         (output_for_one_input_case): Generate before-rounding and
55856         after-rounding information as conditions on output flags not
55857         floating-point format.
55858         * math/auto-libm-test-out: Regenerated.
55859         * math/gen-libm-test.pl (cond_value): New function.
55860         (or_cond_value): Use cond_value.
55861         (generate_testfile): Handle conditional exceptions.
55863 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
55865         * math/libm-test.inc (max_valid_error): New variable.
55866         (init_max_error): Take new argument specifying whether function
55867         results are exactly determined.  Set max_valid_error and bound
55868         other variables for errors based on this argument.
55869         (set_max_error): Do not record results above max_valid_error.
55870         (check_float_internal): Only accept errors of up to 0.5ulps if
55871         also at most max_valid_error.
55872         (START): Take new argument EXACT and pass it to init_max_error.
55873         (acos_test): Update call to START.
55874         (acos_test_tonearest): Likewise.
55875         (acos_test_towardzero): Likewise.
55876         (acos_test_downward): Likewise.
55877         (acos_test_upward): Likewise.
55878         (acosh_test): Likewise.
55879         (asin_test): Likewise.
55880         (asin_test_tonearest): Likewise.
55881         (asin_test_towardzero): Likewise.
55882         (asin_test_downward): Likewise.
55883         (asin_test_upward): Likewise.
55884         (asinh_test): Likewise.
55885         (atan_test): Likewise.
55886         (atanh_test): Likewise.
55887         (atan2_test): Likewise.
55888         (cabs_test): Likewise.
55889         (cacos_test): Likewise.
55890         (cacosh_test): Likewise.
55891         (carg_test): Likewise.
55892         (casin_test): Likewise.
55893         (casinh_test): Likewise.
55894         (catan_test): Likewise.
55895         (catanh_test): Likewise.
55896         (cbrt_test): Likewise.
55897         (ccos_test): Likewise.
55898         (ccosh_test): Likewise.
55899         (ceil_test): Likewise.
55900         (cexp_test): Likewise.
55901         (cimag_test): Likewise.
55902         (clog_test): Likewise.
55903         (clog10_test): Likewise.
55904         (conj_test): Likewise.
55905         (copysign_test): Likewise.
55906         (cos_test): Likewise.
55907         (cos_test_tonearest): Likewise.
55908         (cos_test_towardzero): Likewise.
55909         (cos_test_downward): Likewise.
55910         (cos_test_upward): Likewise.
55911         (cosh_test): Likewise.
55912         (cosh_test_tonearest): Likewise.
55913         (cosh_test_towardzero): Likewise.
55914         (cosh_test_downward): Likewise.
55915         (cosh_test_upward): Likewise.
55916         (cpow_test): Likewise.
55917         (cproj_test): Likewise.
55918         (creal_test): Likewise.
55919         (csin_test): Likewise.
55920         (csinh_test): Likewise.
55921         (csqrt_test): Likewise.
55922         (ctan_test): Likewise.
55923         (ctan_test_tonearest): Likewise.
55924         (ctan_test_towardzero): Likewise.
55925         (ctan_test_downward): Likewise.
55926         (ctan_test_upward): Likewise.
55927         (ctanh_test): Likewise.
55928         (ctanh_test_tonearest): Likewise.
55929         (ctanh_test_towardzero): Likewise.
55930         (ctanh_test_downward): Likewise.
55931         (ctanh_test_upward): Likewise.
55932         (erf_test): Likewise.
55933         (erfc_test): Likewise.
55934         (exp_test): Likewise.
55935         (exp_test_tonearest): Likewise.
55936         (exp_test_towardzero): Likewise.
55937         (exp_test_downward): Likewise.
55938         (exp_test_upward): Likewise.
55939         (exp10_test): Likewise.
55940         (exp10_test_tonearest): Likewise.
55941         (exp10_test_towardzero): Likewise.
55942         (exp10_test_downward): Likewise.
55943         (exp10_test_upward): Likewise.
55944         (pow10_test): Likewise.
55945         (exp2_test): Likewise.
55946         (expm1_test): Likewise.
55947         (expm1_test_tonearest): Likewise.
55948         (expm1_test_towardzero): Likewise.
55949         (expm1_test_downward): Likewise.
55950         (expm1_test_upward): Likewise.
55951         (fabs_test): Likewise.
55952         (fdim_test): Likewise.
55953         (floor_test): Likewise.
55954         (fma_test): Likewise.
55955         (fma_test_towardzero): Likewise.
55956         (fma_test_downward): Likewise.
55957         (fma_test_upward): Likewise.
55958         (fmax_test): Likewise.
55959         (fmin_test): Likewise.
55960         (fmod_test): Likewise.
55961         (fpclassify_test): Likewise.
55962         (frexp_test): Likewise.
55963         (hypot_test): Likewise.
55964         (ilogb_test): Likewise.
55965         (isfinite_test): Likewise.
55966         (finite_test): Likewise.
55967         (isgreater_test): Likewise.
55968         (isgreaterequal_test): Likewise.
55969         (isinf_test): Likewise.
55970         (isless_test): Likewise.
55971         (islessequal_test): Likewise.
55972         (islessgreater_test): Likewise.
55973         (isnan_test): Likewise.
55974         (isnormal_test): Likewise.
55975         (issignaling_test): Likewise.
55976         (isunordered_test): Likewise.
55977         (j0_test): Likewise.
55978         (j1_test): Likewise.
55979         (jn_test): Likewise.
55980         (ldexp_test): Likewise.
55981         (lgamma_test): Likewise.
55982         (gamma_test): Likewise.
55983         (lrint_test): Likewise.
55984         (lrint_test_tonearest): Likewise.
55985         (lrint_test_towardzero): Likewise.
55986         (lrint_test_downward): Likewise.
55987         (lrint_test_upward): Likewise.
55988         (llrint_test): Likewise.
55989         (llrint_test_tonearest): Likewise.
55990         (llrint_test_towardzero): Likewise.
55991         (llrint_test_downward): Likewise.
55992         (llrint_test_upward): Likewise.
55993         (log_test): Likewise.
55994         (log10_test): Likewise.
55995         (log1p_test): Likewise.
55996         (log2_test): Likewise.
55997         (logb_test): Likewise.
55998         (logb_test_downward): Likewise.
55999         (lround_test): Likewise.
56000         (llround_test): Likewise.
56001         (modf_test): Likewise.
56002         (nearbyint_test): Likewise.
56003         (nextafter_test): Likewise.
56004         (nexttoward_test): Likewise.
56005         (pow_test): Likewise.
56006         (pow_test_tonearest): Likewise.
56007         (pow_test_towardzero): Likewise.
56008         (pow_test_downward): Likewise.
56009         (pow_test_upward): Likewise.
56010         (remainder_test): Likewise.
56011         (drem_test): Likewise.
56012         (remainder_test_tonearest): Likewise.
56013         (drem_test_tonearest): Likewise.
56014         (remainder_test_towardzero): Likewise.
56015         (drem_test_towardzero): Likewise.
56016         (remainder_test_downward): Likewise.
56017         (drem_test_downward): Likewise.
56018         (remainder_test_upward): Likewise.
56019         (drem_test_upward): Likewise.
56020         (remquo_test): Likewise.
56021         (rint_test): Likewise.
56022         (rint_test_tonearest): Likewise.
56023         (rint_test_towardzero): Likewise.
56024         (rint_test_downward): Likewise.
56025         (rint_test_upward): Likewise.
56026         (round_test): Likewise.
56027         (scalb_test): Likewise.
56028         (scalbn_test): Likewise.
56029         (scalbln_test): Likewise.
56030         (signbit_test): Likewise.
56031         (sin_test): Likewise.
56032         (sin_test_tonearest): Likewise.
56033         (sin_test_towardzero): Likewise.
56034         (sin_test_downward): Likewise.
56035         (sin_test_upward): Likewise.
56036         (sincos_test): Likewise.
56037         (sinh_test): Likewise.
56038         (sinh_test_tonearest): Likewise.
56039         (sinh_test_towardzero): Likewise.
56040         (sinh_test_downward): Likewise.
56041         (sinh_test_upward): Likewise.
56042         (sqrt_test): Likewise.
56043         (sqrt_test_tonearest): Likewise.
56044         (sqrt_test_towardzero): Likewise.
56045         (sqrt_test_downward): Likewise.
56046         (sqrt_test_upward): Likewise.
56047         (tan_test): Likewise.
56048         (tan_test_tonearest): Likewise.
56049         (tan_test_towardzero): Likewise.
56050         (tan_test_downward): Likewise.
56051         (tan_test_upward): Likewise.
56052         (tanh_test): Likewise.
56053         (tgamma_test): Likewise.
56054         (trunc_test): Likewise.
56055         (y0_test): Likewise.
56056         (y1_test): Likewise.
56057         (yn_test): Likewise.
56058         (significand_test): Likewise.
56060         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
56061         individual tests in comment.
56062         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
56063         (prev_max_error): New variable.
56064         (prev_real_max_error): Likewise.
56065         (prev_imag_max_error): Likewise.
56066         (compare_ulp_data): Don't refer to test names in comment.
56067         (find_test_ulps): Remove function.
56068         (find_function_ulps): Likewise.
56069         (find_complex_function_ulps): Likewise.
56070         (init_max_error): Take function name as argument.  Look up ulps
56071         for that function.
56072         (print_ulps): Remove function.
56073         (print_max_error): Use prev_max_error instead of calling
56074         find_function_ulps.
56075         (print_complex_max_error): Use prev_real_max_error and
56076         prev_imag_max_error instead of calling find_complex_function_ulps.
56077         (check_float_internal): Take max_ulp parameter instead of calling
56078         find_test_ulps.  Don't call print_ulps.
56079         (check_float): Update call to check_float_internal.
56080         (check_complex): Update calls to check_float_internal.
56081         (START): Pass argument to init_max_error.
56082         * math/gen-libm-test.pl (%results): Don't include "kind"
56083         information.
56084         (parse_ulps): Don't handle ulps of individual tests.
56085         (print_ulps_file): Likewise.
56086         (output_ulps): Likewise.
56087         * math/README.libm-test: Update.
56088         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
56089         individual tests.
56090         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
56091         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
56092         * sysdeps/arm/libm-test-ulps: Likewise.
56093         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
56094         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
56095         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
56096         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
56097         * sysdeps/microblaze/libm-test-ulps: Likewise.
56098         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
56099         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
56100         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56101         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
56102         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56103         * sysdeps/sh/libm-test-ulps: Likewise.
56104         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56105         * sysdeps/tile/libm-test-ulps: Likewise.
56106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56108 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
56110         * math/libm-test.inc (print_complex_max_error): Check separately
56111         whether real and imaginary errors are within allowed range and
56112         pass 0 to print_complex_function_ulps instead of value within
56113         allowed range.
56115 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56117         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
56118         formatting.
56119         (get_handles_fopen): Likewise.
56120         (do_write_test): Likewise.
56122         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
56124         * libio/fileops.c (do_ftell): Use cached offset when
56125         available.
56126         * libio/iofwide.c (do_ftell_wide): Likewise.
56127         * libio/iofdopen.c (_IO_new_fdopen): Don't use
56128         _IO_file_attach.
56129         * libio/wfileops.c (_IO_fwide): Don't cache offset.
56131         [BZ #16532]
56132         * libio/libioP.h (get_file_offset): New function.
56133         * libio/fileops.c (get_file_offset): Likewise.
56134         (do_ftell): Likewise.
56135         (_IO_new_file_seekoff): Split out ftell logic.
56136         * libio/wfileops.c (do_ftell_wide): Likewise.
56137         (_IO_wfile_seekoff): Split out ftell logic.
56138         * libio/tst-ftell-active-handler.c: New test case.
56139         * libio/Makefile (tests): Add it.
56141 2014-03-03  Roland McGrath  <roland@hack.frob.com>
56143         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
56144         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
56146 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
56148         [BZ #16639]
56149         * nscd/connections.c (nscd_init): Call do_exit.
56150         (start_threads): Call do_exit and notify_parent.
56151         (begin_drop_privileges): Call do_exit.
56152         (finish_drop_privileges): Likewise.
56153         * nscd/selinux.c (preserve_capabilities): Likewise.
56154         (install_real_capabilities): Likewise.
56155         (nscd_selinux_enabled): Likewise.
56156         (avc_create_thread): Likewise.
56157         (avc_alloc_lock): Likewise.
56158         (nscd_avc_init): Likewise.
56159         * nscd/nscd.c (parent_fd): New static variable.
56160         (main): Create a pipe between parent and child processes.
56161         Skip closing parent_fd.
56162         (monitor_child): New function.
56163         (do_exit): Likewise.
56164         (notify_parent): Likewise.
56165         * nscd/nscd.h (notify_parent): Likewise.
56166         (do_exit): Likewise.
56168 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
56170         * malloc/malloc.c (__libc_calloc): Revert last change.
56172 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56174         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56176 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56178         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
56179         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
56180         implementation.
56181         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
56182         (__libc_ifunc_impl_list): Likewise.
56183         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
56184         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
56185         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
56186         * string/strrchr.c: Define STRRCHR.
56188 2014-02-28  Ondƙej BĂ­lka  <neleai@seznam.cz>
56190         * benchtest/bench-strtok.c (simple_strtok): Delete.
56191         (strtok_string): Use as benchmark.
56192         * string/strtok (STRTOK): New macro.
56194 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
56196         * manual/threads.texi: Add header and standard comments to all
56197         functions.
56199         * elf/dl-lookup.c (check_match): New function.
56200         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
56201         (do_lookup_x): Remove nested function check_match. Use non-nested
56202         function check_match.
56204 2014-02-28  Roland McGrath  <roland@hack.frob.com>
56206         * csu/Makefile (generated, before-compile): Use += rather than =.
56207         * catgets/Makefile (generated, generated-dirs): Likewise.
56208         * debug/Makefile (generated): Likewise.
56209         * dlfcn/Makefile (generated): Likewise.
56210         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
56211         * iconvdata/Makefile (before-compile, generated): Likewise.
56212         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
56213         * libio/Makefile (generated): Likewise.
56214         * malloc/Makefile (generated): Likewise.
56215         * manual/Makefile (generated, generated-dirs): Likewise.
56216         * misc/Makefile (generated): Likewise.
56217         * posix/Makefile (generated): Likewise.
56218         * resolv/Makefile (generated): Likewise.
56219         * sunrpc/Makefile (generated, generated-dirs): Likewise.
56220         * timezone/Makefile (generated, generated-dirs): Likewise.
56222         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
56224 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56226         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
56227         power8 implementation.
56228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
56229         file: POWER8 llround ifunc implementation.
56230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
56231         (__lllround): Add POWER8 implementation.
56232         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
56233         POWER8 llround implementation.
56235         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
56236         power8 implementation.
56237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
56238         file: POWER8 llrint ifunc implementation.
56239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
56240         Add POWER8 implementation.
56241         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
56242         POWER8 llrint implementation.
56244         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
56245         power8 implementation.
56246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
56247         file: POWER8 finite ifunc implementation.
56248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
56249         Add POWER8 implementation.
56250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
56251         Likewise.
56252         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
56253         POWER8 finite implementation.
56254         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
56256         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
56257         power8 implementation.
56258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
56259         file: POWER8 isinf ifunc implementation.
56260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
56261         POWER8 implementation.
56262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
56263         Likewise.
56264         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
56265         isinf implementation.
56266         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
56268         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
56269         (INIT_ARCH): Add hwcap2 initialization.
56270         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
56271         power8 implementation.
56272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
56273         file: POWER8 isnan ifunc implementation.
56274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
56275         POWER8 implementation.
56276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
56277         Likewise.
56278         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
56279         isnan implementation.
56280         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
56282 2014-02-27  Joey Ye  <joey.ye@arm.com>
56284         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
56285         (_FP_NANFRAC_Q): Set to zero.
56287 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56289         [BZ #16623]
56290         * math/auto-libm-test-in: New test inputs.
56291         * math/auto-libm-test-out: Regenerate.
56292         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
56293         and DA.
56294         (__cos): Likewise.
56295         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
56297 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
56299         * scripts/evaluate-test.sh: Take new argument indicating whether
56300         failure is expected.
56301         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
56302         indicating whether failure is expected.
56303         * conform/Makefile (test-xfail-run-conformtest): New variable.
56304         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
56305         level.
56306         * posix/Makefile (test-xfail-annexc): New variable.
56307         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
56309 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
56311         * argp/Makefile: Include Makeconfig immediately after defining
56312         subdir.
56313         * assert/Makefile: Likewise.
56314         * benchtests/Makefile: Likewise.
56315         * catgets/Makefile: Likewise.
56316         * conform/Makefile: Likewise.
56317         * crypt/Makefile: Likewise.
56318         * csu/Makefile: Likewise.
56319         (all): Remove target.
56320         * ctype/Makefile: Include Makeconfig immediately after defining
56321         subdir.
56322         * debug/Makefile: Likewise.
56323         * dirent/Makefile: Likewise.
56324         * dlfcn/Makefile: Likewise.
56325         * gmon/Makefile: Likewise.
56326         * gnulib/Makefile: Likewise.
56327         * grp/Makefile: Likewise.
56328         * gshadow/Makefile: Likewise.
56329         * hesiod/Makefile: Likewise.
56330         * hurd/Makefile: Likewise.
56331         (all): Remove target.
56332         * iconvdata/Makefile: Include Makeconfig immediately after
56333         defining subdir.
56334         * inet/Makefile: Likewise.
56335         * intl/Makefile: Likewise.
56336         * io/Makefile: Likewise.
56337         * libio/Makefile: Likewise.
56338         (all): Remove target.
56339         * locale/Makefile: Include Makeconfig immediately after defining
56340         subdir.
56341         * login/Makefile: Likewise.
56342         * mach/Makefile: Likewise.
56343         (all): Remove target.
56344         * malloc/Makefile: Include Makeconfig immediately after defining
56345         subdir.
56346         (all): Remove target.
56347         * manual/Makefile: Include Makeconfig immediately after defining
56348         subdir.
56349         * math/Makefile: Likewise.
56350         * misc/Makefile: Likewise.
56351         * nis/Makefile: Likewise.
56352         * nss/Makefile: Likewise.
56353         * po/Makefile: Likewise.
56354         (all): Remove target.
56355         * posix/Makefile: Include Makeconfig immediately after defining
56356         subdir.
56357         * pwd/Makefile: Likewise.
56358         * resolv/Makefile: Likewise.
56359         * resource/Makefile: Likewise.
56360         * rt/Makefile: Likewise.
56361         * setjmp/Makefile: Likewise.
56362         * shadow/Makefile: Likewise.
56363         * signal/Makefile: Likewise.
56364         * socket/Makefile: Likewise.
56365         * soft-fp/Makefile: Likewise.
56366         * stdio-common/Makefile: Likewise.
56367         * stdlib/Makefile: Likewise.
56368         * streams/Makefile: Likewise.
56369         * string/Makefile: Likewise.
56370         * sunrpc/Makefile: Likewise.
56371         (all): Remove target.
56372         * sysvipc/Makefile: Include Makeconfig immediately after defining
56373         subdir.
56374         * termios/Makefile: Likewise.
56375         * time/Makefile: Likewise.
56376         * timezone/Makefile: Likewise.
56377         (all): Remove target.
56378         * wcsmbs/Makefile: Include Makeconfig immediately after defining
56379         subdir.
56380         * wctype/Makefile: Likewise.
56382 2014-02-26  Steve Ellcey  <sellcey@mips.com>
56384         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
56385         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
56386         (libc_feholdexcept_setround_mips): Ditto.
56387         (libc_feholdsetround): New.
56388         (libc_feholdsetroundf): New.
56389         (libc_feholdsetroundl): New.
56390         (libc_feupdateenv_test_mips): New.
56391         (libc_feupdateenv_test): New.
56392         (libc_feupdateenv_testf): New.
56393         (libc_feupdateenv_testl): New.
56394         (libc_feresetround): New.
56395         (libc_feresetroundf): New.
56396         (libc_feresetroundl): New.
56397         (libc_fetestexcept_mips): New.
56398         (libc_fetestexcept): New.
56399         (libc_fetestexceptf): New.
56400         (libc_fetestexceptl): New.
56401         (HAVE_RM_CTX): New.
56402         (libc_feholdexcept_setround_mips_ctx): New.
56403         (libc_feholdexcept_setround_ctx): New.
56404         (libc_feholdexcept_setroundf_ctx): New.
56405         (libc_feholdexcept_setroundl_ctx): New.
56406         (libc_fesetenv_mips_ctx): New.
56407         (libc_fesetenv_ctx): New.
56408         (libc_fesetenv_ctxf): New.
56409         (libc_fesetenv_ctxl): New.
56410         (libc_feupdateenv_mips_ctx): New.
56411         (libc_feupdateenv_ctx): New.
56412         (libc_feupdateenvf_ctx): New.
56413         (libc_feupdateenvl_ctx): New.
56414         (libc_feholdsetround_mips_ctx): New.
56415         (libc_feholdsetround_ctx): New.
56416         (libc_feholdsetroundf_ctx): New.
56417         (libc_feholdsetroundl_ctx): New.
56418         (libc_feresetround_mips_ctx): New.
56419         (libc_feresetround_ctx): New.
56420         (libc_feresetroundf_ctx): New.
56421         (libc_feresetroundl_ctx): New.
56423 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
56425         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
56427         * manual/ipc.texi: New file.
56428         * manual/Makefile (chapters): Add ipc.
56429         * manual/job.texi: Add "Inter-Process Communication" to next.
56430         * manual/process.texi: Add "Inter-Process Communication" to prev.
56432 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56434         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56436 2014-02-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
56438         * malloc/malloc.c (__libc_calloc): Simplify implementation.
56440         * manual/arith.texi: Fix spaces after sentences.
56441         * manual/charset.texi: Likewise.
56442         * manual/errno.texi: Likewise.
56443         * manual/install.texi: Likewise.
56444         * manual/llio.texi: Likewise.
56445         * manual/locale.texi: Likewise.
56446         * manual/maint.texi: Likewise.
56447         * manual/math.texi: Likewise.
56448         * manual/memory.texi: Likewise.
56449         * manual/message.texi: Likewise.
56450         * manual/probes.texi: Likewise.
56451         * manual/resource.texi: Likewise.
56452         * manual/signal.texi: Likewise.
56453         * manual/socket.texi: Likewise.
56454         * manual/stdio.texi: Likewise.
56455         * manual/string.texi: Likewise.
56456         * manual/time.texi: Likewise.
56457         * manual/users.texi: Likewise.
56459 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
56461         [BZ #16632]
56462         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
56463         _DEFAULT_SOURCE is defined.
56465 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
56466             Carlos O'Donell  <carlos@redhat.com>
56468         [BZ #16613]
56469         * elf/dl-tls.c (_dl_count_modids): New function.
56470         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
56471         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
56472         audit library and increment generation counter.
56473         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
56474         * elf/tst-audit9.c: New file.
56475         * elf/tst-auditmod9a.c: New file.
56476         * elf/tst-auditmod9b.c: New file.
56477         * elf/Makefile: Add rules to build and run tst-audit9.
56479 2014-02-25  Florian Weimer  <fweimer@redhat.com>
56481         [BZ #15347]
56482         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
56484 2014-02-25  Will Newton  <will.newton@linaro.org>
56486         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
56487         (__longjmp): Restore sp and lr before restoring callee
56488         saved registers.  Add longjmp and longjmp_target
56489         SystemTap probe point.
56490         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
56491         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
56492         Define to zero to match jmpbuf layout.
56493         * sysdeps/arm/setjmp.S: Include stap-probe.h.
56494         (__sigsetjmp): Save sp and lr before saving callee
56495         saved registers.  Add setjmp SystemTap probe point.
56497 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
56499         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56501 2014-02-24  Andreas Schwab  <schwab@suse.de>
56503         [BZ #15804]
56504         * elf/pldd.c (wait_for_ptrace_stop): New function.
56505         (main): Call it after attaching.
56507 2014-02-22  Roland McGrath  <roland@hack.frob.com>
56509         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
56510         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
56511         Versions files is now verboten.
56512         * hurd/Versions (libc: GLIBC_2.0):
56513         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
56514         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
56515         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
56516         * mach/Versions: Likewise.
56518         * csu/Versions: Remove unused %include.
56519         * resolv/Versions: Likewise.
56521 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
56523         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
56524         ($(objpfx)check-local-headers.out): Likewise.
56525         ($(objpfx)begin-end-check.out): Likewise.
56526         * Makerules (check-abi-%.out): Likewise.
56527         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
56528         ($(objpfx)test2.cat): Likewise.
56529         ($(objpfx)de/libc.cat): Likewise.
56530         ($(objpfx)test-gencat.out): Likewise.
56531         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
56532         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
56533         ($(objpfx)noload-mem): Likewise.
56534         ($(objpfx)tst-pathopt.out): Likewise.
56535         ($(objpfx)tst-rtld-load-self.out): Likewise.
56536         ($(objpfx)tst-array1-cmp.out): Likewise.
56537         ($(objpfx)tst-array1-static-cmp.out): Likewise.
56538         ($(objpfx)tst-array2-cmp.out): Likewise.
56539         ($(objpfx)tst-array3-cmp.out): Likewise.
56540         ($(objpfx)tst-array4-cmp.out): Likewise.
56541         ($(objpfx)tst-array5-cmp.out): Likewise.
56542         ($(objpfx)tst-array5-static-cmp.out): Likewise.
56543         ($(objpfx)check-textrel.out): Likewise.
56544         ($(objpfx)check-execstack.out): Likewise.
56545         ($(objpfx)check-localplt.out): Likewise.
56546         ($(objpfx)order2-cmp.out): Likewise.
56547         ($(objpfx)tst-leaks1-mem): Likewise.
56548         ($(objpfx)tst-leaks1-static-mem): Likewise.
56549         ($(objpfx)tst-initorder-cmp.out): Likewise.
56550         ($(objpfx)tst-initorder2-cmp.out): Likewise.
56551         ($(objpfx)tst-unused-dep.out): Likewise.
56552         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
56553         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
56554         * iconv/Makefile (test-iconvconfig): Likewise.
56555         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
56556         ($(objpfx)iconv-test.out): Likewise.
56557         ($(objpfx)tst-tables.out): Likewise.
56558         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
56559         ($(objpfx)tst-gettext.out): Likewise.
56560         ($(objpfx)tst-translit.out): Likewise.
56561         ($(objpfx)tst-gettext2.out): Likewise.
56562         ($(objpfx)tst-gettext4.out): Likewise.
56563         ($(objpfx)tst-gettext6.out): Likewise.
56564         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
56565         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
56566         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
56567         ($(objpfx)tst-fopenloc-mem.out): Likewise.
56568         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
56569         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
56570         * posix/Makefile ($(objpfx)globtest.out): Likewise.
56571         ($(objpfx)wordexp-tst.out): Likewise.
56572         ($(objpfx)annexc.out): Likewise.
56573         ($(objpfx)tst-fnmatch-mem): Likewise.
56574         ($(objpfx)bug-regex2-mem): Likewise.
56575         ($(objpfx)bug-regex14-mem): Likewise.
56576         ($(objpfx)bug-regex21-mem): Likewise.
56577         ($(objpfx)bug-regex31-mem): Likewise.
56578         ($(objpfx)tst-vfork3-mem): Likewise.
56579         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
56580         ($(objpfx)tst-pcre-mem): Likewise.
56581         ($(objpfx)tst-boost-mem): Likewise.
56582         ($(objpfx)tst-getconf.out): Likewise.
56583         ($(objpfx)bug-ga2-mem): Likewise.
56584         ($(objpfx)bug-glob2-mem): Likewise.
56585         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
56586         ($(objpfx)mtrace-tst-leaks2): Likewise.
56587         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
56588         ($(objpfx)tst-printf.out): Likewise.
56589         ($(objpfx)tst-setvbuf1.out): Likewise.
56590         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
56591         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
56592         ($(objpfx)tst-fmtmsg.out): Likewise.
56593         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
56594         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
56596         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
56597         * bits/sigaction.h [__USE_MISC]: Likewise.
56598         * bits/waitstatus.h: Update #endif comments.
56599         * ctype/ctype.h: Likewise.
56600         * dirent/dirent.h: Likewise.
56601         [__USE_MISC]: Remove redundant conditionals.
56602         * grp/grp.h: Update #endif comments.
56603         [__USE_GNU]: Remove redundant conditionals.
56604         [__USE_MISC]: Likewise.
56605         * inet/netinet/in.h [__USE_GNU]: Likewise.
56606         * io/sys/stat.h [__USE_MISC]: Likewise.
56607         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
56608         * libio/bits/stdio.h: Update #endif comments.
56609         [__USE_MISC]: Remove redundant conditionals.
56610         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
56611         * libio/stdio.h: Update #endif comments.
56612         [__USE_MISC]: Remove redundant conditionals.
56613         * math/bits/math-finite.h [__USE_MISC]: Likewise.
56614         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
56615         * math/math.h: Update #else and #endif comments.
56616         [__USE_MISC]: Remove redundant conditionals.
56617         * misc/sys/uio.h: Update #endif comments.
56618         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
56619         * posix/glob.h [__USE_MISC]: Likewise.
56620         * posix/sys/types.h: Update #endif comments.
56621         [__USE_MISC]: Remove redundant conditionals.
56622         * posix/sys/wait.h: Update #endif comments.
56623         [__USE_MISC]: Remove redundant conditionals.
56624         * posix/unistd.h: Update #endif comments.
56625         [__USE_MISC]: Remove redundant conditionals.
56626         * pwd/pwd.h [__USE_GNU]: Likewise.
56627         [__USE_MISC]: Likewise.
56628         * resolv/netdb.h [__USE_GNU]: Likewise.
56629         * signal/signal.h: Update #endif comments.
56630         [__USE_MISC]: Remove redundant conditionals.
56631         * stdlib/stdlib.h: Update #else and #endif comments.
56632         [__USE_MISC]: Remove redundant conditionals.
56633         [__USE_GNU]: Likewise.
56634         * string/bits/string2.h [__USE_MISC]: Likewise.
56635         * string/string.h: Update #endif comments.
56636         [__USE_MISC]: Remove redundant conditionals.
56637         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
56638         Likewise.
56639         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
56640         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
56641         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
56642         Likewise.
56643         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
56644         Likewise.
56645         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
56646         comments.
56647         [__USE_MISC]: Remove redundant conditionals.
56648         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
56649         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
56650         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
56651         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
56652         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
56653         Likewise.
56654         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
56655         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
56656         Likewise.
56657         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
56658         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
56659         Likewise.
56660         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
56661         Likewise.
56662         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
56663         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
56664         Likewise.
56665         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
56666         Likewise.
56667         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
56668         * sysdeps/x86/bits/string.h: Update #endif comments.
56669         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
56670         conditionals.
56671         * time/sys/time.h: Update #endif comments.
56672         * time/time.h: Likewise.
56673         [__USE_MISC]: Remove redundant conditionals.
56675 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
56677         [BZ #16600]
56678         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
56680 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
56682         * Versions.def (librt): Add GLIBC_2.17.
56684 2014-02-21  Adam Conrad  <adconrad@0c3.net>
56686         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
56687         synonym for _SYS_AUXV_H to allow direct inclusion.
56688         * sysdeps/sparc/bits/hwcap.h: Likewise.
56689         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
56690         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
56691         * sysdeps/sparc/sysdep.h: Likewise.
56693 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56695         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
56697 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
56699         * benchtests/bench-strrchr.c: Print length instead of position.
56701 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
56703         [BZ #16611]
56704         * sysdeps/unix/sysv/linux/kernel-features.h
56705         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
56706         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
56707         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
56708         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
56709         Likewise.
56710         [__i386__ || __powerpc__ || __sh__ || __sparc__]
56711         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56712         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
56713         (__ASSUME_SENDMMSG): Define instead of using previous
56714         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
56715         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56716         (__ASSUME_SENDMMSG_SYSCALL): Define.
56717         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56718         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
56719         Likewise.
56720         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56721         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56722         Likewise.
56723         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56724         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56725         Likewise.
56726         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
56727         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56728         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56729         [__ASSUME_SENDMMSG]: Change conditionals to
56730         [__ASSUME_SENDMMSG_SOCKETCALL].
56731         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56732         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
56733         Define.
56734         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56735         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
56736         Likewise.
56737         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
56738         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56739         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56740         [!__ASSUME_SENDMMSG]: Change conditional to
56741         [!__ASSUME_SENDMMSG_SOCKETCALL].
56742         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56743         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56744         Define.
56746         [BZ #16610]
56747         * sysdeps/unix/sysv/linux/kernel-features.h
56748         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
56749         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
56750         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
56751         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
56752         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
56753         [__i386__ || __sparc__]
56754         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56755         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
56756         (__ASSUME_RECVMMSG): Define instead of using previous
56757         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
56758         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56759         (__ASSUME_RECVMMSG_SYSCALL): Define.
56760         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56761         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56762         Likewise.
56763         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56764         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56765         Likewise.
56766         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56767         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56768         Likewise.
56769         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
56770         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56771         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56772         [__ASSUME_RECVMMSG]: Change condition to
56773         [__ASSUME_RECVMMSG_SOCKETCALL].
56774         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56775         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56776         Define.
56777         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56778         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56779         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56780         Likewise.
56781         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
56782         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56783         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56784         [!__ASSUME_RECVMMSG]: Change condition to
56785         [!__ASSUME_RECVMMSG_SOCKETCALL].
56786         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56787         (__ASSUME_RECVMMSG_SYSCALL): Define.
56789         [BZ #16609]
56790         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
56791         __powerpc__ || __s390__ || __sh__ || __sparc__]
56792         (__ASSUME_SOCKETCALL): Define.
56793         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
56794         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
56795         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
56796         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
56797         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
56798         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56799         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
56800         (__ASSUME_ACCEPT4): Define instead of using previous
56801         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
56802         __powerpc__ || __sparc__ || __s390__)] condition.
56803         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56804         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56805         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
56806         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56807         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56808         [!__ASSUME_ACCEPT4]: Change condition to
56809         [!__ASSUME_ACCEPT4_SOCKETCALL].
56810         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56811         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
56812         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
56813         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56814         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
56815         __ASSUME_ACCEPT4_SYSCALL.
56816         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
56817         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
56818         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56819         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
56820         __ASSUME_ACCEPT4_SYSCALL.
56821         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
56822         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56823         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56824         [__ASSUME_ACCEPT4]: Change condition to
56825         [__ASSUME_ACCEPT4_SOCKETCALL].
56826         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
56827         (__ASSUME_SOCKETCALL): Define.
56828         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
56829         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56830         (__ASSUME_SOCKETCALL): Define.
56831         (__ASSUME_ACCEPT4): Remove.
56832         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
56833         Define.
56834         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56835         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
56836         Likewise.
56837         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56838         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56840         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
56841         macro.
56842         (HWCAP_ARM_LPAE): Likewise.
56843         (HWCAP_ARM_EVTSTRM): Likewise.
56844         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
56845         Add vpfd32, lpae and evtstrm.
56846         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
56847         Increase to 22.
56849 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
56851         * math/auto-libm-test-in: Add tests of clog10.
56852         * math/auto-libm-test-out: Regenerated.
56853         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
56854         * sysdeps/i386/fpu/libm-test-ulps: Update.
56855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56857 2014-02-18  Andreas Schwab  <schwab@suse.de>
56859         [BZ #16574]
56860         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
56861         Store non-zero if the second buffer was newly allocated.
56862         (send_dg): Likewise.
56863         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
56864         to send_vc and send_dg.
56865         (res_nsend): Pass NULL for ansp2_malloced.
56866         * resolv/res_query.c (__libc_res_nquery): Add parameter
56867         answerp2_malloced and pass it down to __libc_res_nsend.
56868         (res_nquery): Pass additional NULL to __libc_res_nquery.
56869         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
56870         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
56871         second answer buffer if answerp2_malloced was set.
56872         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
56873         (__libc_res_nquerydomain): Add parameter
56874         answerp2_malloced and pass it down to __libc_res_nquery.
56875         (res_nquerydomain): Pass additional NULL to
56876         __libc_res_nquerydomain.
56877         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
56878         additional NULL to __libc_res_nsend and __libc_res_nquery.
56879         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
56880         additional NULL to __libc_res_nsearch.
56881         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
56882         parameter of __libc_res_nsearch to check for separately allocated
56883         second buffer.
56884         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
56885         __libc_res_nquery.
56886         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
56887         additional NULL to __libc_res_nquery.
56888         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
56889         __libc_res_nsearch.
56890         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
56891         * include/resolv.h: Update prototypes of __libc_res_nquery,
56892         __libc_res_nsearch, __libc_res_nsend.
56894 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
56896         * math/auto-libm-test-in: Add tests of fma.
56897         * math/auto-libm-test-out: Regenerated.
56898         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
56899         (fma_towardzero_test_data): Likewise.
56900         (fma_downward_test_data): Likewise.
56901         (fma_upward_test_data): Likewise.
56902         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
56903         mpc_mode.
56904         (rounding_modes): Add values for new field.
56905         (func_calc_method): Add value mpfr_fff_f.
56906         (func_calc_desc): Add mpfr_fff_f union field.
56907         (test_function): Add field exact_args.
56908         (FUNC): Add macro argument EXACT_ARGS.
56909         (FUNC_mpfr_f_f): Update call to FUNC.
56910         (FUNC_mpfr_f_f): Likewise.
56911         (FUNC_mpfr_ff_f): Likewise.
56912         (FUNC_mpfr_if_f): Likewise.
56913         (FUNC_mpc_c_f): Likewise.
56914         (FUNC_mpc_c_c): Likewise.
56915         (test_functions): Add fma.  Update calls to FUNC.
56916         (handle_input_arg): Add argument exact_args.
56917         (add_test): Update call to handle_input_arg.
56918         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
56919         (output_for_one_input_case): Update call to calc_generic_results.
56920         Recalculate exact zero results in each rounding mode.
56922         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
56923         non-negative before setting low bit.
56924         * math/auto-libm-test-in: Mark one asin test possibly having
56925         spurious underflow.
56926         * math/auto-libm-test-out: Regenerated.
56927         * sysdeps/i386/fpu/libm-test-ulps: Update.
56928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56930 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
56932         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
56933         * sysdeps/unix/sysv/linux/microblaze: Move directory from
56934         ports/sysdeps/unix/sysv/linux/microblaze.
56935         * README: Add missing listing for microblaze*-*-linux-gnu.
56937 2014-02-16  Ondƙej BĂ­lka  <neleai@seznam.cz>
56939         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
56940         duplicate code
56942 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
56944         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
56945         * sysdeps/unix/sysv/linux/ia64: Move directory from
56946         ports/sysdeps/unix/sysv/linux/ia64.
56947         * README: Update listing for ia64-*-linux-gnu.
56949 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
56950             Joseph Myers  <joseph@codesourcery.com>
56952         * Makeconfig (test-name): New variable.
56953         (evaluate-test): Likewise.
56954         * Makerules (do-test-clean): Remove .test-result files.
56955         (common-mostlyclean): Likewise.
56956         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
56957         * scripts/evaluate-test.sh: New file.
56959 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
56961         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
56962         separate $(objpfx)tst-fopenloc-cmp.out and
56963         $(objpfx)tst-fopenloc-mem.out targets.
56964         (tests): Update dependencies.
56965         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
56966         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
56967         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
56968         (tst-rxspencer-no-utf8-ARGS): New variable.
56969         (tst-rxspencer-no-utf8-ENV): Likewise.
56970         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
56971         instead of $(objpfx)tst-rxspencer-mem.
56972         ($(objpfx)tst-rxspencer-mem): Change target to
56973         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
56974         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
56975         * posix/tst-rxspencer-no-utf8.c: New file.
56977         * elf/Makefile ($(objpfx)order.out): Remove rule.
56978         [$(run-built-tests) = yes] (tests): Depend on
56979         $(objpfx)order-cmp.out.
56980         ($(objpfx)order-cmp.out): New rule.
56981         [$(run-built-tests) = yes] (tests): Depend on
56982         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
56983         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
56984         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
56985         $(objpfx)tst-array5-static-cmp.out.
56986         ($(objpfx)tst-array1.out): Remove rule.
56987         ($(objpfx)tst-array1-cmp.out): New rule.
56988         ($(objpfx)tst-array1-static.out): Remove rule.
56989         ($(objpfx)tst-array1-static-cmp.out): New rule.
56990         ($(objpfx)tst-array2.out): Remove rule.
56991         ($(objpfx)tst-array2-cmp.out): New rule.
56992         ($(objpfx)tst-array3.out): Remove rule.
56993         ($(objpfx)tst-array3-cmp.out): New rule.
56994         ($(objpfx)tst-array4.out): Remove rule.
56995         ($(objpfx)tst-array4-cmp.out): New rule.
56996         ($(objpfx)tst-array5.out): Remove rule.
56997         ($(objpfx)tst-array5-cmp.out): New rule.
56998         ($(objpfx)tst-array5-static.out): Remove rule.
56999         ($(objpfx)tst-array5-static-cmp.out): New rule.
57000         [$(run-built-tests) = yes] (tests): Depend on
57001         $(objpfx)order2-cmp.out.
57002         ($(objpfx)order2.out): Remove rule.
57003         ($(objpfx)order2-cmp.out): New rule.
57004         ($(objpfx)tst-initorder.out): Remove rule.
57005         [$(run-built-tests) = yes] (tests): Depend on
57006         $(objpfx)tst-initorder-cmp.out.
57007         ($(objpfx)tst-initorder-cmp.out): New rule.
57008         ($(objpfx)tst-initorder2.out): Remove rule.
57009         [$(run-built-tests) = yes] (tests): Depend on
57010         $(objpfx)tst-initorder2-cmp.out.
57011         ($(objpfx)tst-initorder2-cmp.out): New rule.
57012         [$(run-built-tests) = yes] (tests): Depend on
57013         $(objpfx)tst-unused-dep-cmp.out.
57014         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
57015         ($(objpfx)tst-unused-dep-cmp.out): New rule.
57016         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
57017         on $(objpfx)tst-setvbuf1-cmp.out.
57018         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
57019         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
57020         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
57021         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
57022         ($(objpfx)tst-svc.out): Remove rule.
57023         ($(objpfx)tst-svc-cmp.out): New rule.
57025 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
57027         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
57028         * ctype/ctype.h [__USE_MISC]: Likewise.
57029         * dirent/dirent.h [__USE_MISC]: Likewise.
57030         * grp/grp.h [__USE_MISC]: Likewise.
57031         * io/fcntl.h [__USE_MISC]: Likewise.
57032         * io/sys/stat.h [__USE_MISC]: Likewise.
57033         * libio/stdio.h [__USE_MISC]: Likewise.
57034         * posix/unistd.h [__USE_MISC]: Likewise.
57035         * pwd/pwd.h [__USE_MISC]: Likewise.
57036         * stdlib.h [__USE_MISC]: Likewise.
57037         * string/bits/string2.h [__USE_MISC]: Likewise.
57038         * string/string.h [__USE_MISC]: Likewise.
57039         * time/time.h [__USE_MISC]: Likewise.
57041 2014-02-13  Andreas Schwab  <schwab@suse.de>
57043         [BZ #16574]
57044         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
57045         second answer buffer if it was separately allocated.
57047 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
57049         * sysdeps/mips/math-tests.h: Include <features.h>.
57050         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
57051         (ROUNDING_TESTS_long_double): Do not define.
57052         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
57053         (EXCEPTION_TESTS_long_double): Likewise.
57054         * sysdeps/mips/mips64/libm-test-ulps: Update.
57056         * include/features.h (__USE_BSD): Remove macro definitions.
57057         (__USE_SVID): Likewise.
57058         (_BSD_SOURCE): Likewise.
57059         (_SVID_SOURCE): Likewise.
57060         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
57061         from definition of _DEFAULT_SOURCE.
57062         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
57063         [_DEFAULT_SOURCE].
57064         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
57065         * bits/mman.h [__USE_BSD]: Likewise.
57066         * bits/termios.h [__USE_BSD]: Likewise.
57067         * bits/waitstatus.h [__USE_BSD]: Likewise.
57068         * ctype/ctype.h [__USE_SVID]: Likewise.
57069         * dirent/dirent.h [__USE_BSD]: Likewise.
57070         * grp/grp.h [__USE_SVID]: Likewise.
57071         [__USE_BSD]: Likewise.
57072         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
57073         * io/fcntl.h [__USE_BSD]: Likewise.
57074         * io/ftw.h [__USE_BSD]: Likewise.
57075         * io/sys/stat.h [__USE_BSD]: Likewise.
57076         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
57077         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
57078         * libio/stdio.h [__USE_SVID]: Likewise.
57079         [__USE_BSD]: Likewise.
57080         * math/math.h [__USE_SVID]: Likewise.
57081         [__USE_BSD]: Likewise.
57082         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
57083         * misc/bits/syslog.h [__USE_BSD]: Likewise.
57084         * misc/search.h [__USE_SVID]: Likewise.
57085         * misc/sys/mman.h [__USE_BSD]: Likewise.
57086         * misc/sys/syslog.h [__USE_BSD]: Likewise.
57087         * misc/sys/uio.h [__USE_BSD]: Likewise.
57088         * posix/bits/unistd.h [__USE_BSD]: Likewise.
57089         * posix/glob.h [__USE_BSD]: Likewise.
57090         * posix/regex.h [__USE_BSD]: Likewise.
57091         * posix/sys/types.h [__USE_BSD]: Likewise.
57092         [__USE_SVID]: Likewise.
57093         * posix/sys/utsname.h [__USE_SVID]: Likewise.
57094         * posix/sys/wait.h [__USE_BSD]: Likewise.
57095         [__USE_SVID]: Likewise.
57096         * posix/unistd.h [__USE_BSD]: Likewise.
57097         [__USE_SVID]: Likewise.
57098         * pwd/pwd.h [__USE_SVID]: Likewise.
57099         * resolv/netdb.h [__USE_BSD]: Likewise.
57100         * setjmp/setjmp.h [__USE_BSD]: Likewise.
57101         * signal/signal.h [__USE_BSD]: Likewise.
57102         [__USE_SVID]: Likewise.
57103         * socket/sys/socket.h [__USE_BSD]: Likewise.
57104         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
57105         * stdlib/stdlib.h [__USE_BSD]: Likewise.
57106         [__USE_SVID]: Likewise.
57107         * string/bits/string2.h [__USE_BSD]: Likewise.
57108         [__USE_SVID]: Likewise.
57109         * string/bits/string3.h [__USE_BSD]: Likewise.
57110         * string/endian.h [__USE_BSD]: Likewise.
57111         * string/string.h [__USE_SVID]: Likewise.
57112         [__USE_BSD]: Likewise.
57113         * string/strings.h [__USE_BSD]: Likewise.
57114         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
57115         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
57116         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
57117         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
57118         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
57119         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
57120         Likewise.
57121         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
57122         Likewise.
57123         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
57124         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
57125         Likewise.
57126         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
57127         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
57128         Likewise.
57129         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
57130         Likewise.
57131         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
57132         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
57133         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
57134         Likewise.
57135         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
57136         Likewise.
57137         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
57138         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
57139         * termios/termios.h [__USE_BSD]: Likewise.
57140         * time/sys/time.h [__USE_BSD]: Likewise.
57141         * time/time.h [__USE_BSD]: Likewise.
57142         [__USE_SVID]: Likewise.
57144         * Makefile (subdir_targets): Remove subdir_lint.out.
57146         * stdio-common/Makefile (do-tst-unbputc): Remove target.
57147         (do-tst-printf): Likewise.
57148         (tests): Depend directly on $(objpfx)tst-unbputc.out and
57149         $(objpfx)tst-printf.out.
57151         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
57153         * Makerules (check-abi-%): Change target to
57154         $(objpfx)check-abi-%.out.
57155         (check-abi target): Update dependencies.
57156         (check-abi-pattern variable): Redirect output of diff to $@.
57157         (check-abi variable): Likewise.
57158         * elf/Makefile (check-abi): Update dependencies.
57160         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
57161         unused.
57162         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
57163         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
57164         subnormal range.
57165         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
57166         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
57167         value has largest subnormal exponent.
57168         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
57169         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
57170         * sysdeps/aarch64/soft-fp/sfp-machine.h
57171         (_FP_TININESS_AFTER_ROUNDING): New macro.
57172         * sysdeps/alpha/soft-fp/sfp-machine.h
57173         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57174         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57175         Likewise.
57176         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
57177         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57178         * sysdeps/mips/soft-fp/sfp-machine.h
57179         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57180         * sysdeps/powerpc/soft-fp/sfp-machine.h
57181         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57182         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57183         Likewise.
57184         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57185         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57186         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57187         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57188         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57189         Likewise.
57191 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
57193         [BZ #16545]
57194         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
57195         model 1.
57197 2014-02-12  Richard Henderson  <rth@redhat.com>
57199         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
57200         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
57201         * sysdeps/unix/sysv/linux/alpha: Move directory from
57202         ports/sysdeps/unix/sysv/linux/alpha.
57203         * README: Update listing for alpha-*-linux-gnu.
57205 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
57207         * include/features.h: Update comment documenting feature test
57208         macros.
57209         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
57210         _DEFAULT_SOURCE.
57211         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
57212         (_SVID_SOURCE): Likewise.
57213         (_DEFAULT_SOURCE): Update description of default features.
57214         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
57215         with _GNU_SOURCE.
57216         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
57217         (S_ISVTX): Likewise.
57218         * manual/math.texi (Mathematical Constants): Likewise.
57219         * manual/signal.texi (Interrupted Primitives): Likewise.
57220         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
57221         * math/test-matherr.c (_SVID_SOURCE): Do not define.
57222         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
57223         Don't refer to _SVID_SOURCE in warning text.
57225         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57227         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
57228         already defined.
57229         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
57230         * sysdeps/mips/dl-lookup.c: Remove.
57231         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
57233 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
57235         [BZ #16447]
57236         * math/auto-libm-test-in: Add testcase for expl.
57237         * math/auto-libm-test-out: Regenerate.
57238         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
57239         calculation of unsafe.
57240         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
57242 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
57244         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
57245         * sysdeps/unix/sysv/linux/aarch64: Move directory from
57246         ports/sysdeps/unix/sysv/linux/aarch64.
57247         * README: Update listing for aarch64*-*-linux-gnu.
57249 2014-02-11  Will Newton  <will.newton@linaro.org>
57251         * manual/probes.texi (Mathematical Function Probes): Use
57252         "triggered" instead of "hit".
57254         * manual/probes.texi (Internal Probes): Add documentation
57255         of setjmp, longjmp and longjmp_target probes.
57257         * include/stap-probe.h: Add comment about probe argument
57258         format.
57260         * malloc/mtrace.c (attribute_hidden): Remove unused macro
57261         definition.  (tr_where, tr_freehook, tr_mallochook,
57262         tr_reallochook, tr_memalignhook): Use ANSI protoype.
57264 2014-02-11  David S. Miller  <davem@davemloft.net>
57266         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
57267         processing int_tests.
57269 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
57271         * sysdeps/mips: Move directory from ports/sysdeps/mips.
57272         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
57273         * sysdeps/unix/sysv/linux/mips: Move directory from
57274         ports/sysdeps/unix/sysv/linux/mips.
57275         * README: Update listing for mips-*-linux-gnu and
57276         mips64-*-linux-gnu.
57278 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
57280         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
57281         * sysdeps/unix/sysv/linux/m68k: Move directory from
57282         ports/sysdeps/unix/sysv/linux/m68k.
57283         * README: Update listing for m68k-*-linux-gnu.
57285 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
57287         * sysdeps/tile: Move directory from ports/sysdeps/tile.
57288         * sysdeps/unix/sysv/linux/generic: Move directory from
57289         ports/sysdeps/unix/sysv/linux/generic.
57290         * sysdeps/unix/sysv/linux/tile: Move directory from
57291         ports/sysdeps/unix/sysv/linux/tile.
57292         * README: Update listing for tile*-*-linux-gnu.
57294 2014-02-10  Ondƙej BĂ­lka  <neleai@seznam.cz>
57296         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
57297         __builtin_expect.
57298         * benchtests/bench-memmem.c (simple_memmem): Likewise.
57299         * catgets/open_catalog.c (__open_catalog): Likewise.
57300         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
57301         * debug/confstr_chk.c: Likewise.
57302         * debug/fread_chk.c (__fread_chk): Likewise.
57303         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
57304         * debug/getgroups_chk.c: Likewise.
57305         * debug/mbsnrtowcs_chk.c: Likewise.
57306         * debug/mbsrtowcs_chk.c: Likewise.
57307         * debug/mbstowcs_chk.c: Likewise.
57308         * debug/memcpy_chk.c: Likewise.
57309         * debug/memmove_chk.c: Likewise.
57310         * debug/mempcpy_chk.c: Likewise.
57311         * debug/memset_chk.c: Likewise.
57312         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
57313         * debug/strcat_chk.c (__strcat_chk): Likewise.
57314         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
57315         * debug/strncat_chk.c (__strncat_chk): Likewise.
57316         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
57317         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
57318         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
57319         * debug/wcpncpy_chk.c: Likewise.
57320         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
57321         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
57322         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
57323         * debug/wcsncpy_chk.c: Likewise.
57324         * debug/wcsnrtombs_chk.c: Likewise.
57325         * debug/wcsrtombs_chk.c: Likewise.
57326         * debug/wcstombs_chk.c: Likewise.
57327         * debug/wmemcpy_chk.c: Likewise.
57328         * debug/wmemmove_chk.c: Likewise.
57329         * debug/wmempcpy_chk.c: Likewise.
57330         * debug/wmemset_chk.c: Likewise.
57331         * dirent/scandirat.c (SCANDIRAT): Likewise.
57332         * dlfcn/dladdr1.c (dladdr1): Likewise.
57333         * dlfcn/dladdr.c (dladdr): Likewise.
57334         * dlfcn/dlclose.c (dlclose_doit): Likewise.
57335         * dlfcn/dlerror.c (__dlerror): Likewise.
57336         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
57337         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
57338         * dlfcn/dlopen.c (dlopen_doit): Likewise.
57339         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
57340         * dlfcn/dlsym.c (dlsym_doit): Likewise.
57341         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
57342         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
57343         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
57344         Likewise.
57345         * elf/dl-conflict.c: Likewise.
57346         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
57347         * elf/dl-dst.h: Likewise.
57348         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
57349         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
57350         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
57351         * elf/dl-init.c (call_init, _dl_init): Likewise.
57352         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57353         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
57354         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
57355         Likewise.
57356         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
57357         Likewise.
57358         * elf/dl-minimal.c (__libc_memalign): Likewise.
57359         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
57360         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57361         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
57362         * elf/dl-sym.c (do_sym): Likewise.
57363         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
57364         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
57365         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
57366         * elf/dl-writev.h (_dl_writev): Likewise.
57367         * elf/ldconfig.c (search_dir): Likewise.
57368         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
57369         (dl_main): Likewise.
57370         * elf/setup-vdso.h (setup_vdso): Likewise.
57371         * grp/compat-initgroups.c (compat_call): Likewise.
57372         * grp/fgetgrent.c (fgetgrent): Likewise.
57373         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
57374         * grp/putgrent.c (putgrent): Likewise.
57375         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57376         Likewise.
57377         * hurd/hurdinit.c: Likewise.
57378         * iconvdata/8bit-gap.c (struct): Likewise.
57379         * iconvdata/ansi_x3.110.c : Likewise.
57380         * iconvdata/big5.c : Likewise.
57381         * iconvdata/big5hkscs.c : Likewise.
57382         * iconvdata/cp1255.c: Likewise.
57383         * iconvdata/cp1258.c : Likewise.
57384         * iconvdata/cp932.c : Likewise.
57385         * iconvdata/euc-cn.c: Likewise.
57386         * iconvdata/euc-jisx0213.c : Likewise.
57387         * iconvdata/euc-jp.c: Likewise.
57388         * iconvdata/euc-jp-ms.c : Likewise.
57389         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
57390         * iconvdata/gb18030.c : Likewise.
57391         * iconvdata/gbbig5.c (const): Likewise.
57392         * iconvdata/gbgbk.c: Likewise.
57393         * iconvdata/gbk.c : Likewise.
57394         * iconvdata/ibm1364.c : Likewise.
57395         * iconvdata/ibm930.c : Likewise.
57396         * iconvdata/ibm932.c: Likewise.
57397         * iconvdata/ibm933.c : Likewise.
57398         * iconvdata/ibm935.c : Likewise.
57399         * iconvdata/ibm937.c : Likewise.
57400         * iconvdata/ibm939.c : Likewise.
57401         * iconvdata/ibm943.c: Likewise.
57402         * iconvdata/iso_11548-1.c: Likewise.
57403         * iconvdata/iso-2022-cn.c : Likewise.
57404         * iconvdata/iso-2022-cn-ext.c : Likewise.
57405         * iconvdata/iso-2022-jp-3.c: Likewise.
57406         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
57407         * iconvdata/iso-2022-kr.c : Likewise.
57408         * iconvdata/iso646.c (gconv_end): Likewise.
57409         * iconvdata/iso_6937-2.c : Likewise.
57410         * iconvdata/iso_6937.c : Likewise.
57411         * iconvdata/iso8859-1.c: Likewise.
57412         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
57413         * iconvdata/shift_jisx0213.c : Likewise.
57414         * iconvdata/sjis.c : Likewise.
57415         * iconvdata/t.61.c : Likewise.
57416         * iconvdata/tcvn5712-1.c : Likewise.
57417         * iconvdata/tscii.c: Likewise.
57418         * iconvdata/uhc.c : Likewise.
57419         * iconvdata/unicode.c (gconv_end): Likewise.
57420         * iconvdata/utf-16.c (gconv_end): Likewise.
57421         * iconvdata/utf-32.c (gconv_end): Likewise.
57422         * iconvdata/utf-7.c (base64): Likewise.
57423         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
57424         * iconv/gconv_close.c (__gconv_close): Likewise.
57425         * iconv/gconv_open.c (__gconv_open): Likewise.
57426         * iconv/gconv_simple.c (internal_ucs4_loop_single)
57427         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
57428         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
57429         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
57430         (ucs4le_internal_loop_single): Likewise.
57431         * iconv/iconv.c (iconv): Likewise.
57432         * iconv/iconv_close.c: Likewise.
57433         * iconv/loop.c (SINGLE): Likewise.
57434         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
57435         * include/atomic.h: Likewise.
57436         * inet/inet6_option.c (option_alloc): Likewise.
57437         * intl/bindtextdom.c (set_binding_values): Likewise.
57438         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
57439         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
57440         * intl/localealias.c (read_alias_file): Likewise.
57441         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57442         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
57443         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
57444         * libio/fmemopen.c (fmemopen): Likewise.
57445         * libio/iofgets.c (_IO_fgets): Likewise.
57446         * libio/iofgets_u.c (fgets_unlocked): Likewise.
57447         * libio/iofgetws.c (fgetws): Likewise.
57448         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
57449         * libio/iogetdelim.c (_IO_getdelim): Likewise.
57450         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
57451         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
57452         * locale/findlocale.c (_nl_find_locale): Likewise.
57453         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
57454         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
57455         Likewise.
57456         * locale/setlocale.c (setlocale): Likewise.
57457         * login/programs/pt_chown.c (main): Likewise.
57458         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
57459         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57460         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
57461         (mmap, mmap64, mremap, munmap): Likewise.
57462         * math/e_exp2l.c: Likewise.
57463         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
57464         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
57465         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
57466         * math/s_catan.c (__catan): Likewise.
57467         * math/s_catanf.c (__catanf): Likewise.
57468         * math/s_catanh.c (__catanh): Likewise.
57469         * math/s_catanhf.c (__catanhf): Likewise.
57470         * math/s_catanhl.c (__catanhl): Likewise.
57471         * math/s_catanl.c (__catanl): Likewise.
57472         * math/s_ccosh.c (__ccosh): Likewise.
57473         * math/s_ccoshf.c (__ccoshf): Likewise.
57474         * math/s_ccoshl.c (__ccoshl): Likewise.
57475         * math/s_cexp.c (__cexp): Likewise.
57476         * math/s_cexpf.c (__cexpf): Likewise.
57477         * math/s_cexpl.c (__cexpl): Likewise.
57478         * math/s_clog10.c (__clog10): Likewise.
57479         * math/s_clog10f.c (__clog10f): Likewise.
57480         * math/s_clog10l.c (__clog10l): Likewise.
57481         * math/s_clog.c (__clog): Likewise.
57482         * math/s_clogf.c (__clogf): Likewise.
57483         * math/s_clogl.c (__clogl): Likewise.
57484         * math/s_csin.c (__csin): Likewise.
57485         * math/s_csinf.c (__csinf): Likewise.
57486         * math/s_csinh.c (__csinh): Likewise.
57487         * math/s_csinhf.c (__csinhf): Likewise.
57488         * math/s_csinhl.c (__csinhl): Likewise.
57489         * math/s_csinl.c (__csinl): Likewise.
57490         * math/s_csqrt.c (__csqrt): Likewise.
57491         * math/s_csqrtf.c (__csqrtf): Likewise.
57492         * math/s_csqrtl.c (__csqrtl): Likewise.
57493         * math/s_ctan.c (__ctan): Likewise.
57494         * math/s_ctanf.c (__ctanf): Likewise.
57495         * math/s_ctanh.c (__ctanh): Likewise.
57496         * math/s_ctanhf.c (__ctanhf): Likewise.
57497         * math/s_ctanhl.c (__ctanhl): Likewise.
57498         * math/s_ctanl.c (__ctanl): Likewise.
57499         * math/w_pow.c: Likewise.
57500         * math/w_powf.c: Likewise.
57501         * math/w_powl.c: Likewise.
57502         * math/w_scalb.c (sysv_scalb): Likewise.
57503         * math/w_scalbf.c (sysv_scalbf): Likewise.
57504         * math/w_scalbl.c (sysv_scalbl): Likewise.
57505         * misc/error.c (error_tail): Likewise.
57506         * misc/pselect.c (__pselect): Likewise.
57507         * nis/nis_callback.c (__nis_create_callback): Likewise.
57508         * nis/nis_call.c (__nisfind_server): Likewise.
57509         * nis/nis_creategroup.c (nis_creategroup): Likewise.
57510         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
57511         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
57512         * nis/nis_getservlist.c (nis_getservlist): Likewise.
57513         * nis/nis_lookup.c (nis_lookup): Likewise.
57514         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57515         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
57516         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
57517         * nis/nis_xdr.c (xdr_endpoint): Likewise.
57518         * nis/nss_compat/compat-grp.c (getgrent_next_file)
57519         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
57520         * nis/nss_compat/compat-initgroups.c (add_group)
57521         (internal_getgrent_r): Likewise.
57522         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
57523         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
57524         * nis/nss_compat/compat-spwd.c (getspent_next_file)
57525         (internal_getspnam_r): Likewise.
57526         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
57527         (_nss_nis_getaliasbyname_r): Likewise.
57528         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
57529         (_nss_nis_getntohost_r): Likewise.
57530         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
57531         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
57532         (_nss_nis_getgrgid_r): Likewise.
57533         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
57534         (internal_nis_gethostent_r, internal_gethostbyname2_r)
57535         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
57536         (_nss_nis_gethostbyname4_r): Likewise.
57537         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
57538         (initgroups_netid): Likewise.
57539         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57540         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
57541         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
57542         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
57543         (_nss_nis_getprotobynumber_r): Likewise.
57544         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
57545         (_nss_nis_getsecretkey): Likewise.
57546         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
57547         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
57548         (_nss_nis_getpwuid_r): Likewise.
57549         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
57550         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
57551         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
57552         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
57553         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
57554         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
57555         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
57556         Likewise.
57557         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
57558         (_nss_nisplus_getntohost_r): Likewise.
57559         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
57560         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
57561         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
57562         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
57563         Likewise.
57564         * nis/nss_nisplus/nisplus-initgroups.c
57565         (_nss_nisplus_initgroups_dyn): Likewise.
57566         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
57567         (_nss_nisplus_getnetbyaddr_r): Likewise.
57568         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
57569         (_nss_nisplus_getprotobynumber_r): Likewise.
57570         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
57571         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
57572         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
57573         Likewise.
57574         * nis/nss_nisplus/nisplus-service.c
57575         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
57576         (_nss_nisplus_getservbyport_r): Likewise.
57577         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
57578         (_nss_nisplus_getspnam_r): Likewise.
57579         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
57580         Likewise.
57581         * nscd/aicache.c (addhstaiX): Likewise.
57582         * nscd/cache.c (cache_search, prune_cache): Likewise.
57583         * nscd/connections.c (register_traced_file, send_ro_fd)
57584         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
57585         (main_loop_epoll): Likewise.
57586         * nscd/grpcache.c (addgrbyX): Likewise.
57587         * nscd/hstcache.c (addhstbyX): Likewise.
57588         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57589         * nscd/mem.c (gc, mempool_alloc): Likewise.
57590         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
57591         (addinnetgrX): Likewise.
57592         * nscd/nscd-client.h (__nscd_acquire_maplock)
57593         (__nscd_drop_map_ref): Likewise.
57594         * nscd/nscd_getai.c (__nscd_getai): Likewise.
57595         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
57596         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
57597         Likewise.
57598         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
57599         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57600         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
57601         (__nscd_get_map_ref): Likewise.
57602         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57603         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
57604         Likewise.
57605         * nscd/pwdcache.c (addpwbyX): Likewise.
57606         * nscd/selinux.c (preserve_capabilities): Likewise.
57607         * nscd/servicescache.c (addservbyX): Likewise.
57608         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
57609         * posix/fnmatch.c (fnmatch): Likewise.
57610         * posix/getopt.c (_getopt_internal_r): Likewise.
57611         * posix/glob.c (glob, glob_in_dir): Likewise.
57612         * posix/wordexp.c (exec_comm_child): Likewise.
57613         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
57614         (getanswer_r, gaih_getanswer_slice): Likewise.
57615         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
57616         * resolv/res_init.c: Likewise.
57617         * resolv/res_mkquery.c (res_nmkquery): Likewise.
57618         * resolv/res_query.c (__libc_res_nquery): Likewise.
57619         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
57620         Likewise.
57621         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
57622         * stdio-common/perror.c (perror): Likewise.
57623         * stdio-common/printf_fp.c (___printf_fp): Likewise.
57624         * stdio-common/tmpnam.c (tmpnam): Likewise.
57625         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
57626         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57627         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
57628         Likewise.
57629         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
57630         * stdlib/putenv.c (putenv): Likewise.
57631         * stdlib/setenv.c (__add_to_environ): Likewise.
57632         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
57633         * stdlib/strtol_l.c (INTERNAL): Likewise.
57634         * string/memmem.c (memmem): Likewise.
57635         * string/strerror.c (strerror): Likewise.
57636         * string/strnlen.c (__strnlen): Likewise.
57637         * string/test-memmem.c (simple_memmem): Likewise.
57638         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
57639         * sunrpc/pm_getport.c (__get_socket): Likewise.
57640         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
57641         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57642         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
57643         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
57644         Likewise.
57645         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
57646         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
57647         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
57648         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
57649         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57650         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
57651         Likewise.
57652         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
57653         Likewise.
57654         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
57655         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
57656         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57657         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
57658         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
57659         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
57660         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
57661         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
57662         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
57663         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
57664         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57665         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
57666         Likewise.
57667         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
57668         Likewise.
57669         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
57670         Likewise.
57671         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
57672         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57673         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
57674         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
57675         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
57676         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
57677         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57678         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
57679         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
57680         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
57681         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
57682         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57683         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57684         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
57685         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57686         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
57687         Likewise.
57688         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
57689         Likewise.
57690         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
57691         Likewise.
57692         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
57693         Likewise.
57694         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57695         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57696         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
57697         Likewise.
57698         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
57699         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
57700         * sysdeps/posix/opendir.c (__opendirat): Likewise.
57701         * sysdeps/posix/sleep.c: Likewise.
57702         * sysdeps/posix/tempname.c: Likewise.
57703         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
57704         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57705         Likewise.
57706         * sysdeps/powerpc/powerpc32/dl-machine.h
57707         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
57708         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57709         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57710         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
57711         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
57712         Likewise.
57713         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57714         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
57715         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57716         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
57717         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57718         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
57719         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
57720         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
57721         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57722         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57723         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
57724         (elf_machine_lazy_rel): Likewise.
57725         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57726         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
57727         (elf_machine_lazy_rel): Likewise.
57728         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
57729         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
57730         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
57731         * sysdeps/unix/grantpt.c (grantpt): Likewise.
57732         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
57733         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
57734         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
57735         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57736         Likewise.
57737         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
57738         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
57739         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
57740         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
57741         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57742         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57743         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
57744         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
57745         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
57746         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57747         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57748         Likewise.
57749         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
57750         (__posix_fallocate64_l64): Likewise.
57751         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
57752         (posix_fallocate): Likewise.
57753         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
57754         Likewise.
57755         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57756         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
57757         (getifaddrs_internal): Likewise.
57758         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
57759         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
57760         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
57761         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
57762         * sysdeps/unix/sysv/linux/posix_fallocate64.c
57763         (__posix_fallocate64_l64): Likewise.
57764         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
57765         Likewise.
57766         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57767         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
57768         (__get_clockfreq): Likewise.
57769         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
57770         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
57771         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
57772         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57773         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57774         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
57775         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
57776         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
57777         Likewise.
57778         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
57779         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
57780         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
57781         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
57782         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57783         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
57784         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
57785         Likewise.
57786         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57787         (posix_fallocate): Likewise.
57788         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57789         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
57790         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57791         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
57792         (elf_machine_rela, elf_machine_rela_relative)
57793         (elf_machine_lazy_rel): Likewise.
57794         * time/asctime.c (asctime_internal): Likewise.
57795         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
57796         * time/tzset.c (__tzset_parse_tz): Likewise.
57797         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
57798         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
57799         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
57800         * wcsmbs/wcsmbsload.h: Likewise.
57802         [BZ #15894]
57803         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
57805         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
57806         (arena_get2): Remove THREAD_STATS conditionals.
57807         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
57808         (__malloc_stats, int): Likewise.
57810 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
57812         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
57813         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
57815         * manual/setjmp.texi: Fix typos/grammar errors.
57817         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
57818         Only return early when n is <= 0.  Delete unused return statement.
57820         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
57821         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
57822         * debug/tst-longjmp_chk3.c: New file.
57824         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
57825         (test_main): Replace code with set_fortify_handler call.
57826         * debug/test-strcpy_chk.c: Likewise.
57827         * debug/tst-chk1.c: Likewise.
57828         * debug/tst-longjmp_chk.c: Likewise.
57829         * test-skeleton.c: Include fcntl.h & paths.h
57830         (set_fortify_handler): Define.
57832         * debug/tst-longjmp_chk.c: Add header comment and include
57833         ../test-skeleton.c.
57834         (do_test): Mark static.
57835         (TEST_FUNCTION): Define.
57837         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
57838         (IP_PMTUDISC_INTERFACE): Likewise.
57839         (IP_MULTICAST_IF): Likewise.
57840         (IP_MULTICAST_TTL): Likewise.
57841         (IP_MULTICAST_LOOP): Likewise.
57842         (IP_ADD_MEMBERSHIP): Likewise.
57843         (IP_DROP_MEMBERSHIP): Likewise.
57844         (IP_UNBLOCK_SOURCE): Likewise.
57845         (IP_BLOCK_SOURCE): Likewise.
57846         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
57847         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
57848         (IP_MSFILTER): Likewise.
57849         (MCAST_JOIN_GROUP): Likewise.
57850         (MCAST_BLOCK_SOURCE): Likewise.
57851         (MCAST_UNBLOCK_SOURCE): Likewise.
57852         (MCAST_LEAVE_GROUP): Likewise.
57853         (MCAST_JOIN_SOURCE_GROUP): Likewise.
57854         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
57855         (MCAST_MSFILTER): Likewise.
57856         (IP_MULTICAST_ALL): Likewise.
57857         (IP_UNICAST_IF): Likewise.
57859         * timezone/Makefile: Delete $(have-ksh) check.
57860         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
57861         * timezone/tzselect.ksh: Add +x mode bits.
57863         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
57864         (ANON_INODE_FS_MAGIC): Likewise.
57865         (BDEVFS_MAGIC): Likewise.
57866         (BINFMTFS_MAGIC): Likewise.
57867         (BTRFS_TEST_MAGIC): Likewise.
57868         (CRAMFS_MAGIC_WEND): Likewise.
57869         (DEBUGFS_MAGIC): Likewise.
57870         (ECRYPTFS_SUPER_MAGIC): Likewise.
57871         (EXT3_SUPER_MAGIC): Likewise.
57872         (EXT4_SUPER_MAGIC): Likewise.
57873         (FUTEXFS_SUPER_MAGIC): Likewise.
57874         (HOSTFS_SUPER_MAGIC): Likewise.
57875         (HUGETLBFS_MAGIC): Likewise.
57876         (MINIX3_SUPER_MAGIC): Likewise.
57877         (MTD_INODE_FS_MAGIC): Likewise.
57878         (NILFS_SUPER_MAGIC): Likewise.
57879         (OPENPROM_SUPER_MAGIC): Likewise.
57880         (PIPEFS_MAGIC): Likewise.
57881         (PSTOREFS_MAGIC): Likewise.
57882         (QNX6_SUPER_MAGIC): Likewise.
57883         (RAMFS_MAGIC): Likewise.
57884         (REISERFS_SUPER_MAGIC_STRING): Likewise.
57885         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
57886         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
57887         (SECURITYFS_MAGIC): Likewise.
57888         (SELINUX_MAGIC): Likewise.
57889         (SMACK_MAGIC): Likewise.
57890         (SOCKFS_MAGIC): Likewise.
57891         (SQUASHFS_MAGIC): Likewise.
57892         (STACK_END_MAGIC): Likewise.
57893         (TMPFS_MAGIC): Likewise.
57894         (USBDEVICE_SUPER_MAGIC): Likewise.
57895         (V9FS_MAGIC): Likewise.
57896         (XENFS_SUPER_MAGIC): Likewise.
57897         (CRAMFS_MAGIC): Fix typo in comment.
57898         (EXT2_SUPER_MAGIC): Update comment.
57899         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
57901 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
57903         * sysdeps/arm: Move directory from ports/sysdeps/arm.
57904         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
57905         * sysdeps/unix/sysv/linux/arm: Move directory from
57906         ports/sysdeps/unix/sysv/linux/arm.
57907         * README: Update listing for arm-*-linux-gnueabi.
57909         * README: Remove mention of am33.
57911 2014-02-07  Roland McGrath  <roland@hack.frob.com>
57913         * bits/sigset.h (__sigemptyset): Use a statement expression rather
57914         than the comma operator, to avoid "rhs of comma has no effect"
57915         compiler warnings.
57916         (__sigfillset, __sigandset, __sigorset): Likewise.
57917         * include/signal.h (__sigemptyset): Likewise.
57918         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
57920 2014-02-07  Allan McRae  <allan@archlinux.org>
57922         * version.h (RELEASE): Set to "development".
57923         (VERSION): Set to "2.19.90"
57924         * NEWS: Add 2.20 section.
57926 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
57928         [BZ #16529]
57929         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
57931 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57933         * manual/contrib.texi: Update entry for Carlos O'Donell,
57934         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
57936 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
57938         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
57940         * sysdeps/unix/sysv/linux/kernel-features.h
57941         [__LINUX_KERNEL_VERSION >= 0x020621]
57942         (__ASSUME_PROC_PID_TASK_COMM): Define.
57944 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57946         [BZ #16398]
57947         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
57948         conversion when destination buffer does not have enough space.
57949         * libio/tst-ftell-partial-wide.c: New test case.
57950         * libio/Makefile (tests): Add tst-ftell-partial-wide.
57952         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
57953         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
57954         Leonard and Allan McRae.
57956 2014-02-04  David S. Miller  <davem@davemloft.net>
57958         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
57959         32-bit.
57961 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
57964         New file
57965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
57966         New file
57967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
57968         New file.
57969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
57970         New file.
57971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
57972         New file.
57973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
57974         New file.
57975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
57976         New file.
57977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
57978         New file.
57979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
57980         New file.
57981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
57982         New file.
57983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
57984         New file.
57985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
57986         New file.
57987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
57988         New file.
57990 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57992         * nptl/shlib-versions: Change powerpc*le start to 2.17.
57993         * shlib-versions: Likewise.
57995 2014-02-04  Roland McGrath  <roland@hack.frob.com>
57996             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57998         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
57999         (abilist-pattern): New variable, set to %-le.abilist.
58001         * Makerules (abilist-pattern): New variable.
58002         (vpath): Use $(abilist-pattern) in place of %.abilist.
58003         (check-abi-% pattern rule): Likewise.
58004         (check-abi, update-abi): Likewise.
58006 2014-02-04  Eric Wong  <normalperson@yhbt.net>
58008         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58010 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
58012         * manual/startup.texi: Add next, previous, and top entries for
58013         the `Program Arguments' and `Environment Variables' nodes.
58015 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
58017         * manual/macros.texi: Add comments before MTASC-safety macros.
58019         * manual/users.texi: Document MTASC-safety properties.
58021         * manual/threads.texi (pthread_key_create, pthread_key_delete)
58022         (pthread_getspecific, pthread_setspecific): Format with
58023         @deftypefun, and add @safety note.
58024         * manual/signal.texi: Move comments that analyze the above
58025         functions to their home place.
58027 2014-02-03  Allan McRae  <allan@archlinux.org>
58029         * po/sl.po: Update Slovenian translation from translation project.
58031 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
58033         * manual/time.texi (timegm): Add missing blank after @c.
58034         Reported by Joseph Myers <joseph@codesourcery.com>.
58036 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
58038         * manual/check-safety.sh: New.
58039         * manual/Makefile ($(objpfx)stamp-summary): Run it.
58041         * manual/terminal.texi: Document MTASC-safety properties.
58043         * manual/filesys.texi: Document MTASC-safety properties.
58045         * manual/errno.texi: Document MTASC-safety properties.
58047         * manual/intro.texi: Document safety identifiers and
58048         conditionals.
58050         * manual/string.texi (wcstok): Fix prototype.
58051         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
58053         * manual/time.texi: Document MTASC-safety properties.
58055         * manual/string.texi: Document MTASC-safety properties.
58057         * manual/threads.texi: Document MTASC-safety properties.
58059         * manual/stdio.texi: Document MTASC-safety properties.
58061         * manual/syslog.texi: Document MTASC-safety properties.
58063         * manual/sysinfo.texi: Document MTASC-safety properties.
58065         * manual/startup.texi: Document MTASC-safety properties.
58067         * manual/socket.texi: Document MTASC-safety properties.
58069         * manual/signal.texi: Document MTASC-safety properties.
58071 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
58073         * manual/setjmp.texi: Document MTASC-safety properties.
58075         * manual/search.texi: Document MTASC-safety properties.
58077         * manual/resource.texi: Document MTASC-safety properties.
58079         * manual/process.texi: Document MTASC-safety properties.
58081         * manual/platform.texi: Document MTASC-safety properties.
58083         * manual/pipe.texi: Document MTASC-safety properties.
58085         * manual/pattern.texi: Document MTASC-safety properties.
58087         * manual/message.texi: Document MTASC-safety properties.
58089         [BZ #12751]
58090         * manual/memory.texi: Document MTASC-safety properties.
58092         * manual/math.texi: Document MTASC-safety properties.
58094         * manual/locale.texi: Document MTASC-safety properties.
58096         * manual/llio.texi: Document MTASC-safety properties.
58098         * manual/libdl.texi: New.
58100         * manual/lang.texi: Document MTASC-safety properties.
58102         * manual/job.texi: Document MTASC-safety properties.
58104         * manual/getopt.texi: Document MTASC-safety properties.
58106         * manual/ctype.texi: Document MTASC-safety properties.
58108 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
58110         [BZ #16046]
58111         * csu/libc-tls.c (static_map): Remove variable.
58112         (__libc_setup_tls): Use main executable's link map for TLS data.
58113         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
58114         casing for LM_ID_BASE and GL(dl_nns).
58115         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
58116         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
58117         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
58118         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
58119         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
58120         member.
58121         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
58122         l_phnum members.
58124 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
58126         * manual/debug.texi: Document MTASC-safety properties.
58128 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
58130         [BZ #16510]
58131         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
58132         of __x86_64__ when disabling x87 inline functions.
58134 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
58136         * manual/charset.texi: Document MTASC-safety properties.
58138         * manual/crypt.texi: Document MTASC-safety properties.
58140         * manual/conf.texi: Document MTASC-safety properties.
58142         * manual/arith.texi: Document MTASC-safety properties.
58144         * manual/argp.texi: Document MTASC-safety properties.
58146         * manual/macros.texi: Introduce macros to document multi
58147         thread, asynchronous signal and asynchronous cancellation
58148         safety properties.
58149         * manual/intro.texi: Introduce the properties themselves.
58151 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58153         * sysdeps/sh/sh4/Makefile: New file.
58155 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
58157         * math/gen-libm-test.pl ($srcdir): New variable.
58158         ($auto_input): Use it.
58160 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58162         [BZ #16506]
58163         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
58164         access beyond array bounds when parsing netgroups file.
58166         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
58167         the old buffer before realloc.
58169 2014-01-27  Allan McRae  <allan@archlinux.org>
58171         * po/fr.po: Update French translation from translation project.
58173 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58175         * sysdeps/sh/libm-test-ulps: Regenerate.
58177 2014-01-24  David S. Miller  <davem@davemloft.net>
58179         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
58181 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58183         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
58184         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
58186 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
58188         [BZ #16474]
58189         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
58190         string pointers after reallocation.
58192 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58194         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
58195         __SH4A__ instead of __SH_FPU_ANY__.
58197 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58199         * sysdeps/sh/fpu_control.h: New file.
58200         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
58201         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
58202         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
58203         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
58204         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
58205         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
58206         * sysdeps/sh/sys/ucontext.h: Remove.
58207         * sysdeps/sh/sys: Remove directory.
58209 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58211         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
58212         s390/sys/ucontext.h.
58213         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
58214         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
58216 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
58218         [BZ #15605]
58219         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
58221 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58223         [BZ #16431]
58224         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58225         Adjust the vDSO correctly for internal calls.
58226         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
58228 2014-01-20  Allan McRae  <allan@archlinux.org>
58230         * po/ca.po: Update Catalan translation from translation project.
58232 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
58234         * sysdeps/s390/sotruss-lib.c: New file.
58236 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58238         [BZ #16430]
58239         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
58240         (__GI___gettimeofday): Alias for a different internal symbol to avoid
58241         local calls issues by not having a PLT stub required for IFUNC calls.
58242         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
58244 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
58246         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
58247         * math/test-fpucw-static.c: Likewise.
58249 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58251         [BZ #16453]
58252         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
58254 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58256         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
58257         implementation for powerpc.
58259 2014-01-15  Ondƙej BĂ­lka  <neleai@seznam.cz>
58261         [BZ #14782]
58262         * sysdeps/posix/system.c (__libc_system): Do not enable
58263         asynchronous cancellation.
58265 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58267         [BZ #16427]
58268         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
58269         handling only for numbers special also in the IEEE case.
58271 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58273         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
58275 2014-01-11  Allan McRae  <allan@archlinux.org>
58277         * po/bg.po: Update Bulgarian translation from translation project.
58279         * po/de.po: Update German translation from translation project.
58281 2014-01-10  Roland McGrath  <roland@hack.frob.com>
58283         * sysdeps/generic/gcc-compat.h: New file.
58285 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58287         * benchtests/asin-inputs: Correct slow inputs.
58288         * benchtests/acos-inputs: Likewise.
58290 2014-01-10  Allan McRae  <allan@archlinux.org>
58292         * po:sv.po: Update Swedish translation from translation project.
58294         * po/vi.po: Update Vietnamese translation from translation project.
58296         * po/eo.po: Update Esperanto translation from translation project.
58298         * po/cs.po: Update Czech translation from translation project.
58300         * po/nl.po: Update Dutch translation from translation project.
58302         * po/pl.po: Update Polish translation from translation project.
58304         * po/ru.po: Update Russian translation from translation project.
58306         * po/uk.po: Update Ukrainian translation from translation project.
58308 2014-01-08  Brooks Moses  <bmoses@google.com>
58310         * elf/dl-load.c: Fix comment typo.
58312 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
58314         * po/header.pot: Rename to...
58315         * po/pot.header: ... this.
58316         * po/Makefile: Use pot.header.
58318 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
58319             Maxim Kuvyrkov  <maxim@kugelworks.com>
58321         [BZ #16394]
58322         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
58323         SRC and DEST against LEN.
58325 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58327         [BZ #16414]
58328         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
58329         implementation.
58330         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
58332 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58336 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
58338         [BZ #16408]
58339         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
58340         for large positive arguments.
58342 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
58344         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58346         * math/auto-libm-test-in: Mark various tests with
58347         xfail-rounding:ldbl-128ibm.
58348         * math/auto-libm-test-out: Regenerated.
58350         [BZ #16407]
58351         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
58352         Increase overflow threshold.
58354 2014-01-07  Ondƙej BĂ­lka  <neleai@seznam.cz>
58356         [BZ #14286]
58357         * stdio-common/vfprintf.c: Check for integer overflow.
58359 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58361         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
58362         the first argument and return value of __tls_get_addr_internal.
58364 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58366         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
58367         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
58369 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58371         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
58372         * sysdeps/s390/rtld-global-offsets.sym: New file.
58373         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
58374         GLIBC_2.19 symbol.
58375         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
58376         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
58377         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
58378         ... this.
58379         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
58380         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
58381         ... this.
58382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58383         Regenerate.
58384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58385         Regenerate.
58386         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
58387         halfs of GPRs for high_gprs contexts.
58388         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
58389         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
58390         field.
58391         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
58392         uc_flags field.
58393         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
58394         64 bit versions:
58395         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
58396         for high GPRs (uc_high_gprs) and for future extensions
58397         (__reserved).
58398         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
58399         for future extensions (__reserved).
58400         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
58401         64 bit versions:
58402         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
58403         SC_HIGHGPRS offset definition.
58404         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
58405         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
58407         * Versions.def: Add GLIBC_2.19 for libpthread.
58408         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
58409         siglongjmp for libpthread with GLIBC_2.19 symver.
58410         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
58411         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
58412         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
58413         * sysdeps/s390/__longjmp.c: New file.
58414         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
58415         * sysdeps/s390/longjmp.c: New file.
58416         * sysdeps/s390/setjmp.S: New file.
58417         * sysdeps/s390/sigjmp.S: New file.
58418         * sysdeps/s390/v1-longjmp.c: New file.
58419         * sysdeps/s390/v1-setjmp.h: New file.
58420         * sysdeps/s390/v1-sigjmp.c: New file.
58421         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
58422         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
58423         GLIBC_2.19 version.
58424         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
58425         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
58426         versioned symbols for ____longjmp_chk.
58427         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
58428         Likewise.
58429         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58430         Regenerate.
58431         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58432         Regenerate.
58433         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58434         Regenerate.
58435         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58436         Regenerate.
58437         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
58438         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
58439         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
58440         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
58441         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
58442         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
58443         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
58444         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
58445         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
58446         * sysdeps/s390/rtld-__longjmp.c: New file.
58447         * sysdeps/s390/rtld-setjmp.S: New file.
58449 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
58451         [BZ #16400]
58452         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58453         Return -__logl (x) for small positive arguments without evaluating
58454         a polynomial.
58456 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
58458         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
58459         Rename to ...
58460         (__ptrace_peeksiginfo_args): ... this.
58461         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58462         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58463         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58465 2014-01-06  Allan McRae  <allan@archlinux.org>
58467         * inet/netinet/in.h: Fix typo in comment.
58469 2014-01-05  Andreas Jaeger  <aj@suse.de>
58471         * sysdeps/i386/fpu/libm-test-ulps: Update.
58473 2014-01-05  Allan McRae  <allan@archlinux.org>
58475         * po/libc.pot: Regenerated.
58477         * malloc/memusagestat.c: Fix gettext call formatting.
58479 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
58481         * nscd/nscd.c: Improve usage() output.
58483 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
58485         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
58486         * sysdeps/unix/sysv/linux/configure: Regenerated.
58487         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
58488         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
58490 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
58492         [BZ #16390]
58493         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58494         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
58496 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58498         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
58499         extra tokens at end of #undef directive.
58500         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
58501         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
58502         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
58504 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
58506         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58508         * math/auto-libm-test-in: Mark various tests with
58509         xfail-rounding:ldbl-128ibm.
58510         * math/auto-libm-test-out: Regenerated.
58512 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
58514         [BZ #16386]
58515         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
58516         numbers with subnormal high part when calculating exponent.
58518         [BZ #16385]
58519         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
58520         fabs.
58522         [BZ #16384]
58523         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
58524         M_LN2l.
58525         (__ieee754_acoshl): Use __log1pl not __log1p.
58527 2013-01-02  Ondƙej BĂ­lka  <neleai@seznam.cz>
58529         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
58530         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
58531         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
58532         (grow_heap, heap_trim, _int_new_arena, get_free_list)
58533         (reused_arena, arena_get2): Convert to GNU style.
58534         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
58535         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
58536         (memalign_check, __malloc_set_state): Likewise.
58537         * malloc/mallocbug.c (main): Likewise.
58538         * malloc/malloc.c (__malloc_assert, malloc_init_state)
58539         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
58540         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
58541         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
58542         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
58543         (__posix_memalign, malloc_info): Likewise.
58544         * malloc/malloc.h: Likewise.
58545         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
58546         (mallochook, memalignhook, reallochook, mabort): Likewise.
58547         * malloc/mcheck.h: Likewise.
58548         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
58549         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
58550         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
58551         * malloc/morecore.c (__default_morecore): Likewise.
58552         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
58553         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
58554         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
58555         (print_and_abort): Likewise.
58556         * malloc/obstack.h: Likewise.
58557         * malloc/set-freeres.c (__libc_freeres): Likewise.
58558         * malloc/tst-mallocstate.c (main): Likewise.
58559         * malloc/tst-mtrace.c (main): Likewise.
58560         * malloc/tst-realloc.c (do_test): Likewise.
58562 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58564         [BZ #16366]
58565         * nscd/netgroupcache.c (do_notfound): New function.
58566         (addgetnetgrentX): Use it.
58568         [BZ # 16365]
58569         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
58570         NSS_STATUS_NOTFOUND.
58572 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
58574         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58577 2014-01-01  Allan McRae  <allan@archlinux.org>
58579         * scripts/update-copyrights: Update configure input file suffix.
58581         * NEWS: Update copyright year.
58582         * catgets/gencat.c: Likewise.
58583         * csu/version.c: Likewise.
58584         * debug/catchsegv.sh: Likewise.
58585         * debug/pcprofiledump.c: Likewise.
58586         * debug/xtrace.sh: Likewise.
58587         * elf/ldconfig.c: Likewise.
58588         * elf/ldd.bash.in: Likewise.
58589         * elf/pldd.c: Likewise.
58590         * elf/sotruss.ksh: Likewise.
58591         * elf/sprof.c: Likewise.
58592         * iconv/iconv_prog.c: Likewise.
58593         * iconv/iconvconfig.c: Likewise.
58594         * locale/programs/locale.c: Likewise.
58595         * locale/programs/localedef.c: Likewise.
58596         * login/programs/pt_chown.c: Likewise.
58597         * malloc/memusage.sh: Likewise.
58598         * malloc/memusagestat.c: Likewise.
58599         * malloc/mtrace.pl: Likewise.
58600         * manual/libc.texinfo: Likewise.
58601         * nscd/nscd.c: Likewise.
58602         * nss/getent.c: Likewise.
58603         * nss/makedb.c: Likewise.
58604         * posix/getconf.c: Likewise.
58605         * scripts/test-installation.pl: Likewise.
58607         * All files with FSF copyright notices: Update copyright dates
58608         using scripts/update-copyrights.
58609         * intl/plural.c: Regenerated.
58610         * locale/programs/charmap-kw.h: Likewise.
58611         * locale/programs/locfile-kw.h: Likewise.
58613 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
58615         * sysdeps/unix/sysv/linux/configure: Regenerated.
58616         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
58617         the linux/fanotify.h header.
58618         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
58619         HAVE_LINUX_FANOTIFY_H is defined.
58621 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
58623         * benchtests/cos-inputs: New inputs.
58624         * benchtests/sin-inputs: Likewise.
58626         * benchtests/atan-inputs: New inputs. Fix name of multiple
58627         precision fallback inputs.
58629         * benchtests/atanh-inputs: New inputs.
58630         * benchtests/tanh-inputs: Likewise.
58632         * benchtests/acosh-inputs: New inputs.
58633         * benchtests/asinh-inputs: Likewise.
58635         * benchtests/cosh-inputs: New inputs.
58636         * benchtests/sinh-inputs: Likewise.
58638         * benchtests/acos-inputs: Add more inputs.
58639         * benchtests/asin-inputs: Likewise.
58641 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
58643         [BZ #16375]
58644         * manual/arith.texi: Fix spelling.
58645         * manual/charset.texi: Likewise.
58646         * manual/errno.texi: Likewise.
58647         * manual/filesys.texi: Likewise.
58648         * manual/lang.texi: Likewise.
58649         * manual/llio.texi: Likewise.
58650         * manual/locale.texi: Likewise.
58651         * manual/message.texi: Likewise.
58652         * manual/resource.texi: Likewise.
58653         * manual/search.texi: Likewise.
58654         * manual/setjmp.texi: Likewise.
58655         * manual/stdio.texi: Likewise.
58656         * manual/string.texi: Likewise.
58657         * manual/sysinfo.texi: Likewise.
58658         * manual/time.texi: Likewise.
58660 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
58662         * po/sl.po: New file.
58664 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
58666         * .gitignore: Add core/.gdbinit/.gdb_history.
58668 2013-12-27  Allan McRae  <allan@archlinux.org>
58670         [BZ #16369]
58671         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
58672         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
58674 2013-12-24  Brooks Moses  <bmoses@google.com>
58676         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
58677         all compilers that claim C++98 compliance, not just GCC.
58678         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
58679         Likewise.
58681 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
58683         * NEWS: Restore accidentally deleted bug-fix entries.
58685 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
58686             Ondƙej BĂ­lka  <neleai@seznam.cz>
58688         [BZ #15073]
58689         * malloc/malloc.c (_int_free): Perform sanity check only if we
58690         have_lock.
58692 2013-12-23  Ondƙej BĂ­lka  <neleai@seznam.cz>
58694         [BZ #12986]
58695         * manual/stdio.texi (String Input Conversions): Clarify that character
58696         classes are not supported.
58698 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58700         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58702 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
58704         [BZ #16337]
58705         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58706         Calculate results for small negative arguments directly rather
58707         than using reflection formula with special underflow handling.
58709         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
58710         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
58711         sysdeps/unix/bsd/bsd4.4/syscalls.list.
58712         (fchflags): Likewise.
58713         (revoke): Likewise.
58714         (setlogin): Likewise.
58715         (sigaltstack): Likewise.
58716         (wait4): Likewise.
58717         (sigblock): Remove.
58718         (sigsetmask): Likewise.
58719         (wait3): Likewise.
58720         (waitpid): Likewise.
58721         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
58722         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
58723         file.
58724         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
58725         * sysdeps/unix/bsd/Makefile: ... here.
58726         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
58727         * sysdeps/unix/bsd/Versions: ... here.
58728         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
58729         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
58730         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
58731         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
58732         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
58733         * sysdeps/unix/bsd/sigblock.c: ... here.
58734         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
58735         * sysdeps/unix/bsd/sigsetmask.c: ... here.
58736         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
58737         * sysdeps/unix/bsd/sigvec.c: ... here.
58738         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
58739         * sysdeps/unix/bsd/tcdrain.c: ... here.
58740         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
58741         * sysdeps/unix/bsd/tcgetattr.c: ... here.
58742         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
58743         * sysdeps/unix/bsd/tcsetattr.c: ... here.
58744         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
58745         * sysdeps/unix/bsd/wait.c: ... here.
58746         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
58747         * sysdeps/unix/bsd/wait3.c: ... here.
58748         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
58749         * sysdeps/unix/bsd/waitpid.c: ... here.
58751 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
58753         [BZ #16356]
58754         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
58755         round-to-nearest for [!USE_AS_EXPM1L].
58756         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
58757         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
58758         more tests of exp and exp10.  Expect some exp10 tests to miss
58759         exceptions or fail in directed rounding modes.
58760         * math/auto-libm-test-out: Regenerated.
58761         * math/libm-test.inc (exp10_tonearest_test_data): New array.
58762         (exp10_test_tonearest): New function.
58763         (exp10_towardzero_test_data): New array.
58764         (exp10_test_towardzero): New function.
58765         (exp10_downward_test_data): New array.
58766         (exp10_test_downward): New function.
58767         (exp10_upward_test_data): New array.
58768         (exp10_test_upward): New function.
58769         (main): Call the new functions.
58770         * sysdeps/i386/fpu/libm-test-ulps: Update.
58771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58773 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
58775         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
58776         asinh, atan, atan2, atanh, cbrt, cos and cosh.
58777         * math/auto-libm-test-out: Regenerated.
58778         * math/libm-test.inc (acosh_test_data): Add more tests.
58779         (atanh_test_data): Likewise.
58780         (ceil_test_data): Likewise.
58781         (copysign_test_data): Likewise.
58782         * sysdeps/i386/fpu/libm-test-ulps: Update.
58783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58785         * timezone/checktab.awk: Update from tzcode 2013i.
58786         * timezone/private.h: Likewise.
58787         * timezone/scheck.c: Likewise.
58788         * timezone/tzfile.h: Likewise.
58789         * timezone/tzselect.ksh: Likewise.
58790         * timezone/zdump.c: Likewise.
58791         * timezone/zic.c: Likewise.
58793         * math/auto-libm-test-in: Add tests of cpow.
58794         * math/auto-libm-test-out: Regenerated.
58795         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
58796         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58797         mpc_cc_c.
58798         (func_calc_desc): Add mpc_cc_c union field.
58799         (test_functions): Add cpow.
58800         (special_fill_2pi): New function.
58801         (special_real_inputs): Add 2pi.
58802         (calc_generic_results): Handle mpc_cc_c.
58803         * sysdeps/i386/fpu/libm-test-ulps: Update.
58804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58806         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
58807         csqrt, ctan and ctanh.
58808         * math/auto-libm-test-out: Regenerated.
58809         * math/libm-test.inc (TEST_COND_x86_64): New macro.
58810         (TEST_COND_x86): Likewise.
58811         (ccos_test_data): Use AUTO_TESTS_c_c.
58812         (ccosh_test_data): Likewise.
58813         (cexp_test_data): Likewise.
58814         (clog_test_data): Likewise.
58815         (csqrt_test_data): Likewise.
58816         (ctan_test_data): Likewise.
58817         (ctan_tonearest_test_data): Likewise.
58818         (ctan_towardzero_test_data): Likewise.
58819         (ctan_downward_test_data): Likewise.
58820         (ctan_upward_test_data): Likewise.
58821         (ctanh_test_data): Likewise.
58822         (ctanh_tonearest_test_data): Likewise.
58823         (ctanh_towardzero_test_data): Likewise.
58824         (ctanh_downward_test_data): Likewise.
58825         (ctanh_upward_test_data): Likewise.
58826         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58827         mpc_c_c.
58828         (func_calc_desc): Add mpc_c_c union field.
58829         (FUNC_mpc_c_c): New macro.
58830         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
58831         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
58832         ctanh.
58833         (special_fill_min_subnorm_p120): New function.
58834         (special_real_inputs): Add min_subnorm_p120.
58835         (calc_generic_results): Handle mpc_c_c.
58836         * sysdeps/i386/fpu/libm-test-ulps: Update.
58837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58839 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58841         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
58842         (do_sin_slow): New functions.
58843         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
58844         (cslow2, csloww1, csloww2): Use the new functions.
58846         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
58847         Use M to change sign of result instead of X.  Assume X is
58848         positive.
58849         (csloww1): Likewise.
58850         (__sin): Adjust.
58851         (__cos): Adjust.
58853         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
58854         arguments A and DA.
58855         (__sin): Adjust.
58856         (__cos): Likewise.
58858         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
58859         (__cos): Likewise.
58860         (sloww1): Don't adjust sign of DX.
58861         (csloww1): Likewise.
58862         (sloww2): Use X directly and don't adjust sign of DX.
58863         (csloww2): Likewise.
58865 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
58867         * math/auto-libm-test-in: Add tests of cabs and carg.
58868         * math/auto-libm-test-out: Regenerated.
58869         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
58870         (carg_test_data): Likewise.
58871         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58872         mpc_c_f.
58873         (func_calc_desc): Add mpc_c_f union field.
58874         (test_functions): Add cabs and carg.
58875         (calc_generic_results): Handle mpc_c_f.
58877         * sysdeps/powerpc/powerpc32/libgcc-compat.S
58878         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
58879         as a macro and a compat symbol.
58880         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
58881         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
58882         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
58883         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
58884         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
58885         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
58886         not use .hidden.
58887         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
58888         Likewise.
58889         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
58890         Likewise.
58891         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
58892         Likewise.
58893         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
58894         Likewise.
58895         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
58896         Likewise.
58897         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
58898         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
58899         from GLIBC_2.3.2.
58901 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58905 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
58907         * manual/texinfo.tex: Update to version 2013-11-26.10 with
58908         trailing whitespace removed.
58909         * scripts/config.guess: Update to version 2013-11-29.
58910         * scripts/config.sub: Update to version 2013-10-01.
58912         * math/auto-libm-test-in: Add tests of sincos.
58913         * math/auto-libm-test-out: Regenerated.
58914         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
58915         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58916         mpfr_f_11.
58917         (func_calc_desc): Add mpfr_f_11 union field.
58918         (test_functions): Add sincos.
58919         (calc_generic_results): Handle mpfr_f_11.
58920         * sysdeps/i386/fpu/libm-test-ulps: Update.
58921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58923 2013-12-19  Andreas Schwab  <schwab@suse.de>
58925         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
58926         CALL_MCOUNT.
58927         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58928         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
58929         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
58931 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
58933         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
58934         * sysdeps/i386/fpu/libm-test-ulps: Update.
58935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58937         [BZ #16293]
58938         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
58939         round-to-nearest mode when using frndint.
58940         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
58941         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58942         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
58943         Likewise.
58944         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
58945         sinh test to fail.
58946         * math/auto-libm-test-out: Regenerated.
58947         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
58948         (TEST_COND_x86): Likewise.
58949         (expm1_tonearest_test_data): New array.
58950         (expm1_test_tonearest): New function.
58951         (expm1_towardzero_test_data): New array.
58952         (expm1_test_towardzero): New function.
58953         (expm1_downward_test_data): New array.
58954         (expm1_test_downward): New function.
58955         (expm1_upward_test_data): New array.
58956         (expm1_test_upward): New function.
58957         (main): Run the new test functions.
58958         * sysdeps/i386/fpu/libm-test-ulps: Update.
58959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58961         * include/features.h: Update comment documenting feature test
58962         macros.  Mention _DEFAULT_SOURCE in comment.
58963         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
58964         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
58965         _BSD_SOURCE and _SVID_SOURCE.
58966         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
58967         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
58968         !_SVID_SOURCE]: Likewise.
58969         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58970         (__USE_POSIX_IMPLICITLY): Define.
58971         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58972         (_POSIX_SOURCE): Undefine and redefine.
58973         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58974         (_POSIX_C_SOURCE): Likewise.
58975         * manual/creature.texi (_DEFAULT_SOURCE): Document.
58976         (Feature Test Macros): Update documentation of default features.
58978 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
58980         * benchtests/Makefile: Add bench-strtok.
58981         * benchtests/bench-strtok.c: New file: strtok benchtest.
58983 2013-12-19  Allan McRae  <allan@archlinux.org>
58985         * manual/install.texi: Suppress menu for plain text output.
58986         * INSTALL: Regenerated.
58988 2013-12-18  Brooks Moses  <bmoses@google.com>
58990         [BZ #15846]
58991         * misc/getauxval.c: Include errno.h.
58992         (__getauxval): Set errno to ENOENT if the requested type is not
58993         found.
58994         * misc/sys/auxv.h (getauxval): Document that it may set errno;
58995         don't declare with __attribute_const__.
58996         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
58997         * manual/startup.texi: Document that getauxval sets errno.
58999 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
59001         * math/auto-libm-test-in: Add tests of jn and yn.
59002         * math/auto-libm-test-out: Regenerated.
59003         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
59004         (yn_test_data): Likewise.
59005         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59006         mpfr_if_f.
59007         (func_calc_desc): Add mpfr_if_f union field.
59008         (FUNC_mpfr_if_f): New macro.
59009         (test_functions): Add jn and yn.
59010         (calc_generic_results): Assert type of second input for
59011         mpfr_ff_f.  Handle mpfr_if_f.
59012         (output_for_one_input_case): Disable all checking for arguments
59013         fitting floating-point types in case of an integer argument.
59014         * sysdeps/i386/fpu/libm-test-ulps: Update.
59015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
59018         Don't expect fegetround reference in libm.so.
59020 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59022         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
59023         $(config-cflags-nofma).
59025 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
59027         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
59028         * math/auto-libm-test-out: Regenerated.
59030         [BZ #16338]
59031         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
59032         to determine exponent and adjust argument to have exponent of -1.
59033         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
59034         log2.
59035         * math/auto-libm-test-out: Regenerated.
59036         * sysdeps/i386/fpu/libm-test-ulps: Update.
59037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59039 2013-12-18  Ondƙej BĂ­lka  <neleai@seznam.cz>
59041         * manual/probes.texi: Remove cases when per-thread arenas are
59042         disabled.
59044 2013-12-18  Andreas Schwab  <schwab@suse.de>
59046         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
59047         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
59048         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
59049         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
59050         * sysdeps/i386/i686/multiarch/Makefile: Update.
59051         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
59053 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
59055         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
59056         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
59058 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
59060         [BZ #15968]
59061         Support TZ transition times < 00:00:00.
59062         This is needed for version-3 tz-format files; it supports time
59063         stamps past 2037 for America/Godthab (the only entry in the tz
59064         database for which this change is relevant).
59065         * manual/time.texi (TZ Variable): Document transition times
59066         from -167:59:59 through -00:00:01.
59067         * time/tzset.c (tz_rule): Time of day is now signed.
59068         (__tzset_parse_tz): Parse negative time of day.
59070         Document TZ transition times >= 25:00:00.
59071         * manual/time.texi (TZ Variable): Document transition times from
59072         25:00:00 through 167:59:59.  These are already supported, and this
59073         support will help with version-3 tz-format files.
59075         * manual/time.texi (TZ Variable): Modernize North America example
59076         to reflect current (i.e., 2007-and-later) daylight saving rules.
59078         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
59080 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
59082         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
59083         * sysdeps/unix/bsd/bits/stat.h: Likewise.
59084         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
59085         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
59086         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
59087         * sysdeps/unix/bsd/bsdstat.h: Likewise.
59088         * sysdeps/unix/bsd/clock.c: Likewise.
59089         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
59090         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
59091         * sysdeps/unix/bsd/init-posix.c: Likewise.
59092         * sysdeps/unix/bsd/poll.c: Likewise.
59093         * sysdeps/unix/bsd/ptsname.c: Likewise.
59094         * sysdeps/unix/bsd/seekdir.c: Likewise.
59095         * sysdeps/unix/bsd/setegid.c: Likewise.
59096         * sysdeps/unix/bsd/seteuid.c: Likewise.
59097         * sysdeps/unix/bsd/setgid.c: Likewise.
59098         * sysdeps/unix/bsd/setrgid.c: Likewise.
59099         * sysdeps/unix/bsd/setruid.c: Likewise.
59100         * sysdeps/unix/bsd/setsid.c: Likewise.
59101         * sysdeps/unix/bsd/setuid.c: Likewise.
59102         * sysdeps/unix/bsd/sigaction.c: Likewise.
59103         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
59104         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
59105         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
59106         * sysdeps/unix/bsd/telldir.c: Likewise.
59107         * sysdeps/unix/bsd/times.c: Likewise.
59108         * sysdeps/unix/bsd/usleep.c: Likewise.
59110         * misc/Makefile (install-lib): Remove libbsd-compat.a.
59111         ($(objpfx)libbsd-compat.a): Remove rule.
59113         * include/features.h (__FAVOR_BSD): Do not define.
59114         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
59115         features conflicting with POSIX.
59116         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
59117         (_BSD_SOURCE): Remove description of not being a subset of other
59118         feature test macros.
59119         * manual/job.texi (getpgrp): Do not document BSD version.
59120         (getpgid): Do not document by reference to BSD getpgrp.
59121         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
59122         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
59123         * signal/signal.h [__FAVOR_BSD]: Likewise.
59124         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
59125         instead of making contents conditional on [__FAVOR_BSD].
59126         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
59128 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59130         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59132 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
59134         [BZ #16314]
59135         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
59136         values below 2**-450, not 2**-500.
59137         * math/auto-libm-test-in: Don't allow spurious underflow from
59138         hypot.
59139         * math/auto-libm-test-out: Regenerated.
59141         [BZ #16316]
59142         [BZ #16330]
59143         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
59144         values of ha and hb and sort them after adjusting subnormal
59145         arguments.
59146         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
59147         Likewise.
59148         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
59149         values of ea and eb and sort them after adjusting subnormal
59150         arguments.
59151         * math/auto-libm-test-in: Do not expect some hypot tests of
59152         subnormals to fail.  Add more hypot tests.
59153         * math/auto-libm-test-out: Regenerated.
59155 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59157         [BZ #13304]
59158         * sysdeps/sh/s_fma.c: New file.
59159         * sysdeps/sh/s_fmaf.c: New file.
59160         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
59161         version.
59162         * sysdeps/sh/Implies: Add sh/soft-fp.
59164 2013-12-16  Roland McGrath  <roland@hack.frob.com>
59166         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
59167         level of indirection to members `objname', `errstring', `malloced'.
59168         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
59169         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
59170         it as the __longjmp argument (just pass 1 instead).
59171         (_dl_catch_error): Initialize C with argument pointers and address of
59172         volatile local ERRCODE rather than copying values out of C at return.
59174 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
59176         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
59177         * math/auto-libm-test-out: Regenerated.
59178         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
59179         (hypot_test_data): Likewise.
59180         (pow_test_data): Likewise.
59181         (pow_tonearest_test_data): Likewise.
59182         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59183         mpfr_ff_f.
59184         (func_calc_desc): Add mpfr_ff_f union field.
59185         (FUNC_mpfr_ff_f): New macro.
59186         (test_functions): Add atan2, hypot and pow.
59187         (special_fill_min): New function.
59188         (special_fill_minus_min): Likewise.
59189         (special_fill_min_subnorm): Likewise.
59190         (special_fill_minus_min_subnorm): Likewise.
59191         (special_real_inputs): Add min, -min, min_subnorm and
59192         -min_subnorm.
59193         (calc_generic_results): Handle mpfr_ff_f.
59194         * sysdeps/i386/fpu/libm-test-ulps: Update.
59195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59197 2013-12-16  Will Newton  <will.newton@linaro.org>
59199         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
59200         (Aligned Memory Blocks): Add documentation for aligned_alloc
59201         and suggest it as an alternative to posix_memalign.
59202         (Hooks for Malloc): Document __memalign_hook is also called
59203         for aligned_alloc.  (Summary of Malloc): Add summary for
59204         aligned alloc.  Document __memalign_hook is also called
59205         for aligned_alloc.
59207 2013-12-16  Will Newton  <will.newton@linaro.org>
59209         * manual/memory.texi (Malloc Examples): Clarify default
59210         alignment documentation.  Suggest posix_memalign rather
59211         than memalign or valloc.
59212         (Aligned Memory Blocks): Remove suggestion to use memalign
59213         or valloc.  Remove obsolete comment about BSD.
59214         Document memalign errno values and mark the function obsolete.
59215         Document posix_memalign returned error codes.  Mark valloc
59216         as obsolete.  (Hooks for Malloc): __memalign_hook is also
59217         called for posix_memalign and valloc.
59218         (Summary of Malloc): Add posix_memalign to function summary.
59219         __memalign_hook is also called for posix_memalign and valloc.
59221 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59223         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
59224         TAYLOR_SIN.
59225         (__sin): Adjust.
59226         (__cos): Likewise.
59227         (sloww): Use mynumber union.  Expand ternary operator into
59228         if-else statements.
59229         (cslow): use mynumber union.
59231 2013-12-16  Allan McRae  <allan@archlinux.org>
59233         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
59234         * configure: Regenerated.
59236         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
59238         [BZ #14120]
59239         * configure.ac: Added --enable-maintainer-mode. Check for
59240         autoconf when enabled.
59241         * configure: Regenerated.
59243         * nscd/nscd.service: New file.
59244         * nscd/nscd.tmpfiles: New file.
59246 2013-12-14  Ondƙej BĂ­lka  <neleai@seznam.cz>
59248         [BZ #12100]
59249         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
59250         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
59251         * sysdeps/x86_64/multiarch/strstr.c: ... here.
59252         (strstr): Add __strstr_sse2_unaligned ifunc.
59253         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
59254         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
59255         (strcasestr): Remove __strcasestr_sse42 ifunc.
59256         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
59257         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
59258         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
59260 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59262         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
59263         * sysdeps/sh/bits/fenv.h: ... here.
59264         * sysdeps/sh/sh4/fpu/bits: Remove directory.
59266 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59268         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
59270         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
59271         hypotf multiarch implementations.
59272         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
59273         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
59274         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
59275         multiarch hypot for PPC64.
59276         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
59277         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
59278         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
59279         multiarch hypotf for PPC64.
59281         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
59282         modff multiarch implementations.
59283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
59284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
59285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
59286         multiarch modf for PPC64.
59287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
59288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
59289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
59290         multiarch modff for PPC64.
59292         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
59293         and logl multiarch implementations.
59294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
59295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
59296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
59297         multiarch logb for PPC64.
59298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
59299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
59300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
59301         multiarch logb for PPC64.
59302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
59303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
59304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
59305         multiarch logb for PPC64.
59307         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
59308         isinff multiarch implementation.
59309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
59310         file.
59311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
59312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
59313         multiarch isinf for PPC64.
59314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
59315         file.
59316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
59317         multiarch isinff for PPC64.
59319         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
59320         finitef multiarch implementation.
59321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
59322         file.
59323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
59324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
59325         multiarch finite for PPC64.
59326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
59327         file.
59328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
59329         multiarch finitef for PPC64.
59331         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
59332         lrint multiarch implementation.
59333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
59334         file.
59335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
59336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
59337         multiarch llrint for PPC64.
59338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
59339         multiarch lrint for PPC64.
59341         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
59342         copysignf multiarch implementation.
59343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
59344         file.
59345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
59346         file.
59347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
59348         multiarch copysign for PPC64.
59349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
59350         multiarch copysignf for PPC64.
59352         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
59353         multiarch implementation.
59354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
59355         file.
59356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
59357         file.
59358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
59359         file.
59360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
59361         file.
59362         multiarch llround for PPC64.
59363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
59364         multiarch trunc for PPC64.
59365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
59366         multiarch truncf for PPC64.
59368         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
59369         multiarch implementation.
59370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
59371         file.
59372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
59373         file.
59374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
59375         file.
59376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
59377         file.
59378         multiarch llround for PPC64.
59379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
59380         multiarch round for PPC64.
59381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
59382         multiarch roundf for PPC64.
59384         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
59385         multiarch implementation.
59386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
59387         file.
59388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
59389         file.
59390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
59391         file.
59392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
59393         file.
59394         multiarch llround for PPC64.
59395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
59396         multiarch floor for PPC64.
59397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
59398         multiarch floorf for PPC64.
59400         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
59401         multiarch implementation.
59402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
59403         file.
59404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
59405         file.
59406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
59407         file.
59408         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
59409         file.
59410         multiarch llround for PPC64.
59411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
59412         multiarch ceil for PPC64.
59413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
59414         multiarch ceilf for PPC64.
59416         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
59417         multiarch implementation.
59418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
59419         file.
59420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
59421         file.
59422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
59423         file.
59424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
59425         multiarch llround for PPC64.
59426         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
59427         multiarch lround for PPC64.
59429         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
59430         multiarch implementation.
59431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
59432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
59433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
59434         file.
59435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
59436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
59437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
59438         multiarch isnan for PPC64.
59439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
59440         multiarch isnanf for PPC64.
59442         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
59443         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
59444         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
59445         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
59446         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
59447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
59449         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
59450         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59451         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59452         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59454         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
59455         multiarch implementations.
59456         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59457         (__libc_ifunc_impl_list): Likewise.
59458         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
59459         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
59460         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
59461         multiarch stpcpy for PPC64.
59463         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
59464         multiarch implementations.
59465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59466         (__libc_ifunc_impl_list): Likewise.
59467         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
59468         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
59469         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
59470         multiarch strcpy for PPC64.
59472         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
59473         redefine function name.
59474         (_wordcopy_fwd_dest_aligned): Likewise.
59475         (_wordcopy_bwd_aligned): Likewise.
59476         (_wordcopy_bwd_dest_aligned): Likewise.
59477         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
59478         multiarch implementations.
59479         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59480         (__libc_ifunc_impl_list): Likewise.
59481         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
59482         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
59483         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
59484         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
59485         multiarch wcscpy for PPC64.
59487         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
59488         multiarch implementations.
59489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59490         (__libc_ifunc_impl_list): Likewise.
59491         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
59492         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
59493         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
59494         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
59495         multiarch wcscpy for PPC64.
59497         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
59498         multiarch implementations.
59499         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59500         (__libc_ifunc_impl_list): Likewise.
59501         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
59502         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
59503         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
59504         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
59505         multiarch wcsrchr for PPC64.
59507         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
59508         multiarch implementations.
59509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59510         (__libc_ifunc_impl_list): Likewise.
59511         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
59512         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
59513         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
59514         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
59515         multiarch wcschr for PPC64.
59517         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
59518         multiarch implementations.
59519         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59520         (__libc_ifunc_impl_list): Likewise.
59521         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
59522         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
59523         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
59524         multiarch strchrnul for PPC64.
59526         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
59527         implementations.
59528         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59529         (__libc_ifunc_impl_list): Likewise.
59530         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
59531         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
59532         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
59533         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
59534         strchr for PPC64.
59536         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
59537         implementations.
59538         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59539         (__libc_ifunc_impl_list): Likewise.
59540         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
59541         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
59542         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
59543         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
59544         strncmp for PPC64.
59546         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
59547         multiarch implementations.
59548         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59549         (__libc_ifunc_impl_list): Likewise.
59550         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
59551         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
59552         strncasecmp for PPC64.
59553         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
59554         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
59555         multiarch strncasecmp_l for PPC64.
59557         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
59558         multiarch implementations.
59559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
59560         (__libc_ifunc_impl_list): Likewise.
59561         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
59562         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
59563         multiarch strcasecmp for PPC64.
59564         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
59565         file.
59566         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
59567         multiarch strcasecmp_l for PPC64.
59569         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
59570         implementations.
59571         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59572         (__libc_ifunc_impl_list): Likewise.
59573         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
59574         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
59575         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
59576         strnlen for PPC64.
59578         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
59579         implementations.
59580         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59581         (__libc_ifunc_impl_list): Likewise.
59582         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
59583         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
59584         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
59585         strlen for PPC64.
59587         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
59588         implementations.
59589         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59590         (__libc_ifunc_impl_list): Likewise.
59591         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
59592         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
59593         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
59594         rawmemrchr for PPC64.
59596         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
59597         implementation.
59598         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59599         (__libc_ifunc_impl_list): Likewise.
59600         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
59601         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
59602         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
59603         memrchr for PPC64.
59605         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
59606         implementation.
59607         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59608         (__libc_ifunc_impl_list): Likewise.
59609         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
59610         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
59611         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
59612         memchr for PPC64.
59614         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
59615         implementation.
59616         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59617         (__libc_ifunc_impl_list): Likewise.
59618         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
59619         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
59620         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
59621         mempcpy for PPC64.
59623         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
59624         avoid cretion of __bzero symbol.
59625         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
59626         Likewise.
59627         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
59628         Likewise.
59629         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
59630         Likewise.
59631         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
59632         multiarch implementations.
59633         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59634         (__libc_ifunc_impl_list): Likewise.
59635         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
59636         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
59637         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
59638         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
59639         bzero for PPC32.
59640         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
59641         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
59642         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
59643         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
59644         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
59645         memset for PPC64.
59646         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
59648         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
59649         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
59650         implementations.
59651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59652         (__libc_ifunc_impl_list): Likewise.
59653         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
59654         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
59655         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
59656         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
59657         memcmp for PPC64.
59659         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
59660         multiarch for POWER/PPC64.
59661         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
59662         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
59663         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
59664         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
59665         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
59666         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
59667         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
59668         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
59669         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
59670         memcpy for PPC64.
59672         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
59673         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
59674         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
59675         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
59676         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
59677         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
59678         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
59679         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
59680         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
59681         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
59682         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
59683         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
59684         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
59685         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
59686         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
59687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
59688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
59689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
59690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
59691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
59692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
59693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
59695 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59697         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
59699 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
59701         * benchtests/Makefile (bench): Add exp2 and log2.
59702         (LDLIBS-bench-exp2): Add -lm.
59703         (LDLIBS-bench-log2): Likewise.
59704         * benchtests/exp2-inputs: New inputs file.
59705         * benchtests/log2-inputs: New inputs file.
59706         * benchtests/log-inputs: Add new inputs.
59707         * benchtests/tan-inputs: Likewise.
59709 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59711         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
59712         definition...
59713         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
59714         (csloww2): ... from here.
59716         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
59717         instead of structures.
59718         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
59719         (POLYNOMIAL): Likewise.
59720         (TAYLOR_SLOW): Likewise.
59721         (__sin): Likewise.
59722         (__cos): Likewise.
59723         (slow1): Likewise.
59724         (slow2): Likewise.
59725         (sloww): Likewise.
59726         (sloww1); Likewise.
59727         (sloww2): Likewise.
59728         (bsloww1): Likewise.
59729         (bsloww2): Likewise.
59730         (cslow2): Likewise.
59731         (csloww): Likewise.
59732         (csloww1): Likewise.
59733         (csloww2): Likewise.
59735 2013-12-10  Ondƙej BĂ­lka  <neleai@seznam.cz>
59737         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
59738         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
59739         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
59740         * malloc/hooks.c (realloc_check): Likewise.
59742         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
59743         * malloc/arena.c: Remove PER_THREAD conditional.
59744         [!PER_THREAD]: Remove code.
59745         (ptmalloc_unlock_all2): Likewise.
59746         (ptmalloc_init): Likewise.
59747         (_int_new_arena): Likewise.
59748         (arena_get2): Likewise.
59749         * malloc/hooks.c (__malloc_get_state): Likewise.
59750         (__malloc_set_state): Likewise.
59751         * malloc/malloc.c: Likewise.
59752         (struct malloc_state): Likewise.
59753         (struct malloc_par): Likewise.
59754         (__libc_realloc): Likewise.
59755         (__libc_mallopt): Likewise.
59757 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59759         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
59761 2013-12-09  Ondƙej BĂ­lka  <neleai@seznam.cz>
59763         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
59764         macro to a function.  Check for zero perturb_byte.
59765         (_int_malloc, _int_free): Remove zero perturb_byte checks.
59767         * malloc/malloc.c: (force_reg): Remove.
59768         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
59769         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
59770         force_reg by atomic_forced_read.
59771         * malloc/arena.c (ptmalloc_init): Likewise.
59772         * malloc/hooks.c (top_check): Likewise.
59774 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59778 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
59780         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59782 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
59784         * math/auto-libm-test-in: Add tests of lgamma.
59785         * math/auto-libm-test-out: Regenerated.
59786         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
59787         (M_LOG_2_SQRT_PIl): Likewise.
59788         (lgamma_test_data): Use AUTO_TESTS_f_f1.
59789         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59790         mpfr_f_f1.
59791         (func_calc_desc): Add mpfr_f_f1 union field.
59792         (ARGS1): New macro.
59793         (ARGS2): Likewise.
59794         (ARGS3): Likewise.
59795         (ARGS4): Likewise.
59796         (RET1): Likewise.
59797         (RET2): Likewise.
59798         (CALC): Likewise.
59799         (FUNC): Likewise.
59800         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
59801         (test_functions): Add lgamma.
59802         (calc_generic_results): Handle mpfr_f_f1.
59803         * sysdeps/i386/fpu/libm-test-ulps: Update.
59804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59806 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59808         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
59809         __mpn_add_n for PowerPC64/POWER7.
59810         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
59811         __mpn_sub_n for PowerPC64/POWER7.
59813         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
59814         __mpn_addmul_1 for PowerPC64.
59815         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
59816         __mpn_submul_1 for PowerPC64.
59817         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
59818         for PowerPC64.
59819         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
59820         for PowerPC64.
59822 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
59824         [BZ #15089]
59825         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
59827 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59829         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
59831         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
59832         add multiarch folders.
59833         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
59834         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
59835         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
59836         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
59837         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
59838         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
59839         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
59840         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
59841         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
59842         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
59843         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
59844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
59845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
59846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
59847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
59848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
59849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
59851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59852         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
59853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
59854         New file.
59855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
59856         New file.
59857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
59858         multiarch __ieee754_hypot for PowerPC32.
59859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
59860         New file.
59861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
59862         New file.
59863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
59864         multiarch __ieee754_hypotf for PowerPC32.
59866         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
59867         long_double_symbol only if __logbl is defined.
59868         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
59869         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
59870         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
59871         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
59872         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
59873         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
59874         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
59875         path for implementation.
59876         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
59877         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
59878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
59879         logb, and logbl multiarch implementations for PowerPC32.
59880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
59881         file.
59882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
59883         file.
59884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
59885         multiarch logb for PowerPC32.
59886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
59887         file.
59888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
59889         file.
59890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
59891         multiarch logbf for PowerPC32.
59892         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
59893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
59894         file.
59895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
59896         multiarch logbl implementation for PowerPC32.
59898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
59899         and modff multiarch implementations.
59900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
59901         New file.
59902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
59903         New file.
59904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
59905         multiarch modf for PowerPC32.
59906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
59907         New file.
59908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
59909         New file.
59910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
59911         multiarch modff for PowerPC32.
59913         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
59914         and lrintf multiarch implementations.
59915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
59916         New file.
59917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
59918         New file.
59919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
59920         multiarch lrint for PowerPC32.
59921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
59922         file: multiarch lrintf for PowerPC32.
59924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
59925         and lroundf multiarch implementations.
59926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
59927         New file.
59928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
59929         New file.
59930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
59931         New file.
59932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
59933         multiarch lround for PowerPC32.
59934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
59935         file: multiarch lroundf for PowerPC32.
59937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59938         copysign and copysignf multiarch implementations.
59939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
59940         New file.
59941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
59942         New file.
59943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
59944         file: multiarch copysign for PowerPC32.
59945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
59946         file: multiarch copysignf for PowerPC32.
59948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
59949         and truncf multiarch implementations.
59950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
59951         New file.
59952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
59953         file.
59954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
59955         multiarch trunc for PowerPC32.
59956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
59957         New file.
59958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
59959         New file.
59960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
59961         multiarch truncf for PowerPC32.
59963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
59964         and roundf multiarch implementations.
59965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
59966         New file.
59967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
59968         file.
59969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
59970         multiarch round for PowerPC32.
59971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
59972         New file.
59973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
59974         New file.
59975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
59976         multiarch roundf for PowerPC32.
59978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
59979         and floorf multiarch implementations.
59980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
59981         New file.
59982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
59983         file.
59984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
59985         multiarch floor for PowerPC32.
59986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
59987         New file.
59988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
59989         New file.
59990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
59991         multiarch floorf for PowerPC32.
59993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
59994         and ceilf multiarch implementations.
59995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
59996         New file.
59997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
59998         file.
59999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
60000         multiarch ceil for PowerPC32.
60001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
60002         New file.
60003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
60004         file.
60005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
60006         multiarch ceilf for PowerPC32.
60008         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
60009         is defined.
60010         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
60011         FINITEF is defined.
60012         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
60013         and finitef multiarch implementations.
60014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
60015         New file.
60016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
60017         file.
60018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
60019         multiarch finite for PowerPC32.
60020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
60021         New file.
60022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
60023         file: multiarch finitef for PowerPC32.
60025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
60026         and isinff multiarch implementations.
60027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
60028         file.
60029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
60030         file.
60031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
60032         multiarch isinf for PowerPC32.
60033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
60034         New file.
60035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
60036         multiarch isinff for PowerPC32.
60038         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
60039         alias when __isnan is defined.
60040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
60041         and isnanf multiarch implementations.
60042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
60043         file.
60044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
60045         file.
60046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
60047         file.
60048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
60049         file.
60050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
60051         multiarch isnan for PowerPC32.
60052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
60053         New file.
60054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
60055         New file.
60056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
60057         multiarch isnanf for PowerPC32.
60059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
60060         and sqrtf multiarch implementations.
60061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
60062         file.
60063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
60064         file.
60065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
60066         multiarch sqrt for PowerPC32.
60067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
60068         file.
60069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
60070         file.
60071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
60072         multiarch sqrtf for PowerPC32.
60074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
60075         and llroundf multiarch implementations.
60076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
60077         New file.
60078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
60079         New file.
60080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
60081         New file.
60082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
60083         file: multiarch llround for PowerPC32.
60084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
60085         file: multiarch llroundf for PowerPC32.
60087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
60088         multiarch PowerPC32 fpu implementations.
60089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
60090         New file.
60091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
60092         New file.
60093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
60094         multiarch llrint for PowerPC32.
60095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
60096         New file.
60097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
60098         New file.
60099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
60100         file.
60102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
60104         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
60105         file.
60106         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
60107         file.
60108         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
60109         file.
60110         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
60111         multiarch wordcopy for PPC32.
60112         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
60113         wordcopy objects.
60114         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60115         (__libc_ifunc_impl_list): Likewise.
60116         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
60117         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
60118         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
60119         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
60120         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
60121         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
60123         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
60124         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
60125         file.
60126         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
60127         file.
60128         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
60129         file.
60130         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
60131         multiarch wcscpy for PPC32.
60132         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
60133         multiarch objects.
60134         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60135         (__libc_ifunc_impl_list): Likewise.
60136         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
60137         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60138         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
60139         sysdeps/powerpc/power6/wcscpy.c.
60141         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
60142         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
60143         file.
60144         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
60145         file.
60146         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
60147         file.
60148         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
60149         multiarch wcsrchr for PPC32.
60150         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60151         multiarch objects.
60152         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60153         (__libc_ifunc_impl_list): Likewise.
60154         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
60155         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60156         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
60157         sysdeps/powerpc/power6/wcsrchr.c.
60159         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
60160         file.
60161         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
60162         file.
60163         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
60164         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
60165         multiarch wcschr for PPc32.
60166         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60167         multiarch objects.
60168         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60169         (__libc_ifunc_impl_list): Likewise.
60170         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
60171         * sysdeps/powerpc/power6/wcschr.c: ... to here.
60172         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
60173         sysdeps/powerpc/power6/wcschr.c.
60175         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
60176         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
60177         file.
60178         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
60179         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
60180         file: multiarch strchr for PPC32.
60181         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
60182         multiarch objects.
60183         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60184         (__libc_ifunc_impl_list): Likewise.
60186         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
60187         name.
60188         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
60189         file.
60190         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
60191         file.
60192         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
60193         multiarch strchrnul for PPC32.
60194         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
60195         multiarch objects.
60196         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60197         (__libc_ifunc_impl_list): Likewise.
60199         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
60200         file.
60201         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
60202         multiarch strncasecmp for PPC32.
60203         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
60204         file.
60205         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
60206         multiarch strncasecmp_l for PPC32.
60207         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
60208         strncasecmp multiarch objects.
60209         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60210         (__libc_ifunc_impl_list): Likewise.
60212         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
60213         file.
60214         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
60215         multiarch strncasecmp for PPC32.
60216         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
60217         New file.
60218         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
60219         multiarch strcasecmp_l for PPC32.
60220         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
60221         multiarch objects.
60222         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60223         (__libc_ifunc_impl_list): Likewise.
60225         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
60226         file.
60227         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
60228         file.
60229         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
60230         multiarch strncmp for PPC32.
60231         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
60232         multiarch objects.
60233         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60234         (__libc_ifunc_impl_list): Likewise.
60236         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
60237         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
60238         file.
60239         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
60240         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
60241         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
60242         multiarch objects.
60243         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60244         (__libc_ifunc_impl_list): Likewise.
60246         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
60247         file.
60248         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
60249         file.
60250         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
60251         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
60252         multiarch objects.
60253         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60254         (__libc_ifunc_impl_list): Likewise.
60256         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
60257         file.
60258         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
60259         file.
60260         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
60261         multiarch rawmemchr for PPC32.
60262         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
60263         multiarch objects.
60264         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60265         (__libc_ifunc_impl_list): Likewise.
60267         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
60268         file.
60269         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
60270         file.
60271         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
60272         file: memrchr multiarch for PPC32.
60273         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
60274         multiarch objects.
60275         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60276         (__libc_ifunc_impl_list): Likewise.
60278         * string/memchr.c (__memchr): Using macro to redefine symbol name.
60279         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
60280         file.
60281         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
60282         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
60283         multiarch memchr for PPC32.
60284         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
60285         multiarch objects.
60286         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60287         (__libc_ifunc_impl_list): Likewise.
60289         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
60290         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
60291         file.
60292         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
60293         file.
60294         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
60295         file: multiarch mempcpy for PPC32.
60296         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
60297         multiarch objects.
60298         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60299         (__libc_ifunc_impl_list): Likewise.
60301         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
60302         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
60303         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
60304         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
60305         multiarch bzero for PPC32.
60306         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
60307         file.
60308         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
60309         file.
60310         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
60311         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
60312         file: multiarch memset for PPC32.
60313         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
60314         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
60315         memset multiarch objects.
60316         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60317         (__libc_ifunc_impl_list): Likewise.
60319         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
60320         file.
60321         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
60322         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
60323         memcmp for PPC32.
60324         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
60325         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
60326         multiarch objects.
60327         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60328         (__libc_ifunc_impl_list): Likewise.
60330         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
60331         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
60332         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
60333         file.
60334         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
60335         file.
60336         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
60337         file.
60338         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
60339         multiarch memcpy for PPC32.
60340         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
60341         multiarch objects.
60342         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60343         (__libc_ifunc_impl_list): Likewise.
60345         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
60346         support multiarch for POWER/PPC32.
60347         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
60348         Likewise.
60349         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
60350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
60351         Implies file to make multiarch folder appers before the fpu and
60352         default folder for power4 configuration.
60354 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60356         * scripts/bench.pl: Append volatile keyword to type.
60358 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60360         * sysdeps/sh/sotruss-lib.c: New file.
60361         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
60363 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60367 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
60369         [BZ #6810]
60370         * math/w_tgamma.c: Include <errno.h>.
60371         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
60372         * math/w_tgammaf.c: Include <errno.h>.
60373         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
60374         * math/w_tgammal.c: Include <errno.h>.
60375         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
60376         * math/auto-libm-test-in: Do not allow missing errno on tgamma
60377         underflow.  Add more tgamma tests.
60378         * math/auto-libm-test-out: Regenerated.
60379         * sysdeps/i386/fpu/libm-test-ulps: Update.
60380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60382         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
60383         sin, sinh, tan, tanh, tgamma, y0 and y1.
60384         * math/auto-libm-test-out: Regenerated.
60385         * math/libm-test.inc (TEST_COND_x86_64): New macro.
60386         (TEST_COND_x86): Likewise.
60387         (M_E2l): Remove macro.
60388         (M_E3l): Likewise.
60389         (M_2_SQRT_PIl): Likewise.
60390         (M_SQRT_PIl): Likewise.
60391         (M_1_DIV_El): Likewise.
60392         (log_test_data): Use AUTO_TESTS_f_f.
60393         (log10_test_data): Likewise.
60394         (log1p_test_data): Likewise.
60395         (log2_test_data): Likewise.
60396         (sin_test_data): Likewise.
60397         (sin_tonearest_test_data): Likewise.
60398         (sin_towardzero_test_data): Likewise.
60399         (sin_downward_test_data): Likewise.
60400         (sin_upward_test_data): Likewise.
60401         (sinh_test_data): Likewise.
60402         (sinh_tonearest_test_data): Likewise.
60403         (sinh_towardzero_test_data): Likewise.
60404         (sinh_downward_test_data): Likewise.
60405         (sinh_upward_test_data): Likewise.
60406         (tan_test_data): Likewise.
60407         (tan_tonearest_test_data): Likewise.
60408         (tan_towardzero_test_data): Likewise.
60409         (tan_downward_test_data): Likewise.
60410         (tan_upward_test_data): Likewise.
60411         (tanh_test_data): Likewise.
60412         (tgamma_test_data): Likewise.
60413         (y0_test_data): Likewise.
60414         (y1_test_data): Likewise.
60415         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
60416         (special_real_inputs): Add pi/4.
60417         * sysdeps/i386/fpu/libm-test-ulps: Update.
60418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60420 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60422         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
60423         "longjmp_target" static probes.
60424         (__longjmp): Rename to __longjmp_symbol.
60425         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60426         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
60427         on which longjmp to generate.
60428         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60429         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
60430         probe.
60431         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60432         (__sigjmp_save): Rename to __sigjmp_save_symbol.
60433         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
60434         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
60435         and __sigjmp_save_symbol based on which sigsetjmp to generated.
60436         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
60438         __longjmp_symbol based on which __longjmp to generate.
60439         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
60440         probe.
60441         (setjmp): Rename to setjmp_symbol.
60442         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60443         (_setjmp): Rename to _setjmp_symbol.
60444         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60445         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
60446         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
60447         which setjmp to generate.
60448         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
60449         "longjmp_target" static probes.
60451 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60453         * benchtests/README: Add note about output arguments.
60454         * benchtests/bench-sincos.c: Remove file.
60455         * benchtests/sincos-inputs: New file.
60456         * scripts/bench.pl: Identify output arguments and define
60457         static variables for them.
60459         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
60461         [BZ #15941]
60462         * Makefile (INSTALL): Add install-plain.texi as the primary
60463         dependency.
60464         * manual/install-plain.texi: New file.
60465         * manual/install.texi: Include node directive only for
60466         non-plaintext output.
60468 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
60470         * stdlib/longlong.h: Update from GCC.
60472         [BZ #6807]
60473         [BZ #15901]
60474         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
60475         * math/w_j0f.c (y0f): Likewise.
60476         * math/w_j0l.c (__y0l): Likewise.
60477         * math/w_j1.c (y1): Likewise.
60478         * math/w_j1f.c (y1f): Likewise.
60479         * math/w_j1l.c (__y1l): Likewise.
60480         * math/w_jn.c (yn): Likewise.
60481         * math/w_jnf.c (ynf): Likewise.
60482         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
60483         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
60484         value for Bessel function domain errors outside _SVID_ mode.
60485         Adjust sign of return value for yn (negative integer, 0).
60486         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
60487         by zero in return for negative x and set sign appropriately for
60488         negative n.
60489         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
60490         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60491         * math/libm-test.inc (y0_test_data): Add more tests and adjust
60492         expectations in error cases.
60493         (y1_test_data): Likewise.
60494         (yn_test_data): Likewise.
60495         * sysdeps/i386/fpu/libm-test-ulps: Update.
60496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60498 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60500         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
60501         "64" to "64-v1".  Add "64-v2".
60502         (abi-64-options): Rename to ...
60503         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
60504         (abi-64-condition): Rename to ...
60505         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
60506         (abi-64-ld-soname): Rename to ...
60507         (abi-64-v1-ld-soname): ... this.
60508         (abi-64-v2-options): Define.
60509         (abi-64-v2-condition): Likewise.
60510         (abi-64-v2-ld-soname): Likewise.
60511         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
60512         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
60513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
60514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
60515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
60517 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60518             Alan Modra  <amodra@gmail.com>
60520         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
60521         New versions for use with the ELFv2 ABI.
60522         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
60523         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
60524         declaration.
60525         (struct La_ppc64v2_retval): Likewise.
60526         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
60527         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
60528         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
60529         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
60530         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
60531         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60532         Do not save or restore CR.
60533         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
60534         (_dl_profile_resolve): Do no save or restore CR.  Support extended
60535         return values for ELFv2 ABI.  Fix location of FPR return registers.
60536         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
60537         updated values for _CALL_ELF == 2.
60538         (La_regs, La_retval, int_retval): Likewise.
60540 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60542         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
60543         (FRAME_MIN_SIZE_PARM): Likewise.
60544         (FRAME_BACKCHAIN): Likewise.
60545         (FRAME_CR_SAVE): Likewise.
60546         (FRAME_LR_SAVE): Likewise.
60547         (FRAME_TOC_SAVE): Likewise.
60548         (FRAME_PARM_SAVE): Likewise.
60549         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
60550         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
60551         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60552         (call_mcount_parm_offset): New macro.
60553         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
60554         (PROF): Use symbolic stack frame offsets.
60555         (TAIL_CALL_SYSCALL_ERROR): Likewise.
60556         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
60557         Redefine in terms of FRAME_MIN_SIZE.
60558         (_dl_runtime_resolve): Use symbolic stack frame offsets.
60559         (_dl_profile_resolve): Likewise.  Update comment.
60560         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
60561         symbols stack frame offsets.
60562         (__sigsetjmp): Likewise.
60563         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
60564         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
60565         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
60566         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
60568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
60569         (FRAME_BACKCHAIN): Remove.
60570         (FRAME_CR_SAVE): Likewise.
60571         (FRAME_LR_SAVE): Likewise.
60572         (FRAME_COMPILER_DW): Likewise.
60573         (FRAME_LINKER_DW): Likewise.
60574         (FRAME_TOC_SAVE): Likewise.
60575         (FRAME_PARM_SAVE): Likewise.
60576         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
60577         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
60578         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
60580         (CHECK_SP): Use symbolic stack frame offsets.
60581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
60582         zone" instead of caller's parameter save area for temp storage.
60583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60584         Likewise.  Also, use symbolic stack frame offsets.
60585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
60586         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
60587         our own stack frame instead of the caller's.
60588         (__socket): Use symbolic stack frame offsets.
60590 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60591             Alan Modra  <amodra@gmail.com>
60593         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
60594         Define.
60595         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
60596         (PPC64_LOCAL_ENTRY_OFFSET): Define.
60597         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
60598         New function.
60599         (elf_machine_fixup_plt): Call it.
60600         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
60601         reloc arguments.
60602         (elf_machine_rela): Update call to elf_machine_plt_conflict.
60603         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60604         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
60605         r2 before calling target.
60607 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60608             Alan Modra  <amodra@gmail.com>
60610         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
60611         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
60612         versions of macros to support ELFv2 ABI.
60613         (LOCALENTRY): New macro.
60614         (ENTRY, EALIGN): Use it.
60615         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
60616         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
60617         fall through into ENTRY entry point.
60618         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
60619         Only define if _CALL_ELF != 2.
60621         (elf_machine_matches_host): Verify ABI version matches.
60622         (RTLD_START): Use LOCALENTRY.
60623         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
60624         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
60625         (PLT_ENTRY_WORDS): New macro.
60626         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
60627         (elf_machine_runtime_setup): Support ELFv2 ABI.
60628         (elf_machine_fixup_plt): Likewise.
60629         (elf_machine_plt_conflict): Likewise.
60630         (resolve_ifunc): Likewise.
60631         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
60632         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60633         Likewise.
60634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
60635         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
60636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60637         (makecontext): Support ELFv2 ABI.
60638         * elf/elf.h (EF_PPC64_ABI): Define.
60640 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60642         * sysdeps/powerpc/powerpc64/sysdep.h
60643         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
60644         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
60645         (ENTRY) [ASSEMBLER]: ... but instead here ...
60646         (EALIGN) [ASSEMBLER]: ... and here.
60647         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
60648         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
60649         (ENTRY_2) [!ASSEMBLER]: Use it.
60650         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
60651         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
60652         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60653         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
60654         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
60655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
60656         Use PPC64_LOAD_FUNCPTR.
60658         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
60660 2013-12-04  Alan Modra  <amodra@gmail.com>
60662         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
60663         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
60664         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
60665         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
60667         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
60668         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
60669         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
60670         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
60671         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
60672         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
60674 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60677         (__makecontext): Fix incorrect CFI when backtracing out of
60678         context created via makecontext.
60679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
60680         (__setcontext): Fix incorrect CFI during switch to new context.
60681         (__novec_setcontext): Likewise.
60683 2013-12-04  Ondƙej BĂ­lka  <neleai@seznam.cz>
60685         [BZ #4772]
60686         * time/strptime_l.c (__strptime_internal): Allow modifiers
60687         in strptime.
60688         * time/tst-strptime.c (day_tests): Add testcase.
60690 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60692         * scripts/bench.pl: Skip over blank lines.
60694 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
60696         [BZ #926]
60697         * manual/time.texi (Calendar Time): Clarify what timezone functions
60698         use.
60700 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60704 2013-12-04  Ondƙej BĂ­lka  <neleai@seznam.cz>
60706         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
60707         implementation.
60708         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
60709         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
60710         * debug/memset_chk.c (__memset_chk): Likewise.
60711         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
60712         * debug/strncpy_chk.c: Likewise.
60714 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
60716         [BZ #15268]
60717         [BZ #15425]
60718         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
60719         (__ieee754_exp): For possibly underflowing results, check size of
60720         result and force underflow exception if required.
60721         * math/auto-libm-test-in: Add more tests of exp.
60722         * math/auto-libm-test-out: Regenerated.
60723         * sysdeps/i386/fpu/libm-test-ulps: Update.
60724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60726         [BZ #16283]
60727         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
60728         * math/w_exp2f.c (__exp2f): Likewise.
60729         * math/w_exp2l.c (__exp2l): Likewise.
60730         * math/auto-libm-test-in: Do not allow missing errno on exp2
60731         underflow.
60732         * math/auto-libm-test-out: Regenerated.
60734 2013-12-03  Ondƙej BĂ­lka  <neleai@seznam.cz>
60736         [BZ #16274]
60737         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
60738         handle filename validation.
60739         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
60740         (do_open): Delete.
60742 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
60744         [BZ #6786]
60745         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
60746         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
60747         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
60748         <float.h>.
60749         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
60750         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
60751         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60752         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
60753         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60754         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
60755         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60756         * math/auto-libm-test-in: Don't allow missing errno from erfc.
60757         Add more erfc tests.
60758         * math/auto-libm-test-out: Regenerated.
60759         * sysdeps/i386/fpu/libm-test-ulps: Update.
60760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60762         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
60763         exp2, expm1, j0 and j1.
60764         * math/auto-libm-test-out: Regenerated.
60765         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
60766         (erfc_test_data): Likewise.
60767         (exp_test_data): Likewise.
60768         (exp_tonearest_test_data): Likewise.
60769         (exp_towardzero_test_data): Likewise.
60770         (exp_downward_test_data): Likewise.
60771         (exp_upward_test_data): Likewise.
60772         (exp10_test_data): Likewise.
60773         (exp2_test_data): Likewise.
60774         (expm1_test_data): Likewise.
60775         (j0_test_data): Likewise.
60776         (j1_test_data): Likewise.
60777         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
60778         (input_flag_type): Add flag_xfail_rounding.
60779         (input_flags): Add xfail-rounding.
60780         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
60781         (output_for_one_input_case): Handle flag_xfail_rounding.
60782         * sysdeps/i386/fpu/libm-test-ulps: Update.
60783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60785 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
60787         [BZ #16289]
60788         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
60789         division by 0.
60791 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60793         [BZ #16195]
60794         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
60795         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
60796         (STAP_PROBE0): New macro.
60797         (STAP_PROBE1): Likewise.
60798         (STAP_PROBE2): Likewise.
60799         (STAP_PROBE3): Likewise.
60800         (STAP_PROBE4): Likewise.
60802 2013-12-02  Ondƙej BĂ­lka  <neleai@seznam.cz>
60804         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
60806 2013-12-02  Steve Ellcey  <sellcey@mips.com>
60808         * benchtests/Makefile (bench): Add sqrt.
60809         (LDLIBS-bench-sqrt): New.
60810         * benchtests/sqrt-input: New.
60812 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
60814         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
60815         (GAIH_EAI): Likewise.
60816         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
60817         (gaih_inet): Likewise.
60818         (getaddrinfo): Don't use GAIH_EAI.
60820         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
60821         (struct gaih): Remove definition.
60823 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
60825         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
60826         Use HERRNOP directly.
60828 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60830         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60832 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
60834         * math/gen-auto-libm-tests.c (test_functions): Add more
60835         single-argument functions.
60836         (special_fill_pi_2): New function.
60837         (special_fill_minus_pi_2): Likewise.
60838         (special_fill_pi_6): Likewise.
60839         (special_fill_minus_pi_6): Likewise.
60840         (special_fill_pi_3): Likewise.
60841         (special_fill_2pi_3): Likewise.
60842         (special_fill_e): Likewise.
60843         (special_fill_1_e): Likewise.
60844         (special_fill_e_minus_1): Likewise.
60845         (special_real_inputs): Add more special inputs.
60846         (output_for_one_input_case): Do not require ERANGE on underflow to
60847         zero if round-to-nearest result does not underflow to zero, unless
60848         exact results required.
60849         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
60850         atan, atanh, cbrt, cos and cosh.
60851         * math/auto-libm-test-out: Regenerated.
60852         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
60853         (acos_tonearest_test_data): Likewise.
60854         (acos_towardzero_test_data): Likewise.
60855         (acos_downward_test_data): Likewise.
60856         (acos_upward_test_data): Likewise.
60857         (acosh_test_data): Likewise.
60858         (asin_test_data): Likewise.
60859         (asin_tonearest_test_data): Likewise.
60860         (asin_towardzero_test_data): Likewise.
60861         (asin_upward_test_data): Likewise.
60862         (asinh_test_data): Likewise.
60863         (atan_test_data): Likewise.
60864         (atanh_test_data): Likewise.
60865         (cbrt_test_data): Likewise.
60866         (cos_test_data): Likewise.
60867         (cos_tonearest_test_data): Likewise.
60868         (cos_towardzero_test_data): Likewise.
60869         (cos_downward_test_data): Likewise.
60870         (cos_upward_test_data): Likewise.
60871         (cosh_test_data): Likewise.
60872         (cosh_tonearest_test_data): Likewise.
60873         (cosh_towardzero_test_data): Likewise.
60874         (cosh_downward_test_data): Likewise.
60875         (cosh_upward_test_data): Likewise.
60876         * sysdeps/i386/fpu/libm-test-ulps: Update.
60877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60879 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
60881         [BZ #6787]
60882         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
60883         * math/w_exp10f.c (__exp10f): Likewise.
60884         * math/w_exp10l.c (__exp10l): Likewise.
60885         * math/libm-test.inc (exp10_test_data): Add more tests and expect
60886         errno settings in existing tests.
60888         [BZ #14032]
60889         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
60890         precision control set to double precision.
60891         * sysdeps/i386/fpu/w_sqrt.c: New file.
60892         * math/auto-libm-test-in: Add more tests.
60893         * math/auto-libm-test-out: Update.
60895         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
60896         (sqrt_test_tonearest): New function.
60897         (sqrt_towardzero_test_data): New variable.
60898         (sqrt_test_towardzero): New function.
60899         (sqrt_downward_test_data): New variable.
60900         (sqrt_test_downward): New function.
60901         (sqrt_upward_test_data): New variable.
60902         (sqrt_test_upward): New function.
60903         (main): Call the new functions.
60905         * math/gen-auto-libm-tests.c: New file.
60906         * math/auto-libm-test-in: Likewise.
60907         * math/auto-libm-test-out: New generated file.
60908         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
60909         variables.
60910         (%beautify): Add generated representations of zero.
60911         (top level): Set $auto_input and call parse_auto_input.
60912         (beautify): Remove trailing "f" from hex float constants.
60913         (parse_args): Handle XFAIL_TEST.
60914         (convert_condition): New function.
60915         (or_value): Likewise.
60916         (or_cond_value): Likewise.
60917         (generate_testfile): Handle AUTO_TESTS_* lines.
60918         (parse_auto_input): New function.
60919         * math/libm-test.inc (XFAIL_TEST): New macro.
60920         (ERRNO_UNCHANGED): Update value.
60921         (ERRNO_EDOM): Likewise.
60922         (ERRNO_ERANGE): Likewise.
60923         (IGNORE_RESULT): Likewise.
60924         (TEST_COND_flt_32): New macro.
60925         (TEST_COND_dbl_64): Likewise.
60926         (TEST_COND_ldbl_96_intel): Likewise.
60927         (TEST_COND_ldbl_96_m68k): Likewise.
60928         (TEST_COND_ldbl_128): Likewise.
60929         (TEST_COND_ldbl_128ibm): Likewise.
60930         (TEST_COND_long32): Likewise.
60931         (TEST_COND_long64): Likewise.
60932         (TEST_COND_before_rounding): Likewise.
60933         (TEST_COND_after_rounding): Likewise.
60934         (enable_test): Handle XFAIL_TEST flag.
60935         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
60936         with finite results.
60937         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
60938         auto-libm-test-out.
60940 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60941             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60943         [BZ #16214]
60944         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
60945         __tls_get_addr_internal instead of __tls_get_offset in order to
60946         avoid GOT pointer dependency.  Make rtld export
60947         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
60948         __tls_get_addr since we are a __tls_get_offset platform.
60949         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
60950         GOT pointer being set up before.
60951         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
60953 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
60955         * manual/math.texi (Errors in Math Functions): Document accuracy
60956         goals.
60958         [BZ #15004]
60959         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
60960         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
60961         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60962         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
60963         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
60964         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
60965         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
60966         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
60967         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
60968         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
60969         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
60970         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
60971         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
60972         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
60973         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
60974         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
60976         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
60977         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
60978         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
60979         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
60980         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
60981         Likewise.
60982         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
60983         Likewise.
60984         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
60985         Likewise.
60986         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
60987         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
60988         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
60989         atomic-feupdateenv and flt-rounds.
60990         * sysdeps/powerpc/nofpu/Versions (libc): Add
60991         __atomic_feholdexcept, __atomic_feclearexcept,
60992         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
60993         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
60994         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
60995         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
60996         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
60997         here.
60998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
60999         Update.
61001         * manual/arith.texi (FP Exceptions): Document that exceptions may
61002         not be raised when matherr is used.
61003         (Math Error Reporting): Document overflow in directed rounding
61004         modes.  Document that errno may not be set when finite values are
61005         returned on overflow.  Document intent to set errno on underflow
61006         only for underflow to zero.
61008         [BZ #16271]
61009         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
61010         round-to-nearest then adjust result for other rounding modes.
61011         * include/fenv.h (fegetround): Use libm_hidden_proto.
61012         * math/fegetround.c (fegetround): Use libm_hidden_def.
61013         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
61014         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
61015         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61016         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
61017         Likewise.
61018         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
61019         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61020         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
61021         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
61023 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61025         [BZ #16077]
61026         * nss/Versions (libnss_files): Add
61027         _nss_files_gethostbyname3_r.
61028         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
61029         New function.
61030         (HOST_DB_LOOKUP): Remove macro.
61031         (_nss_files_gethostbyname_r): Implement function without the
61032         HOST_DB_LOOKUP macro.
61033         (_nss_files_gethostbyname2_r): Likewise.
61035 2013-11-28  Ondƙej BĂ­lka  <neleai@seznam.cz>
61037         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
61039 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
61041         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
61042         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
61043         warning.
61045 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61047         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
61048         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
61049         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
61050         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
61051         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
61052         __fe_nomask_env_priv and attribute_hidden.
61053         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
61054         (libc_feupdateenv_test_ppc): Likewise.
61055         (libc_feresetround_ppc): Likewise.
61056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61057         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
61058         compat_symbol macro.
61059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61060         (__fe_nomask_env): Likewise.
61061         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
61063 2013-11-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
61065         * string/Makefile: Remove ifunc tests.
61066         * string/test-string.h: Define TEST_IFUNC.
61067         * string/test-bcopy-ifunc.c: Remove.
61068         * string/test-bzero-ifunc.c: Likewise.
61069         * string/test-memccpy-ifunc.c: Likewise.
61070         * string/test-memchr-ifunc.c: Likewise.
61071         * string/test-memcmp-ifunc.c: Likewise.
61072         * string/test-memcpy-ifunc.c: Likewise.
61073         * string/test-memmem-ifunc.c: Likewise.
61074         * string/test-memmove-ifunc.c: Likewise.
61075         * string/test-mempcpy-ifunc.c: Likewise.
61076         * string/test-memrchr-ifunc.c: Likewise.
61077         * string/test-memset-ifunc.c: Likewise.
61078         * string/test-rawmemchr-ifunc.c: Likewise.
61079         * string/test-stpcpy-ifunc.c: Likewise.
61080         * string/test-stpncpy-ifunc.c: Likewise.
61081         * string/test-strcasecmp-ifunc.c: Likewise.
61082         * string/test-strcasestr-ifunc.c: Likewise.
61083         * string/test-strcat-ifunc.c: Likewise.
61084         * string/test-strchr-ifunc.c: Likewise.
61085         * string/test-strchrnul-ifunc.c: Likewise.
61086         * string/test-strcmp-ifunc.c: Likewise.
61087         * string/test-strcpy-ifunc.c: Likewise.
61088         * string/test-strcspn-ifunc.c: Likewise.
61089         * string/test-strlen-ifunc.c: Likewise.
61090         * string/test-strncasecmp-ifunc.c: Likewise.
61091         * string/test-strncat-ifunc.c: Likewise.
61092         * string/test-strncmp-ifunc.c: Likewise.
61093         * string/test-strncpy-ifunc.c: Likewise.
61094         * string/test-strnlen-ifunc.c: Likewise.
61095         * string/test-strpbrk-ifunc.c: Likewise.
61096         * string/test-strrchr-ifunc.c: Likewise.
61097         * string/test-strspn-ifunc.c: Likewise.
61098         * string/test-strstr-ifunc.c: Likewise.
61100 2013-11-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
61102         * benchtests/Makefile: Remove ifunc tests.
61103         * benchtests/bench-string.h: Define TEST_IFUNC.
61104         * benchtests/bench-bcopy-ifunc.c: Remove.
61105         * benchtests/bench-bzero-ifunc.c: Likewise.
61106         * benchtests/bench-memccpy-ifunc.c: Likewise.
61107         * benchtests/bench-memchr-ifunc.c: Likewise.
61108         * benchtests/bench-memcmp-ifunc.c: Likewise.
61109         * benchtests/bench-memcpy-ifunc.c: Likewise.
61110         * benchtests/bench-memmem-ifunc.c: Likewise.
61111         * benchtests/bench-memmove-ifunc.c: Likewise.
61112         * benchtests/bench-mempcpy-ifunc.c: Likewise.
61113         * benchtests/bench-memrchr-ifunc.c: Likewise.
61114         * benchtests/bench-memset-ifunc.c: Likewise.
61115         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
61116         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
61117         * benchtests/bench-stpcpy-ifunc.c: Likewise.
61118         * benchtests/bench-stpncpy-ifunc.c: Likewise.
61119         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
61120         * benchtests/bench-strcasestr-ifunc.c: Likewise.
61121         * benchtests/bench-strcat-ifunc.c: Likewise.
61122         * benchtests/bench-strchr-ifunc.c: Likewise.
61123         * benchtests/bench-strchrnul-ifunc.c: Likewise.
61124         * benchtests/bench-strcmp-ifunc.c: Likewise.
61125         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
61126         * benchtests/bench-strcpy-ifunc.c: Likewise.
61127         * benchtests/bench-strcspn-ifunc.c: Likewise.
61128         * benchtests/bench-strlen-ifunc.c: Likewise.
61129         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
61130         * benchtests/bench-strncat-ifunc.c: Likewise.
61131         * benchtests/bench-strncmp-ifunc.c: Likewise.
61132         * benchtests/bench-strncpy-ifunc.c: Likewise.
61133         * benchtests/bench-strnlen-ifunc.c: Likewise.
61134         * benchtests/bench-strpbrk-ifunc.c: Likewise.
61135         * benchtests/bench-strrchr-ifunc.c: Likewise.
61136         * benchtests/bench-strsep-ifunc.c: Likewise.
61137         * benchtests/bench-strspn-ifunc.c: Likewise.
61138         * benchtests/bench-strstr-ifunc.c: Likewise.
61140 2013-11-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
61142         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
61144 2013-11-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
61146         * resolv/netdb.h: Use __glibc_reserved instead __unused.
61147         * rt/aio.h: Likewise.
61148         * sysdeps/gnu/bits/utmp.h: Likewise.
61149         * sysdeps/gnu/bits/utmpx.h: Likewise.
61150         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
61151         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
61152         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
61153         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
61154         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
61155         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
61156         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
61157         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
61158         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
61159         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
61160         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
61161         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
61162         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
61163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
61164         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
61165         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
61166         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
61167         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
61168         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
61169         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
61170         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
61171         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
61172         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
61173         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
61174         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
61175         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61176         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
61177         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
61178         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
61179         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
61180         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
61181         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
61182         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
61183         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
61184         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
61185         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
61186         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
61187         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
61188         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
61189         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
61190         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
61191         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
61193 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
61195         [BZ #16245]
61196         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
61197         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
61199 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
61201         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
61202         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
61203         Likewise.
61205 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61207         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
61208         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
61209         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
61210         (__fesetround): Remove define.
61211         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
61212         rounding and exceptions handling.
61213         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
61214         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
61215         (__fe_nomask_env): Likewise.
61216         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
61217         __fegetround instead of fegetround.
61218         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
61219         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
61221 2013-11-21  Roland McGrath  <roland@hack.frob.com>
61223         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
61224         it's there.
61226         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
61228 2013-11-21  Meador Inge  <meadori@codesourcery.com>
61230         [BZ #11157]
61231         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
61232         (encrypt_r): Likewise.
61233         * malloc/obstack.h (obstack_free): Likewise.
61234         * posix/unistd.h (encrypt): Likewise.
61236 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
61238         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
61239         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
61240         DL_CALL_DT_FINI() that call the functions directly.
61241         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
61242         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
61243         * elf/dl-fini.c: Likewise.
61245 2013-11-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
61247         * malloc/hooks.c (memalign_check): Add alignment rounding.
61248         * malloc/malloc.c (_mid_memalign): New function.
61249         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
61250         Implement by calling _mid_memalign.
61251         * manual/probes.texi (Memory Allocation Probes): Remove
61252         memory_valloc_retry and memory_pvalloc_retry.
61254 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61256         * locale/programs/locarchive.c (open_archive): Add const
61257         qualifier to ARCHIVEFNAME and copy default fname to
61258         DEFAULT_FNAME.
61260         [BZ #15601]
61261         * libio/tst-widetext.input: Rename Oriya to Odia.
61262         * locale/iso-639.def: Likewise.
61264         * manual/probes.texi (Mathematical Function Probes): Add
61265         documentation for sin, cos, asin and acos probes.
61266         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
61267         (__sin32): Add slowasin probe.
61268         (__cos32): Add slowacos probe.
61269         (__mpsin): Add slowsin probe.
61270         (__mpcos): Add slowcos probe.
61272 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
61274         [BZ #15483]
61275         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
61276         thread-local __sim_exceptions_thread and global
61277         __sim_exceptions_global.
61278         (__sim_disabled_exceptions): Change to thread-local
61279         __sim_disabled_exceptions_thread and global
61280         __sim_disabled_exceptions_global.
61281         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61282         and global __sim_round_mode_global.
61283         (__simulate_exceptions): Use thread-local floating-point state and
61284         set global state from it as needed.
61285         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
61286         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
61287         __sim_round_mode_thread.
61288         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
61289         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
61290         and global __sim_exceptions_global.
61291         (__sim_disabled_exceptions): Change to thread-local
61292         __sim_disabled_exceptions_thread and global
61293         __sim_disabled_exceptions_global.
61294         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61295         and global __sim_round_mode_global.
61296         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
61297         (SIM_SET_GLOBAL): Likewise.
61298         * sysdeps/powerpc/soft-fp/sfp-machine.h
61299         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
61300         __sim_round_mode_thread.
61301         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
61302         __sim_disabled_exceptions_thread.
61303         (__sim_exceptions): Change to __sim_exceptions_thread.
61304         (__sim_disabled_exceptions): Change to
61305         __sim_disabled_exceptions_thread.
61306         (__sim_round_mode): Change to __sim_round_mode_thread.
61307         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
61308         thread-local floating-point state and set global state from it as
61309         needed.
61310         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
61311         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
61312         (__sim_disabled_exceptions): Remove extern declaration.
61313         (feenableexcept): Use thread-local floating-point state and set
61314         global state from it as needed.
61315         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
61316         extern declaration.
61317         (__sim_disabled_exceptions): Likewise.
61318         (__sim_round_mode): Likewise.
61319         (__fegetenv): Use thread-local floating-point state.
61320         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
61321         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61322         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
61323         floating-point state and set global state from it as needed.
61324         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
61325         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
61326         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
61327         Likewise.
61328         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
61329         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
61330         Likewise.
61331         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
61332         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
61333         Use __sim_round_mode_thread.
61334         * math/test-fenv-tls.c: New file.
61335         * math/Makefile (tests): Add test-fenv-tls.
61336         ($(objpfx)test-fenv-tls): Depend on
61337         $(common-objpfx)nptl/libpthread.so.
61339 2013-11-19  Andreas Schwab  <schwab@suse.de>
61341         * locale/programs/locale.c (show_info): Decode wordarray elements.
61342         * locale/categories.def (LC_MONETARY): Add element for
61343         _NL_MONETARY_CRNCYSTR.
61344         * locale/C-monetary.c (conversion_rate): New variable.
61345         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
61346         element.
61348 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
61350         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
61351         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
61353 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
61355         * elf/Makefile (tst-auxv): New test.
61356         * elf/tst-auxv.c: New
61357         * elf/rtld.c (dl_main): Adjust AT_EXECFN
61359 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
61361         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
61362         (hidden_proto): Caller changed.
61363         (hidden_tls_proto): New macro.
61364         (libc_hidden_tls_proto): Likewise.
61365         (rtld_hidden_tls_proto): Likewise.
61366         (libm_hidden_tls_proto): Likewise.
61367         (libresolv_hidden_tls_proto): Likewise.
61368         (librt_hidden_tls_proto): Likewise.
61369         (libdl_hidden_tls_proto): Likewise.
61370         (libnss_files_hidden_tls_proto): Likewise.
61371         (libnsl_hidden_tls_proto): Likewise.
61372         (libnss_nisplus_hidden_tls_proto): Likewise.
61373         (libutil_hidden_tls_proto): Likewise.
61375 2013-11-18  Ondƙej BĂ­lka  <neleai@seznam.cz>
61377         [BZ #10253]
61378         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
61379         (decompose_rpath): Defer expansion to fillin_rpath.
61380         (_dl_init_paths): Pass linkmap to fillin_rpath.
61382 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
61384         * benchtests/Makefile: Add strsep.
61385         * benchtests/bench-strsep.c: New file: strsep benchtest.
61386         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
61388 2013-11-18  Andreas Schwab  <schwab@suse.de>
61390         * locale/programs/locale.c (show_info) [case byte]: Check for
61391         '\377' instead of '\177'.
61392         * locale/C-monetary.c (not_available): Always use "\377".
61393         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
61394         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
61395         detect unavailable sign_posn locale elements.
61396         * locale/localeconv.c (__localeconv): For grouping and
61397         mon_grouping handle "\177" and "\377" like no grouping.
61398         (INT_ELEM): New macro.  Use it to set all numeric members.
61399         * locale/programs/ld-monetary.c (monetary_read)
61400         <tok_mon_grouping>: Normalize single -1 to the empty string.
61401         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
61402         Likewise.
61404 2013-11-07  Ondƙej BĂ­lka  <neleai@seznam.cz>
61406         [BZ #16055]
61407         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
61408         when we match (nil).
61409         * stdio-common/tst-sscanf.c (struct test): Add testcase.
61411 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
61413         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
61414         (NO_TEST_INLINE): Update value.
61415         (ERRNO_UNCHANGED): Likewise.
61416         (ERRNO_EDOM): Likewise.
61417         (ERRNO_ERANGE): Likewise.
61418         (IGNORE_RESULT): Likewise.
61419         (check_float_internal): Check signs of NaN results if
61420         TEST_NAN_SIGN used.
61421         (check_complex): Pass TEST_NAN_SIGN flag through to second
61422         check_float_internal call.
61423         (copysign_test_data): Add tests with quiet NaNs as second
61424         argument.  Use TEST_NAN_SIGN.
61425         (fabs_test_data): Add test of negative quiet NaN argument.  Use
61426         TEST_NAN_SIGN.
61427         (signbit_test_data): Add tests of quiet NaN argument.
61428         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
61430         * math/gen-libm-test.pl (show_exceptions): Take extra argument
61431         $ignore_result.
61432         (parse_args): Handle function results specified as IGNORE.
61433         * math/libm-test.inc (IGNORE_RESULT): New macro.
61434         (check_float_internal): Do not check numerical result if flag
61435         IGNORE_RESULT set.
61436         (check_complex): Pass through IGNORE_RESULT to second
61437         check_float_internal call.
61438         (check_int): Do not check numerical result if flag IGNORE_RESULT
61439         set.
61440         (check_long): Likewise.
61441         (check_bool): Likewise.
61442         (check_longlong): Likewise.
61443         (lrint_test_data): Add tests of infinite and NaN arguments.
61444         (lrint_tonearest_test_data): Likewise.
61445         (lrint_towardzero_test_data): Likewise.
61446         (lrint_downward_test_data): Likewise.
61447         (lrint_upward_test_data): Likewise.
61448         (llrint_test_data): Likewise.
61449         (llrint_tonearest_test_data): Likewise.
61450         (llrint_towardzero_test_data): Likewise.
61451         (llrint_downward_test_data): Likewise.
61452         (llrint_upward_test_data): Likewise.
61453         (lround_test_data): Likewise.
61454         (llround_test_data): Likewise.
61456         * math/libm-test.inc (NO_TEST_INLINE): New macro.
61457         (ERRNO_UNCHANGED): Update value.
61458         (ERRNO_EDOM): Likewise.
61459         (ERRNO_ERANGE): Likewise.
61460         (NO_TEST_INLINE_FLOAT): New macro.
61461         (NO_TEST_INLINE_DOUBLE): Likewise.
61462         (enable_test): New function.
61463         (RUN_TEST_f_f): Check enable_test before running test.
61464         (RUN_TEST_2_f): Likewise.
61465         (RUN_TEST_fff_f): Likewise.
61466         (RUN_TEST_c_f): Likewise.
61467         (RUN_TEST_f_f1): Likewise.
61468         (RUN_TEST_fF_f1): Likewise.
61469         (RUN_TEST_fI_f1): Likewise.
61470         (RUN_TEST_ffI_f1): Likewise.
61471         (RUN_TEST_c_c): Likewise.
61472         (RUN_TEST_cc_c): Likewise.
61473         (RUN_TEST_f_i): Likewise.
61474         (RUN_TEST_f_i_tg): Likewise.
61475         (RUN_TEST_ff_i_tg): Likewise.
61476         (RUN_TEST_f_b): Likewise.
61477         (RUN_TEST_f_b_tg): Likewise.
61478         (RUN_TEST_f_l): Likewise.
61479         (RUN_TEST_f_L): Likewise.
61480         (RUN_TEST_fFF_11): Likewise.
61481         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
61482         conditionals.
61483         (cosh_test_data): Likewise.
61484         (exp_test_data): Likewise.
61485         (expm1_test_data): Likewise.
61486         (hypot_test_data): Likewise.
61487         (pow_test_data): Likewise.
61488         (sinh_test_data): Likewise.
61489         (tanh_test_data): Likewise.
61490         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
61491         flags argument.
61493         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
61494         tests with quiet NaN input and output.
61495         (acosh_test_data): Likewise.
61496         (asin_test_data): Likewise.
61497         (asinh_test_data): Likewise.
61498         (atan_test_data): Likewise.
61499         (atanh_test_data): Likewise.
61500         (atan2_test_data): Likewise.
61501         (cbrt_test_data): Likewise.
61502         (cos_test_data): Likewise.
61503         (cosh_test_data): Likewise.
61504         (erf_test_data): Likewise.
61505         (erfc_test_data): Likewise.
61506         (exp_test_data): Likewise.
61507         (exp10_test_data): Likewise.
61508         (exp2_test_data): Likewise.
61509         (expm1_test_data): Likewise.
61510         (hypot_test_data): Likewise.
61511         (j0_test_data): Likewise.
61512         (j1_test_data): Likewise.
61513         (jn_test_data): Likewise.
61514         (lgamma_test_data): Likewise.
61515         (log_test_data): Likewise.
61516         (log10_test_data): Likewise.
61517         (log1p_test_data): Likewise.
61518         (log2_test_data): Likewise.
61519         (pow_test_data): Likewise.
61520         (scalb_test_data): Likewise.
61521         (sin_test_data): Likewise.
61522         (sincos_test_data): Likewise.
61523         (sinh_test_data): Likewise.
61524         (tan_test_data): Likewise.
61525         (tanh_test_data): Likewise.
61526         (tgamma_test_data): Likewise.
61527         (y0_test_data): Likewise.
61528         (y1_test_data): Likewise.
61529         (yn_test_data): Likewise.
61531         [BZ #16167]
61532         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
61533         argument being NaN and avoid computations with second argument in
61534         that case.
61535         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61536         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
61537         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61539 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
61541         * locale/iso-639.def: Add Chitwani Tharu (the).
61543 2013-11-14  Andreas Schwab  <schwab@suse.de>
61545         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
61546         word instead of empty string.
61548 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61551         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
61552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61553         (__fe_nomask_env): Likewise.
61555 2013-11-13  Steve Ellcey  <sellcey@mips.com>
61557         * benchtests/bench-timing.h: Include time.h.
61559 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
61561         [BZ #15997]
61562         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
61563         to 3.4.0 for x32.
61564         * sysdeps/unix/sysv/linux/configure: Regenerated.
61566 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
61568         [BZ #16151]
61569         * stdlib/strtod_l.c (round_and_return): Do not consider
61570         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
61571         exponent one less than half the least subnormal exponent.
61572         * stdlib/test-strtod-round-data: Add more tests.
61573         * stdlib/tst-strtod-round.c (tests): Regenerated.
61575 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61577         [BZ #14143]
61578         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
61579         (__fe_mask_env): Likewise.
61580         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
61581         libm_hidden_proto and add function prototype.
61582         (__fe_mask_env): Add function prototype.
61583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61584         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
61585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61586         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
61587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61588         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
61590 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61592         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
61593         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
61595 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61597         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
61598         of htab_find_slot().
61600 2013-11-11  David S. Miller  <davem@davemloft.net>
61602         [BZ #16150]
61603         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
61604         symbol in the non-vis3 case in static builds.
61605         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
61606         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
61607         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
61608         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
61610 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
61612         [BZ #387]
61613         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
61614         it is empty.
61616 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61618         * benchtests/Makefile: Add bench-strtod.
61619         * benchtests/bench-strtod.c: New file: strtod benchtest
61621 2013-11-11  Andreas Schwab  <schwab@suse.de>
61623         [BZ #16153]
61624         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
61625         terminating NUL in key length.
61627 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61629         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
61630         Add artificial ODP entry for vDSO symbol for PPC64.
61631         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
61632         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
61634 2013-11-07  Ondƙej BĂ­lka  <neleai@seznam.cz>
61636         [BZ #15374]
61637         * nss/getent.c (services_keys): Recognize services starting with digit.
61639 2013-11-06  David S. Miller  <davem@davemloft.net>
61641         [BZ #15985]
61642         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
61643         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
61645 2013-11-06  Will Newton  <will.newton@linaro.org>
61647         * manual/memory.texi (Malloc Examples): Remove register
61648         keyword from examples.
61650 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
61652         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
61654 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
61656         [BZ #6981]
61657         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
61658         depending on [__GCC_IEC_559 > 0].
61659         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
61660         depending on [__GCC_IEC_559_COMPLEX > 0].
61662 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
61664         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
61665         to iso-639.def.
61667 2013-11-03  Ondƙej BĂ­lka  <neleai@seznam.cz>
61669         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
61671 2013-11-01  Ondƙej BĂ­lka  <neleai@seznam.cz>
61673         [BZ #16112]
61674         * malloc/malloc (malloc_info): Do not handle first bin as
61675         special case.
61677 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
61679         * locale/iso-639.def: Add Central Nahuatl (nhn).
61681 2013-11-01  Bruno Haible  <bruno@clisp.org>
61683         [BZ #7003]
61684         * manual/math.texi (BSD Random): Specify range upper bound as
61685         in POSIX.
61687 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
61689         * locale/iso-639.def: Add Meadow Mari (mhr).
61691 2013-10-31  Ondƙej BĂ­lka  <neleai@seznam.cz>
61693         [BZ #14752], [BZ #15763]
61694         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
61695         Validate name.
61696         * rt/tst_shm.c: Add test for escaping directory.
61698 2013-10-31  Andreas Schwab  <schwab@suse.de>
61700         [BZ #15917]
61701         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
61702         followed by 'x' as part of digit sequence.
61703         * stdio-common/tst-sscanf.c (double_tests2): New tests.
61705 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
61707         [BZ #16037]
61708         * configure.ac: allow GNU Make 4.0 and greater.
61709         * configure: Regenerated.
61711 2013-10-30  Will Newton  <will.newton@linaro.org>
61713         [BZ #16038]
61714         * malloc/hooks.c (memalign_check): Limit alignment to the
61715         maximum representable power of two.
61716         * malloc/malloc.c (__libc_memalign): Likewise.
61717         * malloc/tst-memalign.c (do_test): Add test for very
61718         large alignment values.
61719         * malloc/tst-posix_memalign.c (do_test): Likewise.
61721 2013-10-30  Ondƙej BĂ­lka  <neleai@seznam.cz>
61723         [BZ #11087]
61724         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
61725         (munmap_chunk): Likewise.
61726         (mremap_chunk): Likewise.
61728 2013-10-30  Ondƙej BĂ­lka  <neleai@seznam.cz>
61730         [BZ #15799]
61731         * stdlib/div.c (div): Remove obsolete code.
61732         * stdlib/ldiv.c (ldiv): Likewise.
61733         * stdlib/lldiv.c (lldiv): Likewise.
61735 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61737         [BZ #16071]
61738         * nss/nss_files/files-XXX.c (get_contents_ret): New
61739         enumerator.
61740         (get_contents): New function.
61741         (internal_getent): Use it.  Expand size of LINEBUFLEN.
61743 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
61745         * configure.in: Moved to ...
61746         * configure.ac: ... here. Change reference to configure.in
61747         to configure.ac.
61748         * sysdeps/arm/preconfigure.ac: ... here.
61749         configure.in to configure.ac.
61750         * sysdeps/gnu/configure.in: Moved to ...
61751         * sysdeps/gnu/configure.ac: ... here.
61752         * sysdeps/i386/configure.in: Moved to ...
61753         * sysdeps/i386/configure.ac: ... here.
61754         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
61755         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
61756         * sysdeps/mach/configure.in: Moved to ...
61757         * sysdeps/mach/configure.ac: ... here.
61758         * sysdeps/mach/hurd/configure.in: Moved to ...
61759         * sysdeps/mach/hurd/configure.ac: ... here.
61760         * sysdeps/powerpc/configure.in: Moved to ...
61761         * sysdeps/powerpc/configure.ac: ... here.
61762         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
61763         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
61764         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
61765         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
61766         * sysdeps/s390/s390-32/configure.in: Moved to ...
61767         * sysdeps/s390/s390-32/configure.ac: ... here.
61768         * sysdeps/s390/s390-64/configure.in: Moved to ...
61769         * sysdeps/s390/s390-64/configure.ac: ... here.
61770         * sysdeps/sh/configure.in: Moved to ...
61771         * sysdeps/sh/configure.ac: ... here.
61772         * sysdeps/sparc/configure.in: Moved to ...
61773         * sysdeps/sparc/configure.ac: ... here.
61774         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
61775         * sysdeps/unix/sysv/linux/configure.ac: ... here.
61776         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
61777         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
61778         * sysdeps/x86_64/configure.in: Moved to ...
61779         * sysdeps/x86_64/configure.ac: ... here.
61780         * sysdeps/x86_64/preconfigure.in: Moved to ...
61781         * sysdeps/x86_64/preconfigure.ac: ... here.
61782         * aclocal.m4: Change reference to configure.in to configure.ac.
61783         * config.h.in: Likewise.
61784         * manual/install.texi: Likewise.
61785         * manual/maint.texi: Likewise.
61786         * Makefile: Likewise.
61787         * malloc/Makefile: Likewise.
61788         * nscd/Makefile: Likewise.
61789         * Makeconfig: Change reference to configure.in and
61790         preconfigure.in to configure.ac and preconfigure.ac
61791         respectively.
61792         * INSTALL: Regenerated.
61793         * configure: Likewise.
61794         * sysdeps/gnu/configure: Likewise.
61795         * sysdeps/i386/configure: Likewise.
61796         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
61797         * sysdeps/mach/configure: Likewise.
61798         * sysdeps/mach/hurd/configure: Likewise.
61799         * sysdeps/powerpc/configure: Likewise.
61800         * sysdeps/powerpc/powerpc32/configure: Likewise.
61801         * sysdeps/powerpc/powerpc64/configure: Likewise.
61802         * sysdeps/s390/s390-32/configure: Likewise.
61803         * sysdeps/s390/s390-64/configure: Likewise.
61804         * sysdeps/sh/configure: Likewise.
61805         * sysdeps/sparc/configure: Likewise.
61806         * sysdeps/unix/sysv/linux/configure: Likewise.
61807         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
61808         * sysdeps/x86_64/configure: Likewise.
61809         * sysdeps/x86_64/preconfigure: Likewise.
61811 2013-10-29  Andreas Schwab  <schwab@suse.de>
61813         * stdio-common/Makefile (tst-swscanf-ENV): Define.
61815 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61817         * benchtests/pow-inputs: Add new inputs.
61819         * benchtests/exp-inputs: Add new inputs.
61821         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
61822         conditional check for return value.
61823         (__cos32): Likewise.
61825 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61827         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
61828         to provide a boost for large inputs with word alignment.
61829         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
61830         implementation based on optimized PPC64 strcpy.
61831         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
61832         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
61833         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
61834         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
61836 2013-10-25   Ondƙej BĂ­lka  <neleai@seznam.cz>
61838         [BZ #2801]
61839         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
61841 2013-10-25   Ondƙej BĂ­lka  <neleai@seznam.cz>
61843         [BZ #14876]
61844         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
61845         * time/tst-strptime.c (day_tests): Add testcase.
61847 2013-10-25   Ondƙej BĂ­lka  <neleai@seznam.cz>
61849         [BZ #14029]
61850         * manual/pattern.texi: Acknowledge that fnmatch can fail.
61852 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
61854         [BZ #16074]
61855         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
61856         MAP_FAILED on error.
61858 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61860         [BZ #16072]
61861         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
61862         heap for large requests.
61864 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
61866         [BZ #9954]
61867         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
61868         result if the result has no associated interface.
61869         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
61870         interface for all 127.X.Y.Z addresses.
61872 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
61874         * locale/iso-639.def: Add Ligurian (lij)
61876 2013-10-21  Ondƙej BĂ­lka  <neleai@seznam.cz>
61878         [BZ #15825]
61879         * sunrpc/rpc_main.c: Document rpcgen -5.
61881 2013-10-19  Michael Stahl  <mstahl@redhat.com>
61883         * elf/rtld.c (do_preload): Print the reason why preloading failed.
61885 2013-10-19  Ondƙej BĂ­lka  <neleai@seznam.cz>
61887         [BZ #10278]
61888         * posix/glob.c: Match only directories when trailing slash is present.
61889         * posix/tst-gnuglob.c (my_opendir): Do not open files.
61890         (main): Add testcase.
61892 2013-10-19  Ondƙej BĂ­lka  <neleai@seznam.cz>
61894         [BZ #15670]
61895         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
61897 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
61899         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
61900         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
61901         AUTH_DES and cindex for FIPS 140-2.
61902         (DES Encryption): Add cindex FIPS 46-3.
61904         * locale/locarchive.h (struct locarhandle): Add fname.
61905         * locale/programs/localedef.c (main): Pass ARGV[remaining]
61906         if an optional argument was specified to --list-archive,
61907         otherwise NULL.
61908         * locale/programs/locarchive.c (show_archive_content): Take new
61909         argument fname and pass it via ah.fname to open_archive.
61910         * locale/programs/localedef.h: Update decl.
61911         (open_archive): If AH->fname is non-null, open that file
61912         rather than the default file name, and don't ignore ENOENT.
61913         (create_archive): Set AH.fname to NULL.
61914         (delete_locales_from_archive): Likewise.
61915         (add_locales_to_archive): Likewise.
61916         * locale/programs/locfile.c (write_all_categories): Likewise.
61918 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
61919             Aldy Hernandez  <aldyh@redhat.com>
61921         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
61922         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
61923         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
61924         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
61925         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
61926         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
61927         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
61928         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
61929         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
61930         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
61931         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
61932         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
61933         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
61934         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
61935         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
61936         Likewise.
61937         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
61938         Likewise.
61939         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
61940         Likewise.
61941         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
61942         Likewise.
61943         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
61944         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
61945         Likewise.
61946         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
61947         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
61948         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
61949         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
61950         Likewise.
61951         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
61952         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
61953         * sysdeps/powerpc/preconfigure: Likewise.
61954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
61955         Likewise.
61956         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
61957         Replace contents of file by #include of <fenv_libc.h>.
61958         * sysdeps/powerpc/soft-fp/sfp-machine.h
61959         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
61960         and <sys/prctl.h>.
61961         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
61962         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
61963         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
61964         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
61965         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
61966         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
61967         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
61968         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
61969         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
61970         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
61971         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
61972         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
61973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
61974         Allow copysignl PLT reference to be missing.
61976 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
61977             Joseph Myers  <joseph@codesourcery.com
61979         [BZ #15948]
61980         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
61981         single character.
61982         (add_to_tablewc): Assert sequence of wide characters is nonempty.
61984 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61986         * elf/tst-tls-dlinfo.c: Don't include tls.h.
61987         * elf/tst-tls1.c: Likewise.
61988         * elf/tst-tls10.h: Likewise.
61989         * elf/tst-tls14.c: Likewise.
61990         * elf/tst-tls2.c: Likewise.
61991         * elf/tst-tls3.c: Likewise.
61992         * elf/tst-tls4.c: Likewise.
61993         * elf/tst-tls5.c: Likewise.
61994         * elf/tst-tls6.c: Likewise.
61995         * elf/tst-tls7.c: Likewise.
61996         * elf/tst-tls8.c: Likewise.
61997         * elf/tst-tls9.c: Likewise.
61998         * elf/tst-tlsmod1.c: Likewise.
61999         * elf/tst-tlsmod13.c: Likewise.
62000         * elf/tst-tlsmod13a.c: Likewise.
62001         * elf/tst-tlsmod14a.c: Likewise.
62002         * elf/tst-tlsmod16a.c: Likewise.
62003         * elf/tst-tlsmod16b.c: Likewise.
62004         * elf/tst-tlsmod2.c: Likewise.
62005         * elf/tst-tlsmod3.c: Likewise.
62006         * elf/tst-tlsmod4.c: Likewise.
62007         * elf/tst-tlsmod5.c: Likewise.
62008         * elf/tst-tlsmod6.c: Likewise.
62010 2013-10-18  Ondƙej BĂ­lka  <neleai@seznam.cz>
62012         [BZ #12486]
62013         * malloc/malloc.c: remove checks for statistics.
62015 2013-10-17  Ondƙej BĂ­lka  <neleai@seznam.cz>
62017         [BZ #15277]
62018         * inet/inet_net.c (inet_network): Detect additional invalid strings.
62019         * inet/tst-network.c: Add testcase.
62021 2013-10-17  Andreas Schwab  <schwab@suse.de>
62023         [BZ #15218]
62024         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
62025         to determine canonical name.
62027 2013-10-17  Ondƙej BĂ­lka  <neleai@seznam.cz>
62029         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
62030         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
62031         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62032         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
62033         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62034         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
62035         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
62036         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
62037         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
62038         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
62039         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
62040         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62041         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62042         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
62043         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
62044         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
62045         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62046         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62047         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
62048         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
62049         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62050         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62051         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62052         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
62053         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
62054         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62055         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62056         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
62057         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62058         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
62059         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
62060         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62061         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
62062         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62063         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62064         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62065         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62066         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62067         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62068         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62069         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62070         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
62071         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
62072         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62073         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
62074         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62075         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62076         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
62077         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
62078         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62079         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
62080         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
62081         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
62082         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
62083         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62084         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
62085         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62086         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62088 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
62090         [BZ #16041]
62091         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
62092         make result into a quiet NaN.
62094 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
62096         * soft-fp/adddf3.c: Fix horizontal whitespace.
62097         * soft-fp/addsf3.c: Likewise.
62098         * soft-fp/addtf3.c: Likewise.
62099         * soft-fp/divdf3.c: Likewise.
62100         * soft-fp/divsf3.c: Likewise.
62101         * soft-fp/divtf3.c: Likewise.
62102         * soft-fp/double.h: Likewise.
62103         * soft-fp/eqdf2.c: Likewise.
62104         * soft-fp/eqsf2.c: Likewise.
62105         * soft-fp/eqtf2.c: Likewise.
62106         * soft-fp/extenddftf2.c: Likewise.
62107         * soft-fp/extended.h: Likewise.
62108         * soft-fp/extendsfdf2.c: Likewise.
62109         * soft-fp/extendsftf2.c: Likewise.
62110         * soft-fp/extendxftf2.c: Likewise.
62111         * soft-fp/fixdfdi.c: Likewise.
62112         * soft-fp/fixdfsi.c: Likewise.
62113         * soft-fp/fixdfti.c: Likewise.
62114         * soft-fp/fixsfdi.c: Likewise.
62115         * soft-fp/fixsfsi.c: Likewise.
62116         * soft-fp/fixsfti.c: Likewise.
62117         * soft-fp/fixtfdi.c: Likewise.
62118         * soft-fp/fixtfsi.c: Likewise.
62119         * soft-fp/fixtfti.c: Likewise.
62120         * soft-fp/fixunsdfdi.c: Likewise.
62121         * soft-fp/fixunsdfsi.c: Likewise.
62122         * soft-fp/fixunsdfti.c: Likewise.
62123         * soft-fp/fixunssfdi.c: Likewise.
62124         * soft-fp/fixunssfsi.c: Likewise.
62125         * soft-fp/fixunssfti.c: Likewise.
62126         * soft-fp/fixunstfdi.c: Likewise.
62127         * soft-fp/fixunstfsi.c: Likewise.
62128         * soft-fp/fixunstfti.c: Likewise.
62129         * soft-fp/floatdidf.c: Likewise.
62130         * soft-fp/floatdisf.c: Likewise.
62131         * soft-fp/floatditf.c: Likewise.
62132         * soft-fp/floatsidf.c: Likewise.
62133         * soft-fp/floatsisf.c: Likewise.
62134         * soft-fp/floatsitf.c: Likewise.
62135         * soft-fp/floattidf.c: Likewise.
62136         * soft-fp/floattisf.c: Likewise.
62137         * soft-fp/floattitf.c: Likewise.
62138         * soft-fp/floatundidf.c: Likewise.
62139         * soft-fp/floatundisf.c: Likewise.
62140         * soft-fp/floatunditf.c: Likewise.
62141         * soft-fp/floatunsidf.c: Likewise.
62142         * soft-fp/floatunsisf.c: Likewise.
62143         * soft-fp/floatunsitf.c: Likewise.
62144         * soft-fp/floatuntidf.c: Likewise.
62145         * soft-fp/floatuntisf.c: Likewise.
62146         * soft-fp/floatuntitf.c: Likewise.
62147         * soft-fp/fmadf4.c: Likewise.
62148         * soft-fp/fmasf4.c: Likewise.
62149         * soft-fp/fmatf4.c: Likewise.
62150         * soft-fp/gedf2.c: Likewise.
62151         * soft-fp/gesf2.c: Likewise.
62152         * soft-fp/getf2.c: Likewise.
62153         * soft-fp/ledf2.c: Likewise.
62154         * soft-fp/lesf2.c: Likewise.
62155         * soft-fp/letf2.c: Likewise.
62156         * soft-fp/muldf3.c: Likewise.
62157         * soft-fp/mulsf3.c: Likewise.
62158         * soft-fp/multf3.c: Likewise.
62159         * soft-fp/negdf2.c: Likewise.
62160         * soft-fp/negsf2.c: Likewise.
62161         * soft-fp/negtf2.c: Likewise.
62162         * soft-fp/op-1.h: Likewise.
62163         * soft-fp/op-2.h: Likewise.
62164         * soft-fp/op-4.h: Likewise.
62165         * soft-fp/op-8.h: Likewise.
62166         * soft-fp/op-common.h: Likewise.
62167         * soft-fp/quad.h: Likewise.
62168         * soft-fp/single.h: Likewise.
62169         * soft-fp/soft-fp.h: Likewise.
62170         * soft-fp/sqrtdf2.c: Likewise.
62171         * soft-fp/sqrtsf2.c: Likewise.
62172         * soft-fp/sqrttf2.c: Likewise.
62173         * soft-fp/subdf3.c: Likewise.
62174         * soft-fp/subsf3.c: Likewise.
62175         * soft-fp/subtf3.c: Likewise.
62176         * soft-fp/truncdfsf2.c: Likewise.
62177         * soft-fp/trunctfdf2.c: Likewise.
62178         * soft-fp/trunctfsf2.c: Likewise.
62179         * soft-fp/trunctfxf2.c: Likewise.
62180         * soft-fp/unorddf2.c: Likewise.
62181         * soft-fp/unordsf2.c: Likewise.
62182         * soft-fp/unordtf2.c: Likewise.
62184 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
62186         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
62187         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
62189 2013-10-15   Ondƙej BĂ­lka  <neleai@seznam.cz>
62191         * elf/dl-libc.c: Clear initfini list after freeing.
62193 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
62195         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
62196         * soft-fp/addsf3.c: Likewise.
62197         * soft-fp/addtf3.c: Likewise.
62198         * soft-fp/divdf3.c: Likewise.
62199         * soft-fp/divsf3.c: Likewise.
62200         * soft-fp/divtf3.c: Likewise.
62201         * soft-fp/double.h: Likewise.
62202         * soft-fp/eqdf2.c: Likewise.
62203         * soft-fp/eqsf2.c: Likewise.
62204         * soft-fp/eqtf2.c: Likewise.
62205         * soft-fp/extenddftf2.c: Likewise.
62206         * soft-fp/extended.h: Likewise.
62207         * soft-fp/extendsfdf2.c: Likewise.
62208         * soft-fp/extendsftf2.c: Likewise.
62209         * soft-fp/extendxftf2.c: Likewise.
62210         * soft-fp/fixdfdi.c: Likewise.
62211         * soft-fp/fixdfsi.c: Likewise.
62212         * soft-fp/fixdfti.c: Likewise.
62213         * soft-fp/fixsfdi.c: Likewise.
62214         * soft-fp/fixsfsi.c: Likewise.
62215         * soft-fp/fixsfti.c: Likewise.
62216         * soft-fp/fixtfdi.c: Likewise.
62217         * soft-fp/fixtfsi.c: Likewise.
62218         * soft-fp/fixtfti.c: Likewise.
62219         * soft-fp/fixunsdfdi.c: Likewise.
62220         * soft-fp/fixunsdfsi.c: Likewise.
62221         * soft-fp/fixunsdfti.c: Likewise.
62222         * soft-fp/fixunssfdi.c: Likewise.
62223         * soft-fp/fixunssfsi.c: Likewise.
62224         * soft-fp/fixunssfti.c: Likewise.
62225         * soft-fp/fixunstfdi.c: Likewise.
62226         * soft-fp/fixunstfsi.c: Likewise.
62227         * soft-fp/fixunstfti.c: Likewise.
62228         * soft-fp/floatdidf.c: Likewise.
62229         * soft-fp/floatdisf.c: Likewise.
62230         * soft-fp/floatditf.c: Likewise.
62231         * soft-fp/floatsidf.c: Likewise.
62232         * soft-fp/floatsisf.c: Likewise.
62233         * soft-fp/floatsitf.c: Likewise.
62234         * soft-fp/floattidf.c: Likewise.
62235         * soft-fp/floattisf.c: Likewise.
62236         * soft-fp/floattitf.c: Likewise.
62237         * soft-fp/floatundidf.c: Likewise.
62238         * soft-fp/floatundisf.c: Likewise.
62239         * soft-fp/floatunsidf.c: Likewise.
62240         * soft-fp/floatunsisf.c: Likewise.
62241         * soft-fp/floatuntidf.c: Likewise.
62242         * soft-fp/floatuntisf.c: Likewise.
62243         * soft-fp/floatuntitf.c: Likewise.
62244         * soft-fp/fmadf4.c: Likewise.
62245         * soft-fp/fmasf4.c: Likewise.
62246         * soft-fp/fmatf4.c: Likewise.
62247         * soft-fp/gedf2.c: Likewise.
62248         * soft-fp/gesf2.c: Likewise.
62249         * soft-fp/getf2.c: Likewise.
62250         * soft-fp/ledf2.c: Likewise.
62251         * soft-fp/lesf2.c: Likewise.
62252         * soft-fp/letf2.c: Likewise.
62253         * soft-fp/muldf3.c: Likewise.
62254         * soft-fp/mulsf3.c: Likewise.
62255         * soft-fp/multf3.c: Likewise.
62256         * soft-fp/negdf2.c: Likewise.
62257         * soft-fp/negsf2.c: Likewise.
62258         * soft-fp/negtf2.c: Likewise.
62259         * soft-fp/op-1.h: Likewise.
62260         * soft-fp/op-2.h: Likewise.
62261         * soft-fp/op-4.h: Likewise.
62262         * soft-fp/op-8.h: Likewise.
62263         * soft-fp/op-common.h: Likewise.
62264         * soft-fp/quad.h: Likewise.
62265         * soft-fp/single.h: Likewise.
62266         * soft-fp/soft-fp.h: Likewise.
62267         * soft-fp/sqrtdf2.c: Likewise.
62268         * soft-fp/sqrtsf2.c: Likewise.
62269         * soft-fp/sqrttf2.c: Likewise.
62270         * soft-fp/subdf3.c: Likewise.
62271         * soft-fp/subsf3.c: Likewise.
62272         * soft-fp/subtf3.c: Likewise.
62273         * soft-fp/truncdfsf2.c: Likewise.
62274         * soft-fp/trunctfdf2.c: Likewise.
62275         * soft-fp/trunctfsf2.c: Likewise.
62276         * soft-fp/trunctfxf2.c: Likewise.
62277         * soft-fp/unorddf2.c: Likewise.
62278         * soft-fp/unordsf2.c: Likewise.
62279         * soft-fp/unordtf2.c: Likewise.
62281 2013-10-14   Ondƙej BĂ­lka  <neleai@seznam.cz>
62283         [BZ #15672]
62284         * misc/error.c (error_tail): Fix possible buffer overflow.
62286 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
62288         [BZ #13028]
62289         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
62290         address.
62292 2013-10-14  P. J. McDermott  <pj@pehjota.net>
62294         [BZ #832]
62295         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
62296         testing pipefail option.
62298 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
62300         * soft-fp/double.h: Indent preprocessor directives inside #if.
62301         * soft-fp/extended.h: Likewise.
62302         * soft-fp/op-2.h: Likewise.
62303         * soft-fp/op-4.h: Likewise.
62304         * soft-fp/op-common.h: Likewise.
62305         * soft-fp/quad.h: Likewise.
62306         * soft-fp/single.h: Likewise.
62307         * soft-fp/soft-fp.h: Likewise.
62309 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
62311         * iconv/iconv_prog.c: Fix typos.
62312         * stdio-common/psiginfo-data.h: Likewise.
62314 2013-10-12   Reuben Thomas <rrt@sc3d.org>
62316         [BZ #15764]
62317         * locale/setlocale.c: Fix typo.
62319 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
62321         [BZ #16036]
62322         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
62323         signaling NaN arguments.
62324         * soft-fp/unordsf2.c (__unordsf2): Likewise.
62325         * soft-fp/unordtf2.c (__unordtf2): Likewise.
62327         [BZ #14910]
62328         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
62329         unordered operands.
62330         * soft-fp/gesf2.c (__gesf2): Likewise.
62331         * soft-fp/getf2.c (__getf2): Likewise.
62332         * soft-fp/ledf2.c (__ledf2): Likewise.
62333         * soft-fp/lesf2.c (__lesf2): Likewise.
62334         * soft-fp/letf2.c (__letf2): Likewise.
62336         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
62337         * soft-fp/eqsf2.c (__eqsf2): Likewise.
62338         * soft-fp/eqtf2.c (__eqtf2): Likewise.
62339         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
62340         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
62341         * soft-fp/fixdfti.c (__fixdfti): Likewise.
62342         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
62343         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
62344         * soft-fp/fixsfti.c (__fixsfti): Likewise.
62345         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
62346         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
62347         * soft-fp/fixtfti.c (__fixtfti): Likewise.
62348         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
62349         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
62350         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
62351         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
62352         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
62353         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
62354         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
62355         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
62356         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
62357         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
62358         * soft-fp/floatdisf.c (__floatdisf): Likewise.
62359         * soft-fp/floatsisf.c (__floatsisf): Likewise.
62360         * soft-fp/floattidf.c (__floattidf): Likewise.
62361         * soft-fp/floattisf.c (__floattisf): Likewise.
62362         * soft-fp/floattitf.c (__floattitf): Likewise.
62363         * soft-fp/floatundidf.c (__floatundidf): Likewise.
62364         * soft-fp/floatundisf.c (__floatundisf): Likewise.
62365         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
62366         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
62367         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
62368         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
62369         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
62370         * soft-fp/gesf2.c (__gesf2): Likewise.
62371         * soft-fp/getf2.c (__getf2): Likewise.
62372         * soft-fp/ledf2.c (__ledf2): Likewise.
62373         * soft-fp/lesf2.c (__lesf2): Likewise.
62374         * soft-fp/letf2.c (__letf2): Likewise.
62376         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
62377         Undefine and redefine.
62378         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
62379         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
62380         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
62381         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
62382         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62383         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
62384         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62385         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
62386         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62387         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
62388         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62389         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
62390         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62391         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
62392         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62394         [BZ #16032]
62395         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
62396         without decrementing exponent if mantissa >= that for the
62397         denominator, not >.
62398         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
62399         denominator, not >.  Decrement exponent in < case instead of
62400         incrementing in >= case.
62401         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
62402         without decrementing exponent if mantissa >= that for the
62403         denominator, not >.
62405         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
62406         computing saturated result for unsigned overflow.
62408 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62409             Jeff Law  <law@redhat.com>
62411         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
62412         (atan2Mp): Add systemtap probe marker.
62413         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
62414         (__ieee754_log): Add systemtap probe marker.
62415         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
62416         (atanMp): Add systemtap probe marker.
62417         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
62418         (tanMp): Add systemtap probe marker.
62419         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
62420         (__slowexp): Add systemtap probe marker.
62421         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
62422         (__slowpow): Add systemtap probe marker.
62423         * manual/probes.texi: Document probes.
62425 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
62427         [BZ #15362]
62428         * libio/fileops.c (_IO_new_file_write): Return count of bytes
62429         written.
62430         (_IO_new_file_xsputn): Don't return EOF if nothing has been
62431         written.
62432         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
62433         written to buffer but not flushed.
62434         * libio/iofwrite_u.c:  Likewise.
62435         * libio/iopadn.c:  Return bytes returned even if EOF was
62436         encountered.
62437         * libio/iowpadn.c:  Likewise.
62438         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
62439         if _IO_padn does not write the whole buffer.
62440         [!COMPILE_WPRINTF] (PAD): Likewise.
62442 2013-10-10  David S. Miller  <davem@davemloft.net>
62444         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
62445         directory block.
62447 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
62449         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
62450         instead of FSF address.
62451         * soft-fp/fixdfti.c: Likewise.
62452         * soft-fp/fixsfti.c: Likewise.
62453         * soft-fp/fixtfti.c: Likewise.
62454         * soft-fp/fixunsdfti.c: Likewise.
62455         * soft-fp/fixunssfti.c: Likewise.
62456         * soft-fp/fixunstfti.c: Likewise.
62457         * soft-fp/floattidf.c: Likewise.
62458         * soft-fp/floattisf.c: Likewise.
62459         * soft-fp/floattitf.c: Likewise.
62460         * soft-fp/floatuntidf.c: Likewise.
62461         * soft-fp/floatuntisf.c: Likewise.
62462         * soft-fp/floatuntitf.c: Likewise.
62463         * soft-fp/trunctfxf2.c: Likewise.
62465         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
62466         * soft-fp/fixdfti.c: Likewise.
62467         * soft-fp/fixsfti.c: Likewise.
62468         * soft-fp/fixtfti.c: Likewise.
62469         * soft-fp/fixunsdfti.c: Likewise.
62470         * soft-fp/fixunssfti.c: Likewise.
62471         * soft-fp/fixunstfti.c: Likewise.
62472         * soft-fp/floattidf.c: Likewise.
62473         * soft-fp/floattisf.c: Likewise.
62474         * soft-fp/floattitf.c: Likewise.
62475         * soft-fp/floatuntidf.c: Likewise.
62476         * soft-fp/floatuntisf.c: Likewise.
62477         * soft-fp/floatuntitf.c: Likewise.
62478         * soft-fp/trunctfxf2.c: Likewise.
62480 2013-10-10  David S. Miller  <davem@davemloft.net>
62482         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62484 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
62486         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
62487         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
62488         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
62489         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
62490         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
62491         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
62492         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
62494         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
62495         for NaNs before doing comparisons on argument.
62496         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
62497         Likewise.
62499 2013-10-10  Will Newton  <will.newton@linaro.org>
62501         * malloc/hooks.c (memalign_check): Ensure the value of bytes
62502         passed to _int_memalign does not overflow.
62504 2013-10-10  Torvald Riegel  <triegel@redhat.com>
62506         * scripts/bench.pl: Add include-sources directive.
62507         * benchtests/README: Update documentation.
62509 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
62511         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
62512         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
62513         instead of FP_INIT_ROUNDMODE.
62514         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
62515         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
62517         [BZ #16034]
62518         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
62519         copy class of input value.
62520         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
62521         not handle exceptions.
62522         * soft-fp/negsf2.c (__negsf2): Likewise.
62523         * soft-fp/negtf2.c (__negtf2): Likewise.
62524         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
62526 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
62528         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
62529         semicolon.  From Linux kernel.
62531 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
62533         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
62535 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
62537         [BZ #156]
62538         * manual/socket.texi: Added statement about buffer
62539         for gethostbyname2_r.
62541 2013-10-08  Ondƙej BĂ­lka  <neleai@seznam.cz>
62543         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
62544         Use .p2align directive instead, throughout.
62545         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62546         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
62547         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
62548         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62549         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62550         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
62551         * sysdeps/x86_64/strchr.S: Likewise.
62552         * sysdeps/x86_64/strrchr.S: Likewise.
62554 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
62556         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
62558         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
62560         * sysdeps/generic/math_private.h (__mpsin1): Remove
62561         declaration.
62562         (__mpcos1): Likewise.
62563         (__mpsin): New argument __range_reduce.
62564         (__mpcos): Likewise.
62565         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62566         (slow): Use __mpsin and __mpcos.
62567         (slow1): Likewise.
62568         (slow2): Likewise.
62569         (sloww): Likewise.
62570         (sloww1): Likewise.
62571         (sloww2): Likewise.
62572         (bsloww): Likewise.
62573         (bsloww1): Likewise.
62574         (bsloww2): Likewise.
62575         (cslow2): Likewise.
62576         (csloww): Likewise.
62577         (csloww1): Likewise.
62578         (csloww2): Likewise.
62579         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
62580         range_reduce.  Merge in __mpsin1.
62581         (__mpcos): Likewise.
62582         (__mpsin1): Remove.
62583         (__mpcos1): Likewise.
62585 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
62587         * locale/loadlocale.c (_nl_intern_locale_data): Use
62588         LOCFILE_ALIGNED_P.
62589         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
62590         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
62591         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
62592         obstack data is appropriately aligned.
62593         (obstack_int32_grow_fast): Likewise.
62594         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
62595         * locale/programs/locfile.c (add_locale_uint32): Likewise.
62596         (add_locale_uint32_array): Likewise.
62598 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62600         * benchtests/Makefile: Remove ARGLIST and RET variables.
62601         ($(objpfx)bench-%.c): Pass only function name to the script.
62602         * benchtests/README: Update documentation.
62603         * benchtests/acos-inputs: Add new directives.
62604         * benchtests/acosh-inputs: Likewise.
62605         * benchtests/asin-inputs: Likewise.
62606         * benchtests/asinh-inputs: Likewise.
62607         * benchtests/atan-inputs: Likewise.
62608         * benchtests/atanh-inputs: Likewise.
62609         * benchtests/cos-inputs: Likewise.
62610         * benchtests/cosh-inputs: Likewise.
62611         * benchtests/exp-inputs: Likewise.
62612         * benchtests/log-inputs: Likewise.
62613         * benchtests/pow-inputs: Likewise.
62614         * benchtests/rint-inputs: Likewise.
62615         * benchtests/sin-inputs: Likewise.
62616         * benchtests/sinh-inputs: Likewise.
62617         * benchtests/tan-inputs: Likewise.
62618         * benchtests/tanh-inputs: Likewise.
62619         * scripts/bench.pl: Add support for new directives.
62621 2013-10-07  Alan Modra  <amodra@gmail.com>
62623         * README: Fix careless merge.
62625 2013-10-05  Alan Modra  <amodra@gmail.com>
62627         * NEWS: Mention powerpc64le support and bugs fixed.
62628         * README: Both big-endian and little-endian powerpc64 supported.
62630 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62632         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
62633         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
62634         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
62635         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
62637 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
62639         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
62640         match prototype.
62642 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
62644         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
62645         Move -mhard-float appending from
62646         ports/sysdeps/powerpc/powerpc32/Makefile.
62647         [$(with-fp) = yes] (ASFLAGS): Likewise.
62648         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
62649         * sysdeps/powerpc/nofpu: Move directory from
62650         ports/sysdeps/powerpc/nofpu.
62651         * sysdeps/powerpc/soft-fp: Move directory from
62652         ports/sysdeps/powerpc/soft-fp.
62653         * sysdeps/powerpc/powerpc32/405: Move directory from
62654         ports/sysdeps/powerpc/powerpc32/405.
62655         * sysdeps/powerpc/powerpc32/440: Move directory from
62656         ports/sysdeps/powerpc/powerpc32/440.
62657         * sysdeps/powerpc/powerpc32/464: Move directory from
62658         ports/sysdeps/powerpc/powerpc32/464.
62659         * sysdeps/powerpc/powerpc32/476: Move directory from
62660         ports/sysdeps/powerpc/powerpc32/476.
62661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
62662         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
62663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
62664         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
62665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
62666         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
62667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
62668         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
62669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
62670         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
62671         * README: Update for powerpc-*-linux-gnu software floating point
62672         support in libc.
62674         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
62675         case to powerpc/powerpc32*.
62676         * sysdeps/unix/sysv/linux/configure: Regenerated.
62678         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
62679         (_FPU_MASK_OM): Define as 0x04.
62680         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
62681         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
62682         0x00c10080.
62683         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
62684         0x0000003c.
62685         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
62687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
62688         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62689         getcontext_e500.
62690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
62691         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62692         setcontext_e500.
62693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
62694         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
62695         and setcontext_e500.
62697 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
62699         * locale/iso-3166.def: Update iso-1366.def and related occurrences
62701 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62703         * manual/threads.texi (Default Thread Attributes): Fix typo.
62705 2013-10-04  Will Newton  <will.newton@linaro.org>
62707         * malloc/Makefile: Add tst-memalign.
62708         * malloc/tst-memalign.c: New file.
62710         * malloc/tst-posix_memalign.c: Add comments.
62711         (do_test): Add comments and call free on all potentially
62712         allocated pointers. Add space after cast.
62714         * malloc/tst-pvalloc.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         * malloc/tst-valloc.c: Add comments.
62720         (do_test): Add comments and call free on all potentially
62721         allocated pointers. Remove duplicate check for NULL pointer.
62722         Add space after cast.
62724 2013-10-04  Alan Modra  <amodra@gmail.com>
62726         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62727         Use stdint types in rather than __attribute__((mode())).
62728         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62730 2013-10-04  Alan Modra  <amodra@gmail.com>
62732         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62733         Correct handling of unaligned relocs for little-endian.
62734         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62736 2013-10-04  Alan Modra  <amodra@gmail.com>
62738         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
62739         * configure: Regenerate.
62740         * nptl/shlib-versions: Powerpc*le starts at 2.18.
62741         * shlib-versions: Likewise.
62743 2013-10-04  Alan Modra  <amodra@gmail.com>
62745         * string/tester.c (test_memrchr): Increment reported test cycle.
62747 2013-10-04  Alan Modra  <amodra@gmail.com>
62749         * string/test-memcpy.c (do_one_test): When reporting errors, print
62750         string address and don't overrun end of string.
62752 2013-10-04  Alan Modra  <amodra@gmail.com>
62754         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
62755         insrdi.  Make better use of reg selection to speed exit slightly.
62756         Schedule entry path a little better.  Remove useless "are we done"
62757         checks on entry to main loop.  Handle wrapping around zero address.
62758         Correct main loop count.  Handle single left-over word from main
62759         loop inline rather than by using loop_small.  Remove extra word
62760         case in loop_small caused by wrong loop count.  Add little-endian
62761         support.
62762         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62763         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
62764         cache hint.
62765         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62766         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
62767         support.  Avoid rlwimi.
62768         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
62770 2013-10-04  Alan Modra  <amodra@gmail.com>
62772         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
62773         insrdi.  Formatting.
62774         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
62775         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62776         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
62777         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62778         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62779         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
62781 2013-10-04  Alan Modra  <amodra@gmail.com>
62783         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
62784         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62785         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
62786         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
62787         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62788         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62789         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62790         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62791         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
62792         use of regs.  Use power7 mtocrf.  Tidy function tails.
62794 2013-10-04  Alan Modra  <amodra@gmail.com>
62796         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
62797         Formatting.  Consistently use rXXX register defines or rN defines.
62798         Use early exit labels that avoid restoring unused non-volatile regs.
62799         Make cr field use more consistent with rWORDn compares.  Rename
62800         regs used as shift registers for unaligned loop, using rN defines
62801         for short lifetime/multiple use regs.
62802         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62803         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
62804         addi 1,1,64 to pop stack frame.  Simplify return value code.
62805         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62807 2013-10-04  Alan Modra  <amodra@gmail.com>
62809         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
62810         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
62811         rather than rlwimi.
62812         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
62813         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
62814         little-endian support.  Correct typos.
62815         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
62816         rather than rlwimi.
62817         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
62818         in loop and entry code to keep "and." results.
62819         (strchr): Add little-endian support.  Comment.  Move cntlzd
62820         earlier in tail.
62821         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
62823 2013-10-04  Alan Modra  <amodra@gmail.com>
62825         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
62826         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
62827         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
62828         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
62830 2013-10-04  Alan Modra  <amodra@gmail.com>
62832         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
62833         (rTMP): Define as r11.
62834         (strcmp): Add little-endian support.  Optimise tail.
62835         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
62836         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62837         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62838         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62839         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62840         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62841         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62843 2013-10-04  Alan Modra  <amodra@gmail.com>
62845         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
62846         little-endian support.  Remove unnecessary "are we done" tests.
62847         Handle "s" wrapping around zero and extremely large "size".
62848         Correct main loop count.  Handle single left-over word from main
62849         loop inline rather than by using small_loop.  Correct comments.
62850         Delete "zero" tail, use "end_max" instead.
62851         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
62853 2013-10-04  Alan Modra  <amodra@gmail.com>
62855         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
62856         support.  Don't branch over align.
62857         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
62858         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
62859         support.  Rearrange tmp reg use to suit.  Comment.
62860         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
62862 2013-10-04  Alan Modra  <amodra@gmail.com>
62864         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
62866 2013-10-04  Alan Modra  <amodra@gmail.com>
62868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
62869         conditional form of branch and link when obtaining pc.
62870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
62872 2013-10-04  Alan Modra  <amodra@gmail.com>
62874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
62875         HIWORD/LOWORD.
62876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
62877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
62879 2013-10-04  Alan Modra  <amodra@gmail.com>
62881         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
62882         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
62883         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
62884         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
62885         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
62886         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62887         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
62888         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62889         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
62890         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
62892 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62893             Alistair Popple <alistair@ozlabs.au.ibm.com>
62894             Alan Modra <amodra@gmail.com>
62896         [BZ #15723]
62897         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
62898         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
62899         _dl_hwcap access for little-endian.
62900         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
62901         destroy vmx regs when saving unaligned.
62902         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
62903         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
62904         destroy vmx regs when saving unaligned.
62906 2013-10-04  Alan Modra  <amodra@gmail.com>
62908         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
62909         Don't use a union to pack hi/low value.
62911 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62913         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
62914         for little-endian.
62915         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62916         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
62917         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62918         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62919         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62921 2013-10-04  Alan Modra  <amodra@gmail.com>
62923         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
62924         constants to usual value for .cst8 section, and remove redundant
62925         high address load.
62926         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
62927         constant for 0x1p52.  Load little-endian words of double from
62928         correct stack offsets.
62930 2013-10-04  Alan Modra  <amodra@gmail.com>
62932         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
62933         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
62934         words of double from correct stack offsets.
62935         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
62936         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
62937         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62938         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62939         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62940         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62941         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62942         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
62943         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
62944         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62945         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62946         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62947         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62948         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62949         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62950         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
62951         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
62953 2013-10-04  Alan Modra  <amodra@gmail.com>
62955         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
62956         64-bit int/double union.
62957         (_FPU_SETCW): Likewise.
62958         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
62959         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
62961 2013-10-04  Alan Modra  <amodra@gmail.com>
62963         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
62964         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
62966 2013-10-04  Alan Modra  <amodra@gmail.com>
62968         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
62969         use vector int constants.
62970         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
62972 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62974         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
62975         array with long long.
62976         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
62977         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
62978         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
62979         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
62980         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
62981         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
62982         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
62983         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
62984         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
62985         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
62986         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
62987         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
62988         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
62990 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62992         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
62993         (__signbit): Likewise.  Correct for little-endian.
62994         (__signbitl): Call __signbit.
62995         (lrint): Correct for little-endian.
62996         (lrintf): Call lrint.
62998 2013-10-04  Alan Modra  <amodra@gmail.com>
63000         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
63001         union 32-bit int array member with 64-bit int array.
63002         (t515, tm256): Double rather than long double.
63003         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
63005 2013-10-04  Alan Modra  <amodra@gmail.com>
63007         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
63008         Delete.
63009         (IEEE854_LONG_DOUBLE_BIAS): Delete.
63010         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
63011         version of math_ldbl.h.
63013 2013-10-04  Alan Modra  <amodra@gmail.com>
63015         [BZ #15734], [BZ #15735]
63016         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
63017         all uses of ieee875 long double macros and unions.  Simplify test
63018         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
63019         ldbl_extract_mantissa value for ix,iy exponents.  Properly
63020         normalize after ldbl_extract_mantissa, and don't add hidden bit
63021         already handled.  Don't treat low word of ieee854 mantissa like
63022         low word of IBM long double and mask off bit when testing for
63023         zero.
63024         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
63025         all uses of ieee875 long double macros and unions.  Simplify tests
63026         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
63027         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
63028         two1022, instead use their values.  Recognise that tests for large
63029         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
63030         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
63031         Rewrite all uses of ieee875 long double macros and unions.  Simplify
63032         test for 0.0L and nan.  Correct negation.
63033         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
63034         ieee875 long double macros and unions.  Correct output for large
63035         magnitude x.  Correct absolute value calculation.
63036         (__erfcl): Likewise.
63037         * math/libm-test.inc: Add tests for errors discovered in IBM long
63038         double versions of fmodl, remainderl, erfl and erfcl.
63040 2013-10-04  Alan Modra  <amodra@gmail.com>
63042         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
63043         all uses of ieee854 long double macros and unions.  Simplify tests
63044         for long doubles that are fully specified by the high double.
63045         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
63046         Likewise.
63047         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
63048         Remove dead code too.
63049         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
63050         (__ieee754_ynl): Likewise.
63051         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
63052         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
63053         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
63054         Remove dead code too.
63055         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
63056         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
63057         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
63058         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
63059         Simplify.
63060         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
63061         Simplify.
63062         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
63063         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
63064         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
63065         Comment on variable precision.
63066         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
63067         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
63068         Likewise.
63069         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
63070         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63071         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63072         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
63073         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
63075 2013-10-04  Alan Modra  <amodra@gmail.com>
63077         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
63078         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
63079         all uses of ieee854 long double macros and unions.
63080         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
63081         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
63082         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
63083         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
63084         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
63085         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
63086         Likewise.
63087         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
63088         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
63089         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
63090         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
63091         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
63092         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
63093         Simplify sign and nan test too.
63094         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
63095         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
63096         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
63097         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
63098         Likewise.
63099         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
63100         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
63101         Likewise.
63102         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63103         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
63104         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
63105         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
63106         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
63107         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
63109 2013-10-04  Alan Modra  <amodra@gmail.com>
63111         * stdio-common/printf_size.c (__printf_size): Don't use
63112         union ieee854_long_double in fpnum union.
63113         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
63114         signbit macro to retrieve sign from long double.
63115         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
63116         retrieve sign from long double.
63117         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
63118         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
63119         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
63120         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
63121         * math/test-misc.c (main): Don't use union ieee854_long_double.
63123 2013-10-04  Alan Modra  <amodra@gmail.com>
63125         [BZ #15680]
63126         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
63127         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
63128         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
63129         calculation.  Remove unnecessary test for denormal exponent.
63130         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
63131         Correct handling of denormals.  Avoid undefined shift behaviour.
63132         Correct normalisation of low mantissa when low double is denormal.
63133         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
63134         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
63135         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
63136         Correct normalisation of low mantissa.  Test for overflow of high
63137         mantissa and normalise.
63138         (ldbl_nearbyint): Use more readable constant for two52.
63139         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
63140         (__mpn_construct_long_double): Fix test for overflow of high
63141         mantissa and correct normalisation.  Avoid undefined shift.
63143 2013-10-04  Alan Modra  <amodra@gmail.com>
63145         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63146         (union ibm_extended_long_double): Define as an array of ieee754_double.
63147         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
63148         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
63149         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
63150         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63151         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63152         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
63153         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63154         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
63155         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
63156         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
63157         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63159 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
63161         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
63162         page size instead of calling getpagesize.
63164         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
63165         (LOCFILE_ALIGN_MASK): Likewise.
63166         (LOCFILE_ALIGN_UP): Likewise.
63167         (LOCFILE_ALIGNED_P): Likewise.
63168         * locale/programs/ld-collate.c (collate_output): Use the new
63169         macros instead of __alignof__ (int32_t).
63170         * locale/weight.h (findidx): Likewise.
63172 2013-10-03  Ondƙej BĂ­lka  <neleai@seznam.cz>
63174         [BZ #431]
63175         * manual/string.texi: Fix strncat and wcsncat.
63177 2013-10-03  Brooks Moses  <bmoses@google.com>
63179         [BZ #15915]
63180         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
63181         * Makerules: ...here, and adjust associated comments.
63183 2013-10-02  Will Newton  <will.newton@linaro.org>
63185         * malloc/Makefile: Add tst-pvalloc.
63186         * malloc/tst-pvalloc.c: New file.
63188 2013-10-02  Will Newton  <will.newton@linaro.org>
63190         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
63191         improve test coverage.
63193 2013-10-02  Will Newton  <will.newton@linaro.org>
63195         * malloc/Makefile: Add tst-posix_memalign.
63196         * malloc/tst-posix_memalign.c: New file.
63198 2013-10-01  Eric Blake  <eblake@redhat.com>
63200         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
63201         Use __THROWNL rather than __THROW on static functions.
63203 2013-09-30  Petr Machata  <pmachata@redhat.com>
63205         * elf/elf.h (R_AARCH64_ABS16): New macro.
63206         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
63207         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
63208         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
63209         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
63210         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
63211         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
63212         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
63213         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
63214         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
63215         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
63216         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
63217         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
63218         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
63219         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
63220         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
63221         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
63222         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
63223         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
63224         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
63225         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
63226         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
63227         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
63228         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
63229         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
63230         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
63231         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
63232         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
63233         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
63234         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
63235         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
63236         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
63237         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
63238         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
63239         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
63240         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
63241         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
63242         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
63243         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
63244         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
63245         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
63246         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
63247         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
63248         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
63249         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
63250         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
63251         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
63252         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
63253         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
63254         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
63255         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
63256         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
63257         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
63258         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
63259         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
63260         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
63261         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
63262         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
63263         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
63264         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
63265         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
63266         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
63267         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
63268         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
63269         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
63270         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
63271         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
63272         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
63273         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
63274         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
63275         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
63276         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
63277         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
63278         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
63279         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
63280         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
63281         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
63282         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
63283         (R_AARCH64_TLSDESC_LDR): Likewise.
63284         (R_AARCH64_TLSDESC_ADD): Likewise.
63285         (R_AARCH64_TLSDESC_CALL): Likewise.
63287 2013-09-30  Andreas Schwab  <schwab@suse.de>
63289         [BZ #15048]
63290         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
63291         the nss database lookup.
63292         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63293         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63295 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
63297         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
63299 2013-09-28  P. J. McDermott  <pj@pehjota.net>
63301         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
63302         ${Bash-specific parameter/pattern/string} parameter expansion.
63303         * sysdeps/unix/make-syscalls.sh: Likewise.
63305 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63307         * sysdeps/sh/stackguard-macros.h: New file.
63309 2013-09-26  Ondƙej BĂ­lka  <neleai@seznam.cz>
63311         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
63312         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
63313         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
63314         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
63315         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63316         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
63318 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63320         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
63321         Fix thread ID register.
63323 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
63325         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
63326         [POSIX || UNIX98]: Require rather than permitting all symbols from
63327         <time.h>.
63328         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
63329         element of struct sched_param.
63330         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
63331         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
63332         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
63333         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
63334         constant.
63336 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
63338         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
63339         argument calculation.
63341 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
63343         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
63344         Expect macro.
63345         [POSIX] (pthread_attr_t): Do not require type.
63346         [POSIX] (pthread_cond_t): Likewise.
63347         [POSIX] (pthread_condattr_t): Likewise.
63348         [POSIX] (pthread_key_t): Likewise.
63349         [POSIX] (pthread_mutex_t): Likewise.
63350         [POSIX] (pthread_mutexattr_t): Likewise.
63351         [POSIX] (pthread_once_t): Likewise.
63352         [POSIX] (pthread_t): Likewise.
63353         [POSIX-based standards] (pthread_atfork): Expect function.
63355 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
63356             Richard Sandiford  <richard@codesourcery.com>
63358         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
63359         (swap_endianness_p): New extern variable.
63360         (set_big_endian): New inline function.
63361         (maybe_swap_uint32): Likewise.
63362         (maybe_swap_uint32_array): Likewise.
63363         (maybe_swap_uint32_obstack): Likewise.
63364         * locale/programs/locfile.c: Include <stdbool.h>.
63365         (swap_endianness_p): New variable.
63366         (add_locale_uint32): Call maybe_swap_uint32.
63367         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
63368         (write_locale_data): Call maybe_swap_uint32_array.
63369         * locale/programs/ld-collate.c (obstack_int32_grow): Call
63370         maybe_swap_uint32.
63371         (obstack_int32_grow_fast): Likewise.
63372         (output_weightwc): Call maybe_swap_uint32_obstack.
63373         (collate_output): Likewise.
63374         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
63375         (OPT_LITTLE_ENDIAN): Likewise.
63376         (options): Add --little-endian and --big-endian options.
63377         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
63378         * locale/programs/locarchive.c: Include "locfile.h".
63379         (GET): New macro.
63380         (SET): Likewise.
63381         (INC): Likewise.
63382         (create_archive): Use the new macros to access fields of
63383         structures directly mapped from or written to locale archives.
63384         (oldlocrecentcmp): Likewise.
63385         (enlarge_archive): Likewise.
63386         (insert_name): Likewise.
63387         (add_alias): Likewise.
63388         (add_locale): Likewise.
63389         (delete_locales_from_archive): Likewise.
63390         (show_archive_content): Likewise.
63391         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
63392         locale data.
63394 2013-09-24  Roland McGrath  <roland@hack.frob.com>
63396         * manual/freemanuals.texi: Updated from (newly) canonical copy at
63397         http://www.gnu.org/doc/freemanuals.texi.
63398         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
63400 2013-09-24  Will Newton  <will.newton@linaro.org>
63402         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
63403         macro.
63405 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
63407         * locale/hashval.h (compute_hashval): Interpret bytes of key as
63408         unsigned char.
63410 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
63412         * manual/threads.texi (POSIX Threads): Fix a typo.
63414 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
63416         [BZ #14547]
63417         * string/tst-strcoll-overflow.c: New test case.
63418         * string/Makefile (xtests): Add tst-strcoll-overflow.
63419         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
63420         cache if string sizes may cause integer overflow.
63422         [BZ #14547]
63423         * string/strcoll_l.c (coll_seq): New members rule, idx,
63424         save_idx and back_us.
63425         (get_next_seq_nocache): New function.
63426         (do_compare_nocache): New function.
63427         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
63428         when malloc fails.
63430 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
63432         [BZ #15754]
63433         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
63434         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
63435         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
63437         [BZ #15754]
63438         * elf/Makefile (tests): Add tst-ptrguard1.
63439         (tests-static): Add tst-ptrguard1-static.
63440         (tst-ptrguard1-ARGS): Define.
63441         (tst-ptrguard1-static-ARGS): Define.
63442         * elf/tst-ptrguard1.c: New file.
63443         * elf/tst-ptrguard1-static.c: New file.
63444         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
63445         * sysdeps/i386/stackguard-macros.h: Likewise.
63446         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63447         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63448         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63449         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63450         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63451         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63453 2013-09-23  Hector Marco  <hecmargi@upv.es>
63454             Ismael Ripoll  <iripoll@disca.upv.es>
63455             Carlos O'Donell  <carlos@redhat.com>
63457         [BZ #15754]
63458         * sysdeps/generic/stackguard-macros.h: Define
63459         __pointer_chk_guard_local and POINTER_CHK_GUARD.
63460         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
63461         Define __pointer_chk_guard_local.
63462         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
63463         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
63465 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
63467         [BZ #15859]
63468         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
63470 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
63472         * include/string.h (__ffs): Declare as hidden.
63473         * string/ffs.c (__ffs): Define as hidden.
63474         * sysdeps/i386/ffs.c (__ffs): Likewise.
63475         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
63476         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
63477         * sysdeps/s390/ffs.c (__ffs): Likewise.
63478         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
63480 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
63482         * NEWS: Mention malloc probes.
63484         * malloc/arena.c (new_heap): New memory_heap_new probe.
63485         (grow_heap): New memory_heap_more probe.
63486         (shrink_heap): New memory_heap_less probe.
63487         (heap_trim): New memory_heap_free probe.
63488         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
63489         (systrim): New memory_sbrk_less probe.
63490         * manual/probes.texi: Document them.
63492         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
63493         * manual/probes.texi: Document it.
63495         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
63496         (__libc_realloc): Add memory_realloc_retry probe.
63497         (__libc_memalign): Add memory_memalign_retry probe.
63498         (__libc_valloc): Add memory_valloc_retry probe.
63499         (__libc_pvalloc): Add memory_pvalloc_retry probe.
63500         (__libc_calloc): Add memory_calloc_retry probe.
63501         * manual/probes.texi: Document them.
63503         * malloc/arena.c (get_free_list): Add probe
63504         memory_arena_reuse_free_list.
63505         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
63506         and memory_arena_reuse.
63507         (arena_get2) [!PER_THREAD]: Likewise.
63508         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
63509         memory_arena_reuse_realloc.
63510         * manual/probes.texi: Document them.
63512         * malloc/malloc.c (__libc_free): Add
63513         memory_mallopt_free_dyn_thresholds probe.
63514         (__libc_mallopt): Add multiple memory_mallopt probes.
63515         * manual/probes.texi: Document them.
63517         * malloc/malloc.c: Include stap-probe.h.
63518         (__libc_mallopt): Add memory_mallopt probe.
63519         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
63520         * manual/probes.texi: New.
63521         * manual/Makefile (chapters): Add probes.
63522         * manual/threads.texi: Set next node.
63524 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
63526         [BZ #15963, #13985]
63527         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
63528         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
63529         Add `Chinese' to `nan' entry name.
63531 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63533         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
63534         (POLYNOMIAL): Likewise.
63535         (TAYLOR_SINCOS): Likewise.
63536         (TAYLOR_SLOW): Likewise.
63537         (__sin): Use TAYLOR_SINCOS.
63538         (__cos): Likewise.
63539         (slow): Use TAYLOR_SLOW.
63540         (sloww): Likewise.
63541         (bsloww): Likewise.
63542         (csloww): Likewise.
63544 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63546         * stdlib/strtod_l.c: Fix buffer overrun.
63548 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63550         * benchtests/Makefile (bench): Add sincos.
63551         * benchtests/bench-sincos.c: New file.
63553         * math/libm-test.inc (cos_test_data): New test inputs.
63554         (sin_test_data): Likewise.
63556         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
63557         macro.
63558         (__sin): Use it.
63559         (__cos): Likewise.
63560         (slow1): Likewise.
63561         (slow2): Likewise.
63562         (sloww1): Likewise.
63563         (sloww2): Likewise.
63564         (bsloww1): Likewise.
63565         (bsloww2): Likewise.
63566         (cslow2): Likewise.
63567         (csloww1): Likewise.
63568         (csloww2): Likewise.
63570         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
63571         function.
63572         (__sin): Use it.
63573         (__cos): Likewise.
63575         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
63576         gotos.
63577         (__cos): Likewise.
63579 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
63581         * config.h.in (HAVE_MIPS_NAN2008): New macro.
63582         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
63583         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
63584         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
63585         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
63586         * elf/cache.c (print_entry): Handle the new cache flags.
63588 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
63589             Aldy Hernandez  <aldyh@redhat.com>
63591         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
63592         Change condition to [_SOFT_FLOAT].
63593         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
63594         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
63595         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
63596         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
63597         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
63598         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
63599         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
63600         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
63601         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
63602         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
63603         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
63604         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
63605         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
63606         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
63607         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
63608         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
63609         declaration.
63611 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
63613         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
63614         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63615         (__longjmp): Use LOAD_GP to load saved GPRs.
63616         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
63617         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63618         (__sigsetjmp): Use SAVE_GP to save GPRs.
63620         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
63621         Do not append -msoft-float.
63622         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
63624 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63626         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
63628 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
63630         [BZ #15966]
63631         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
63632         (_FPU_GETCW): Use initial "__" on variable and field names but not
63633         on macro parameter name.
63634         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
63635         parentheses around reference to macro parameter.
63637 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
63639         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
63640         prototype.
63641         (ctype_startup): Use uint32_t in cast and sizeof for
63642         ctype->charnames.
63644 2013-09-11  Jia Liu  <proljc@gmail.com>
63646         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
63647         __daddr_t_defined.
63648         [__FreeBSD__]: Likewise.
63650 2013-09-11  Ondƙej BĂ­lka  <neleai@seznam.cz>
63652         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
63653         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
63654         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
63655         (strchr): Remove __strchr_sse42 ifunc selection.
63656         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
63657         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
63659 2013-09-11  Will Newton  <will.newton@linaro.org>
63661         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
63662         parameter to RES. Remove hardcoded 1000 value.
63663         * benchtests/bench-skeleton.c (main): Pass RES parameter
63664         to TIMING_INIT and multiply result by 1000.
63666 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63668         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63670 2013-09-11  Andreas Schwab  <schwab@suse.de>
63672         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
63673         if not defined.
63674         (O_TMPFILE) [__USE_GNU]: Define.
63675         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
63676         Define.
63678 2013-09-11  Will Newton  <will.newton@linaro.org>
63680         [BZ #15857]
63681         * malloc/malloc.c (__libc_memalign): Check the value of bytes
63682         does not overflow.
63684 2013-09-11  Will Newton  <will.newton@linaro.org>
63686         [BZ #15856]
63687         * malloc/malloc.c (__libc_valloc): Check the value of bytes
63688         does not overflow.
63690 2013-09-11  Will Newton  <will.newton@linaro.org>
63692         [BZ #15855]
63693         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
63694         does not overflow.
63696 2013-09-10  Ondƙej BĂ­lka  <neleai@seznam.cz>
63698         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
63699         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63700         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63701         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63702         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63704 2013-09-10  Allan McRae  <allan@archlinux.org>
63706         [BZ #15748]
63707         * manual/arith.texi (Parsing of Floats): Clarify
63708         cross-reference.
63710         [BZ #15849]
63711         * manual/install.texi (Running make install): Mention
63712         --enable-pt-chown.
63713         * INSTALL: Regenerated.
63715 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
63717         * csu/init-first.c (_init): Remove the !SHARED condition around
63718         FPU control word initialization.
63719         * elf/dl-support.c (_dl_fpu_control): New variable.
63720         (_dl_aux_init) <AT_FPUCW>: Initialize it.
63721         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
63722         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
63723         * math/test-fpucw-static.c: New file.
63724         * math/test-fpucw-ieee.c: New file.
63725         * math/test-fpucw-ieee-static.c: New file.
63726         * math/Makefile (tests): Add `test-fpucw-ieee' and
63727         `$(tests-static)'.
63728         (tests-static): New variable.
63729         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
63730         dependency to...
63731         [($(build-shared),yes)]
63732         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
63733         ... this.
63734         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
63735         New dependency.
63737 2013-09-09  Allan McRae  <allan@archlinux.org>
63739         [BZ #15939]
63740         * manual/string.texi (Collation Functions): Fix typo in
63741         strcoll example.
63742         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
63744         [BZ #15893]
63745         * stdlib/isomac.c (get_null_defines): Fix memory leak.
63747         [BZ #15892]
63748         * libio/memstream.c (open_memstream): Fix memory leak.
63749         * libio/wmemstream.c (open_wmemstream): Likewise.
63751         [BZ #15895]
63752         * nscd/netgroupcache.c: Fix nesting of ifdefs.
63754 2013-09-09  Will Newton  <will.newton@linaro.org>
63756         * malloc/Makefile: Add tst-realloc to tests.
63757         * malloc/tst-realloc.c: New file.
63759 2013-09-09  Allan McRae  <allan@archlinux.org>
63761         [BZ #15844]
63762         * COPYING: Update from GNU website to fix FSF address.
63763         * COPYING.LIB: Likewise.
63765 2013-09-06  David S. Miller  <davem@davemloft.net>
63767         * po/zh_TW.po: Update Chinese (traditional) translation from
63768         translation project.
63770 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
63771             Joseph Myers  <joseph@codesourcery.com>
63773         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
63774         "localeinfo.h".
63775         (obstack_chunk_alloc): New macro.
63776         (obstack_chunk_free): Likewise.
63777         (record_offset): New function.
63778         (init_locale_data): Likewise.
63779         (align_locale_data): Likewise.
63780         (add_locale_empty): Likewise.
63781         (add_locale_raw_data): Likewise.
63782         (add_locale_raw_obstack): Likewise.
63783         (add_locale_string): Likewise.
63784         (add_locale_wstring): Likewise.
63785         (add_locale_uint32): Likewise.
63786         (add_locale_uint32_array): Likewise.
63787         (add_locale_char): Likewise.
63788         (start_locale_structure): Likewise.
63789         (end_locale_structure): Likewise.
63790         (start_locale_prelude): Likewise.
63791         (end_locale_prelude): Likewise.
63792         (write_locale_data): Take locale_file structure rather than an
63793         iovec.
63794         * locale/programs/locfile.h: Include "obstack.h".
63795         (struct locale_file): Change to store locale file contents instead
63796         of header.
63797         (init_locale_data): New prototype.
63798         (align_locale_data): Likewise.
63799         (add_locale_empty): Likewise.
63800         (add_locale_raw_data): Likewise.
63801         (add_locale_raw_obstack): Likewise.
63802         (add_locale_string): Likewise.
63803         (add_locale_wstring): Likewise.
63804         (add_locale_uint32): Likewise.
63805         (add_locale_uint32_array): Likewise.
63806         (add_locale_char): Likewise.
63807         (start_locale_structure): Likewise.
63808         (end_locale_structure): Likewise.
63809         (start_locale_prelude): Likewise.
63810         (end_locale_prelude): Likewise.
63811         (write_locale_data): Update prototype.
63812         * locale/programs/3level.h (struct TABLE): Remove result field.
63813         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
63814         Use new locale_file interface.
63815         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
63816         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
63817         * locale/programs/ld-address.c (address_output): Use new
63818         locale_file interface.
63819         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
63820         NO_ADD_LOCALE.
63821         (collate_finish): Don't call collseq_table_finalize.
63822         (collate_output): Use new locale_file interface.
63823         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
63824         in file.
63825         (NO_FINALIZE): Change to NO_ADD_LOCALE.
63826         (TABLE): Move defines earlier in file.
63827         (ELEMENT): Likewise.
63828         (DEFAULT): Likewise.
63829         (wctrans_table_add): Move macro and inline function earlier in
63830         file.
63831         (struct wctype_table): Move type earlier in file.
63832         (add_locale_wctype_table): New static prototype.
63833         (struct locale_ctype_t): Use logical types instead of struct iovec
63834         pointers for members.
63835         (ctype_output): Use new locale_file interface.
63836         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
63837         new locale_file interface.
63838         (allocate_arrays): Update for use of new locale_file interface.
63839         * locale/programs/ld-identification.c (identification_output): Use
63840         new locale_file interface.
63841         * locale/programs/ld-measurement.c (measurement_output): Likewise.
63842         * locale/programs/ld-messages.c (messages_output): Likewise.
63843         * locale/programs/ld-monetary.c (monetary_output): Likewise.
63844         * locale/programs/ld-name.c (name_output): Likewise.
63845         * locale/programs/ld-numeric.c (numeric_output): Likewise.
63846         * locale/programs/ld-paper.c (paper_output): Likewise.
63847         * locale/programs/ld-telephone.c (telephone_output): Likewise.
63848         * locale/programs/ld-time.c (time_output): Likewise.
63850 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63852         * benchtests/Makefile: Add memrchr benchmark.
63853         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
63854         benchmark as memrchr.
63855         * benchtests/bench-memrchr-ifunc.c: New file.
63856         * benchtests/bench-memrchr.c: New file.
63858 2013-09-06   Will Newton  <will.newton@linaro.org>
63860         * benchtests/Makefile (string-bench): Add memcpy.
63862 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
63863             Cong Wang  <amwang@redhat.com>
63865         [BZ #15850]
63866         * sysdeps/unix/sysv/linux/bits/in.h
63867         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
63868         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
63869         before __USE_KERNEL_IPV6_DEFS uses.
63870         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
63871         IPPROTO_BEETPH.
63872         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
63873         sockaddr_in6, or ipv6_mreq.
63875 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63877         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
63878         memory access for final bytes in some large inputs.
63879         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
63881 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63883         * string/test-memrchr.c: New file.
63884         * string/test-memrchr-ifunc.c: New file.
63885         * string/Makefile: Add new memrchr testcase.
63887 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
63889         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
63890         fanotify_init returns EPERM.
63892 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
63894         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
63895         errors.
63896         (top level): Treat second token from macro or constant entries for
63897         allowed headers as allowed.
63898         * include/complex.h: Condition internal declarations on
63899         [!_ISOMAC].
63900         * include/fenv.h: Condition include of <stdbool.h> and internal
63901         declarations on [!_ISOMAC].
63903 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
63905         [BZ #15923]
63906         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
63908 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
63910         * configure.in (--enable-versioning): Remove configure option.
63911         (libc_cv_asm_symver_directive): Remove configure test.
63912         (libc_cv_ld_version_script_option): Likewise.
63913         (VERSIONING): Remove variable and AC_SUBST.
63914         (DO_VERSIONING): Remove AC_DEFINE.
63915         * configure: Regenerated.
63916         * config.h.in (DO_VERSIONING): Remove macro.
63917         * Makerules [$(versioning) = yes]: Change conditionals to
63918         [$(build-shared) = yes].
63919         * config.make.in (versioning): Remove variable.
63920         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
63921         [$(build-shared) = yes].
63922         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
63923         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
63924         * elf/Makefile [$(versioning) = yes]: Change conditionals to
63925         [$(build-shared) = yes].
63926         * extra-lib.mk [$(versioning) = yes]: Likewise.
63927         * hurd/Makefile [$(versioning) = yes]: Likewise.
63928         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
63929         [SHARED].
63930         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
63931         [SHARED].
63932         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63933         [SHARED && !NO_HIDDEN].
63934         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
63935         [SHARED].
63936         [SHARED && DO_VERSIONING]: Likewise..
63937         * libio/Makefile [$(versioning) = yes]: Change conditionals to
63938         [$(build-shared) = yes].
63939         * manual/install.texi (--disable-versioning): Remove
63940         documentation.
63941         * INSTALL: Regenerated.
63942         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
63943         to [SHARED].
63944         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
63945         [$(build-shared) = yes].
63946         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
63947         * sysdeps/i386/i686/multiarch/strstr-c.c
63948         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63949         [SHARED && !NO_HIDDEN].
63950         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
63951         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
63952         * sysdeps/powerpc/powerpc32/dl-machine.c
63953         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
63954         * sysdeps/powerpc/powerpc32/sysdep.h
63955         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
63956         to [SHARED && PIC && !NO_HIDDEN].
63957         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
63958         conditional to [SHARED].
63960 2013-09-04   Will Newton  <will.newton@linaro.org>
63962         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
63963         * benchtests/bench-string.h: Include bench-timing.h instead
63964         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
63965         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
63966         call to HP_TIMING_DIFF_INIT.
63967         * benchtests/bench-memccpy.c: Use bench-timing.h macros
63968         instead of hp-timing.h macros.
63969         * benchtests/bench-memchr.c: Likewise.
63970         * benchtests/bench-memcmp.c: Likewise.
63971         * benchtests/bench-memcpy.c: Likewise.
63972         * benchtests/bench-memmem.c: Likewise.
63973         * benchtests/bench-memmove.c: Likewise.
63974         * benchtests/bench-memset.c: Likewise.
63975         * benchtests/bench-rawmemchr.c: Likewise.
63976         * benchtests/bench-strcasecmp.c: Likewise.
63977         * benchtests/bench-strcasestr.c: Likewise.
63978         * benchtests/bench-strcat.c: Likewise.
63979         * benchtests/bench-strchr.c: Likewise.
63980         * benchtests/bench-strcmp.c: Likewise.
63981         * benchtests/bench-strcpy.c: Likewise.
63982         * benchtests/bench-strcpy_chk.c: Likewise.
63983         * benchtests/bench-strlen.c: Likewise.
63984         * benchtests/bench-strncasecmp.c: Likewise.
63985         * benchtests/bench-strncat.c: Likewise.
63986         * benchtests/bench-strncmp.c: Likewise.
63987         * benchtests/bench-strncpy.c: Likewise.
63988         * benchtests/bench-strnlen.c: Likewise.
63989         * benchtests/bench-strpbrk.c: Likewise.
63990         * benchtests/bench-strrchr.c: Likewise.
63991         * benchtests/bench-strspn.c: Likewise.
63992         * benchtests/bench-strstr.c: Likewise.
63994 2013-09-04  Will Newton  <will.newton@linaro.org>
63996         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
63998 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
64000         [BZ #15427]
64001         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
64002         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
64003         * math/libm-test.inc (lgamma_test_data): Add more tests.
64004         * sysdeps/i386/fpu/libm-test-ulps: Update.
64005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64007 2013-09-03   Ondƙej BĂ­lka  <neleai@seznam.cz>
64009         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
64010         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
64011         Add ifunc.
64012         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
64013         Add strcmp-sse2-unaligned
64014         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
64016 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
64018         * Versions.def (libc): Add GLIBC_2.19.
64020 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
64022         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
64023         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
64025 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
64027         [BZ #14155]
64028         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
64029         intermediate calculations in recurrence.
64030         (__ieee754_ynf): Likewise.
64031         * math/libm-test.inc (jn_test_data): Do not allow spurious
64032         underflow exception.  Add more tests.
64033         (yn_test_data): Add more tests.
64034         * sysdeps/i386/fpu/libm-test-ulps: Update.
64035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64037 2013-09-02   Ondƙej BĂ­lka  <neleai@seznam.cz>
64039         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
64041 2013-08-30   Ondƙej BĂ­lka  <neleai@seznam.cz>
64043         * csu/init-first.c: Fix then/than typos.
64044         * locale/programs/ld-collate.c: Likewise.
64045         * locale/programs/linereader.h: Likewise.
64046         * manual/charset.texi: Likewise.
64047         * manual/filesys.texi: Likewise.
64048         * manual/stdio.texi: Likewise.
64049         * manual/string.texi: Likewise.
64050         * stdlib/fmtmsg.c: Likewise.
64051         * sysdeps/i386/stpncpy.S: Likewise.
64052         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64053         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
64054         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
64055         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
64057 2013-08-30   Ondƙej BĂ­lka  <neleai@seznam.cz>
64059         * elf/dl-open.c: Fix typos.
64060         * iconvdata/gbbig5.c: Likewise.
64061         * iconvdata/iso-2022-jp.c: Likewise.
64062         * iconv/gconv_int.h: Likewise.
64063         * iconv/loop.c: Likewise.
64064         * nis/rpcsvc/nis.h: Likewise.
64065         * resolv/ns_name.c: Likewise.
64066         * stdio-common/vfscanf.c: Likewise.
64067         * streams/stropts.h: Likewise.
64068         * sunrpc/rpc_thread.c: Likewise.
64069         * sysdeps/i386/strpbrk.S: Likewise.
64070         * sysdeps/ieee754/k_standard.c: Likewise.
64071         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64072         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64073         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
64074         * sysdeps/mach/hurd/profil.c: Likewise.
64075         * sysdeps/s390/dl-procinfo.h: Likewise.
64076         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
64077         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
64078         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
64079         * sysdeps/x86_64/dl-trampoline.S: Likewise.
64080         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
64082 2013-08-30  Ondƙej BĂ­lka  <neleai@seznam.cz>
64084         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
64085         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
64087 2013-08-29  Ondƙej BĂ­lka  <neleai@seznam.cz>
64089         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
64090         aix specific files.
64091         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
64092         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
64093         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
64094         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
64095         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
64096         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
64097         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
64098         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
64100 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
64101             Roland McGrath  <roland@hack.frob.com>
64103         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
64104         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
64106 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64108         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
64109         __executable_start symbol instead of _start.
64111 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
64113         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
64114         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
64115         Move macros to...
64116         * sysdeps/gnu/ldsodefs.h: ... this new file.
64118         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
64119         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
64120         instead of ELFOSABI_LINUX.
64122         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
64123         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
64124         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
64125         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
64126         Likewise.
64127         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
64128         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
64129         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
64130         Likewise.
64131         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
64132         (ibm_extended_long_double): Add ieee_nan member.
64133         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
64134         (do_test): New function.
64136         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
64137         TEST_TRUNC.
64138         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
64139         functions, renamed from truncdfsf_test, trunctfsf_test,
64140         trunctfdf_test.
64141         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
64142         functions.
64143         (do_test): Run all these.
64145 2013-08-29   Ondƙej BĂ­lka  <neleai@seznam.cz>
64147         * argp/argp-help.c: Fix typos.
64148         * argp/argp-parse.c: Likewise.
64149         * debug/backtracesyms.c: Likewise.
64150         * elf/elf.h: Likewise.
64151         * malloc/malloc.c: Likewise.
64152         * nis/nis_print.c: Likewise.
64153         * resolv/res_comp.c: Likewise.
64154         * stdlib/stdlib.h: Likewise.
64155         * sunrpc/clnt_tcp.c: Likewise.
64156         * sunrpc/clnt_udp.c: Likewise.
64157         * sunrpc/clnt_unix.c: Likewise.
64158         * sysdeps/unix/bsd/ptsname.c: Likewise.
64159         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
64160         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
64161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
64162         Likewise.
64163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
64164         Likewise.
64165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
64166         Likewise.
64167         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
64169 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64171         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
64172         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64174 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
64176         [BZ #15897]
64177         * dlfcn/Makefile (tests): Add bug-dl-leaf.
64178         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
64179         ($(objpfx)bug-dl-leaf): New rule.
64180         ($(objpfx)bug-dl-leaf.so): Likewise.
64181         ($(objpfx)bug-dl-leaf.out): Likewise.
64182         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
64183         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
64184         * dlfcn/bug-dl-leaf.c: New test.
64185         * dlfcn/bug-dl-leaf-lib.c: Likewise.
64186         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
64187         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
64188         (dlclose): Likewise.
64189         (dlmopen): Likewise.
64191 2013-08-27  Roland McGrath  <roland@hack.frob.com>
64193         * include/netdb.h [!_ISOMAC]:
64194         Don't include <tls.h>.
64195         (h_errno, __libc_h_errno): Move declaration and macros out of
64196         [_LIBC_REENTRANT].
64198         * include/resolv.h [_RESOLV_H_]:
64199         Don't include <tls.h>.
64200         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
64201         * resolv/res_libc.c: Don't include <tls.h>.
64202         (_res): Use __attribute__ ((nocommon)) in place of
64203         __attribute__ ((section (".bss"))).
64205         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
64206         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
64208         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
64210         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
64211         only under [SIOCGIFCONF && SIOCGIFNETMASK].
64213         * resolv/res_mkquery.c: Include <sys/time.h>.
64215         * inet/ifreq.c: Moved to ...
64216         * sysdeps/unix/ifreq.c: ... here.
64217         * inet/ifreq.c: New file, true stub version.
64219         * socket/sa_len.c: New file.
64220         * socket/Makefile (aux): Add it.
64221         * sysdeps/unix/sysv/linux/Makefile
64222         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
64223         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
64224         and #include <socket/sa_len.c>.
64225         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
64226         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
64228         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
64229         * bits/socket.h: ... here.
64231         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
64232         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
64233         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
64235 2013-08-27  Andreas Schwab  <schwab@suse.de>
64237         [BZ #15736]
64238         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
64239         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
64240         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
64241         * string/test-strcasecmp.c (test_main): Run tests in several
64242         locales.
64243         * string/test-strncasecmp.c (test_main): Likewise.
64245         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
64246         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
64247         to __strcasecmp_nonascii and __strncasecmp_nonascii.
64248         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
64249         (__strncasecmp_ssse3) [PIC]: Likewise.
64251 2013-08-26  Roland McGrath  <roland@hack.frob.com>
64253         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
64255         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
64256         instead of explicitly declaring xdecrypt.
64257         * nis/nss_nis/nis-publickey.c: Likewise.
64259 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64261         [BZ #15890]
64262         * nscd/aicache.c: Include res_hconf.h.
64263         (addhstaiX): Initialize res_hconf.
64265 2013-08-26  Andreas Schwab  <schwab@suse.de>
64267         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
64268         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
64270 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64272         * nscd/aicache.c (addhstaiX): Fix indentation.
64274 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
64276         * configure.ac: Quote $build_pt_chown test.
64277         * configure: Regenerated.
64279 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
64281         [BZ #15532]
64282         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
64283         * math/s_cexpf.c (__cexpf): Likewise.
64284         * math/s_cexpl.c (__cexpl): Likewise.
64285         * math/libm-test.inc (cexp_test_data): Correct expected return
64286         value for NaN + i0.  Add another test.
64288 2013-08-22  David S. Miller  <davem@davemloft.net>
64290         * po/ca.po: Update Catalan translation from translation project.
64291         * po/uk.po: Add Ukrainian translations from translation project.
64293 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
64295         [BZ #15797]
64296         * math/s_fdim.c (__fdim): Check for infinite arguments if result
64297         is infinite, not alongside NaN test.
64298         * math/s_fdimf.c (__fdimf): Likewise.
64299         * math/s_fdiml.c (__fdiml): Likewise.
64300         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
64301         errno is unchanged.
64303 2013-08-21   Ondƙej BĂ­lka  <neleai@seznam.cz>
64305         * argp/argp-help.c: Fix typos.
64306         * crypt/speeds.c: Likewise.
64307         * csu/check_fds.c: Likewise.
64308         * elf/dl-load.c: Likewise.
64309         * elf/dl-open.c: Likewise.
64310         * elf/reldep3.c: Likewise.
64311         * elf/reldep.c: Likewise.
64312         * elf/sprof.c: Likewise.
64313         * iconv/iconv_charmap.c: Likewise.
64314         * iconv/skeleton.c: Likewise.
64315         * iconv/strtab.c: Likewise.
64316         * io/lockf64.c: Likewise.
64317         * libio/libioP.h: Likewise.
64318         * resolv/gai_notify.c: Likewise.
64319         * resolv/ns_name.c: Likewise.
64320         * resolv/ns_samedomain.c: Likewise.
64321         * resolv/res_send.c: Likewise.
64322         * stdlib/random.c: Likewise.
64323         * sunrpc/rpc/xdr.h: Likewise.
64324         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
64325         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64326         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64327         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64328         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64329         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64330         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64331         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64332         * sysdeps/mach/hurd/check_fds.c: Likewise.
64333         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64334         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
64335         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64336         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64337         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
64338         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64339         * sysdeps/pthread/aio_notify.c: Likewise.
64340         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
64341         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
64342         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
64343         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
64344         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
64346 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64348         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
64349         version if bit_Slow_SSE4_2 is set.
64350         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64351         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64353 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64355         [BZ #15867]
64356         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
64357         trampoline stack frame information.
64358         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
64359         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
64360         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
64361         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
64362         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
64363         * sysdeps/unix/sysv/linux/powerpc/init-first.c
64364         (_libc_vdso_platform_setup): Initialize the signal trampolines.
64365         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
64366         sa_flags value.
64367         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
64368         interrupting a syscall and set with option SA_SIGINFO.
64370 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
64372         [BZ #15531]
64373         * math/s_cproj.c (__cproj): Only return an infinity if one part of
64374         argument is infinite.
64375         * math/s_cprojf.c (__cprojf): Likewise.
64376         * math/s_cprojl.c (__cprojl): Likewise.
64377         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
64378         * math/libm-test.inc (cproj_test_data): Add more tests.
64380         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
64382         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
64383         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
64384         size.  Use __ffs to determine corresponding shift.
64386 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
64387             Roland McGrath  <roland@hack.frob.com>
64389         * Makefile (INSTALL): Remove trailing blank lines from output of
64390         makeinfo.
64392 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64394         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
64395         Align 32 bit compat elf_greg to 8 bytes.
64397 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
64399         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
64401 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64403         * string/strcoll_l.c (coll_seq): New structure.
64404         (get_next_seq_cached): New function.
64405         (get_next_seq): New function.
64406         (do_compare): New function.
64407         (STRCOLL): Use GNU style definition.  Simplify implementation
64408         by using get_next_seq, get_next_seq_cached and do_compare.
64410 2013-08-16  Florian Weimer  <fweimer@redhat.com>
64412         [BZ #14699]
64413         CVE-2013-4237
64414         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
64415         member.
64416         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
64417         member.
64418         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
64419         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
64420         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
64421         conditional.
64422         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
64423         GETDENTS_64BIT_ALIGNED.
64424         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64425         * manual/filesys.texi (Reading/Closing Directory): Document
64426         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
64427         strongly.
64428         * manual/conf.texi (Limits for Files): Add portability note to
64429         NAME_MAX, PATH_MAX.
64430         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
64432 2013-08-13  Andreas Schwab  <schwab@suse.de>
64434         [BZ #15749]
64435         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
64436         of fabs.
64437         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
64438         LDBL_MAX_EXP >= 16384]: Add tests for it.
64440 2013-08-12  David S. Miller  <davem@davemloft.net>
64442         * version.h (RELEASE): Set to "development".
64443         (VERSION): Set to "2.18.90".
64444         * NEWS: Add 2.19 section.
64446 2013-08-03  David S. Miller  <davem@davemloft.net>
64448         * po/ko.po: Update Korean translation from translation project.
64450 2013-08-01  David S. Miller  <davem@davemloft.net>
64452         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
64453         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
64454         Bilka.
64456 2013-07-30  David S. Miller  <davem@davemloft.net>
64458         * po/fr.po: Update French translation from translation project.
64460 2013-07-28  David S. Miller  <davem@davemloft.net>
64462         * po/cs.po: Update Czech translation from translation project.
64464         * po/sv.po: Update Swedish translation from translation project.
64466 2013-07-27  David S. Miller  <davem@davemloft.net>
64468         * po/eo.po: Update Esperanto translation from translation project.
64470         * po/vi.po: Update Vietnamese translation from translation project.
64472         * po/de.po: Update German translation from translation project.
64474 2013-07-26  David S. Miller  <davem@davemloft.net>
64476         * po/bg.po: Update Bulgarian translation from translation project.
64478         * po/nl.po: Update Dutch translation from translation project.
64479         * po/pl.po: Update Polish translation from translation project.
64480         * po/ru.po: Update Russian translation from translation project.
64482 2013-07-24  David S. Miller  <davem@davemloft.net>
64484         * po/libc.pot: Update.
64486 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64488         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
64489         variable page size.
64490         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
64491         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
64492         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
64494 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64496         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
64498 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64499             Andreas Schwab  <schwab@suse.de>
64500             Roland McGrath  <roland@hack.frob.com>
64501             Joseph Myers  <joseph@codesourcery.com>
64502             Carlos O'Donell  <carlos@redhat.com>
64504         [BZ #15755]
64505         * config.h.in: Define HAVE_PT_CHOWN.
64506         * config.make.in (build-pt-chown): New variable.
64507         * configure.in (--enable-pt_chown): New configure option.
64508         * configure: Regenerate.
64509         * login/Makefile: Include Makeconfig.  Build pt_chown only if
64510         build-pt-chown is enabled.
64511         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
64512         pt_chown to fix pty ownership.
64513         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
64514         CLOSE_ALL_FDS.
64515         * manual/install.texi (Configuring and compiling): Mention
64516         --enable-pt_chown. Add @findex for grantpt.
64517         * INSTALL: Regenerate.
64519 2013-07-20  David S. Miller  <davem@davemloft.net>
64521         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
64522         difference between 32-bit and 64-bit.
64524 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
64526         [BZ #15711]
64527         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
64528         Avoid system header dependency with -ffreestanding.
64529         ($(objpfx)bits/syscall%d): Likewise.
64531 2013-07-13  David S. Miller  <davem@davemloft.net>
64533         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
64534         underflows from atanl/atan2l due to bug 15319.
64535         (casinh_test_data): Likewise.
64537 2013-07-07  David S. Miller  <davem@davemloft.net>
64539         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
64541 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
64543         * sysdeps/i386/fpu/libm-test-ulps: Update.
64544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64546 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64548         * configure.in (--enable-lock-elision): Fix message text.
64549         * INSTALL: Regenerate.
64550         * configure: Regenerate.
64552 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64556 2013-07-03  Andreas Jaeger  <aj@suse.de>
64558         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
64559         define.
64560         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
64561         (ptrace_peeksiginfo_args): Add.
64562         (__ptrace_peeksiginfo_flags): Add.
64563         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64564         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64565         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64567 2013-07-03  Allan McRae  <allan@archlinux.org>
64569         * sysdeps/i386/fpu/libm-test-ulps: Update.
64571 2013-07-02  David S. Miller  <davem@davemloft.net>
64573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64575 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
64577         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64579 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
64581         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
64582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64584 2013-07-02  Andi Kleen <ak@linux.intel.com>
64586         * config.h.in (ENABLE_LOCK_ELISION): Add.
64587         * configure.in (--enable-lock-elision): Add option.
64588         * manual/install.texi: Document --enable lock elision.
64589         * configure: Regenerate
64590         * INSTALL: Regenerate.
64592 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
64594         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
64595         SSE4.2 strcasecmp for libc.a.
64596         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
64598 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
64600         [BZ #13304]
64601         * soft-fp/op-common.h (_FP_FMA): New macro.
64602         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
64603         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
64604         (_FP_MUL_MEAT_1_imm): ... here.
64605         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
64606         (_FP_MUL_MEAT_1_wide): ... here.
64607         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
64608         (_FP_MUL_MEAT_1_hard): ... here.
64609         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
64610         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
64611         (_FP_MUL_MEAT_2_wide): ... here.
64612         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
64613         (_FP_MUL_MEAT_2_wide_3mul): ... here.
64614         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
64615         (_FP_MUL_MEAT_2_gmp): ... here.
64616         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
64617         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
64618         (_FP_MUL_MEAT_4_wide): ... here.
64619         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
64620         (_FP_MUL_MEAT_4_gmp): ... here.
64621         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
64622         (_FP_WFRACBITS_DW_S): Likewise.
64623         (_FP_WFRACXBITS_DW_S): Likewise.
64624         (_FP_HIGHBIT_DW_S): Likewise.
64625         (FP_FMA_S): Likewise.
64626         (_FP_FRAC_HIGH_DW_S): Likewise.
64627         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
64628         (_FP_WFRACBITS_DW_D): Likewise.
64629         (_FP_WFRACXBITS_DW_D): Likewise.
64630         (_FP_HIGHBIT_DW_D): Likewise.
64631         (FP_FMA_D): Likewise.
64632         (_FP_FRAC_HIGH_DW_D): Likewise.
64633         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
64634         (_FP_WFRACBITS_DW_E): Likewise.
64635         (_FP_WFRACXBITS_DW_E): Likewise.
64636         (_FP_HIGHBIT_DW_E): Likewise.
64637         (FP_FMA_E): Likewise.
64638         (_FP_FRAC_HIGH_DW_E): Likewise.
64639         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
64640         (_FP_WFRACBITS_DW_Q): Likewise.
64641         (_FP_WFRACXBITS_DW_Q): Likewise.
64642         (_FP_HIGHBIT_DW_Q): Likewise.
64643         (FP_FMA_Q): Likewise.
64644         (_FP_FRAC_HIGH_DW_Q): Likewise.
64645         * soft-fp/fmasf4.c: New file.
64646         * soft-fp/fmadf4.c: Likewise.
64647         * soft-fp/fmatf4.c: Likewise.
64649 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64651         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64652         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
64653         Silvermont.
64654         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
64655         macro.
64656         (index_Slow_SSE4_2): Likewise.
64657         (index_Prefer_PMINUB_for_stringop): Likewise.
64658         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
64659         bit_Slow_SSE4_2 is set.
64660         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64661         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64663 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64665         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
64666         rtld_global._dl_hwcap2.
64667         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
64668         POWER8.
64669         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
64670         POWER8 feature descriptions defined in _dl_hwcap2.
64671         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
64672         string handling for POWER8 feature bits.
64673         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
64674         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
64675         _dl_powerpc_cap_flags.
64676         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
64677         * sysdeps/powerpc/rtld-global-offsets.sym
64678         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
64679         _dl_hwcap2 in the rtld_global_ro structure.
64681 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64683         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
64684         hardware capabilities in support of AT_HWCAP2.
64685         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
64686         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
64687         GLRO(dl_hwcap2).
64688         (_dl_show_auxv): Add support for calling _dl_procinfo to display
64689         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
64690         explicitly the unknown a_type display mechanism is used.
64691         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
64692         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
64693         struct member.
64694         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
64695         to macro prototype for AT_HWCAP2 support.
64696         * sysdeps/i386/dl-procinfo.h: Likewise.
64697         * sysdeps/s390/dl-procinfo.h: Likewise.
64698         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
64699         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
64700         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
64701         return -1 for unknown a_type display fallback.
64702         * sysdeps/sparc/dl-procinfo.h: Likewise.
64703         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
64704         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
64706 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
64708         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
64709         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
64711 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
64713         [BZ #12492]
64714         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
64715         mprotect making __stack_prot writable.
64717 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
64718             Joseph Myers  <joseph@codesourcery.com>
64720         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
64721         as being properly aligned.
64723 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
64725         * dlfcn/modstatic5.c: New file.
64726         * dlfcn/tststatic5.c: New file.
64727         * dlfcn/Makefile (tests): Add tststatic5.
64728         (tests-static): Likewise.
64729         (modules-names): Add modstatic5.
64730         (tststatic5-ENV): New variable.
64731         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
64733         [BZ #15022]
64734         * elf/dl-support.c (_dl_main_map): New variable.
64735         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
64736         (_dl_nns, _dl_load_adds): Set to 1.
64737         (_dl_initial_searchlist): Refer to _dl_main_map.
64738         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
64739         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
64740         call to _dl_get_origin.
64741         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
64742         around call_map.
64743         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
64744         * dlfcn/modstatic3.c: New file.
64745         * dlfcn/tststatic3.c: New file.
64746         * dlfcn/tststatic4.c: New file.
64747         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
64748         (tests-static): Likewise.
64749         (modules-names): Add modstatic3.
64750         (tststatic3-ENV, tststatic4-ENV): New variables.
64751         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
64752         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
64754 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
64756         * configure.in (CC): Require GCC version 4.4 or later.
64757         * configure: Regenerated.
64758         * manual/install.texi (Tools for Compilation): Update GCC version
64759         requirement.
64760         * INSTALL: Regenerated.
64762 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64764         [BZ #15674]
64765         * string/test-memcmp.c (check2): New.
64766         (main): Call check2.
64768         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
64770 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
64772         [BZ #15022]
64773         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
64774         over to...
64775         (dl_open_worker) [!SHARED]: ... here.
64777 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64779         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
64781 2013-06-25  Richard Henderson  <rth@redhat.com>
64783         * locale/programs/locarchive.c: Include <libc-internal.h>
64785 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
64787         * manual/texinfo.tex: Update to version 2013-06-21.17, with
64788         trailing whitespace removed.
64790 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
64792         [BZ #10283]
64793         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
64794         * locale/programs/locarchive.c: Include libc-mmap.h.
64795         (prepare_address_space): Take two new outputs (the mmap base and len).
64796         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
64797         values.
64798         (create_archive): Declare new mmap base and len values for
64799         prepare_address_space, and store the result in ah.
64800         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
64801         (enlarge_archive): If ah->mmap_base is not NULL, use that and
64802         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64803         Declare new mmap base and len values for
64804         prepare_address_space, and store the result in new_ah.
64805         (open_archive): Declare new mmap base and len values for
64806         prepare_address_space, and store the result in ah.
64807         (close_archive): If ah->mmap_base is not NULL, use that and
64808         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64809         * sysdeps/generic/libc-mmap.h: New file.
64811 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
64813         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
64814         (ALIGN_UP): Likewise.
64815         (PTR_ALIGN_DOWN): Likewise.
64816         (PTR_ALIGN_UP): Likewise.
64818 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64820         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
64821         entry mapped to PPC_PLATFORM_POWER8.
64822         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
64823         POWER8.
64824         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
64825         (_dl_string_platform): Add case for exporting platform position for
64826         POWER8.
64827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
64828         search path to sysdeps/powerpc/powerpc32/power8 directory.
64829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
64830         search path to sysdeps/powerpc/powerpc64/power8 directory.
64831         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
64832         power7 directories.
64833         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
64834         power7 directories.
64836 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
64838         * INSTALL: Regenerate.
64840         * nscd/connections.c (nscd_init): Fix comment.
64842 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
64844         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
64846         [BZ #15667]
64847         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
64848         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
64850 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
64852         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
64853         DL_DST_REQ_STATIC.
64854         (DL_DST_REQ_STATIC): Remove macro.
64856 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
64858         [BZ #7006]
64859         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
64860         with a shift of 0 bits.
64862 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
64864         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
64865         $(tststatic-ENV).
64867 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64869         [BZ #15655]
64870         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
64872 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64874         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
64875         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
64876         accepts -fno-tree-loop-distribute-patterns.
64877         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
64878         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
64879         recursive call.
64880         * string/memset.c (memset): Likewise.
64881         * string/test-memmove.c (simple_memmove): Disable loop transformation
64882         to library calls.
64883         * string/test-memset.c (simple_memset): Likewise.
64884         * benchtests/bench-memmove.c (simple_memmove): Likewise.
64885         * benchtests/bench-memset.c (simple_memset): Likewise.
64886         * configure: Regenerated.
64888 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
64890         * math/test-misc.c (main): Ignore fesetround failure when failures
64891         of subsequent rounding tests would be ignored.
64893         [BZ #15654]
64894         * math/fedisblxcpt.c (fedisableexcept): Return 0.
64895         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
64896         * math/fegetenv.c (__fegetenv): Return 0.
64897         * math/fegetexcept.c (fegetexcept): Return 0.
64898         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
64899         FE_TONEAREST.
64900         * math/feholdexcpt.c (feholdexcept): Return 0.
64901         * math/fesetenv.c (__fesetenv): Return 0.
64902         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
64903         argument FE_TONEAREST.
64904         * math/feupdateenv.c (__feupdateenv): Return 0.
64905         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
64907 2013-06-18  Roland McGrath  <roland@hack.frob.com>
64909         * elf/rtld-Rules (rtld-compile-command.S): New variable.
64910         (rtld-compile-command.s, rtld-compile-command.c): New variables.
64911         ($(objpfx)rtld-%.os rules): Use them.
64913 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64915         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
64916         fields.
64918 2013-06-17  Roland McGrath  <roland@hack.frob.com>
64920         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
64921         length of target pattern, then descending length of dependency pattern.
64922         * configure.in (AWK): Require gawk 3.1.2 or newer.
64923         * manual/install.texi (Tools for Compilation): Say that we do.
64924         * configure: Regenerated.
64926         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
64927         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
64928         * scripts/sysd-rules.awk: ... this new script.
64929         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
64930         than a glob-style pattern.
64932 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
64934         * math/test-misc.c (main): Do not treat incorrectly rounded
64935         conversions as failure unless ROUNDING_TESTS passes.
64937 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
64939         [BZ #15631]
64940         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
64941         restore exception state around main square root computation, then
64942         check for inexactness explicitly.
64944         * math/libm-test.inc (fma_test_data): Add another test.
64946 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64948         * manual/threads.texi (Non-POSIX Extensions): New document
64949         node.  Document pthread_getattr_default_np and
64950         pthread_setattr_default_np.
64952         * Versions.def (libpthread): Add GLIBC_2.18.
64953         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
64954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64955         Likewise.
64956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64957         Likewise.
64958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64959         Likewise.
64960         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64961         Likewise.
64962         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
64963         Likewise.
64964         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64965         Likewise.
64966         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64967         Likewise.
64968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64969         Likewise.
64970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64971         Likewise.
64973 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64975         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64976         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
64978 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64979             H.J. Lu  <hjl.tools@gmail.com>
64981         [BZ #15627]
64982         * sysdeps/x86_64/rtld-memset.c: Remove file.
64983         * sysdeps/x86_64/rtld-memset.S: New file.
64985 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
64987         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
64988         (test_in_one_mode): Take arguments for whether the rounding mode
64989         is supported for each floating-point type.
64990         (do_test): Pass new arguments to test_in_one_mode using
64991         ROUNDING_TESTS.
64993 2013-06-13  Roland McGrath  <roland@hack.frob.com>
64995         * posix/tst-waitid.c (do_test): Distinguish different instances of
64996         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
64997         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
64998         before entering the kernel for waitpid.
65000 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65002         * NEWS: Fix note on clock function precision.  Text by Roland
65003         McGrath.
65005 2013-06-13  Roland McGrath  <roland@hack.frob.com>
65007         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
65008         it into place only when and if the sanity check passes.
65010 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
65012         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
65013         output for whether conversion result is exact.  Take argument
65014         indicating whether type is IBM long double.
65015         (round_for_all): Change need_exact field to ibm_ld.
65016         * stdlib/tst-strtod-round.c (struct exactness): New type.
65017         (struct test): Change bool ld_ok field to struct exactness exact.
65018         (TEST): Update all definitions for change to field.
65019         (tests): Regenerate array contents.
65020         (test_in_one_mode): Take pointer to new field instead of old ld_ok
65021         field value.  Check for IBM long double here.
65022         (do_test): Update calls to test_in_one_mode.
65024 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65026         [BZ #12515]
65027         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
65028         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
65030 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65032         [BZ #15605]
65033         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
65034         generated by the compiler on loop optimizations.
65035         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
65036         general definitions.
65038 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
65040         * math/bug-nextafter.c: Include <math-tests.h>.
65041         (main): Only test for exceptions if EXCEPTION_TESTS is true for
65042         the relevant type.
65043         * math/bug-nexttoward.c: Include <math-tests.h>.
65044         (main): Only test for exceptions if EXCEPTION_TESTS is true for
65045         the relevant type.
65046         * math/test-misc.c: Include <math-tests.h>.
65047         (main): Only test for exceptions if EXCEPTION_TESTS is true for
65048         the relevant type.
65050 2013-06-12  Andreas Jaeger  <aj@suse.de>
65052         * po/ia.po: Update Interlingua translation from translation
65053         project.
65055 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
65057         * include/fenv.h: Include stdbool.h.
65058         (struct rm_ctx): New structure.
65059         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
65060         Define macro.
65061         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
65062         (SET_RESTORE_ROUNDF): Likewise.
65063         (SET_RESTORE_ROUNDL): Likewise.
65064         (SET_RESTORE_ROUND_NOEX): Likewise.
65065         (SET_RESTORE_ROUND_NOEXF): Likewise.
65066         (SET_RESTORE_ROUND_NOEXL): Likewise.
65067         (SET_RESTORE_ROUND_53BIT): Likewise.
65068         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
65069         (libc_feresetround_noexf_ctx): Likewise.
65070         (libc_feresetround_noexl_ctx): Likewise.
65071         (libc_feholdsetround_53bit_ctx): Likewise.
65072         (libc_feresetround_53bit_ctx): Likewise.
65073         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
65074         (libc_feholdexcept_setround_sse_ctx): New function.
65075         (libc_fesetenv_sse_ctx): Likewise.
65076         (libc_feupdateenv_sse_ctx): Likewise.
65077         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
65078         (libc_feholdexcept_setround_387_ctx): Likewise.
65079         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
65080         (libc_feholdsetround_387_prec_ctx): Likewise.
65081         (libc_feholdsetround_387_ctx): Likewise.
65082         (libc_feholdsetround_387_53bit_ctx): Likewise.
65083         (libc_feholdsetround_sse_ctx): Likewise.
65084         (libc_feresetround_sse_ctx): Likewise.
65085         (libc_feresetround_387_ctx): Likewise.
65086         (libc_feupdateenv_387_ctx): Likewise.
65087         (libc_feholdexcept_setroundf_ctx): Define macro.
65088         (libc_fesetenvf_ctx): Likewise.
65089         (libc_feupdateenvf_ctx): Likewise.
65090         (libc_feholdsetroundf_ctx): Likewise.
65091         (libc_feresetroundf_ctx): Likewise.
65092         (libc_feholdexcept_setround_ctx): Likewise.
65093         (libc_fesetenv_ctx): Likewise.
65094         (libc_feupdateenv_ctx): Likewise.
65095         (libc_feholdsetround_ctx): Likewise.
65096         (libc_feresetround_ctx): Likewise.
65097         (libc_feholdexcept_setroundl_ctx): Likewise.
65098         (libc_feupdateenvl_ctx): Likewise.
65099         (libc_feholdsetroundl_ctx): Likewise.
65100         (libc_feresetroundl_ctx): Likewise.
65101         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
65102         (libc_feresetround_53bit_ctx): Likewise.
65104 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65106         * locale/iso-639.def: Convert to UTF-8.
65108 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
65110         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
65111         (EXCEPTION_TESTS_double): Likewise.
65112         (EXCEPTION_TESTS_long_double): Likewise.
65113         (EXCEPTION_TESTS): Likewise.
65114         * math/libm-test.inc (test_exceptions): Only test exceptions if
65115         EXCEPTION_TESTS (FLOAT).
65117 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65119         * benchtests/Makefile (string-bench): Add strcpy_chk and
65120         stpcpy_chk.
65121         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
65122         * benchtests/bench-stpcpy_chk.c: New file.
65123         * benchtests/bench-strcpy_chk-ifunc.c: New file.
65124         * benchtests/bench-strcpy_chk.c: New file.
65125         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
65126         code.
65127         (do_test): Likewise.
65129 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65131         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
65132         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
65133         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
65134         with tabs where appropriate.
65135         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
65136         dl-procinfo.h.
65137         [PPC_PLATFORM_PPC440]: Likewise.
65138         [PPC_PLATFORM_PPC464]: Likewise.
65139         [PPC_PLATFORM_PPC476]: Likewise.
65140         (_dl_string_platform): Add support for detecting ppc405, ppc440,
65141         ppc464, and ppc476 platform strings merging from ports/
65142         dl-procinfo.h.
65144 2013-06-11  Andreas Schwab  <schwab@suse.de>
65146         [BZ #14991]
65147         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
65148         (from_ucs4_idx): Regenerate.
65149         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
65150         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
65151         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
65152         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
65153         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
65154         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
65155         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
65156         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
65157         from FROM_LOOP and TO_LOOP specific macros.
65158         (BODY): Handle combining characters.
65159         * iconvdata/BIG5HKSCS.irreversible: Update.
65160         * iconvdata/BIG5HKSCS.precomposed: New file.
65161         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
65162         characters.
65163         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
65165 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65167         * include/sys/time.h: Fix indentation and add copyright header.
65169         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
65170         (do_test): Likewise.
65171         * string/test-memchr.c (do_one_test): Likewise.
65172         (do_test): Likewise.
65173         * string/test-memcmp.c (do_one_test): Likewise.
65174         (do_test): Likewise.
65175         * string/test-memcpy.c (do_one_test): Likewise.
65176         (do_test): Likewise.
65177         * string/test-memmem.c (do_one_test): Likewise.
65178         (do_test): Likewise.
65179         (do_random_tests): Likewise.
65180         * string/test-memmove.c (do_one_test): Likewise.
65181         (do_test): Likewise.
65182         * string/test-memset.c (do_one_test): Likewise.
65183         (do_test): Likewise.
65184         * string/test-rawmemchr.c (do_one_test): Likewise.
65185         (do_test): Likewise.
65186         * string/test-strcasecmp.c (do_one_test): Likewise.
65187         (do_test): Likewise.
65188         * string/test-strcasestr.c (do_one_test): Likewise.
65189         (do_test): Likewise.
65190         * string/test-strcat.c (do_one_test): Likewise.
65191         (do_test): Likewise.
65192         * string/test-strchr.c (do_one_test): Likewise.
65193         (do_test): Likewise.
65194         * string/test-strcmp.c (do_one_test): Likewise.
65195         (do_test): Likewise.
65196         * string/test-strcpy.c (do_one_test): Likewise.
65197         (do_test): Likewise.
65198         * string/test-string.h: Likewise.
65199         (test_init): Likewise.
65200         * string/test-strlen.c (do_one_test): Likewise.
65201         (do_test): Likewise.
65202         * string/test-strncasecmp.c (do_one_test): Likewise.
65203         (do_test): Likewise.
65204         * string/test-strncat.c (do_one_test): Likewise.
65205         (do_test): Likewise.
65206         * string/test-strncmp.c (do_one_test): Likewise.
65207         (do_test_limit): Likewise.
65208         (do_test): Likewise.
65209         * string/test-strncpy.c (do_one_test): Likewise.
65210         (do_test): Likewise.
65211         * string/test-strnlen.c (do_one_test): Likewise.
65212         (do_test): Likewise.
65213         * string/test-strpbrk.c (do_one_test): Likewise.
65214         (do_test): Likewise.
65215         * string/test-strrchr.c (do_one_test): Likewise.
65216         (do_test): Likewise.
65217         * string/test-strspn.c (do_one_test): Likewise.
65218         (do_test): Likewise.
65219         * string/test-strstr.c (do_one_test): Likewise.
65220         (do_test): Likewise.
65222         * benchtests/Makefile (string-bench): Add string benchmarks.
65223         * benchtests/bench-bcopy-ifunc.c: New file.
65224         * benchtests/bench-bcopy.c: New file.
65225         * benchtests/bench-bzero-ifunc.c: New file.
65226         * benchtests/bench-bzero.c: New file.
65227         * benchtests/bench-memccpy-ifunc.c: New file.
65228         * benchtests/bench-memccpy.c: New file.
65229         * benchtests/bench-memchr-ifunc.c: New file.
65230         * benchtests/bench-memchr.c: New file.
65231         * benchtests/bench-memcmp-ifunc.c: New file.
65232         * benchtests/bench-memcmp.c: New file.
65233         * benchtests/bench-memmem-ifunc.c: New file.
65234         * benchtests/bench-memmem.c: New file.
65235         * benchtests/bench-memmove-ifunc.c: New file.
65236         * benchtests/bench-memmove.c: New file.
65237         * benchtests/bench-mempcpy-ifunc.c: New file.
65238         * benchtests/bench-mempcpy.c: New file.
65239         * benchtests/bench-memset-ifunc.c: New file.
65240         * benchtests/bench-memset.c: New file.
65241         * benchtests/bench-rawmemchr-ifunc.c: New file.
65242         * benchtests/bench-rawmemchr.c: New file.
65243         * benchtests/bench-stpcpy-ifunc.c: New file.
65244         * benchtests/bench-stpcpy.c: New file.
65245         * benchtests/bench-stpncpy-ifunc.c: New file.
65246         * benchtests/bench-stpncpy.c: New file.
65247         * benchtests/bench-strcasecmp-ifunc.c: New file.
65248         * benchtests/bench-strcasecmp.c: New file.
65249         * benchtests/bench-strcasestr-ifunc.c: New file.
65250         * benchtests/bench-strcasestr.c: New file.
65251         * benchtests/bench-strcat-ifunc.c: New file.
65252         * benchtests/bench-strcat.c: New file.
65253         * benchtests/bench-strchr-ifunc.c: New file.
65254         * benchtests/bench-strchr.c: New file.
65255         * benchtests/bench-strchrnul-ifunc.c: New file.
65256         * benchtests/bench-strchrnul.c: New file.
65257         * benchtests/bench-strcmp-ifunc.c: New file.
65258         * benchtests/bench-strcmp.c: New file.
65259         * benchtests/bench-strcpy-ifunc.c: New file.
65260         * benchtests/bench-strcpy.c: New file.
65261         * benchtests/bench-strcspn-ifunc.c: New file.
65262         * benchtests/bench-strcspn.c: New file.
65263         * benchtests/bench-strlen-ifunc.c: New file.
65264         * benchtests/bench-strlen.c: New file.
65265         * benchtests/bench-strncasecmp-ifunc.c: New file.
65266         * benchtests/bench-strncasecmp.c: New file.
65267         * benchtests/bench-strncat-ifunc.c: New file.
65268         * benchtests/bench-strncat.c: New file.
65269         * benchtests/bench-strncmp-ifunc.c: New file.
65270         * benchtests/bench-strncmp.c: New file.
65271         * benchtests/bench-strncpy-ifunc.c: New file.
65272         * benchtests/bench-strncpy.c: New file.
65273         * benchtests/bench-strnlen-ifunc.c: New file.
65274         * benchtests/bench-strnlen.c: New file.
65275         * benchtests/bench-strpbrk-ifunc.c: New file.
65276         * benchtests/bench-strpbrk.c: New file.
65277         * benchtests/bench-strrchr-ifunc.c: New file.
65278         * benchtests/bench-strrchr.c: New file.
65279         * benchtests/bench-strspn-ifunc.c: New file.
65280         * benchtests/bench-strspn.c: New file.
65281         * benchtests/bench-strstr-ifunc.c: New file.
65282         * benchtests/bench-strstr.c: New file.
65284         * benchtests/Makefile: Disable parallel execution of targets.
65285         (string-bench): Add memcpy.
65286         (benchset): New variable to store a list of benchmark sets.
65287         (bench-func): Renamed from bench.
65288         (bench-set): New target.
65289         (bench): Depend on bench-func and bench-set.
65290         * benchtests/README: Add section on benchmark sets.
65291         * benchtests/bench-memcpy-ifunc.c: New file.
65292         * benchtests/bench-memcpy.c: New file.
65293         * benchtests/bench-string.h: New file.
65295 2013-06-11  Andreas Schwab  <schwab@suse.de>
65297         [BZ #15577]
65298         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
65299         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
65300         values in the triple.
65301         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
65302         terminator in the group key.
65304 2013-06-11  Andreas Jaeger  <aj@suse.de>
65306         * po/zh_TW.po: Update Chinese (traditional) translation from
65307         translation project.
65309 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65311         * include/time.h (__clock_gettime): Add libc_hidden_proto.
65312         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
65313         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
65314         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65315         (clock_getcpuclockid): Likewise.
65316         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
65317         Add weak_alias and libc_hidden_def.
65318         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
65319         * rt/clock_gettime.c (clock_gettime): Rename to
65320         __clock_gettime.  Add weak_alias and libc_hidden_def.
65321         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
65322         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
65323         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
65324         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
65325         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
65326         Likewise.
65327         * rt/clock_settime.c (clock_settime): Rename to
65328         __clock_settime.  Add weak_alias and libc_hidden_def.
65329         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
65331 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
65333         * mach/err_boot.sub: Remove trailing whitespace.
65334         * mach/err_ipc.sub: Likewise.
65335         * mach/err_mach.sub: Likewise.
65337         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
65338         (ROUNDING_TESTS_double): Likewise.
65339         (ROUNDING_TESTS_long_double): Likewise.
65340         (ROUNDING_TESTS): Likewise.
65341         * math/libm-test.inc: Include <math-tests.h>.
65342         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
65343         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
65344         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
65345         (IF_ROUND_INIT_FE_UPWARD): Likewise.
65347 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65349         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
65350         of assigning.
65352 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
65354         * sysdeps/gnu/errlist.awk: Do not generate space at end of
65355         otherwise empty TRANS lines.
65356         * sysdeps/gnu/errlist.c: Regenerated.
65358         * catgets/gencat.c (error_print): Use (void) in function
65359         definition.
65360         * crypt/crypt_util.c (__init_des): Likewise.
65361         * crypt/speeds.c (Stop): Likewise.
65362         (main): Likewise.
65363         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
65364         * inet/ruserpass.c (token): Likewise.
65365         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
65366         * intl/localealias.c (extend_alias_table): Likewise.
65367         * intl/plural-exp.c (init_germanic_plural): Likewise.
65368         * libio/fcloseall.c (__fcloseall): Likewise.
65369         * libio/genops.c (_IO_flush_all): Likewise.
65370         (_IO_flush_all_linebuffered): Likewise.
65371         (_IO_cleanup): Likewise.
65372         (_IO_iter_begin): Likewise.
65373         (_IO_iter_end): Likewise.
65374         (_IO_list_lock): Likewise.
65375         (_IO_list_unlock): Likewise.
65376         (_IO_list_resetlock): Likewise.
65377         * libio/getchar.c (getchar): Likewise.
65378         * libio/getchar_u.c (getchar_unlocked): Likewise.
65379         * libio/getwchar.c (getwchar): Likewise.
65380         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
65381         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
65382         * login/getpt.c (__getpt): Likewise.
65383         * login/tst-utmp.c (main): Likewise.
65384         * malloc/hooks.c (__malloc_check_init): Likewise.
65385         * malloc/malloc.c (__malloc_stats): Likewise.
65386         * malloc/mtrace.c (tr_break): Likewise.
65387         (mtrace): Likewise.
65388         (muntrace): Likewise.
65389         * misc/fstab.c (endfsent): Likewise.
65390         * misc/getclktck.c (__getclktck): Likewise.
65391         * misc/getdtsz.c (__getdtablesize): Likewise.
65392         * misc/gethostid.c (gethostid): Likewise.
65393         * misc/getpagesize.c (__getpagesize): Likewise.
65394         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
65395         (__get_nprocs): Likewise.
65396         (__get_phys_pages): Likewise.
65397         (__get_avphys_pages): Likewise.
65398         * misc/getttyent.c (getttyent): Likewise.
65399         (setttyent): Likewise.
65400         (endttyent): Likewise.
65401         * misc/getusershell.c (getusershell): Likewise.
65402         (endusershell): Likewise.
65403         (setusershell): Likewise.
65404         (initshells): Likewise.
65405         * misc/hsearch.c (__hdestroy): Likewise.
65406         * misc/sync.c (sync): Likewise.
65407         * misc/syslog.c (closelog_internal): Likewise.
65408         (closelog): Likewise.
65409         * misc/ttyslot.c (ttyslot): Likewise.
65410         * misc/vhangup.c (vhangup): Likewise.
65411         * posix/fork.c (__fork): Likewise.
65412         * posix/getegid.c (__getegid): Likewise.
65413         * posix/geteuid.c (__geteuid): Likewise.
65414         * posix/getgid.c (__getgid): Likewise.
65415         * posix/getpid.c (__getpid): Likewise.
65416         * posix/getppid.c (__getppid): Likewise.
65417         * posix/getuid.c (__getuid): Likewise.
65418         * posix/pause.c (pause): Likewise.
65419         * posix/setpgrp.c (setpgrp): Likewise.
65420         * posix/setsid.c (__setsid): Likewise.
65421         * posix/test-vfork.c (noop): Likewise.
65422         * resolv/gethnamaddr.c (_endhtent): Likewise.
65423         (_gethtent): Likewise.
65424         (ht_endhostent): Likewise.
65425         (gethostent): Likewise.
65426         (dns_service): Likewise.
65427         * stdlib/drand48.c (drand48): Likewise.
65428         * stdlib/lrand48.c (lrand48): Likewise.
65429         * stdlib/mrand48.c (mrand48): Likewise.
65430         * stdlib/rand.c (rand): Likewise.
65431         * stdlib/random.c (__random): Likewise.
65432         * stdlib/setenv.c (clearenv): Likewise.
65433         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
65434         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
65435         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
65436         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
65437         (__get_nprocs): Likewise.
65438         (__get_phys_pages): Likewise.
65439         (__get_avphys_pages): Likewise.
65440         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
65441         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
65442         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
65443         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
65444         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
65445         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
65446         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
65447         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
65448         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
65449         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
65450         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
65451         * sysdeps/mach/hurd/sync.c (sync): Likewise.
65452         * sysdeps/posix/clock.c (clock): Likewise.
65453         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
65454         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
65455         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
65456         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
65457         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
65458         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
65459         (__get_nprocs_conf): Likewise.
65460         (__get_phys_pages): Likewise.
65461         (__get_avphys_pages): Likewise.
65462         * time/clock.c (clock): Likewise.
65463         * time/tzset.c (__tzname_max): Likewise.
65465 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
65467         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
65468         (__bswap_32): Do not use "register".
65469         * crypt/crypt.c (_ufc_doit_r): Likewise.
65470         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
65471         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
65472         * gmon/gmon.c (__monstartup): Likewise.
65473         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
65474         * hurd/hurdmalloc.c (more_memory): Likewise.
65475         (malloc): Likewise.
65476         (free): Likewise.
65477         (realloc): Likewise.
65478         (malloc_fork_prepare): Likewise.
65479         (malloc_fork_parent): Likewise.
65480         (malloc_fork_child): Likewise.
65481         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
65482         (_svcauth_des): Likewise.
65483         * inet/inet_lnaof.c (inet_lnaof): Likewise.
65484         * inet/inet_net.c (inet_network): Likewise.
65485         * inet/inet_netof.c (inet_netof): Likewise.
65486         * inet/rcmd.c (__validuser2_sa): Likewise.
65487         * io/fts.c (fts_open): Likewise.
65488         (fts_load): Likewise.
65489         (fts_close): Likewise.
65490         (fts_read): Likewise.
65491         (fts_children): Likewise.
65492         (fts_build): Likewise.
65493         (fts_stat): Likewise.
65494         (fts_sort): Likewise.
65495         (fts_alloc): Likewise.
65496         (fts_lfree): Likewise.
65497         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
65498         (_IO_file_xsgetn): Likewise.
65499         (_IO_file_xsgetn_mmap): Likewise.
65500         * libio/iofopncook.c (_IO_cookie_read): Likewise.
65501         (_IO_cookie_write): Likewise.
65502         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
65503         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
65504         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
65505         * malloc/obstack.c (_obstack_begin): Likewise.
65506         (_obstack_begin_1): Likewise.
65507         (_obstack_newchunk): Likewise.
65508         (_obstack_allocated_p): Likewise.
65509         (obstack_free): Likewise.
65510         (_obstack_memory_used): Likewise.
65511         * misc/getttyent.c (getttynam): Likewise.
65512         (getttyent): Likewise.
65513         (skip): Likewise.
65514         (value): Likewise.
65515         * misc/getusershell.c (initshells): Likewise.
65516         * misc/syslog.c (__vsyslog_chk): Likewise.
65517         * misc/ttyslot.c (ttyslot): Likewise.
65518         * nis/nis_hash.c (__nis_hash): Likewise.
65519         * posix/fnmatch_loop.c (FCT): Likewise.
65520         * posix/getconf.c (print_all): Likewise.
65521         (main): Likewise.
65522         * posix/getopt.c (exchange): Likewise.
65523         * posix/glob.c (globfree): Likewise.
65524         (prefix_array): Likewise.
65525         (__glob_pattern_type): Likewise.
65526         * resolv/arpa/nameser.h (NS_GET16): Likewise.
65527         (NS_GET32): Likewise.
65528         (NS_PUT16): Likewise.
65529         (NS_PUT32): Likewise.
65530         * resolv/gethnamaddr.c (getanswer): Likewise.
65531         (gethostbyname2): Likewise.
65532         (gethostbyaddr): Likewise.
65533         (_gethtent): Likewise.
65534         (_gethtbyname2): Likewise.
65535         (_gethtbyaddr): Likewise.
65536         * resolv/ns_print.c (dst_s_get_int16): Likewise.
65537         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
65538         * resolv/res_init.c (__res_vinit): Likewise.
65539         (net_mask): Likewise.
65540         * resolv/res_mkquery.c (outchar): Likewise.
65541         (PRINT): Likewise.
65542         * stdio-common/printf_fp.c (outchar): Likewise.
65543         (PRINT): Likewise.
65544         * stdio-common/printf_fphex.c (outchar): Likewise.
65545         (PRINT): Likewise.
65546         * stdio-common/printf_size.c (outchar): Likewise.
65547         (PRINT): Likewise.
65548         * stdio-common/test_rdwr.c (main): Likewise.
65549         * stdio-common/tfformat.c (matches): Likewise.
65550         * stdio-common/vfprintf.c (outchar): Likewise.
65551         (printf_unknown): Likewise.
65552         (buffered_vfprintf): Likewise.
65553         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
65554         * stdio-common/xbug.c (AppendToBuffer): Likewise.
65555         (ReadFile): Likewise.
65556         * stdlib/qsort.c (SWAP): Likewise.
65557         (_quicksort): Likewise.
65558         * stdlib/setenv.c (__add_to_environ): Likewise.
65559         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
65560         * stdlib/strtol_l.c (__strtol_l): Likewise.
65561         * stdlib/tst-strtod.c (main): Likewise.
65562         * stdlib/tst-strtol.c (main): Likewise.
65563         * stdlib/tst-strtoll.c (main): Likewise.
65564         * string/bits/string2.h (__strcmp_cc): Likewise.
65565         (__strcmp_cg): Likewise.
65566         (__strcspn_c1): Likewise.
65567         (__strcspn_c2): Likewise.
65568         (__strcspn_c3): Likewise.
65569         (__strspn_c1): Likewise.
65570         (__strspn_c2): Likewise.
65571         (__strspn_c3): Likewise.
65572         (__strsep_1c): Likewise.
65573         (__strsep_2c): Likewise.
65574         (__strsep_3c): Likewise.
65575         * string/memccpy.c (__memccpy): Likewise.
65576         * string/stpcpy.c (__stpcpy): Likewise.
65577         * string/strcmp.c (strcmp): Likewise.
65578         * string/strrchr.c (strrchr): Likewise.
65579         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
65580         Likewise.
65581         * sysdeps/mach/hurd/getcwd.c
65582         (_hurd_canonicalize_directory_name_internal): Likewise.
65583         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
65584         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
65585         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
65586         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
65587         Likewise, in both definitions.
65588         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
65589         definitions.
65590         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
65591         64] (__bswap_64): Likewise.
65592         * time/test_time.c (main): Likewise.
65593         * time/tzfile.c (__tzfile_read): Likewise.
65594         (__tzfile_compute): Likewise.
65595         * time/tzset.c (__tzset_parse_tz): Likewise.
65596         (tzset_internal): Likewise.
65597         (compute_change): Likewise.
65598         * wcsmbs/wcscat.c (__wcscat): Likewise.
65599         * wcsmbs/wcschr.c (wcschr): Likewise.
65600         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
65601         * wcsmbs/wcscspn.c (wcscspn): Likewise.
65602         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
65603         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
65604         * wcsmbs/wcsspn.c (wcsspn): Likewise.
65605         * wcsmbs/wcsstr.c (wcsstr): Likewise.
65606         * wcsmbs/wmemchr.c (wmemchr): Likewise.
65607         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65608         * wcsmbs/wmemset.c (wmemset): Likewise.
65610 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
65612         * scripts/config.guess: Update to version 2013-05-16.
65613         * scripts/config.sub: Update to version 2013-04-24.
65614         * scripts/install-sh: Update to version 2011-11-20.07.
65615         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
65616         * scripts/move-if-change: Update to version 2012-01-06 07:23.
65618 2013-06-06   Ondƙej BĂ­lka  <neleai@seznam.cz>
65620         * debug/fgetws_u_chk.c: Fix leading whitespaces.
65621         * elf/sln.c: Likewise.
65622         * hurd/hurd/ioctl.h: Likewise.
65623         * hurd/hurdmalloc.c: Likewise.
65624         * hurd/xattr.c: Likewise.
65625         * include/shlib-compat.h: Likewise.
65626         * inet/ruserpass.c: Likewise.
65627         * libio/iofgets_u.c: Likewise.
65628         * libio/iofgetws_u.c: Likewise.
65629         * locale/programs/ld-identification.c: Likewise.
65630         * locale/programs/ld-time.c: Likewise.
65631         * mach/msg-destroy.c: Likewise.
65632         * nss/nss_files/files-netgrp.c: Likewise.
65633         * resolv/res_data.c: Likewise.
65634         * soft-fp/op-1.h: Likewise.
65635         * soft-fp/op-2.h: Likewise.
65636         * soft-fp/op-4.h: Likewise.
65637         * soft-fp/op-common.h: Likewise.
65638         * stdio-common/printf_fphex.c: Likewise.
65639         * stdlib/strtod_l.c: Likewise.
65640         * sunrpc/rpc/clnt.h: Likewise.
65641         * sysdeps/generic/framestate.c: Likewise.
65642         * sysdeps/i386/bsd-_setjmp.S: Likewise.
65643         * sysdeps/i386/bsd-setjmp.S: Likewise.
65644         * sysdeps/i386/__longjmp.S: Likewise.
65645         * sysdeps/i386/setjmp.S: Likewise.
65646         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65647         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65648         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65649         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65650         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65651         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65652         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65653         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65654         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65655         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65656         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65657         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65658         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65659         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65660         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65661         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65662         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65663         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
65664         * sysdeps/ieee754/support.c: Likewise.
65665         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65666         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
65667         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
65668         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
65669         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
65670         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
65671         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
65672         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
65673         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
65674         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
65675         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
65676         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
65677         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
65678         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
65679         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
65680         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
65681         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
65684 2013-06-05  Ondƙej BĂ­lka  <neleai@seznam.cz>
65686         * posix/transbug.c: Remove executable mode.
65688 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
65690         * crypt/speeds.c: Remove trailing whitespace.
65691         * dlfcn/default.c: Likewise.
65692         * elf/ifuncdep2.c: Likewise.
65693         * elf/ifuncmain1.c: Likewise.
65694         * elf/ifuncmain1vis.c: Likewise.
65695         * elf/testobj.h: Likewise.
65696         * elf/tst-stackguard1.c: Likewise.
65697         * gmon/sys/gmon.h: Likewise.
65698         * hurd/hurdmsg.c: Likewise.
65699         * hurd/new-fd.c: Likewise.
65700         * hurd/ports-get.c: Likewise.
65701         * iconvdata/ibm1008_420.c: Likewise.
65702         * inet/tst-getni1.c: Likewise.
65703         * inet/tst-getni2.c: Likewise.
65704         * libio/ioungetc.c: Likewise.
65705         * libio/wfiledoalloc.c: Likewise.
65706         * manual/libm-err-tab.pl: Likewise.
65707         * math/w_dremf.c: Likewise.
65708         * misc/ftruncate.c: Likewise.
65709         * posix/bug-glob2.c: Likewise.
65710         * posix/tst-pcre.c: Likewise.
65711         * posix/wait4.c: Likewise.
65712         * resolv/README: Likewise.
65713         * resolv/res_debug.h: Likewise.
65714         * resolv/tst-inet_ntop.c: Likewise.
65715         * setjmp/bug269-setjmp.c: Likewise.
65716         * soft-fp/extended.h: Likewise.
65717         * soft-fp/op-1.h: Likewise.
65718         * soft-fp/op-2.h: Likewise.
65719         * soft-fp/op-4.h: Likewise.
65720         * soft-fp/op-8.h: Likewise.
65721         * soft-fp/testit.c: Likewise.
65722         * stdio-common/bug16.c: Likewise.
65723         * stdlib/random.c: Likewise.
65724         * sunrpc/rpcsvc/rquota.x: Likewise.
65725         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
65726         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65727         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65728         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65729         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65730         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65731         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65732         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65733         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65734         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65735         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65736         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65737         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65738         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65739         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65740         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65741         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65742         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65743         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65744         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65745         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65746         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65747         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
65748         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65749         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65750         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65751         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65752         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65753         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65754         * sysdeps/ieee754/s_lib_version.c: Likewise.
65755         * sysdeps/mach/hurd/check_fds.c: Likewise.
65756         * sysdeps/mach/hurd/getsockname.c: Likewise.
65757         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
65758         * sysdeps/mach/hurd/recvfrom.c: Likewise.
65759         * sysdeps/powerpc/bits/link.h: Likewise.
65760         * sysdeps/powerpc/dl-procinfo.c: Likewise.
65761         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
65762         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
65763         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
65764         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65765         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65766         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
65767         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65768         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
65769         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65770         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
65771         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
65772         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
65773         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65774         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65775         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65776         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
65777         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
65778         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65779         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65780         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65781         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
65782         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65783         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
65784         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
65785         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
65786         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
65787         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65788         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65789         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
65790         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
65791         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
65792         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65793         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65794         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
65795         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65796         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
65797         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
65798         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
65799         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
65800         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
65801         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
65802         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
65803         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
65804         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
65805         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
65806         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
65807         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
65808         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
65809         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
65810         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65811         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65812         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65813         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65814         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
65815         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
65816         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
65817         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65818         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
65819         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
65820         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
65821         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
65822         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
65823         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65824         * sysdeps/powerpc/sysdep.h: Likewise.
65825         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65826         * sysdeps/s390/s390-64/sub_n.S: Likewise.
65827         * sysdeps/sh/dl-trampoline.S: Likewise.
65828         * sysdeps/sh/memset.S: Likewise.
65829         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
65830         * sysdeps/sh/strlen.S: Likewise.
65831         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
65832         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
65833         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
65834         * sysdeps/sparc/sparc32/rem.S: Likewise.
65835         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
65836         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
65837         * sysdeps/sparc/sparc32/strchr.S: Likewise.
65838         * sysdeps/sparc/sparc32/udiv.S: Likewise.
65839         * sysdeps/sparc/sparc32/urem.S: Likewise.
65840         * sysdeps/sparc/sparc64/add_n.S: Likewise.
65841         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65842         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
65843         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
65844         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
65845         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
65846         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
65847         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
65848         * sysdeps/unix/bsd/times.c: Likewise.
65849         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
65850         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
65851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
65852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
65853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
65854         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
65855         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
65856         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
65857         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
65858         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
65859         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
65860         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65861         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
65862         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65863         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65864         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
65865         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65866         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
65867         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
65868         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
65869         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
65870         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
65871         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65872         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
65873         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
65874         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
65875         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
65876         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65877         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
65878         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
65879         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
65880         * sysdeps/x86_64/strcspn.S: Likewise.
65882 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65884         * locale/C-translit.h: Revert #include <stdint.h> because this is a
65885         generated file.  Regenerate properly from gen-translit.pl.
65886         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
65887         locale/C-translit.h.
65889 2013-06-05  Andreas Schwab  <schwab@suse.de>
65891         [BZ #15100]
65892         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
65893         week as 6 instead of -1.
65894         * time/tst-strptime.c (day_tests): Add test case.
65896 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
65898         * sysdeps/generic/math_private.h
65899         (libc_feholdexcept_setround_53bit): Replace with
65900         libc_feholdsetround_53bit.
65901         (libc_feupdateenv_53bit): Replace with
65902         libc_feresetround_53bit.
65903         (SET_RESTORE_ROUND_53BIT): Adjust.
65905 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
65907         * string/test-strchrnul.c: Add copyright header.
65909         * posix/tst-getaddrinfo4.c: Increase test timeout.
65911 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
65913         [BZ #15536]
65914         * math/libm-test.inc (MAX_EXP): Remove
65915         (MIN_EXP): Define.
65916         (ulp): Use MIN_EXP - MANT_DIG.
65917         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
65919 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
65921         * po/be.po: Revert last change.
65922         * po/zh_CN.po: Likewise.
65923         * po/header.pot: Likewise.
65925 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
65927         * Makefile ($(common-objpfx)linkobj/libc.so): Define
65928         link-libc-deps to empty as target-specific variable.
65929         * Makerules (link-libc-args): New variable.
65930         (libc-for-link): Likewise.
65931         (link-libc-deps): Likewise.
65932         (lib%.so): Depend on $(link-libc-deps).  Link with
65933         $(link-libc-args).
65934         (build-module): Link with $(link-libc-args).
65935         (build-module-asneeded): Likewise.
65936         (build-module-helper-objlist): Filter out $(link-libc-deps) from
65937         list of objects.
65938         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
65939         target-specific variable.
65940         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
65941         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
65942         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
65943         libc.
65944         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
65945         libc and ld.so.
65946         ($(objpfx)libpcprofile.so): Likewise.
65947         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
65948         libc_nonshared.a.
65949         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
65950         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
65951         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
65952         $(link-libc-deps).
65953         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
65954         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
65955         * login/Makefile ($(objpfx)libutil.so): Likewise.
65956         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
65957         * math/Makefile ($(objpfx)libm.so): Likewise.
65958         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
65959         $(objpfx)libnsl.so): Define libc-for-link as target-specific
65960         variable instead of depending directly on libc.
65961         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
65962         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
65963         $(link-libc-deps).
65964         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
65965         libc.
65966         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
65967         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
65968         ($(objpfx)libanl.so): Likewise.
65969         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
65970         ld.so.
65971         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
65972         $(link-libc-deps).
65973         * sysdeps/i386/fpu/Makefile: Remove file.
65974         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
65975         ($(objpfx)libm.so): Remove dependency on ld.so.
65977 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
65979         [BZ # 15553]
65980         * nis/yp_xdr.c (XDRMAXNAME): Define.
65981         (XDRMAXRECORD): Define.
65982         (xdr_domainname): Use XDRMAXNAME.
65983         (xdr_mapname): Likewise.
65984         (xdr_peername): Likewise.
65985         (xdr_keydat): Use XDRMAXRECORD.
65986         (xdr_valdat): Likewise.
65988 2013-05-30  Jeff Law  <law@redhat.com>
65990         [BZ #14256]
65991         * manual/errno.texi (ESTALE): Update to account for more than
65992         just NFS file systems.
65993         * sysdeps/gnu/errlist.c: Regenerated.
65995 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65997         [BZ #15465]
65998         * elf/Makefile (tests): Add tst-null-argv.
65999         (modules-names):  Add tst-null-argv-lib.
66000         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
66001         (tst-null-argv-ENV): Set environment for tst-null-argv.
66002         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
66003         (RTLD_PROGNAME): New macro.
66004         * elf/tst-null-argv.c: New test case.
66005         * elf/tst-null-argv-lib.c: Library for test case.
66006         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
66007         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
66008         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
66009         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
66010         * elf/dl-init.c (call_init): Likewise.
66011         (_dl_init): Likewise.
66012         * elf/dl-load.c (print_search_path): Likewise.
66013         (_dl_map_object): Likewise.
66014         * elf/dl-lookup.c (do_lookup_x): Likewise.
66015         (add_dependency): Likewise.
66016         (_dl_lookup_symbol_x): Likewise.
66017         (_dl_debug_bindings): Likewise.
66018         * elf/dl-open.c (_dl_show_scope): Likewise.
66019         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
66020         * elf/dl-version.c (match_symbol): Likewise.
66021         (_dl_check_map_versions): Likewise.
66022         * elf/rtld.c (dl_main): Likewise.
66023         (print_unresolved): Use RTLD_PROGNAME.
66024         (print_missing_version): Likewise.
66025         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
66026         (elf_machine_rela): Likewise.
66027         * sysdeps/powerpc/powerpc32/dl-machine.c
66028         (__process_machine_rela): Likewise.
66029         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66030         Likewise.
66031         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
66032         Likewise.
66033         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
66034         Likewise.
66035         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
66036         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
66037         Likewise.
66038         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
66039         Likewise.
66040         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
66042 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
66044         * po/be.po: Add descriptive title.
66045         * po/zh_CN.po: Likewise.
66046         * po/header.pot: Likewise.
66048 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
66050         * locale/programs/locarchive.c (create_archive): Inlucde fname in
66051         error message.
66052         (enlarge_archive): Likewise.
66054 2013-05-28  Ben North  <ben@redfrontdoor.org>
66056         * manual/arith.texi (frexp): It is the magnitude of the return
66057         value which lies in [0.5, 1), not the return value itself.
66059 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66063 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
66065         * stdio-common/bug26.c (main): Correct fscanf template.
66067         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
66068         declare _dl_skip_args.
66070         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
66071         Don't declare.
66073         * manual/platform.texi: Add missing @end deftypefun.
66075 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
66077         [BZ #15529]
66078         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
66079         bit of mantissa of 2^16382.
66080         * math/libm-test.inc (hypot_test_data): Add more tests.
66082         * math/libm-test.inc: Add drem and pow10 to list of tested
66083         functions.
66084         (pow10_test): New function.
66085         (drem_test): Likewise.
66086         (drem_test_tonearest): Likewise.
66087         (drem_test_towardzero): Likewise.
66088         (drem_test_downward): Likewise.
66089         (drem_test_upward): Likewise.
66090         (main): Call the new functions.
66092         * math/libm-test.inc (finite_test_data): Remove.
66093         (finite_test): Run tests from isfinite_test_data.
66094         (gamma_test_data): Remove.
66095         (gamma_test): Run tests from lgamma_test_data.
66096         * sysdeps/i386/fpu/libm-test-ulps: Update.
66097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66099 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66101         * manual/platform.texi: Add PowerPC PPR function set documentation.
66102         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
66103         implementation.
66105 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
66107         * math/libm-test.inc (MAX_EXP): Define.
66108         (ULPDIFF): Define.
66109         (ulp): New function.
66110         (check_float_internal): Use ULPDIFF.
66111         (cpow_test): Disable failing test.
66112         (check_ulp): Test ulp() implementation.
66113         (main): Call check_ulp before starting tests.
66115 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
66117         * math/gen-libm-test.pl (generate_testfile): Do not handle
66118         START_DATA and END_DATA.
66119         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
66120         END_DATA.
66121         (acos_tonearest_test_data): Likewise.
66122         (acos_towardzero_test_data): Likewise.
66123         (acos_downward_test_data): Likewise.
66124         (acos_upward_test_data): Likewise.
66125         (acosh_test_data): Likewise.
66126         (asin_test_data): Likewise.
66127         (asin_tonearest_test_data): Likewise.
66128         (asin_towardzero_test_data): Likewise.
66129         (asin_downward_test_data): Likewise.
66130         (asin_upward_test_data): Likewise.
66131         (asinh_test_data): Likewise.
66132         (atan_test_data): Likewise.
66133         (atanh_test_data): Likewise.
66134         (atan2_test_data): Likewise.
66135         (cabs_test_data): Likewise.
66136         (cacos_test_data): Likewise.
66137         (cacosh_test_data): Likewise.
66138         (carg_test_data): Likewise.
66139         (casin_test_data): Likewise.
66140         (casinh_test_data): Likewise.
66141         (catan_test_data): Likewise.
66142         (catanh_test_data): Likewise.
66143         (cbrt_test_data): Likewise.
66144         (ccos_test_data): Likewise.
66145         (ccosh_test_data): Likewise.
66146         (ceil_test_data): Likewise.
66147         (cexp_test_data): Likewise.
66148         (cimag_test_data): Likewise.
66149         (clog_test_data): Likewise.
66150         (clog10_test_data): Likewise.
66151         (conj_test_data): Likewise.
66152         (copysign_test_data): Likewise.
66153         (cos_test_data): Likewise.
66154         (cos_tonearest_test_data): Likewise.
66155         (cos_towardzero_test_data): Likewise.
66156         (cos_downward_test_data): Likewise.
66157         (cos_upward_test_data): Likewise.
66158         (cosh_test_data): Likewise.
66159         (cosh_tonearest_test_data): Likewise.
66160         (cosh_towardzero_test_data): Likewise.
66161         (cosh_downward_test_data): Likewise.
66162         (cosh_upward_test_data): Likewise.
66163         (cpow_test_data): Likewise.
66164         (cproj_test_data): Likewise.
66165         (creal_test_data): Likewise.
66166         (csin_test_data): Likewise.
66167         (csinh_test_data): Likewise.
66168         (csqrt_test_data): Likewise.
66169         (ctan_test_data): Likewise.
66170         (ctan_tonearest_test_data): Likewise.
66171         (ctan_towardzero_test_data): Likewise.
66172         (ctan_downward_test_data): Likewise.
66173         (ctan_upward_test_data): Likewise.
66174         (ctanh_test_data): Likewise.
66175         (ctanh_tonearest_test_data): Likewise.
66176         (ctanh_towardzero_test_data): Likewise.
66177         (ctanh_downward_test_data): Likewise.
66178         (ctanh_upward_test_data): Likewise.
66179         (erf_test_data): Likewise.
66180         (erfc_test_data): Likewise.
66181         (exp_test_data): Likewise.
66182         (exp_tonearest_test_data): Likewise.
66183         (exp_towardzero_test_data): Likewise.
66184         (exp_downward_test_data): Likewise.
66185         (exp_upward_test_data): Likewise.
66186         (exp10_test_data): Likewise.
66187         (exp2_test_data): Likewise.
66188         (expm1_test_data): Likewise.
66189         (fabs_test_data): Likewise.
66190         (fdim_test_data): Likewise.
66191         (finite_test_data): Likewise.
66192         (floor_test_data): Likewise.
66193         (fma_test_data): Likewise.
66194         (fma_towardzero_test_data): Likewise.
66195         (fma_downward_test_data): Likewise.
66196         (fma_upward_test_data): Likewise.
66197         (fmax_test_data): Likewise.
66198         (fmin_test_data): Likewise.
66199         (fmod_test_data): Likewise.
66200         (fpclassify_test_data): Likewise.
66201         (frexp_test_data): Likewise.
66202         (gamma_test_data): Likewise.
66203         (hypot_test_data): Likewise.
66204         (ilogb_test_data): Likewise.
66205         (isfinite_test_data): Likewise.
66206         (isgreater_test_data): Likewise.
66207         (isgreaterequal_test_data): Likewise.
66208         (isinf_test_data): Likewise.
66209         (isless_test_data): Likewise.
66210         (islessequal_test_data): Likewise.
66211         (islessgreater_test_data): Likewise.
66212         (isnan_test_data): Likewise.
66213         (isnormal_test_data): Likewise.
66214         (issignaling_test_data): Likewise.
66215         (isunordered_test_data): Likewise.
66216         (j0_test_data): Likewise.
66217         (j1_test_data): Likewise.
66218         (jn_test_data): Likewise.
66219         (ldexp_test_data): Likewise.
66220         (lgamma_test_data): Likewise.
66221         (lrint_test_data): Likewise.
66222         (lrint_tonearest_test_data): Likewise.
66223         (lrint_towardzero_test_data): Likewise.
66224         (lrint_downward_test_data): Likewise.
66225         (lrint_upward_test_data): Likewise.
66226         (llrint_test_data): Likewise.
66227         (llrint_tonearest_test_data): Likewise.
66228         (llrint_towardzero_test_data): Likewise.
66229         (llrint_downward_test_data): Likewise.
66230         (llrint_upward_test_data): Likewise.
66231         (log_test_data): Likewise.
66232         (log10_test_data): Likewise.
66233         (log1p_test_data): Likewise.
66234         (log2_test_data): Likewise.
66235         (logb_test_data): Likewise.
66236         (logb_downward_test_data): Likewise.
66237         (lround_test_data): Likewise.
66238         (llround_test_data): Likewise.
66239         (modf_test_data): Likewise.
66240         (nearbyint_test_data): Likewise.
66241         (nextafter_test_data): Likewise.
66242         (nexttoward_test_data): Likewise.
66243         (pow_test_data): Likewise.
66244         (pow_tonearest_test_data): Likewise.
66245         (pow_towardzero_test_data): Likewise.
66246         (pow_downward_test_data): Likewise.
66247         (pow_upward_test_data): Likewise.
66248         (remainder_test_data): Likewise.
66249         (remainder_tonearest_test_data): Likewise.
66250         (remainder_towardzero_test_data): Likewise.
66251         (remainder_downward_test_data): Likewise.
66252         (remainder_upward_test_data): Likewise.
66253         (remquo_test_data): Likewise.
66254         (rint_test_data): Likewise.
66255         (rint_tonearest_test_data): Likewise.
66256         (rint_towardzero_test_data): Likewise.
66257         (rint_downward_test_data): Likewise.
66258         (rint_upward_test_data): Likewise.
66259         (round_test_data): Likewise.
66260         (scalb_test_data): Likewise.
66261         (scalbn_test_data): Likewise.
66262         (scalbln_test_data): Likewise.
66263         (signbit_test_data): Likewise.
66264         (sin_test_data): Likewise.
66265         (sin_tonearest_test_data): Likewise.
66266         (sin_towardzero_test_data): Likewise.
66267         (sin_downward_test_data): Likewise.
66268         (sin_upward_test_data): Likewise.
66269         (sincos_test_data): Likewise.
66270         (sinh_test_data): Likewise.
66271         (sinh_tonearest_test_data): Likewise.
66272         (sinh_towardzero_test_data): Likewise.
66273         (sinh_downward_test_data): Likewise.
66274         (sinh_upward_test_data): Likewise.
66275         (sqrt_test_data): Likewise.
66276         (tan_test_data): Likewise.
66277         (tan_tonearest_test_data): Likewise.
66278         (tan_towardzero_test_data): Likewise.
66279         (tan_downward_test_data): Likewise.
66280         (tan_upward_test_data): Likewise.
66281         (tanh_test_data): Likewise.
66282         (tgamma_test_data): Likewise.
66283         (trunc_test_data): Likewise.
66284         (y0_test_data): Likewise.
66285         (y1_test_data): Likewise.
66286         (yn_test_data): Likewise.
66287         (significand_test_data): Likewise.
66289         * math/gen-libm-test.pl (@functions): Remove variable.
66290         (generate_testfile): Don't handle START and END lines.
66291         * math/libm-test.inc (START): New macro.
66292         (END): Likewise.
66293         (END_COMPLEX): Likewise.
66294         (acos_test): Use END macro without arguments.
66295         (acos_test_tonearest): Likewise.
66296         (acos_test_towardzero): Likewise.
66297         (acos_test_downward): Likewise.
66298         (acos_test_upward): Likewise.
66299         (acosh_test): Likewise.
66300         (asin_test): Likewise.
66301         (asin_test_tonearest): Likewise.
66302         (asin_test_towardzero): Likewise.
66303         (asin_test_downward): Likewise.
66304         (asin_test_upward): Likewise.
66305         (asinh_test): Likewise.
66306         (atan_test): Likewise.
66307         (atanh_test): Likewise.
66308         (atan2_test): Likewise.
66309         (cabs_test): Likewise.
66310         (cacos_test): Use END_COMPLEX macro without arguments.
66311         (cacosh_test): Likewise.
66312         (carg_test): Use END macro without arguments.
66313         (casin_test): Use END_COMPLEX macro without arguments.
66314         (casinh_test): Likewise.
66315         (catan_test): Likewise.
66316         (catanh_test): Likewise.
66317         (cbrt_test): Use END macro without arguments.
66318         (ccos_test): Use END_COMPLEX macro without arguments.
66319         (ccosh_test): Likewise.
66320         (ceil_test): Use END macro without arguments.
66321         (cexp_test): Use END_COMPLEX macro without arguments.
66322         (cimag_test): Use END macro without arguments.
66323         (clog_test): Use END_COMPLEX macro without arguments.
66324         (clog10_test): Likewise.
66325         (conj_test): Likewise.
66326         (copysign_test): Use END macro without arguments.
66327         (cos_test): Likewise.
66328         (cos_test_tonearest): Likewise.
66329         (cos_test_towardzero): Likewise.
66330         (cos_test_downward): Likewise.
66331         (cos_test_upward): Likewise.
66332         (cosh_test): Likewise.
66333         (cosh_test_tonearest): Likewise.
66334         (cosh_test_towardzero): Likewise.
66335         (cosh_test_downward): Likewise.
66336         (cosh_test_upward): Likewise.
66337         (cpow_test): Use END_COMPLEX macro without arguments.
66338         (cproj_test): Likewise.
66339         (creal_test): Use END macro without arguments.
66340         (csin_test): Use END_COMPLEX macro without arguments.
66341         (csinh_test): Likewise.
66342         (csqrt_test): Likewise.
66343         (ctan_test): Likewise.
66344         (ctan_test_tonearest): Likewise.
66345         (ctan_test_towardzero): Likewise.
66346         (ctan_test_downward): Likewise.
66347         (ctan_test_upward): Likewise.
66348         (ctanh_test): Likewise.
66349         (ctanh_test_tonearest): Likewise.
66350         (ctanh_test_towardzero): Likewise.
66351         (ctanh_test_downward): Likewise.
66352         (ctanh_test_upward): Likewise.
66353         (erf_test): Use END macro without arguments.
66354         (erfc_test): Likewise.
66355         (exp_test): Likewise.
66356         (exp_test_tonearest): Likewise.
66357         (exp_test_towardzero): Likewise.
66358         (exp_test_downward): Likewise.
66359         (exp_test_upward): Likewise.
66360         (exp10_test): Likewise.
66361         (exp2_test): Likewise.
66362         (expm1_test): Likewise.
66363         (fabs_test): Likewise.
66364         (fdim_test): Likewise.
66365         (finite_test): Likewise.
66366         (floor_test): Likewise.
66367         (fma_test): Likewise.
66368         (fma_test_towardzero): Likewise.
66369         (fma_test_downward): Likewise.
66370         (fma_test_upward): Likewise.
66371         (fmax_test): Likewise.
66372         (fmin_test): Likewise.
66373         (fmod_test): Likewise.
66374         (fpclassify_test): Likewise.
66375         (frexp_test): Likewise.
66376         (gamma_test): Likewise.
66377         (hypot_test): Likewise.
66378         (ilogb_test): Likewise.
66379         (isfinite_test): Likewise.
66380         (isgreater_test): Likewise.
66381         (isgreaterequal_test): Likewise.
66382         (isinf_test): Likewise.
66383         (isless_test): Likewise.
66384         (islessequal_test): Likewise.
66385         (islessgreater_test): Likewise.
66386         (isnan_test): Likewise.
66387         (isnormal_test): Likewise.
66388         (issignaling_test): Likewise.
66389         (isunordered_test): Likewise.
66390         (j0_test): Likewise.
66391         (j1_test): Likewise.
66392         (jn_test): Likewise.
66393         (ldexp_test): Likewise.
66394         (lgamma_test): Likewise.
66395         (lrint_test): Likewise.
66396         (lrint_test_tonearest): Likewise.
66397         (lrint_test_towardzero): Likewise.
66398         (lrint_test_downward): Likewise.
66399         (lrint_test_upward): Likewise.
66400         (llrint_test): Likewise.
66401         (llrint_test_tonearest): Likewise.
66402         (llrint_test_towardzero): Likewise.
66403         (llrint_test_downward): Likewise.
66404         (llrint_test_upward): Likewise.
66405         (log_test): Likewise.
66406         (log10_test): Likewise.
66407         (log1p_test): Likewise.
66408         (log2_test): Likewise.
66409         (logb_test): Likewise.
66410         (logb_test_downward): Likewise.
66411         (lround_test): Likewise.
66412         (llround_test): Likewise.
66413         (modf_test): Likewise.
66414         (nearbyint_test): Likewise.
66415         (nextafter_test): Likewise.
66416         (nexttoward_test): Likewise.
66417         (pow_test): Likewise.
66418         (pow_test_tonearest): Likewise.
66419         (pow_test_towardzero): Likewise.
66420         (pow_test_downward): Likewise.
66421         (pow_test_upward): Likewise.
66422         (remainder_test): Likewise.
66423         (remainder_test_tonearest): Likewise.
66424         (remainder_test_towardzero): Likewise.
66425         (remainder_test_downward): Likewise.
66426         (remainder_test_upward): Likewise.
66427         (remquo_test): Likewise.
66428         (rint_test): Likewise.
66429         (rint_test_tonearest): Likewise.
66430         (rint_test_towardzero): Likewise.
66431         (rint_test_downward): Likewise.
66432         (rint_test_upward): Likewise.
66433         (round_test): Likewise.
66434         (scalb_test): Likewise.
66435         (scalbn_test): Likewise.
66436         (scalbln_test): Likewise.
66437         (signbit_test): Likewise.
66438         (sin_test): Likewise.
66439         (sin_test_tonearest): Likewise.
66440         (sin_test_towardzero): Likewise.
66441         (sin_test_downward): Likewise.
66442         (sin_test_upward): Likewise.
66443         (sincos_test): Likewise.
66444         (sinh_test): Likewise.
66445         (sinh_test_tonearest): Likewise.
66446         (sinh_test_towardzero): Likewise.
66447         (sinh_test_downward): Likewise.
66448         (sinh_test_upward): Likewise.
66449         (sqrt_test): Likewise.
66450         (tan_test): Likewise.
66451         (tan_test_tonearest): Likewise.
66452         (tan_test_towardzero): Likewise.
66453         (tan_test_downward): Likewise.
66454         (tan_test_upward): Likewise.
66455         (tanh_test): Likewise.
66456         (tgamma_test): Likewise.
66457         (trunc_test): Likewise.
66458         (y0_test): Likewise.
66459         (y1_test): Likewise.
66460         (yn_test): Likewise.
66461         (significand_test): Likewise.
66463 2013-05-24  Ondƙej BĂ­lka  <neleai@seznam.cz>
66465         [BZ #15381]
66466         * libio/genops.c (_IO_no_init): Initialize wide struct info.
66468 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
66470         [BZ #14894]
66471         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
66472         __ppc_mdoio and __ppc_mdoom.
66473         * manual/platform.texi: Document new functions __ppc_yield,
66474         __ppc_mdoio and __ppc_mdoom.
66476 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
66478         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
66479         (main): Mention "tls" pseudo-hwcap is legacy.
66480         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
66482 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
66484         * math/gen-libm-test.pl (parse_args): Output only string of
66485         arguments as text for test name, not full call or descriptions of
66486         tests for extra outputs.
66487         (generate_testfile): Do not pass function name to parse_args.
66488         Generate this_func variable from START.
66489         * math/libm-test.inc (struct test_f_f_data): Rename test_name
66490         field to arg_str.
66491         (struct test_ff_f_data): Likewise.
66492         (test_ff_f_data_nexttoward): Likewise.
66493         (struct test_fi_f_data): Likewise.
66494         (struct test_fl_f_data): Likewise.
66495         (struct test_if_f_data): Likewise.
66496         (struct test_fff_f_data): Likewise.
66497         (struct test_c_f_data): Likewise.
66498         (struct test_f_f1_data): Likewise.  Remove field extra_name.
66499         (struct test_fF_f1_data): Likewise.
66500         (struct test_ffI_f1_data): Likewise.
66501         (struct test_c_c_data): Rename test_name field to arg_str.
66502         (struct test_cc_c_data): Likewise.
66503         (struct test_f_i_data): Likewise.
66504         (struct test_ff_i_data): Likewise.
66505         (struct test_f_l_data): Likewise.
66506         (struct test_f_L_data): Likewise.
66507         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
66508         and extra2_name.
66509         (COMMON_TEST_SETUP): New macro.
66510         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
66511         (COMMON_TEST_CLEANUP): Likewise.
66512         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
66513         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
66514         macros.
66515         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
66516         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
66517         macros.
66518         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
66519         (RUN_TEST_fff_f): Take argument string.  Call new setup and
66520         cleanup macros.
66521         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
66522         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
66523         macros.
66524         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
66525         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
66526         macros.
66527         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66528         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
66529         cleanup macros.
66530         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66531         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
66532         cleanup macros.
66533         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66534         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
66535         cleanup macros.
66536         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66537         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
66538         macros.
66539         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
66540         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
66541         macros.
66542         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
66543         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
66544         macros.
66545         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
66546         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
66547         cleanup macros.
66548         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
66549         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
66550         cleanup macros.
66551         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
66552         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
66553         macros.
66554         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
66555         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
66556         cleanup macros.
66557         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
66558         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
66559         macros.
66560         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
66561         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
66562         macros.
66563         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
66564         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
66565         cleanup macros.
66566         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
66568 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
66570         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
66571         to _sifields.sigfault.
66572         (si_addr_lsb): Define new macro.
66573         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66574         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66575         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
66577 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
66579         [BZ #15441]
66580         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
66581         returns -1.
66582         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
66583         null return -1.
66584         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
66585         loading the domain.
66587 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
66589         * math/gen-libm-test.pl (parse_args): Do not include expected
66590         result in test name.
66591         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
66592         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66593         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66594         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66595         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66598 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66600         * benchtests/Makefile: Sort function entries.
66602         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
66603         tanh, asinh, acosh, atanh.
66604         * benchtests/acos-inputs: New file.
66605         * benchtests/acosh-inputs: New file.
66606         * benchtests/asin-inputs: New file.
66607         * benchtests/asinh-inputs: New file.
66608         * benchtests/atanh-inputs: New file.
66609         * benchtests/cosh-inputs: New file.
66610         * benchtests/log-inputs: New file.
66611         * benchtests/sinh-inputs: New file.
66612         * benchtests/tanh-inputs: New file.
66614 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
66616         [BZ #15339]
66617         * posix/tst-getaddrinfo4.c: New test.
66618         * posix/Makefile (tests): Add it.
66620 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66622         [BZ #15339]
66623         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
66624         when no services were used.
66625         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
66626         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
66628 2013-05-21  Andreas Schwab  <schwab@suse.de>
66630         [BZ #15014]
66631         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
66632         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
66633         successful.
66634         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
66635         redundant variable declarations and reallocation of buffer when
66636         parsing as IPv6 address.  Always set NSS status when called from
66637         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
66638         buffer too small.  Correct computation of needed size.
66639         * nss/Makefile (tests): Add test-digits-dots.
66640         * nss/test-digits-dots.c: New test.
66642 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66644         * benchtests/Makefile: Remove instructions for adding
66645         benchmark tests.
66646         * benchtests/README: New file to explain how to execute and
66647         enhance the benchmark tests.
66649 2013-05-21  Andreas Schwab  <schwab@suse.de>
66651         [BZ #15493]
66652         * setjmp/Makefile (tests): Add tst-sigsetjmp.
66653         * setjmp/tst-sigsetjmp.c: New test.
66655 2013-05-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
66657         * sysdeps/x86_64/memset.S (memset): New implementation.
66658         (__bzero): Likewise.
66659         (__memset_tail): New function.
66661 2013-05-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
66663         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
66664         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
66665         __memcpy_sse2_unaligned ifunc selection.
66666         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66667         Add memcpy-sse2-unaligned.S.
66668         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66669         Add: __memcpy_sse2_unaligned.
66671 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
66673         [BZ #15490]
66674         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66675         math_force_eval before restoring floating-point envrionment.
66676         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
66677         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
66678         Likewise.
66679         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
66680         <math_private.h>.
66681         (__nearbyintl): Use math_force_eval before restoring
66682         floating-point environment.
66683         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
66685         * math/gen-libm-test.pl (special_functions): Remove.
66686         (parse_args): Don't handle TEST_extra.  Handle functions with no
66687         return value.
66688         * math/libm-test.inc (struct test_sincos_data): Replace with
66689         struct test_fFF_11_data.
66690         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
66691         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
66692         (sincos_test_data): Change element type to struct
66693         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
66694         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
66695         RUN_TEST_LOOP_sincos.
66696         * math/README.libm-test: Don't mention special handling of
66697         individual functions.
66698         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
66699         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66700         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66701         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66702         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66705         * math/gen-libm-test.pl (get_variable): Remove function.
66706         (parse_args): Don't show pointer parameters to call in test
66707         names.  Use "extra output N" in test names for extra outputs
66708         rather than naming variables.
66710 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
66712         [BZ #15488]
66713         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
66714         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
66715         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
66716         double tests.
66717         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
66718         disable.
66719         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
66720         check_long_double.
66722         * math/gen-libm-test.pl (@tests): Remove variable.
66723         ($count): Likewise.
66724         (new_test): Remove function.
66725         (show_exceptions): New function.
66726         (special_functions): Use show_exceptions instead of new_test.
66727         (parse_args): Likewise.
66728         (generate_testfile): Pass only function name in generated call to
66729         print_max_error or print_complex_max_error.
66730         (get_ulps): Do not handle complex tests specially.
66731         (output_test): Rename to ...
66732         (get_all_ulps_for_test): ... this.  Return a string rather than
66733         printing to a file.  Require ulps to be present.
66734         (output_ulps): Generate arrays rather than #defines.
66735         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
66736         (struct ulp_data): New type.
66737         (BUILD_COMPLEX_ULP): Remove macro.
66738         (compare_ulp_data): New function.
66739         (find_ulps): Likewise.
66740         (find_test_ulps): Likewise.
66741         (find_function_ulps): Likewise.
66742         (find_complex_function_ulps): Likewise.
66743         (print_max_error): Determine allowed ulps using
66744         find_function_ulps.
66745         (print_complex_max_error): Determine allowed ulps using
66746         find_complex_function_ulps.
66747         (check_float_internal): Determine max ulps using find_test_ulps.
66748         (check_float): Do not take max_ulp parameter.  Update call to
66749         check_float_internal.
66750         (check_complex): Likewise.
66751         (check_int): Do not take max_ulp parameter.
66752         (check_long): Likewise.
66753         (check_bool): Likewise.
66754         (check_longlong): Likewise.
66755         (struct test_f_f_data): Remove max_ulp field.
66756         (struct test_ff_f_data): Likewise.
66757         (struct test_ff_f_data_nexttoward): Likewise.
66758         (struct test_fi_f_data): Likewise.
66759         (struct test_fl_f_data): Likewise.
66760         (struct test_if_f_data): Likewise.
66761         (struct test_fff_f_data): Likewise.
66762         (struct test_c_f_data): Likewise.
66763         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
66764         (struct test_fF_f1_data): Likewise.
66765         (struct test_ffI_f1_data): Likewise.
66766         (struct test_c_c_data): Remove max_ulp field.
66767         (struct test_cc_c_data): Likewise.
66768         (struct test_f_i_data): Likewise.
66769         (struct test_ff_i_data): Likewise.
66770         (struct test_f_l_data): Likewise.
66771         (struct test_f_L_data): Likewise.
66772         (struct test_sincos_data): Likewise.
66773         (RUN_TEST_f_f): Do not handle ulps.
66774         (RUN_TEST_LOOP_f_f): Likewise.
66775         (RUN_TEST_2_f): Likewise.
66776         (RUN_TEST_LOOP_2_f): Likewise.
66777         (RUN_TEST_fff_f): Likewise.
66778         (RUN_TEST_LOOP_fff_f): Likewise.
66779         (RUN_TEST_c_f): Likewise.
66780         (RUN_TEST_LOOP_c_f): Likewise.
66781         (RUN_TEST_f_f1): Likewise.
66782         (RUN_TEST_LOOP_f_f1): Likewise.
66783         (RUN_TEST_fF_f1): Likewise.
66784         (RUN_TEST_LOOP_fF_f1): Likewise.
66785         (RUN_TEST_fI_f1): Likewise.
66786         (RUN_TEST_LOOP_fI_f1): Likewise.
66787         (RUN_TEST_ffI_f1): Likewise.
66788         (RUN_TEST_LOOP_ffI_f1): Likewise.
66789         (RUN_TEST_c_c): Likewise.
66790         (RUN_TEST_LOOP_c_c): Likewise.
66791         (RUN_TEST_cc_c): Likewise.
66792         (RUN_TEST_LOOP_cc_c): Likewise.
66793         (RUN_TEST_f_i): Likewise.
66794         (RUN_TEST_LOOP_f_i): Likewise.
66795         (RUN_TEST_f_i_tg): Likewise.
66796         (RUN_TEST_LOOP_f_i_tg): Likewise.
66797         (RUN_TEST_ff_i_tg): Likewise.
66798         (RUN_TEST_LOOP_ff_i_tg): Likewise.
66799         (RUN_TEST_f_b): Likewise.
66800         (RUN_TEST_LOOP_f_b): Likewise.
66801         (RUN_TEST_f_b_tg): Likewise.
66802         (RUN_TEST_LOOP_f_b_tg): Likewise.
66803         (RUN_TEST_f_l): Likewise.
66804         (RUN_TEST_LOOP_f_l): Likewise.
66805         (RUN_TEST_f_L): Likewise.
66806         (RUN_TEST_LOOP_f_L): Likewise.
66807         (RUN_TEST_sincos): Likewise.
66808         (RUN_TEST_LOOP_sincos): Likewise.
66810 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
66812         [BZ #15480]
66813         [BZ #15485]
66814         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
66815         main case of finite arguments, set rounding mode to FE_TONEAREST
66816         and discard exceptions.
66817         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
66818         exceptions.
66819         (remainder_tonearest_test_data): New variable.
66820         (remainder_test_tonearest): New function.
66821         (remainder_towardzero_test_data): New variable.
66822         (remainder_test_towardzero): New function.
66823         (remainder_downward_test_data): New variable.
66824         (remainder_test_downward): New function.
66825         (remainder_upward_test_data): New variable.
66826         (remainder_test_upward): New function.
66827         (main): Call the new test functions.
66829         * math/libm-test.inc (struct test_f_f1_data): Remove field
66830         extra_init.
66831         (struct test_fF_f1_data): Likewise.
66832         (struct test_ffI_f1_data): Likewise.
66833         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
66834         based on value of EXTRA_EXPECTED.
66835         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66836         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
66837         EXTRA_VAR based on value of EXTRA_EXPECTED.
66838         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66839         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
66840         EXTRA_VAR based on value of EXTRA_EXPECTED.
66841         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66842         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
66843         EXTRA_VAR based on value of EXTRA_EXPECTED.
66844         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66845         * math/gen-libm-test.pl (parse_args): Don't output initializers
66846         for extra output values.
66848         * math/libm-test.inc (check_int): Expect result to be exactly
66849         equal to expected value and do not handle ulps.
66850         (check_long): Likewise.
66851         (check_longlong): Likewise.
66853         * math/libm-test.inc (ceil_test_data): Test for "inexact"
66854         exceptions.
66855         (cimag_test_data): Likewise.
66856         (conj_test_data): Likewise.
66857         (copysign_test_data): Likewise.
66858         (cproj_test_data): Likewise.
66859         (creal_test_data): Likewise.
66860         (fabs_test_data): Likewise.
66861         (fdim_test_data): Likewise.
66862         (finite_test_data): Likewise.
66863         (floor_test_data): Likewise.
66864         (fmax_test_data): Likewise.
66865         (fmin_test_data): Likewise.
66866         (fmod_test_data): Likewise.
66867         (fpclassify_test_data): Likewise.
66868         (frexp_test_data): Likewise.
66869         (ilogb_test_data): Likewise.
66870         (isfinite_test_data): Likewise.
66871         (isgreater_test_data): Likewise.
66872         (isgreaterequal_test_data): Likewise.
66873         (isinf_test_data): Likewise.
66874         (isless_test_data): Likewise.
66875         (islessequal_test_data): Likewise.
66876         (islessgreater_test_data): Likewise.
66877         (isnan_test_data): Likewise.
66878         (isnormal_test_data): Likewise.
66879         (issignaling_test_data): Likewise.
66880         (isunordered_test_data): Likewise.
66881         (ldexp_test_data): Likewise.
66882         (lrint_test_data): Likewise.
66883         (lrint_test_data) [TEST_FLOAT]: Disable one test.
66884         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
66885         (lrint_tonearest_test_data): Test for "inexact" exceptions.
66886         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66887         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
66888         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66889         test input.
66890         (lrint_towardzero_test_data): Test for "inexact" exceptions.
66891         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66892         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
66893         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
66894         that test input.
66895         (lrint_downward_test_data): Test for "inexact" exceptions.
66896         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66897         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
66898         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66899         test input.
66900         (lrint_upward_test_data): Test for "inexact" exceptions.
66901         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
66902         test input.
66903         (llrint_test_data): Test for "inexact" exceptions.
66904         (llrint_test_data) [TEST_FLOAT]: Disable one test.
66905         (llrint_tonearest_test_data): Test for "inexact" exceptions.
66906         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66907         (llrint_towardzero_test_data): Test for "inexact" exceptions.
66908         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66909         (llrint_downward_test_data): Test for "inexact" exceptions.
66910         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66911         (llrint_upward_test_data): Test for "inexact" exceptions.
66912         (logb_test_data): Likewise.
66913         (logb_downward_test_data): Likewise.
66914         (nextafter_test_data): Likewise.
66915         (nexttoward_test_data): Likewise.
66916         (remainder_test_data): Likewise.
66917         (remquo_test_data): Likewise.
66918         (scalbn_test_data): Likewise.
66919         (scalbln_test_data): Likewise.
66920         (signbit_test_data): Likewise.
66921         (sqrt_test_data): Likewise.
66922         (significand_test_data): Likewise.
66924 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
66926         [BZ #15424]
66927         * benchtests/bench-modf.c (struct args): Mark arg0 as
66928         volatile.
66929         * scripts/bench.pl: Mark members of struct args as volatile.
66931 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66933         [BZ # 15497]
66934         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
66935         negative infinity on POWER6 or lower.
66936         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
66938 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
66940         [BZ #15442]
66941         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
66942         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
66943         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
66944         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
66945         (_FP_SETQNAN): New macro.
66946         (_FP_SETQNAN_SEMIRAW): Likewise.
66947         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
66948         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
66949         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
66950         (FP_EXTEND): Use _FP_FRAC_SNANP.
66951         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
66952         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
66953         into account.
66954         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66955         New macro.
66956         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66957         Likewise.
66959 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
66961         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
66962         with DIVIDE_BY_ZERO_EXCEPTION.
66963         (gamma_test_data): Likewise.
66964         (lgamma_test_data): Likewise.
66965         (log_test_data): Likewise.
66966         (log10_test_data): Likewise.
66967         (log2_test_data): Likewise.
66968         (tgamma_test_data): Likewise.
66970         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
66971         (acos_test_tonearest): Likewise.
66972         (acos_test_towardzero): Likewise.
66973         (acos_test_downward): Likewise.
66974         (acos_test_upward): Likewise.
66975         (acosh_test): Likewise.
66976         (asin_test): Likewise.
66977         (asin_test_tonearest): Likewise.
66978         (asin_test_towardzero): Likewise.
66979         (asin_test_downward): Likewise.
66980         (asin_test_upward): Likewise.
66981         (asinh_test): Likewise.
66982         (atan_test): Likewise.
66983         (atanh_test): Likewise.
66984         (atan2_test): Likewise.
66985         (cabs_test): Likewise.
66986         (cacos_test): Likewise.
66987         (cacosh_test): Likewise.
66988         (casin_test): Likewise.
66989         (casinh_test): Likewise.
66990         (catan_test): Likewise.
66991         (catanh_test): Likewise.
66992         (cbrt_test): Likewise.
66993         (ccos_test): Likewise.
66994         (ccosh_test): Likewise.
66995         (cexp_test): Likewise.
66996         (clog_test): Likewise.
66997         (clog10_test): Likewise.
66998         (cos_test): Likewise.
66999         (cos_test_tonearest): Likewise.
67000         (cos_test_towardzero): Likewise.
67001         (cos_test_downward): Likewise.
67002         (cos_test_upward): Likewise.
67003         (cosh_test): Likewise.
67004         (cosh_test_tonearest): Likewise.
67005         (cosh_test_towardzero): Likewise.
67006         (cosh_test_downward): Likewise.
67007         (cosh_test_upward): Likewise.
67008         (cpow_test): Likewise.
67009         (csin_test): Likewise.
67010         (csinh_test): Likewise.
67011         (csqrt_test): Likewise.
67012         (ctan_test): Likewise.
67013         (ctan_test_tonearest): Likewise.
67014         (ctan_test_towardzero): Likewise.
67015         (ctan_test_downward): Likewise.
67016         (ctan_test_upward): Likewise.
67017         (ctanh_test): Likewise.
67018         (ctanh_test_tonearest): Likewise.
67019         (ctanh_test_towardzero): Likewise.
67020         (ctanh_test_downward): Likewise.
67021         (ctanh_test_upward): Likewise.
67022         (erf_test): Likewise.
67023         (erfc_test): Likewise.
67024         (exp_test): Likewise.
67025         (exp_test_tonearest): Likewise.
67026         (exp_test_towardzero): Likewise.
67027         (exp_test_downward): Likewise.
67028         (exp_test_upward): Likewise.
67029         (exp10_test): Likewise.
67030         (exp2_test): Likewise.
67031         (expm1_test): Likewise.
67032         (fmod_test): Likewise.
67033         (gamma_test): Likewise.
67034         (hypot_test): Likewise.
67035         (j0_test): Likewise.
67036         (j1_test): Likewise.
67037         (jn_test): Likewise.
67038         (lgamma_test): Likewise.
67039         (log_test): Likewise.
67040         (log10_test): Likewise.
67041         (log1p_test): Likewise.
67042         (log2_test): Likewise.
67043         (logb_test_downward): Likewise.
67044         (pow_test): Likewise.
67045         (pow_test_tonearest): Likewise.
67046         (pow_test_towardzero): Likewise.
67047         (pow_test_downward): Likewise.
67048         (pow_test_upward): Likewise.
67049         (remainder_test): Likewise.
67050         (remquo_test): Likewise.
67051         (sin_test): Likewise.
67052         (sin_test_tonearest): Likewise.
67053         (sin_test_towardzero): Likewise.
67054         (sin_test_downward): Likewise.
67055         (sin_test_upward): Likewise.
67056         (sincos_test): Likewise.
67057         (sinh_test): Likewise.
67058         (sinh_test_tonearest): Likewise.
67059         (sinh_test_towardzero): Likewise.
67060         (sinh_test_downward): Likewise.
67061         (sinh_test_upward): Likewise.
67062         (sqrt_test): Likewise.
67063         (tan_test): Likewise.
67064         (tan_test_tonearest): Likewise.
67065         (tan_test_towardzero): Likewise.
67066         (tan_test_downward): Likewise.
67067         (tan_test_upward): Likewise.
67068         (tanh_test): Likewise.
67069         (tgamma_test): Likewise.
67070         (y0_test): Likewise.
67071         (y1_test): Likewise.
67072         (yn_test): Likewise.
67074         * math/gen-libm-test.pl (adjust_arg): Remove function.
67075         (special_function): Remove argument $in_func.  Only handle
67076         generating output for tables of tests, not inside functions.
67077         (parse_args): Likewise.
67078         (generate_testfile): Remove variable $in_func.  Update call to
67079         parse_args.
67080         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
67081         (MINUS_ZERO_INIT): Rename macro to minus_zero.
67082         (PLUS_INFTY_INIT): Rename macro to plus_infty.
67083         (MINUS_INFTY_INIT): Rename macro to minus_infty.
67084         (QNAN_VALUE_INIT): Rename macro to qnan_value.
67085         (MAX_VALUE_INIT): Rename macro to max_value.
67086         (MIN_VALUE_INIT): Rename macro to min_value.
67087         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
67088         (plus_zero): Remove variable.
67089         (minus_zero): Likewise.
67090         (plus_infty): Likewise.
67091         (minus_infty): Likewise.
67092         (qnan_value): Likewise.
67093         (max_value): Likewise.
67094         (min_value): Likewise.
67095         (min_subnorm_value): Likewise.
67097 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67099         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
67100         uint64_t or uint32_t usage.
67101         * crypt/sha256-block.c: Likewise.
67102         * crypt/sha256-crypt.c: Likewise.
67103         * crypt/sha256.c: Likewise.
67104         * crypt/sha512-block.c: Likewise.
67105         * crypt/sha512-crypt.c: Likewise.
67106         * crypt/sha512.c: Likewise.
67107         * debug/backtrace-tst.c: Likewise.
67108         * debug/pcprofiledump.c: Likewise.
67109         * elf/cache.c: Likewise.
67110         * elf/dl-cache.c: Likewise.
67111         * elf/dl-misc.c: Likewise.
67112         * elf/dl-profile.c: Likewise.
67113         * elf/dl-support.c: Likewise.
67114         * elf/ldconfig.c: Likewise.
67115         * elf/sprof.c: Likewise.
67116         * iconv/dummy-repertoire.c: Likewise.
67117         * iconv/iconv_charmap.c: Likewise.
67118         * iconv/skeleton.c: Likewise.
67119         * iconvdata/8bit-generic.c: Likewise.
67120         * iconvdata/cp737.h: Likewise.
67121         * iconvdata/cp775.h: Likewise.
67122         * iconvdata/ibm1008.h: Likewise.
67123         * iconvdata/ibm1025.h: Likewise.
67124         * iconvdata/ibm1046.h: Likewise.
67125         * iconvdata/ibm1097.h: Likewise.
67126         * iconvdata/ibm1112.h: Likewise.
67127         * iconvdata/ibm1122.h: Likewise.
67128         * iconvdata/ibm1123.h: Likewise.
67129         * iconvdata/ibm1124.h: Likewise.
67130         * iconvdata/ibm1129.h: Likewise.
67131         * iconvdata/ibm1130.h: Likewise.
67132         * iconvdata/ibm1132.h: Likewise.
67133         * iconvdata/ibm1133.h: Likewise.
67134         * iconvdata/ibm1137.h: Likewise.
67135         * iconvdata/ibm1140.h: Likewise.
67136         * iconvdata/ibm1141.h: Likewise.
67137         * iconvdata/ibm1142.h: Likewise.
67138         * iconvdata/ibm1143.h: Likewise.
67139         * iconvdata/ibm1144.h: Likewise.
67140         * iconvdata/ibm1145.h: Likewise.
67141         * iconvdata/ibm1146.h: Likewise.
67142         * iconvdata/ibm1147.h: Likewise.
67143         * iconvdata/ibm1148.h: Likewise.
67144         * iconvdata/ibm1149.h: Likewise.
67145         * iconvdata/ibm1153.h: Likewise.
67146         * iconvdata/ibm1154.h: Likewise.
67147         * iconvdata/ibm1155.h: Likewise.
67148         * iconvdata/ibm1156.h: Likewise.
67149         * iconvdata/ibm1157.h: Likewise.
67150         * iconvdata/ibm1158.h: Likewise.
67151         * iconvdata/ibm1160.h: Likewise.
67152         * iconvdata/ibm1161.h: Likewise.
67153         * iconvdata/ibm1162.h: Likewise.
67154         * iconvdata/ibm1163.h: Likewise.
67155         * iconvdata/ibm1164.h: Likewise.
67156         * iconvdata/ibm1166.h: Likewise.
67157         * iconvdata/ibm1167.h: Likewise.
67158         * iconvdata/ibm12712.h: Likewise.
67159         * iconvdata/ibm1390.h: Likewise.
67160         * iconvdata/ibm1399.h: Likewise.
67161         * iconvdata/ibm16804.h: Likewise.
67162         * iconvdata/ibm4517.h: Likewise.
67163         * iconvdata/ibm4899.h: Likewise.
67164         * iconvdata/ibm4909.h: Likewise.
67165         * iconvdata/ibm4971.h: Likewise.
67166         * iconvdata/ibm5347.h: Likewise.
67167         * iconvdata/ibm803.h: Likewise.
67168         * iconvdata/ibm856.h: Likewise.
67169         * iconvdata/ibm901.h: Likewise.
67170         * iconvdata/ibm902.h: Likewise.
67171         * iconvdata/ibm9030.h: Likewise.
67172         * iconvdata/ibm9066.h: Likewise.
67173         * iconvdata/ibm921.h: Likewise.
67174         * iconvdata/ibm922.h: Likewise.
67175         * iconvdata/ibm9448.h: Likewise.
67176         * iconvdata/isiri-3342.h: Likewise.
67177         * iconvdata/jis0201.h: Likewise.
67178         * include/link.h: Likewise.
67179         * include/netdb.h: Likewise.
67180         * inet/check_native.c: Likewise.
67181         * inet/check_pf.c: Likewise.
67182         * inet/getipv4sourcefilter.c: Likewise.
67183         * inet/getnameinfo.c: Likewise.
67184         * inet/getsourcefilter.c: Likewise.
67185         * inet/htonl.c: Likewise.
67186         * inet/setipv4sourcefilter.c: Likewise.
67187         * inet/setsourcefilter.c: Likewise.
67188         * inet/test-inet6_opt.c: Likewise.
67189         * inet/tst-network.c: Likewise.
67190         * locale/C-collate.c: Likewise.
67191         * locale/C-ctype.c: Likewise.
67192         * locale/C-time.c: Likewise.
67193         * locale/C-translit.h: Likewise.
67194         * locale/loadarchive.c: Likewise.
67195         * locale/programs/3level.h: Likewise.
67196         * locale/programs/charmap.c: Likewise.
67197         * locale/programs/charmap.h: Likewise.
67198         * locale/programs/ld-address.c: Likewise.
67199         * locale/programs/ld-collate.c: Likewise.
67200         * locale/programs/ld-ctype.c: Likewise.
67201         * locale/programs/ld-identification.c: Likewise.
67202         * locale/programs/ld-measurement.c: Likewise.
67203         * locale/programs/ld-messages.c: Likewise.
67204         * locale/programs/ld-monetary.c: Likewise.
67205         * locale/programs/ld-name.c: Likewise.
67206         * locale/programs/ld-numeric.c: Likewise.
67207         * locale/programs/ld-paper.c: Likewise.
67208         * locale/programs/ld-telephone.c: Likewise.
67209         * locale/programs/ld-time.c: Likewise.
67210         * locale/programs/linereader.c: Likewise.
67211         * locale/programs/locale.c: Likewise.
67212         * locale/programs/locarchive.c: Likewise.
67213         * locale/programs/locfile.h: Likewise.
67214         * locale/programs/repertoire.c: Likewise.
67215         * locale/programs/simple-hash.c: Likewise.
67216         * locale/programs/simple-hash.h: Likewise.
67217         * malloc/memusage.c: Likewise.
67218         * malloc/memusagestat.c: Likewise.
67219         * nis/nis_defaults.c: Likewise.
67220         * nis/nis_hash.c: Likewise.
67221         * nis/nis_print.c: Likewise.
67222         * nis/nis_xdr.c: Likewise.
67223         * nscd/connections.c: Likewise.
67224         * nscd/hstcache.c: Likewise.
67225         * nscd/nscd_gethst_r.c: Likewise.
67226         * nscd/nscd_getserv_r.c: Likewise.
67227         * nscd/nscd_helper.c: Likewise.
67228         * nscd/servicescache.c: Likewise.
67229         * nss/makedb.c: Likewise.
67230         * nss/nss_db/db-XXX.c: Likewise.
67231         * nss/nss_db/db-initgroups.c: Likewise.
67232         * nss/nss_db/db-netgrp.c: Likewise.
67233         * nss/nss_files/files-network.c: Likewise.
67234         * nss/nss_files/files-parse.c: Likewise.
67235         * posix/bug-regex5.c: Likewise.
67236         * posix/fnmatch_loop.c: Likewise.
67237         * posix/regcomp.c: Likewise.
67238         * posix/regexec.c: Likewise.
67239         * posix/tst-rfc3484-2.c: Likewise.
67240         * posix/tst-rfc3484-3.c: Likewise.
67241         * posix/tst-rfc3484.c: Likewise.
67242         * resolv/nss_dns/dns-canon.c: Likewise.
67243         * resolv/nss_dns/dns-network.c: Likewise.
67244         * resolv/res_init.c: Likewise.
67245         * resolv/res_mkquery.c: Likewise.
67246         * resolv/tst-aton.c: Likewise.
67247         * stdlib/cxa_atexit.c: Likewise.
67248         * stdlib/cxa_finalize.c: Likewise.
67249         * stdlib/gen-fpioconst.c: Likewise.
67250         * stdlib/strtol_l.c: Likewise.
67251         * string/tst-endian.c: Likewise.
67252         * sunrpc/auth_des.c: Likewise.
67253         * sunrpc/clnt_udp.c: Likewise.
67254         * sunrpc/rtime.c: Likewise.
67255         * sunrpc/svcauth_des.c: Likewise.
67256         * sunrpc/xdr.c: Likewise.
67257         * sunrpc/xdr_intXX_t.c: Likewise.
67258         * sunrpc/xdr_rec.c: Likewise.
67259         * sysdeps/generic/ldconfig.h: Likewise.
67260         * sysdeps/generic/ldsodefs.h: Likewise.
67261         * sysdeps/generic/memusage.h: Likewise.
67262         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67263         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
67264         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
67265         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67266         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67267         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67268         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67269         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67270         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67271         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
67272         * sysdeps/posix/getaddrinfo.c: Likewise.
67273         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67274         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67275         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67276         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67277         * sysdeps/powerpc/test-gettimebase.c: Likewise.
67278         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
67279         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
67280         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
67281         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
67282         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
67283         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
67284         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
67285         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
67286         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
67287         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
67288         * sysdeps/x86_64/dl-tls.h: Likewise.
67289         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
67290         * time/alt_digit.c: Likewise.
67291         * time/era.c: Likewise.
67292         * wcsmbs/tst-c16c32-1.c: Likewise.
67294 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
67296         * math/libm-test.inc (struct test_sincos_data): New type.
67297         (RUN_TEST_LOOP_sincos): New macro.
67298         (sincos_test_data): New variable.
67299         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
67301 2013-05-16  Richard Henderson  <rth@redhat.com>
67303         * math/atest-exp2.c (LIMB64): New macro.
67304         (CONSTSZ): New macro.
67305         (mp_exp1, mp_exp_m1, mp_log2): New variables.
67306         (hexdig): Move ...
67307         (print_mpn_fp): ... to function scope.
67308         (read_mpn_hex): Remove.
67309         (get_log2): Remove.
67310         (exp2_mpn): Use mp_log2.
67311         (main): Use mp_exp1.
67313 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
67315         * math/libm-test.inc: Remove comment about not testing "inexact"
67316         exceptions.
67317         (INEXACT_EXCEPTION): New macro.
67318         (NO_INEXACT_EXCEPTION): Likewise.
67319         (INVALID_EXCEPTION_OK): Update value.
67320         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67321         (OVERFLOW_EXCEPTION_OK): Likewise.
67322         (UNDERFLOW_EXCEPTION_OK): Likewise.
67323         (IGNORE_ZERO_INF_SIGN): Likewise.
67324         (ERRNO_UNCHANGED): Likewise.
67325         (ERRNO_EDOM): Likewise.
67326         (ERRNO_ERANGE): Likewise.
67327         (test_exceptions): Handle testing "inexact" exceptions.
67328         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
67329         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
67330         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
67331         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
67332         INEXACT_EXCEPTION.
67333         (rint_towardzero_test_data): Likewise.
67334         (rint_downward_test_data): Likewise.
67335         (rint_upward_test_data): Likewise.
67337         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
67338         with OVERFLOW_EXCEPTION.
67339         (exp10_test_data): Likewise.
67340         (exp2_test_data): Likewise.
67341         (expm1_test_data): Likewise.
67342         (lgamma_test_data): Likewise.
67343         (pow_test_data): Likewise.
67344         (tgamma_test_data): Likewise.
67345         (yn_test_data): Remove duplicate test of overflow.
67347         * math/libm-test.inc (struct test_cc_c_data): New type.
67348         (RUN_TEST_LOOP_cc_c): New macro.
67349         (cpow_test_data): New variable.
67350         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
67352         * math/libm-test.inc (struct test_f_L_data): New type.
67353         (RUN_TEST_LOOP_f_L): New macro.
67354         (llrint_test_data): New variable.
67355         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
67356         (llrint_tonearest_test_data): New variable.
67357         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
67358         (llrint_towardzero_test_data): New variable.
67359         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
67360         (llrint_downward_test_data): New variable.
67361         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
67362         (llrint_upward_test_data): New variable.
67363         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
67364         (llround_test_data): New variable.
67365         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
67367 2013-05-13  Peter Collingbourne  <pcc@google.com>
67369         * math/atest-exp2.c (get_log2): Remove const attribute.
67371 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
67373         * math/libm-test.inc (struct test_f_l_data): New type.
67374         (RUN_TEST_LOOP_f_l): New macro.
67375         (lrint_test_data): New variable.
67376         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
67377         (lrint_tonearest_test_data): New variable.
67378         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
67379         (lrint_towardzero_test_data): New variable.
67380         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
67381         (lrint_downward_test_data): New variable.
67382         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
67383         (lrint_upward_test_data): New variable.
67384         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
67385         (lround_test_data): New variable.
67386         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
67388 2013-05-15  Peter Collingbourne  <pcc@google.com>
67390         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
67391         (EXTRACT_WORDS64) Use where appropriate.
67392         (INSERT_WORDS64) Likewise.
67394         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
67395         constraints with x constraints.
67396         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
67398         * malloc/obstack.c (_obstack_compat): Add initializer.
67400 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
67402         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
67403         si_trapno and add si_addr_lsb to _sifields.sigfault.
67404         (si_trapno): Remove macro.
67405         (si_addr_lsb): Define new macro.
67406         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
67408 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
67410         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
67411         instead of TEST_f_l.
67412         (llrint_test_tonearest): Likewise.
67413         (llrint_test_towardzero): Likewise.
67414         (llrint_test_downward): Likewise.
67415         (llrint_test_upward): Likewise.
67416         (llround_test): Likewise.
67418         * math/libm-test.inc (struct test_f_i_data): Add comment.
67419         (RUN_TEST_LOOP_f_b): New macro.
67420         (RUN_TEST_LOOP_f_b_tg): Likewise.
67421         (finite_test_data): New variable.
67422         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
67423         (isfinite_test_data): New variable.
67424         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67425         (isinf_test_data): New variable.
67426         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67427         (isnan_test_data): New variable.
67428         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67429         (isnormal_test_data): New variable.
67430         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67431         (issignaling_test_data): New variable.
67432         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67433         (signbit_test_data): New variable.
67434         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67436         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
67437         with INVALID_EXCEPTION.
67438         (acosh_test_data): Likewise.
67439         (asin_test_data): Likewise.
67440         (atanh_test_data): Likewise.
67441         (fmod_test_data): Likewise.
67442         (log_test_data): Likewise.
67443         (log10_test_data): Likewise.
67444         (log2_test_data): Likewise.
67445         (pow_test_data): Likewise.
67446         (sqrt_test_data): Likewise.
67447         (y0_test_data): Likewise.
67448         (y1_test_data): Likewise.
67449         (yn_test_data): Likewise.
67451         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
67452         function contents.
67454         * math/libm-test.inc (struct test_ff_i_data): New type.
67455         (RUN_TEST_LOOP_ff_i_tg): New macro.
67456         (isgreater_test_data): New variable.
67457         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67458         (isgreaterequal_test_data): New variable.
67459         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67460         (isless_test_data): New variable.
67461         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67462         (islessequal_test_data): New variable.
67463         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67464         (islessgreater_test_data): New variable.
67465         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67466         (isunordered_test_data): New variable.
67467         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67469 2013-05-14  David S. Miller  <davem@davemloft.net>
67471         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67473 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
67475         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
67477         * math/libm-test.inc (struct test_fF_f1_data): Change type of
67478         extra_test to int.
67479         (struct test_f_i_data): Change type of max_ulp to int.
67481         * math/libm-test.inc (test_ffI_f1_data): New type.
67482         (RUN_TEST_LOOP_ffI_f1): New macro.
67483         (remquo_test_data): New variable.
67484         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
67486         * setjmp/tst-setjmp-fp.c: New file.
67487         * setjmp/Makefile (tests): Add tst-setjmp-fp.
67488         (link-libm): New variable.
67489         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
67491         * math/libm-test.inc (struct test_f_i_data): New type.
67492         (RUN_TEST_LOOP_f_i): New macro.
67493         (RUN_TEST_LOOP_f_i_tg): Likewise.
67494         (fpclassify_test_data): New variable.
67495         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
67496         (ilogb_test_data): New variable.
67497         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
67499         * math/libm-test.inc (scalbln_test): Correct function name in END
67500         call.
67502         * math/libm-test.inc (struct test_f_f1_data): Add comment.
67503         (RUN_TEST_LOOP_fI_f1): New macro.
67504         (frexp_test_data): New variable.
67505         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
67507         * math/libm-test.inc (struct test_fF_f1_data): New type.
67508         (RUN_TEST_LOOP_fF_f1): New macro.
67509         (modf_test_data): New variable.
67510         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
67512         * math/libm-test.inc (struct test_f_f1_data): New type.
67513         (RUN_TEST_LOOP_f_f1): New macro.
67514         (gamma_test_data): New variable.
67515         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67516         (lgamma_test_data): New variable.
67517         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67519 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
67521         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
67522         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
67523         (main): Comment "tls" pseudo-hwcap.
67525 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
67527         * math/libm-test.inc (struct test_fl_f_data): New type.
67528         (RUN_TEST_LOOP_fl_f): New variable.
67529         (scalbln_test_data): New variable.
67530         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
67532         * math/libm-test.inc (struct test_fi_f_data): New type.
67533         (RUN_TEST_LOOP_fi_f): New macro.
67534         (ldexp_test_data): New variable.
67535         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
67536         (scalbn_test_data): New variable.
67537         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
67539         * math/libm-test.inc (struct test_c_f_data): New type.
67540         (RUN_TEST_LOOP_c_f): New macro.
67541         (cabs_test_data): New variable.
67542         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
67543         (carg_test_data): New variable.
67544         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
67545         (cimag_test_data): New variable.
67546         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
67547         (creal_test_data): New variable.
67548         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
67550         * math/libm-test.inc (struct test_if_f_data): New type.
67551         (RUN_TEST_LOOP_if_f): New macro.
67552         (jn_test_data): New variable.
67553         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
67554         (yn_test_data): New variable.
67555         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
67557         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
67559 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67561         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
67562         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
67564 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
67566         * benchtests/Makefile (CPPFLAGS-nonlib): Add
67567         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
67568         (bench-deps): Add bench-timing.h.
67569         * benchtests-bench-skeleton.c: Include bench-timing.h.
67570         (main): Use TIMING_* macros instead of clock_gettime.
67571         * benchtests/bench-timing.h: New file.
67573         [BZ #14582]
67574         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
67575         Renamed from _LIB_VERSION.
67576         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
67578 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
67580         * math/libm-test.inc (struct test_fff_f_data): New type.
67581         (RUN_TEST_LOOP_fff_f): New macro.
67582         (fma_test_data): New variable.
67583         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
67584         (fma_towardzero_test_data): New variable.
67585         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
67586         (fma_downward_test_data): New variable.
67587         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
67588         (fma_upward_test_data): New variable.
67589         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
67591         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
67592         (struct test_c_c_data): New type.
67593         (RUN_TEST_LOOP_c_c): New macro.
67594         (cacos_test_data): New variable.
67595         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
67596         (cacosh_test_data): New variable.
67597         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
67598         (casin_test_data): New variable.
67599         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
67600         (casinh_test_data): New variable.
67601         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
67602         (catan_test_data): New variable.
67603         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
67604         (catanh_test_data): New variable.
67605         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
67606         (ccos_test_data): New variable.
67607         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
67608         (ccosh_test_data): New variable.
67609         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
67610         (cexp_test_data): New variable.
67611         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
67612         (clog_test_data): New variable.
67613         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
67614         (clog10_test_data): New variable.
67615         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
67616         (conj_test_data): New variable.
67617         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
67618         (cproj_test_data): New variable.
67619         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
67620         (csin_test_data): New variable.
67621         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
67622         (csinh_test_data): New variable.
67623         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
67624         (csqrt_test_data): New variable.
67625         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
67626         (ctan_test_data): New variable.
67627         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
67628         (ctan_tonearest_test_data): New variable.
67629         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67630         (ctan_towardzero_test_data): New variable.
67631         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67632         (ctan_downward_test_data): New variable.
67633         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67634         (ctan_upward_test_data): New variable.
67635         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67636         (ctanh_test_data): New variable.
67637         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
67638         (ctanh_tonearest_test_data): New variable.
67639         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67640         (ctanh_towardzero_test_data): New variable.
67641         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67642         (ctanh_downward_test_data): New variable.
67643         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67644         (ctanh_upward_test_data): New variable.
67645         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67646         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
67647         of BUILD_COMPLEX.
67649         * math/libm-test.inc (struct test_ff_f_data): New type.
67650         (struct test_ff_f_data_nexttoward): Likewise.
67651         (RUN_TEST_LOOP_2_f): New macro.
67652         (RUN_TEST_LOOP_ff_f): Likewise.
67653         (atan2_test_data): New variable.
67654         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
67655         (copysign_test_data): New variable.
67656         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
67657         (fdim_test_data): New variable.
67658         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
67659         (fmax_test_data): New variable.
67660         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
67661         (fmin_test_data): New variable.
67662         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
67663         (fmod_test_data): New variable.
67664         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
67665         (hypot_test_data): New variable.
67666         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
67667         (nextafter_test_data): New variable.
67668         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
67669         (nexttoward_test_data): New variable.
67670         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
67671         (pow_test_data): New variable.
67672         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
67673         (pow_tonearest_test_data): New variable.
67674         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
67675         (pow_towardzero_test_data): New variable.
67676         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
67677         (pow_downward_test_data): New variable.
67678         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
67679         (pow_upward_test_data): New variable.
67680         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
67681         (remainder_test_data): New variable.
67682         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
67683         (scalb_test_data): New variable.
67684         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
67685         * sysdeps/i386/fpu/libm-test-ulps: Update.
67687 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
67689         * math/libm-test.inc (fma_test): Use max_value instead of local
67690         variable fltmax.
67691         (nextafter_test): Likewise.
67693         * math/libm-test.inc (acos_towardzero_test_data): New variable.
67694         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67695         (acos_downward_test_data): New variable.
67696         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67697         (acos_upward_test_data): New variable.
67698         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67699         (acosh_test_data): New variable.
67700         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
67701         (asin_test_data): New variable.
67702         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
67703         (asin_tonearest_test_data): New variable.
67704         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67705         (asin_towardzero_test_data): New variable.
67706         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67707         (asin_downward_test_data): New variable.
67708         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67709         (asin_upward_test_data): New variable.
67710         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67711         (asinh_test_data): New variable.
67712         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
67713         (atan_test_data): New variable.
67714         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
67715         (atanh_test_data): New variable.
67716         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
67717         (cbrt_test_data): New variable.
67718         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
67719         (ceil_test_data): New variable.
67720         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
67721         (cos_test_data): New variable.
67722         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
67723         (cos_tonearest_test_data): New variable.
67724         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67725         (cos_towardzero_test_data): New variable.
67726         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67727         (cos_downward_test_data): New variable.
67728         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67729         (cos_upward_test_data): New variable.
67730         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67731         (cosh_test_data): New variable.
67732         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
67733         (cosh_tonearest_test_data): New variable.
67734         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67735         (cosh_towardzero_test_data): New variable.
67736         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67737         (cosh_downward_test_data): New variable.
67738         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67739         (cosh_upward_test_data): New variable.
67740         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67741         (erf_test_data): New variable.
67742         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
67743         (erfc_test_data): New variable.
67744         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
67745         (exp_test_data): New variable.
67746         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
67747         (exp_tonearest_test_data): New variable.
67748         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67749         (exp_towardzero_test_data): New variable.
67750         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67751         (exp_downward_test_data): New variable.
67752         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67753         (exp_upward_test_data): New variable.
67754         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67755         (exp10_test_data): New variable.
67756         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
67757         (exp2_test_data): New variable.
67758         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
67759         (expm1_test_data): New variable.
67760         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
67761         (fabs_test_data): New variable.
67762         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
67763         (floor_test_data): New variable.
67764         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
67765         (j0_test_data): New variable.
67766         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
67767         (j1_test_data): New variable.
67768         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
67769         (log_test_data): New variable.
67770         (log_test): Run tests with RUN_TEST_LOOP_f_f.
67771         (log10_test_data): New variable.
67772         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
67773         (log1p_test_data): New variable.
67774         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
67775         (log2_test_data): New variable.
67776         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
67777         (logb_test_data): New variable.
67778         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
67779         (logb_downward_test_data): New variable.
67780         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67781         (nearbyint_test_data): New variable.
67782         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
67783         (rint_test_data): New variable.
67784         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
67785         (rint_tonearest_test_data): New variable.
67786         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67787         (rint_towardzero_test_data): New variable.
67788         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67789         (rint_downward_test_data): New variable.
67790         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67791         (rint_upward_test_data): New variable.
67792         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67793         (round_test_data): New variable.
67794         (round_test): Run tests with RUN_TEST_LOOP_f_f.
67795         (sin_test_data): New variable.
67796         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
67797         (sin_tonearest_test_data): New variable.
67798         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67799         (sin_towardzero_test_data): New variable.
67800         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67801         (sin_downward_test_data): New variable.
67802         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67803         (sin_upward_test_data): New variable.
67804         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67805         (sinh_test_data): New variable.
67806         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
67807         (sinh_tonearest_test_data): New variable.
67808         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67809         (sinh_towardzero_test_data): New variable.
67810         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67811         (sinh_downward_test_data): New variable.
67812         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67813         (sinh_upward_test_data): New variable.
67814         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67815         (sqrt_test_data): New variable.
67816         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
67817         (tan_test_data): New variable.
67818         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
67819         (tan_tonearest_test_data): New variable.
67820         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67821         (tan_towardzero_test_data): New variable.
67822         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67823         (tan_downward_test_data): New variable.
67824         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67825         (tan_upward_test_data): New variable.
67826         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67827         (tanh_test_data): New variable.
67828         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
67829         (tgamma_test_data): New variable.
67830         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
67831         (trunc_test_data): New variable.
67832         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
67833         (y0_test_data): New variable.
67834         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
67835         (y1_test_data): New variable.
67836         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
67837         (significand_test_data): New variable.
67838         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
67840 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
67842         [BZ #12387]
67843         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
67845 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67847         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
67849 2013-05-10  Andreas Jaeger  <aj@suse.de>
67851         [BZ #15448]
67852         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
67853         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
67855 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
67857         * math/gen-libm-test.pl (adjust_arg): New function.
67858         (special_functions): Handle generating output in both functions
67859         and arrays.
67860         (parse_args): Likewise.
67861         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
67862         $in_func argument to parse_args.
67863         * math/libm-test.inc (struct test_f_f_data): New type.
67864         (IF_ROUND_INIT_): New macro.
67865         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
67866         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
67867         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
67868         (IF_ROUND_INIT_FE_UPWARD): Likewise.
67869         (ROUND_RESTORE_): Likewise.
67870         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
67871         (ROUND_RESTORE_FE_TONEAREST): Likewise.
67872         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
67873         (ROUND_RESTORE_FE_UPWARD): Likewise.
67874         (RUN_TEST_LOOP_f_f): New macro.
67875         (acos_test_data): New variable.
67876         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
67877         (acos_tonearest_test_data): New variable.
67878         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67880 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67882         * benchtests/bench-skeleton.c (startup): Fix coding style.
67884 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
67886         [BZ #6809]
67887         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
67888         negative infinity argument.
67889         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
67890         negative infinity argument.
67891         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
67892         negative infinity argument.
67893         * math/libm-test.inc (tgamma_test): Expect errno to be set for
67894         domain errors.
67896 2013-05-10  Florian Weimer  <fweimer@redhat.com>
67898         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
67899         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
67900         * iconv/iconv_prog.c (main): Likewise.
67901         * locale/programs/charmap-dir.c (charmap_readdir)
67902         (fopen_uncompressed): Likewise.
67903         * locale/programs/locfile.c (siblings_uncached)
67904         (write_locale_data): Use lstat64 instead of lstat.
67905         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
67906         stat.
67908 2013-05-10  Andreas Jaeger  <aj@suse.de>
67910         [BZ #15395]
67911         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
67912         localization.
67913         Include <locale.h>.
67915 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
67917         * elf/dl-close.c (_dl_close_worker): Add comments.
67919 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
67921         [BZ #15359]
67922         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
67923         high part of pi/2.
67924         (__ieee754_rem_pio2l): Update comments.
67926         [BZ #15429]
67927         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
67928         high part of pi/2.
67929         (__ieee754_rem_pio2l): Update comments.
67931         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
67932         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
67934         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
67935         M_PI_4l.
67937         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
67938         (M_PI_34_LOG10El): Likewise.
67939         (M_PI2_LOG10El): Likewise.
67940         (M_PI4_LOG10El): Likewise.
67941         (M_PI_LOG10El): Likewise.
67943 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67945         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67947 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
67949         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
67950         (MINUS_ZERO_INIT): Likewise.
67951         (PLUS_INFTY_INIT): Likewise.
67952         (MINUS_INFTY_INIT): Likewise.
67953         (QNAN_VALUE_INIT): Likewise.
67954         (MAX_VALUE_INIT): Likewise.
67955         (MIN_VALUE_INIT): Likewise.
67956         (MIN_SUBNORM_VALUE_INIT): Likewise.
67957         (plus_zero): Initialize with PLUS_ZERO_INIT.
67958         (minus_zero): Initialize with MINUS_ZERO_INIT.
67959         (plus_infty): Initialize with PLUS_INFTY_INIT.
67960         (minus_infty): Initialize with MINUS_INFTY_INIT.
67961         (qnan_value): Initialize with QNAN_VALUE_INIT.
67962         (max_value): Initialize with MAX_VALUE_INIT.
67963         (min_value): Initialize with MIN_VALUE_INIT.
67964         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
67966         * math/libm-test.inc (RUN_TEST_if_f): New macro.
67967         (jn_test): Use TEST_if_f instead of TEST_ff_f.
67968         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
67969         (yn_test): Use TEST_if_f instead of TEST_ff_f.
67971         * math/libm-test.inc (RUN_TEST_f_f): New macro.
67972         (RUN_TEST_2_f): Likewise.
67973         (RUN_TEST_ff_f): Likewise.
67974         (RUN_TEST_fi_f): Likewise.
67975         (RUN_TEST_fl_f): Likewise.
67976         (RUN_TEST_fff_f): Likewise.
67977         (RUN_TEST_c_f): Likewise.
67978         (RUN_TEST_f_f1): Likewise.
67979         (RUN_TEST_fF_f1): Likewise.
67980         (RUN_TEST_fI_f1): Likewise.
67981         (RUN_TEST_ffI_f1): Likewise.
67982         (RUN_TEST_c_c): Likewise.
67983         (RUN_TEST_cc_c): Likewise.
67984         (RUN_TEST_f_i): Likewise.
67985         (RUN_TEST_f_i_tg): Likewise.
67986         (RUN_TEST_ff_i_tg): Likewise.
67987         (RUN_TEST_f_b): Likewise.
67988         (RUN_TEST_f_b_tg): Likewise.
67989         (RUN_TEST_f_l): Likewise.
67990         (RUN_TEST_f_L): Likewise.
67991         (RUN_TEST_sincos): Likewise.
67992         * math/gen-libm-test.pl (new_test): Take new argument to indicate
67993         whether to show exceptions.  Do not include ");\n" in return
67994         value.
67995         (special_functions): Output call to RUN_TEST_sincos instead of
67996         check_float calls.  Update calls to new_test.
67997         (parse_args): Output call to single RUN_TEST_* macro instead of
67998         check_* calls and other assignments.  Update calls to new_test.
68000         [BZ #2546]
68001         [BZ #2560]
68002         [BZ #5159]
68003         [BZ #15426]
68004         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
68005         input to result for tgamma overflow.
68006         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
68007         (gamma_coeff): New variable.
68008         (NCOEFF): New macro.
68009         (gamma_positive): New function.
68010         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
68011         underflow here.  Use gamma_positive instead of exp (lgamma) for
68012         other arguments.
68013         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
68014         (gamma_coeff): New variable.
68015         (NCOEFF): New macro.
68016         (gammaf_positive): New function.
68017         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
68018         underflow here.  Use gamma_positive instead of exp (lgamma) for
68019         other arguments.
68020         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
68021         (gamma_coeff): New variable.
68022         (NCOEFF): New macro.
68023         (gammal_positive): New function.
68024         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
68025         underflow here.  Use gamma_positive instead of exp (lgamma) for
68026         other arguments.
68027         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
68028         (gamma_coeff): New variable.
68029         (NCOEFF): New macro.
68030         (gammal_positive): New function.
68031         (__ieee754_gammal_r): Handle positive infinity, overflow and
68032         underflow here.  Handle NaN the same as positive infinity.  Remove
68033         check x < 0xffffffff for negative integers.  Use gamma_positive
68034         instead of exp (lgamma) for other arguments.
68035         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
68036         (gamma_coeff): New variable.
68037         (NCOEFF): New macro.
68038         (gammal_positive): New function.
68039         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
68040         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
68041         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
68042         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
68043         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
68044         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
68045         * sysdeps/generic/math_private.h (__gamma_productf): New
68046         prototype.
68047         (__gamma_product): Likewise.
68048         (__gamma_productl): Likewise.
68049         * math/Makefile (libm-calls): Add gamma_product.
68050         * math/libm-test.inc (tgamma_test): Add more tests.
68051         * sysdeps/i386/fpu/libm-test-ulps: Update.
68052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68054 2013-05-08  Ondƙej BĂ­lka  <neleai@seznam.cz>
68056         * benchtests/bench-skeleton.c (main): Preheat CPU.
68058 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
68060         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
68062 2013-05-07  Roland McGrath  <roland@hack.frob.com>
68064         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
68065         and _dl_skip_args_internal.
68067 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
68069         * manual/message.texi (Message Translation): Talk about users.
68070         Message to key mapping impacts design.
68072 2013-05-06  Roland McGrath  <roland@hack.frob.com>
68074         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
68076         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
68078         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
68079         * sysdeps/wordsize-64/glob64.c: ... here.
68081         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
68082         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
68083         New macros.
68085         * debug/getlogin_r_chk.c: Moved to ...
68086         * login/getlogin_r_chk.c: ... here.
68087         * debug/Makefile (routines): Move getlogin_r_chk to ...
68088         * login/Makefile (routines): ... here.
68089         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
68090         * login/Versions (libc: GLIBC_2.4): ... here.
68092         * io/poll.c (__poll): Renamed from poll.
68093         Add libc_hidden_def.
68094         (poll): Define as weak alias.
68096         * debug/ptsname_r_chk.c: Moved to ...
68097         * login/ptsname_r_chk.c: ... here.
68098         * debug/Makefile (routines): Move ptsname_r_chk to ...
68099         * login/Makefile (routines): ... here.
68100         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
68101         * login/Versions (libc: GLIBC_2.4): ... here.
68103         * posix/getlogin.c: Moved to ...
68104         * login/getlogin.c: ... here.
68105         * posix/getlogin_r.c: Moved to ...
68106         * login/getlogin_r.c: ... here.
68107         * posix/getlogin_r.c: Moved to ...
68108         * login/getlogin_r.c: ... here.
68109         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
68110         * login/Makefile (routines): ... here.
68111         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
68112         * login/Versions (libc: GLIBC_2.0): ... here.
68114         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
68115         (setrlimit): Define as weak alias.
68117         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
68118         Call __ names for open, ftruncate, and close.
68119         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
68120         (truncate): Define as weak alias.
68122 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
68124         * math/gen-libm-test.pl (parse_args): Initialize x before each
68125         test of frexp, modf and remquo.
68127         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
68128         test signgam value.
68130 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68132         [BZ #15418]
68133         [BZ #15419]
68134         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
68135         internal tests.
68136         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68138 2013-05-06  Roland McGrath  <roland@hack.frob.com>
68140         * elf/dl-writev.h: New file.
68141         * elf/dl-misc.c: Include it.
68142         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
68143         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
68145 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
68147         * math/libm-test.inc (noXFails): Remove variable.
68148         (noXPasses): Likewise.
68149         (BUILD_COMPLEX_INT): Remove macro.
68150         (print_screen): Remove xfail argument.
68151         (print_screen_max_error): Likewise.
68152         (update_stats): Likewise.
68153         (print_max_error): Likewise.  Update calls to other affected
68154         functions.
68155         (print_complex_max_error): Likewise.
68156         (test_single_exception): Update calls to print_screen.
68157         (test_single_errno): Likewise.
68158         (check_float_internal): Remove xfail argument.  Update calls to
68159         other affected functions.
68160         (check_float): Likewise.
68161         (check_complex): Likewise.
68162         (check_int): Likewise.
68163         (check_long): Likewise.
68164         (check_bool): Likewise.
68165         (check_longlong): Likewise.
68166         (main): Don't print noXFails and noXPasses.
68167         * math/gen-libm-test.pl (top level): Don't mention expected
68168         failure handling in comment.
68169         (new_test): Don't handle expected failures.
68170         (parse_args): Don't mention expected failure handling in comment.
68171         (generate_testfile): Don't handle expected failures.
68172         (parse_ulps): Likewise.
68173         (print_ulps_file): Likewise.
68174         (get_failure): Remove function.
68175         (output_test): Don't handle expected failures.
68176         * make/README.libm-test: Don't mention expected failure handling.
68178         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
68179         (minus_zero): Likewise.
68180         (plus_infty): Likewise.
68181         (minus_infty): Likewise.
68182         (qnan_value): Likewise.
68183         (max_value): Likewise.
68184         (min_value): Likewise.
68185         (min_subnorm_value): Likewise.
68186         (initialize): Do not initialize those variables dynamically.
68188 2013-05-03  Roland McGrath  <roland@hack.frob.com>
68190         * io/open.c (__open_2): Moved to ...
68191         * io/open_2.c: ... this new file.
68192         * io/open64.c (__open64_2): Moved to ...
68193         * io/open64_2.c: ... this new file.
68194         * io/openat.c (__openat_2): Moved to ...
68195         * io/openat_2.c: ... this new file.
68196         * io/openat64.c (__openat64_2): Moved to ...
68197         * io/openat64_2.c: ... this new file.
68198         * io/Makefile (routines): Add them.
68199         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
68200         * sysdeps/unix/sysv/linux/open_2.c: File removed.
68201         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
68202         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
68203         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
68204         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
68205         (__openat64): Add hidden_ver.
68206         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
68207         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
68209         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
68210         Separately conditionalize setting of GLRO(dl_sysinfo) so
68211         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
68212         as well, but the actual setting is only under [NEED_DL_SYSINFO].
68214 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68216         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
68217         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
68218         definition.
68219         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
68220         * sysdeps/unix/sysv/linux/powerpc/init-first.c
68221         (_libc_vdso_platform_setup): Add __vdso_time initialization.
68222         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
68223         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
68225 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
68227         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
68228         test signgam value.
68230         * math/libm-test.inc (hypot_test): Do not use
68231         IGNORE_ZERO_INF_SIGN.
68233 2013-05-03  Andreas Jaeger  <aj@suse.de>
68235         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
68236         Linux 3.9.
68237         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
68238         (PF_MAX): Adjust for VSOCK change.
68240 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68244 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
68246         [BZ #15264]
68247         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
68248         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
68249         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
68251 2013-05-02  David S. Miller  <davem@davemloft.net>
68253         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68255 2013-05-01  Ondƙej BĂ­lka  <neleai@seznam.cz>
68257         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
68259 2013-05-01  Roland McGrath  <roland@hack.frob.com>
68261         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
68263 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
68265         [BZ #14952]
68266         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
68267         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68268         Use __attribute__ ((__gnu_inline__)).
68269         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68270         Don't use __attribute__ ((__gnu_inline__)).
68272 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
68274         [BZ #15423]
68275         * math/s_catan.c (__catan): Handle small real or imaginary part of
68276         input specially to avoid spurious underflow.
68277         * math/s_catanf.c (__catanf): Likewise.
68278         * math/s_catanh.c (__catanh): Likewise.
68279         * math/s_catanhf.c (__catanhf): Likewise.
68280         * math/s_catanhl.c (__catanhl): Likewise.
68281         * math/s_catanl.c (__catanl): Likewise.
68282         * math/libm-test.inc (catan_test): Add more tests.
68283         (catanh_test): Likewise.
68284         * sysdeps/i386/fpu/libm-test-ulps: Update.
68285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68287 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68291 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
68293         [BZ #15416]
68294         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
68295         accurately for denominator in atan2.
68296         * math/s_catanf.c (__catanf): Likewise.
68297         * math/s_catanh.c (__catanh): Likewise.
68298         * math/s_catanhf.c (__catanhf): Likewise.
68299         * math/s_catanhl.c (__catanhl): Likewise.
68300         * math/s_catanl.c (__catanl): Likewise.
68301         * math/libm-test.inc (catan_test): Add more tests.
68302         (catanh_test): Likewise.
68303         * sysdeps/i386/fpu/libm-test-ulps: Update.
68304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68306 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68308         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
68310         * benchtests/Makefile (bench): Remove slow benchmarks.
68311         * benchtests/atan-inputs: Add slow benchmark inputs.
68312         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
68313         (BENCH_FUNC): Accept variant offset.
68314         (VARIANT): Define.
68315         * benchtests/bench-skeleton.c (main): Run benchmark for each
68316         variant.
68317         * benchtests/cos-inputs: Add slow benchmark inputs.
68318         * benchtests/exp-inputs: Likewise.
68319         * benchtests/pow-inputs: Likewise.
68320         * benchtests/sin-inputs: Likewise.
68321         * benchtests/slowatan-inputs: Remove.
68322         * benchtests/slowatan.c: Remove.
68323         * benchtests/slowcos-inputs: Remove.
68324         * benchtests/slowcos.c: Remove.
68325         * benchtests/slowexp-inputs: Remove.
68326         * benchtests/slowexp.c: Remove.
68327         * benchtests/slowpow-inputs: Remove.
68328         * benchtests/slowpow.c: Remove.
68329         * benchtests/slowsin-inputs: Remove.
68330         * benchtests/slowsin.c: Remove.
68331         * benchtests/slowtan-inputs: Remove.
68332         * benchtests/slowtan.c: Remove.
68333         * benchtests/tan-inputs: Add slow benchmark inputs.
68334         * scripts/bench.pl: Parse comments and directives.
68336         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
68337         in CPPFLAGS.
68338         ($(objpfx)bench-%.c): Remove *-ITER.
68339         * benchtests/bench-modf.c: Remove definition of ITER.
68340         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
68341         (main): Loop for DURATION seconds instead of fixed number of
68342         iterations.
68343         * scripts/bench.pl: Don't expect iterations in parameters.
68345 2013-04-29  Roland McGrath  <roland@hack.frob.com>
68347         * io/fchdir.c (__fchdir): Renamed from fchdir.
68348         (fchdir): Define as weak alias.
68350 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
68352         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
68353         (ERRNO_EDOM): Likewise.
68354         (ERRNO_ERANGE): Likewise.
68355         (noErrnoTests): New variable.
68356         (init_max_error): Set errno to 0.
68357         (test_single_errno): New function.
68358         (test_errno): Likewise.
68359         (check_float_internal): Call test_errno.  Set errno to 0.
68360         (check_complex): Refer to errno tests in comment.
68361         (check_int): Call test_errno.  Set errno to 0.
68362         (check_long): Likewise.
68363         (check_bool): Likewise.
68364         (check_longlong): Likewise.
68365         (cos_test): Use ERRNO_* flags for errno tests instead of
68366         check_int.
68367         (expm1_test): Likewise.
68368         (fmod_test): Likewise.
68369         (ilogb_test): Likewise.
68370         (lgamma_test): Likewise.
68371         (pow_test): Likewise.
68372         (remainder_test): Likewise.
68373         (sin_test): Likewise.
68374         (tan_test): Likewise.
68375         (yn_test): Likewise.
68376         (initialize): Set errno to 0.
68377         (main): Print number of errno tests.
68378         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
68380 2013-04-29  Andreas Jaeger  <aj@suse.de>
68382         [BZ #15084]
68383         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
68384         and RES_USEVC.
68386         [BZ #15085]
68387         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
68388         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
68389         unimplemented.
68391         [BZ #15380]
68392         * stdlib/random.c (__initstate): Return NULL if
68393         __initstate fails.
68395         [BZ #15086]
68396         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
68397         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
68398         RES_SNGLKUPREOP.
68400 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68402         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68404 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
68406         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
68407         of individual tests.
68408         (casin_test): Likewise.
68409         (casinh_test): Likewise.
68411 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
68413         [BZ #15409]
68414         * math/s_catan.c (__catan): Handle arguments with large real or
68415         imaginary part separately without squaring.
68416         * math/s_catanf.c (__catanf): Likewise.
68417         * math/s_catanh.c (__catanh): Likewise.
68418         * math/s_catanhf.c (__catanhf): Likewise.
68419         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68420         and redefine.
68421         (__catanhl): Handle arguments with large real or imaginary part
68422         separately without squaring.
68423         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68424         and redefine.
68425         (__catanl): Handle arguments with large real or imaginary part
68426         separately without squaring.
68427         * math/libm-test.inc (catan_test): Add more tests.
68428         (catanh_test): Likewise.
68429         * sysdeps/i386/fpu/libm-test-ulps: Update.
68430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68432 2013-04-27  Andreas Jaeger  <aj@suse.de>
68434         [BZ #15007]
68435         * stdlib/stdlib.h: Update guards for qecvt.
68436         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
68437         <stdlib.h>.
68439 2013-04-27  Allan McRae  <allan@archlinux.org>
68441         * sysdeps/i386/fpu/libm-test-ulps: Update.
68443 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
68445         [BZ #15406]
68446         * math/s_catan.c: Include <float.h>.
68447         (__catan): Ensure underflow exception occurs for underflowed
68448         result.
68449         * math/s_catanf.c: Include <float.h>.
68450         (__catanf): Ensure underflow exception occurs for underflowed
68451         result.
68452         * math/s_catanh.c: Include <float.h>.
68453         (__catanh): Ensure underflow exception occurs for underflowed
68454         result.
68455         * math/s_catanhf.c: Include <float.h>.
68456         (__catanhf): Ensure underflow exception occurs for underflowed
68457         result.
68458         * math/s_catanhl.c: Include <float.h>.
68459         (__catanhl): Ensure underflow exception occurs for underflowed
68460         result.
68461         * math/s_catanl.c: Include <float.h>.
68462         (__catanl): Ensure underflow exception occurs for underflowed
68463         result.
68464         * math/libm-test.inc (catan_test): Add more tests.
68465         (catanh_test): Likewise.
68467         [BZ #15405]
68468         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
68469         underflowed result.
68470         * math/s_ccoshf.c (__ccoshf): Likewise.
68471         * math/s_ccoshl.c (__ccoshl): Likewise.
68472         * math/s_csin.c (__csin): Likewise.
68473         * math/s_csinf.c (__csinf): Likewise.
68474         * math/s_csinh.c (__csinh): Likewise.
68475         * math/s_csinhf.c (__csinhf): Likewise.
68476         * math/s_csinhl.c (__csinhl): Likewise.
68477         * math/s_csinl.c (__csinl): Likewise.
68478         * math/libm-test.inc (ccos_test): Add more tests.
68479         (ccosh_test): Likewise.
68480         (csin_test): Likewise.
68481         (csinh_test): Likewise.
68483 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68485         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
68486         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
68487         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
68488         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
68489         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
68490         powerpc/power5+/fpu folders.
68491         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
68494 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
68496         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68498 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
68500         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
68501         additions to variable.
68502         [$(config-machine) = x86_64] (modules-names): Likewise.
68503         ($(objpfx)tst-audit3): Remove dependency.
68504         ($(objpfx)tst-audit3.out): Likewise.
68505         ($(objpfx)tst-audit4): Likewise.
68506         ($(objpfx)tst-audit4.out): Likewise.
68507         ($(objpfx)tst-audit5): Likewise.
68508         ($(objpfx)tst-audit5.out): Likewise.
68509         ($(objpfx)tst-audit6): Likewise.
68510         ($(objpfx)tst-audit6.out): Likewise.
68511         ($(objpfx)tst-audit7): Likewise.
68512         ($(objpfx)tst-audit7.out): Likewise.
68513         (tst-audit3-ENV): Remove variable.
68514         (tst-audit4-ENV): Likewise.
68515         (tst-audit5-ENV): Likewise.
68516         (tst-audit6-ENV): Likewise.
68517         (tst-audit7-ENV): Likewise.
68518         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
68519         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
68520         addition to variable.
68521         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
68522         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
68523         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
68524         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
68525         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
68526         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
68527         tst-audit3, tst-audit4 and tst-audit5.
68528         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
68529         tst-audit6 and tst-audit7.
68530         [$(subdir) = elf] (modules-names): Add audit modules for those
68531         tests.
68532         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
68533         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
68534         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
68535         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
68536         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
68537         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
68538         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
68539         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
68540         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
68541         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
68542         [$(subdir) = elf] (tst-audit3-ENV): New variable.
68543         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
68544         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
68545         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
68546         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
68547         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
68548         Likewise.
68549         [$(subdir) = elf && $(config-cflags-avx) = yes]
68550         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
68551         [$(subdir) = elf && $(config-cflags-avx) = yes]
68552         (CFLAGS-tst-auditmod4a.c): Likewise.
68553         [$(subdir) = elf && $(config-cflags-avx) = yes]
68554         (CFLAGS-tst-auditmod4b.c): Likewise.
68555         [$(subdir) = elf && $(config-cflags-avx) = yes]
68556         (CFLAGS-tst-auditmod6b.c): Likewise.
68557         [$(subdir) = elf && $(config-cflags-avx) = yes]
68558         (CFLAGS-tst-auditmod6c.c): Likewise.
68559         [$(subdir) = elf && $(config-cflags-avx) = yes]
68560         (CFLAGS-tst-auditmod7b.c): Likewise.
68561         * elf/tst-audit3.c: Move to ...
68562         * sysdeps/x86_64/tst-audit3.c: ... here.
68563         * elf/tst-audit4.c: Move to ...
68564         * sysdeps/x86_64/tst-audit4.c: ... here.
68565         * elf/tst-audit5.c: Move to ...
68566         * sysdeps/x86_64/tst-audit5.c: ... here.
68567         * elf/tst-audit6.c: Move to ...
68568         * sysdeps/x86_64/tst-audit6.c: ... here.
68569         * elf/tst-audit7.c: Move to ...
68570         * sysdeps/x86_64/tst-audit7.c: ... here.
68571         * elf/tst-auditmod3a.c: Move to ...
68572         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
68573         * elf/tst-auditmod3b.c: Move to ...
68574         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
68575         * elf/tst-auditmod4a.c: Move to ...
68576         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
68577         * elf/tst-auditmod4b.c: Move to ...
68578         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
68579         * elf/tst-auditmod5a.c: Move to ...
68580         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
68581         * elf/tst-auditmod5b.c: Move to ...
68582         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
68583         * elf/tst-auditmod6a.c: Move to ...
68584         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
68585         * elf/tst-auditmod6b.c: Move to ...
68586         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
68587         * elf/tst-auditmod6c.c: Move to ...
68588         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
68589         * elf/tst-auditmod7a.c: Move to ...
68590         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
68591         * elf/tst-auditmod7b.c: Move to ...
68592         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
68594 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
68596         [BZ #15366]
68597         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
68598         define unconditionally.
68599         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
68600         define unconditionally.
68601         (INT8_C, INT16_C, etc.): Likewise.
68603 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
68605         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
68606         __ehdr_start with hidden visibility.
68608         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
68610 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
68612         * math/libm-test.inc (cos_test): Use accurate hex constants.
68613         (sincost_test): Likewise.
68615 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
68617         * math/libm-test.inc (catan_test): Add more tests.
68618         (catanh_test): Likewise.
68620         * math/s_catanf.c (__catanf): Use suffixed floating-point
68621         constants.
68622         * math/s_catanhf.c (__catanhf): Likewise.
68623         * math/s_catanhl.c (__catanhl): Likewise.
68624         * math/s_catanl.c (__catanl): Likewise.
68626         [BZ #15394]
68627         * math/s_catan.c (__catan): Calculate imaginary part of result
68628         with log1p not log unless computing log of number close to 0.
68629         * math/s_catanf.c (__catanf): Likewise.
68630         * math/s_catanl.c (__catanl): Likewise.
68631         * math/s_catanh.c (__catanh): Calculate real part of result with
68632         log1p not log unless computing log of number close to 0.
68633         * math/s_catanhf.c (__catanhf): Likewise.
68634         * math/s_catanhl.c (__catanhl): Likewise.
68635         * math/libm-test.inc (catan_test): Add more tests.
68636         (catanh_test): Likewise.
68637         * sysdeps/i386/fpu/libm-test-ulps: Update.
68638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68640 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
68642         * benchtests/Makefile: Mention files in which fast and slow
68643         paths of math functions are implemented.
68645 2013-04-23  Roland McGrath  <roland@hack.frob.com>
68647         * sysdeps/posix/timespec_get.c: New file.
68649 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68651         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
68652         POWER.
68653         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
68654         for POWER.
68655         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
68656         powerpc/power5/fpu folders.
68657         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
68658         * benchtests/Makefile: Add modf testcase.
68659         * benchtests/bench-modf.c: New file: Benchmark test for mo
68661 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
68663         [BZ #14888]
68664         * time/Makefile (tests): Add tst-strptime-whitespace.
68665         * time/strptime_l.c (get_number): Use ISSPACE.
68666         (__strptime_internal): Likewise.
68667         * time/tst-strptime-whitespace.c: New test case.
68669 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
68671         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
68672         member.
68673         (_nss_files_init): Set it here.
68675 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
68677         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
68678         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
68679         unsigned.
68681 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
68683         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
68685 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
68687         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
68688         size just once.
68690 2013-04-21  David S. Miller  <davem@davemloft.net>
68692         * po/ru.po: Update Russion translation from translation project.
68694 2013-04-17  Adam Conrad  <adconrad@0c3.net>
68696         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
68697         and setfsgid.
68699 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
68701         * configure.in: Remove i386 configure warning. Remove i386 case.
68702         * configure: Regenerate.
68703         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
68704         Add example to error message.
68705         * sysdeps/i386/configure: Regenerate.
68707 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
68709         * benchtests/Makefile (bench): Add cos, tan, slowcos and
68710         slowtan.
68711         * benchtests/cos-inputs: New file.
68712         * benchtests/slowcos-inputs: New file.
68713         * benchtests/slowcos.c: New file.
68714         * benchtests/slowtan-inputs: New file.
68715         * benchtests/slowtan.c: New file.
68716         * benchtests/tan-inputs: New file.
68718 2013-04-16  Roland McGrath  <roland@hack.frob.com>
68720         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
68721         considered kosher.
68723 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68725         * benchtests/Makefile: Include cppflags-iterator.mk to add
68726         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
68728         * Makefile.in (bench-clean): New target.
68729         * benchtests/Makefile (bench-clean): Likewise.
68731 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
68733         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
68735 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
68737         * stdio-common/tstdiomisc.c: Fix coding-style violation.
68739 2013-04-15  Andreas Schwab  <schwab@suse.de>
68741         * nscd/grpcache.c (cache_addgr): Properly check for short write.
68742         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68743         * nscd/pwdcache.c (cache_addpw): Likewise.
68744         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
68745         more than recsize.
68747 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68749         * benchtests/Makefile (bench): Write all output to
68750         bench-out.tmp together.
68752 2013-04-15  Andreas Schwab  <schwab@suse.de>
68754         * nscd/nscd.c (main): Don't fork again after closing files.
68756 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68758         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
68760         * benchtests/Rules (bench-deps): Collect dependencies into a
68761         single variable.  Add Makefile to dependencies.
68762         ($(objpfx)bench-%.c): Depend on bench-deps.
68764 2013-04-12  Roland McGrath  <roland@hack.frob.com>
68765             Xavier Roche  <roche+kml2@exalead.com>
68767         [BZ #15361]
68768         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
68769         just that it's a file descriptor.
68770         * manual/llio.texi (Synchronizing AIO Operations): Update description
68771         for EBADF error from aio_fsync.
68773 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
68775         * Rules (bench): Move target definition...
68776         * benchtests/Makefile: ... here.
68778 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
68780         * math/libm-test.inc (cos_test): Fix PI/2 test.
68781         (sincos_test): Likewise.
68782         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
68783         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
68785 2013-04-11  Andreas Schwab  <schwab@suse.de>
68787         [BZ #13988]
68788         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
68789         accept exponent character only when digits were seen.
68790         * stdio-common/Makefile (tests): Add bug26.
68791         * stdio-common/bug26.c: New file.
68793         [BZ #14293]
68794         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
68795         non-freeable.
68797 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
68799         * Makeconfig (rtld-prefix): Define built linker prefix.
68800         * Rules (run-bench): Use it.
68801         * math/Makefile (run-regen-ulps): Likewise.
68803         * Rules (bench): Remove eval.
68805 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68806             Roland McGrath  <roland@hack.frob.com>
68807             Ondrej Bilka  <neleai@seznam.cz>
68809         [BZ #15346]
68810         * time/getdate.c: Include ctype.h and alloca.h.
68811         (__getdate_r): Trim leading and trailing spaces of input.
68812         * time/tst-getdate.c (tests): Add tests with leading and
68813         trailing spaces.
68815 2013-04-08  Roland McGrath  <roland@hack.frob.com>
68817         [BZ #14280]
68818         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
68819         when computing value.
68821 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68823         * math/README.libm-test (How can I generate "libm-test-ulps"?):
68824         Use testrun.sh to run libm tests.
68826         [BZ #15309]
68827         * elf/dl-open.c (dl_open_worker): memset all of seen array.
68829 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
68831         [BZ #15264]
68832         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
68834 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68836         * Makefile.in (regen-ulps): New target.
68837         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
68838         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
68839         [ifneq (no,$(PERL)] (regen-ulps): New target.
68840         [ifeq (no,$(PERL)] (regen-ulps): New target.
68841         * math/libm-test.inc (ulps_file_name): Define.
68842         (output_dir): New variable.
68843         (options): Add "output-dir" option.
68844         (parse_opt): Handle 'o' case.
68845         (main): If output_dir is non-NULL use it as a prefix
68846         otherwise use "".
68847         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
68849 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68851         [BZ #10060, #10062]
68852         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
68853         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
68854         fail configure if __sync_val_compare_and_swap is not inlined.
68855         * sysdeps/i386/configure: Regenerate.
68856         * configure.in: Build for i686 when configured for i386.
68857         * configure: Regenerate.
68858         * README: Remove i386 reference.
68860 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68862         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
68863         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68865 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68867         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
68868         (lmsnanval): New variables.
68869         (F): Add conversion tests.
68870         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
68871         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
68873         * stdio-common/tstdiomisc.c (F): Properly collect individual
68874         tests' results.
68876         [BZ #14686, #15336]
68877         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
68878         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
68879         Instead, use input NaN values or generate a qNaN by arithmetic
68880         operation.  Also fix bugs to comply with the standard.
68881         * math/libm-test.inc (remainder_test): Add more tests.
68883         [BZ #15335, #15342]
68884         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
68885         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
68886         input NaN values or generate a qNaN by arithmetic operation.
68888         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
68889         unreachable code.
68891         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
68892         definitions.
68894 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
68896         [BZ #14478]
68897         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
68898         underflowed result.
68899         * math/s_cexpf.c (__cexpf): Likewise.
68900         * math/s_cexpl.c (__cexpl): Likewise.
68901         * math/libm-test.inc (cexp_test): Add more tests.
68903 2013-04-03  Andreas Schwab  <schwab@suse.de>
68905         [BZ #15330]
68906         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
68907         order arrays from heap if bigger than alloca cutoff.
68909 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
68911         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
68912         (SNAN_TESTS_double): Refer to GCC PR56831.
68913         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
68914         GCC PR56828.
68916 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
68918         * Rules (bench): Move bench.out after the run is complete.
68920         * Rules (bench): Echo currently running benchmark.
68922         * benchtests/Makefile (bench): Add atan and slowatan.
68923         * benchtests/atan-inputs: New file.
68924         * benchtests/slowatan-inputs: New file.
68925         * benchtests/slowatan.c: New file.
68927         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
68928         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
68929         its value.
68931         [BZ #15305]
68932         * sysdeps/unix/sysv/linux/kernel-features.h
68933         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
68934         __ASSUME_XFS_RESTRICTED_CHOWN.
68935         * sysdeps/unix/sysv/linux/pathconf.c
68936         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
68937         Save and restore errno.
68939 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
68941         [BZ #15327]
68942         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
68943         arguments using __kernel_casinh.
68944         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
68945         arguments using __kernel_casinhf.
68946         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
68947         arguments using __kernel_casinhl.
68948         * math/libm-test.inc (cacosh_test): Add more tests.
68949         * sysdeps/i386/fpu/libm-test-ulps: Update.
68950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68952 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
68954         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
68955         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
68957         * bench/Makefile (bench): Add sin and slowsin.
68958         * benchtests/sin-inputs: New file.
68959         * benchtests/slowsin-inputs: New file.
68960         * benchtests/slowsin.c: New file.
68962         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
68963         (bench): Add slowexp and slowpow.
68964         (exp-ITER): Increase iterations.
68965         (pow-ITER): Likewise.
68966         * benchtests/exp-inputs: Change input.
68967         * benchtests/pow-inputs: Likewise.
68968         * benchtests/slowexp-inputs: New file.
68969         * benchtests/slowexp.c: New file.
68970         * benchtests/slowpow-inputs: New file.
68971         * benchtests/slowpow.c: New file.
68973 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68975         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
68976         instructions.
68977         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68978         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
68979         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
68980         * benchtests/Makefile: Add rint benchtest.
68981         * benchtests/rint-inputs: Input for rint benchtest.
68983 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68985         * Versions.def (libm): Add GLIBC_2.18.
68986         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
68987         hidden libm prototypes.
68988         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
68989         * math/Makefile (libm-calls): Add s_issignaling.
68990         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
68991         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
68992         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
68993         declaration.
68994         * math/math.h [__USE_GNU] (issignaling): New macro.
68995         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
68996         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
68997         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
68998         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
68999         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
69000         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
69001         * manual/arith.texi (issignaling): New section.
69002         * manual/libm-err-tab.pl (@all_functions): Update comment.
69003         * math/gen-libm-test.pl (parse_args): Apply special handling for
69004         issignaling.
69005         * math/libm-test.inc (print_float, issignaling_test): New
69006         functions.
69007         (check_float_internal): Add issignaling checks.
69008         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
69009         default definition.
69010         * sysdeps/powerpc/math-tests.h: New file.
69011         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
69012         tests.
69013         * math/test-snan.c (TEST_FUNC): Likewise.
69015 2013-03-30  David S. Miller  <davem@davemloft.net>
69017         * po/de.po: Update from translation team.
69019 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
69021         [BZ #10357]
69022         * math/k_casinh.c (__kernel_casinh): Handle arguments with
69023         imaginary part less than 1.0 and real part less than 0.5
69024         specially.
69025         * math/k_casinhf.c (__kernel_casinhf): Likewise.
69026         * math/k_casinhl.c (__kernel_casinhl): Likewise.
69027         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
69028         (cacos_test): Add more tests.
69029         (casin_test): Likewise.
69030         (casinh_test): Likewise.
69031         * sysdeps/i386/fpu/libm-test-ulps: Update.
69032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69034 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
69036         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
69037         ONE with its value.
69039         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
69040         (__pow_mp): Replace ONE and MONE with their values.
69041         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69042         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
69043         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69044         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
69045         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69046         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69048         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
69050         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
69051         (__pow_mp): Replace ZERO and MZERO with their values.
69052         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
69053         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69054         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69055         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
69056         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69057         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
69058         (__sqr): Likewise.
69060         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
69062         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
69064 2013-03-28  Roland McGrath  <roland@hack.frob.com>
69066         * include/stdlib.h [!SHARED] (__call_tls_dtors):
69067         Declare with __attribute__ ((weak)).
69068         * stdlib/exit.c (__libc_atexit) [!SHARED]:
69069         Call __call_tls_dtors only if it's not NULL.
69071 2013-03-28  Roland McGrath  <roland@hack.frob.com>
69073         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
69074         didn't do it already, then set _dl_phdr and _dl_phnum based on the
69075         magic __ehdr_start linker symbol if it's defined.
69076         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
69077         them up here if it was already done.
69079         * elf/dl-support.c (_dl_phdr): Make pointer to const.
69080         (_dl_aux_init): Use const in cast when setting it.
69081         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
69082         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
69083         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
69085         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
69086         Declare them here.
69087         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
69088         * csu/libc-tls.c: Nor here.
69089         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
69091         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
69092         (__libc_message): Never call vsyslog.
69094 2013-03-28  Alan Modra  <amodra@gmail.com>
69096         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
69097         Define as empty.
69098         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
69099         Likewise.
69101 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69103         [BZ #15214]
69104         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
69105         underflow.
69106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69108 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69110         [BZ #15304]
69111         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
69112         Don't add gid passed as argument.
69114         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
69116 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
69118         [BZ #15307]
69119         * math/k_casinh.c (__kernel_casinh): Handle arguments with
69120         imaginary part between 1.0 and 1.5 and real part less than 0.5
69121         specially.
69122         * math/k_casinhf.c (__kernel_casinhf): Likewise.
69123         * math/k_casinhl.c (__kernel_casinhl): Likewise.
69124         * math/libm-test.inc (cacos_test): Add more tests.
69125         (casin_test): Likewise.
69126         (casinh_test): Likewise.
69127         * sysdeps/i386/fpu/libm-test-ulps: Update.
69128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69130 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69132         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
69133         constants.
69134         (norm): Likewise.
69135         (denorm): Likewise.
69136         (__dbl_mp): Likewise.
69137         (add_magnitudes): Likewise.
69138         (sub_magnitudes): Likewise.
69139         (__add): Likewise.
69140         (__sub): Likewise.
69141         (__mul): Likewise.
69142         (__sqr): Likewise.
69143         (__inv): Likewise.
69144         (__dvd): Likewise.
69146         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
69147         commented code.
69148         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
69149         (__dubcos): Likewise.
69150         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
69151         (__ieee754_acos): Likewise.
69152         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
69153         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
69154         (__exp1): Likewise.
69155         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69156         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69157         (log1): Likewise.
69158         (my_log2): Likewise.
69159         (checkint): Likewise.
69160         * sysdeps/ieee754/dbl-64/e_remainder.c
69161         (__ieee754_remainder): Likewise.
69162         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69163         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
69164         (bsloww): Likewise.
69165         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69167         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69168         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
69169         MANTISSA_STORE_T to store computations on mantissa.  Use
69170         macros for rounding and division.
69171         (denorm): Likewise.
69172         (__dbl_mp): Likewise.
69173         (add_magnitudes): Likewise.
69174         (sub_magnitudes): Likewise.
69175         (__mul): Likewise.
69176         (__sqr): Likewise.
69177         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
69178         powers of two in terms of TWOPOW macro.
69179         (mp_no): Make type of mantissa as MANTISSA_T.
69180         [!RADIXI]: Define RADIXI.
69181         [!TWO52]: Define TWO52.
69182         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69184 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69186         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
69187         llroundl symbol when building for PPC32.
69189 2013-03-24  Mark H Weaver  <mhw@netris.org>
69191         * manual/arith.texi (Normalization Functions): Fix prototypes for
69192         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
69194 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69196         [BZ #13889]
69197         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
69198         high value to check if expl overflow.
69199         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
69200         to check for underflow and overflow.
69201         * math/libm-test.inc: Add exp test.
69203 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
69205         [BZ #11120]
69206         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
69207         with NOT_IN_libc.
69209 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69211         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
69212         symbol.
69214 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69216         * math/gen-libm-test.pl (parse_args, special_functions): Properly
69217         wrap blocks consisting of several statements.
69219         * sysdeps/generic/math-tests.h: New file.
69220         * sysdeps/i386/fpu/math-tests.h: Likewise.
69221         * math/test-snan.c: Include it.
69222         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
69224 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
69226         [BZ #15285]
69227         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
69228         (__ieee754_j0l): Do not improve calculations using cos of twice
69229         input for inputs above LDBL_MAX / 2.0L.
69230         (__ieee754_y0l): Likewise.
69231         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
69232         (__ieee754_j1l): Do not improve calculations using cos of twice
69233         input for inputs above LDBL_MAX / 2.0L.
69234         (__ieee754_y1l): Likewise.
69235         * math/libm-test.inc (j0_test): Add another test.
69236         (j1_test): Likewise.
69237         (y0_test): Likewise.
69238         (y1_test): Likewise.
69239         * sysdeps/i386/fpu/libm-test-ulps: Update.
69241 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69243         * Rules ($(objpfx)bench-%.c): Include code from a C source
69244         file.
69246 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
69248         [BZ #15287]
69249         * math/k_casinh.c (__kernel_casinh): Handle arguments with
69250         imaginary part 1.0 and real part less than 0.5 specially.
69251         * math/k_casinhf.c (__kernel_casinhf): Likewise.
69252         * math/k_casinhl.c (__kernel_casinhl): Likewise.
69253         * math/libm-test.inc (cacos_test): Add more tests.
69254         (casin_test): Likewise.
69255         (casinh_test): Likewise.
69256         * sysdeps/i386/fpu/libm-test-ulps: Update.
69257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69259 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69261         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
69262         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
69264 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
69266         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
69267         * config.make.in (config-cflags-sse4): Remove variable.
69268         (config-cflags-avx): Likewise.
69269         (config-cflags-sse2avx): Likewise.
69270         (config-cflags-novzeroupper): Likewise.
69271         (config-asflags-i686): Likewise.
69272         (have-mfma4): Likewise.
69273         (have-as-vis3): Likewise.
69274         (MIG): Likewise.
69275         * configure.in (MIG): Do not AC_SUBST.
69276         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
69277         (libc_cv_cc_sse4): Do not AC_SUBST.
69278         (libc_cv_cc_avx): Likewise.
69279         (libc_cv_cc_sse2avx): Likewise.
69280         (libc_cv_cc_novzeroupper): Likewise.
69281         (libc_cv_cc_fma4): Likewise.
69282         (libc_cv_as_i686): Likewise.
69283         (libc_cv_sparc_as_vis3): Likewise.
69284         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
69285         LIBC_CONFIG_VAR.
69286         (config-asflags-i686): Likewise.
69287         (config-cflags-avx): Likewise.
69288         (config-cflags-sse2avx): Likewise.
69289         (have-mfma4): Likewise.
69290         (config-cflags-novzeroupper): Likewise.
69291         * sysdeps/mach/configure.in (MIG): Likewise.
69292         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
69293         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
69294         LIBC_CONFIG_VAR.
69295         (config-cflags-avx): Likewise.
69296         (config-cflags-sse2avx): Likewise.
69297         (have-mfma4): Likewise.
69298         (config-cflags-novzeroupper): Likewise.
69299         * configure: Regenerated.
69300         * sysdeps/i386/configure: Likewise.
69301         * sysdeps/mach/configure: Likewise.
69302         * sysdeps/sparc/configure: Likewise.
69303         * sysdeps/x86_64/configure: Likewise.
69305 2013-03-20  Roland McGrath  <roland@hack.frob.com>
69307         [BZ #14812]
69308         * locale/programs/localedef.c (options): Put N_ translation marker
69309         on argument names, not just descriptions.
69311 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69313         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
69315 2013-03-20  Ondƙej BĂ­lka  <neleai@seznam.cz>
69317         [BZ #14176]
69318         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
69320 2013-03-19  Roland McGrath  <roland@hack.frob.com>
69322         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
69323         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
69324         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
69325         [!BEFORE_ABORT] (before_abort): New function.
69326         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
69327         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
69328         (writev_for_fatal): New function.
69329         (WRITEV_FOR_FATAL): New macro; call that.
69330         (backtrace_and_maps): New function.
69331         (BEFORE_ABORT): New macro; call that.
69332         (struct str_list): Type removed.
69333         (__libc_message, __libc_fatal): Functions removed.
69334         Include <sysdeps/posix/libc_fatal.c> instead.
69336 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
69338         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
69339         constants.
69340         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
69341         double constants.
69343 2013-03-19  Andreas Schwab  <schwab@suse.de>
69345         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
69346         * sysdeps/gnu/configure: Regenerate.
69348         * configure.in: Substitute libc_cv_rtlddir.
69349         * configure: Regenerate.
69350         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
69351         * Makeconfig (rtlddir, inst_rtlddir): New variables.
69352         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
69353         * elf/Makefile (install-others, CFLAGS-interp.c)
69354         (ldso_install, common-ldd-rewrite): Likewise.
69355         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
69356         $(inst_slibdir)/$(rtld-installed-name).
69357         * scripts/rellns-sh: Add -p option.
69358         * Makerules (make-shlib-link): Use rellns-sh to get relative name
69359         for source.
69361 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
69363         * manual/nptl.texi: Renamed to ...
69364         * manual/threads.texi: ... this.
69365         * manual/Makefile (chapters): Update.
69367 2013-03-18  Roland McGrath  <roland@hack.frob.com>
69369         [BZ #14812]
69370         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
69371         on argument names, not just descriptions.
69372         * malloc/memusagestat.c (options): Likewise.
69373         * nss/getent.c (options): Likewise.
69375 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
69377         [BZ #14812]
69378         * iconv/iconv_prog.c (options): Put N_ translation marker
69379         on argument names, not just descriptions.
69380         * iconv/iconvconfig.c (options): Likewise.
69382 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
69384         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
69385         implementation which is faster on all x86_64 architectures.
69386         Tested on AMD, Intel Nehalem, SNB, IVB.
69387         * sysdeps/x86_64/strnlen.S: Likewise.
69389         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
69390         Remove all multiarch strlen and strnlen versions.
69391         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
69392         Remove strlen and strnlen related parts.
69394         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
69395         Inline strlen part.
69396         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
69398         * sysdeps/x86_64/multiarch/strlen.S: Remove.
69399         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
69400         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
69401         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
69402         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69403         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
69405 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
69407         * manual/memory.texi (Malloc Tunable Parameters):
69408         Sort parameters alphabetically. Add comments for missing entries.
69410 2013-03-17  David S. Miller  <davem@davemloft.net>
69412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69414 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
69416         [BZ #15283]
69417         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
69418         for arguments at most half maximum finite value.
69419         * math/libm-test.inc (j0_test): Add more tests.
69420         (j1_test): Likewise.
69421         (y0_test): Likewise.
69422         (y1_test): Likewise.
69423         * sysdeps/i386/fpu/libm-test-ulps: Update.
69424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69426         [BZ #14155]
69427         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
69428         1 / x and functions P and Q for arguments above 0x1p256L.
69429         (__ieee754_y0l): Likewise.
69430         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
69431         (__ieee754_y1l): Likewise.
69432         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
69433         (j1_test): Likewise.
69434         (y0_test): Likewise.
69435         (y1_test): Likewise.
69437 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
69439         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
69440         variable.
69442 2013-03-15  Roland McGrath  <roland@hack.frob.com>
69444         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
69445         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
69446         zero since it's initialized to EXEC_PAGESIZE.
69448         * sysdeps/unix/sysv/linux/ldsodefs.h
69449         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
69450         * sysdeps/generic/ldsodefs.h: ... here.
69452 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
69454         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
69456         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
69457         math/test-snan.c.
69458         * math/test-snan.c: Renamed from
69459         sysdeps/powerpc/fpu/test-powerpc-snan.c.
69460         * math/Makefile (tests): Add test-snan.
69461         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
69462         test-powerpc-snan.
69464         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
69465         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
69466         functions.
69467         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
69468         __builtin_nan family of functions.
69469         * math/libm-test.inc (initialize): Initialize qnan_value with
69470         __builtin_nan family of functions.
69471         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
69472         Remove variables.
69473         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
69474         Remove functions.
69475         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
69476         storage class.  Initialize qNaN_var and sNaN_var with
69477         __builtin_nan and __builtin_nans families of functions,
69478         respectively.
69480         * math/libm-test.inc (acosh_test): Also test with qNaN input.
69481         (sqrt_test): Remove duplicate test with qNaN input.
69482         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
69483         (round_test, signbit_test, significand_test): Note missing +/-Inf
69484         as well as qNaN tests.
69486         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
69487         qNaN_var.  Fix a few strings, too.
69488         * math/libm-test.inc (nan_value): Rename to qnan_value.
69489         * math/gen-libm-test.pl (%beautify): Adjust to that.
69490         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
69491         * math/test-misc.c (main): Likewise.
69492         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
69493         to __qnan_bytes, and __qnan_union, respectively.
69494         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
69495         Likewise.
69496         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
69497         and lqnanval, respectively.
69498         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
69499         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
69500         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
69501         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
69503         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
69504         * math/test-misc.c (main) [__x86_64__]: Enable test for long
69505         doubles.
69507         * math/test-misc.c (main): Fix copy'n'pastos.
69508         * misc/tst-efgcvt.c (special): Likewise.
69510         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
69511         Remove declarations.
69513 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69515         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
69516         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
69517         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
69518         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
69520 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69522         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
69523         macro to return vdso values correctly in IFUNC implementations.
69524         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
69525         Optimization by using IFUNC.
69527 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69528             Richard Henderson  <rth@redhat.com>
69529             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69531         * Makefile.in (bench): New target.
69532         * NEWS: Mention the benchmark framework.
69533         * Rules (bench): Likewise.
69534         (binaries-bench): Generate binaries for functions to
69535         benchmark.
69536         * benchtests/Makefile: New makefile for benchmark tests.
69537         * benchtests/bench-skeleton.c: New skeleton file for benchmark
69538         programs.
69539         * benchtests/exp-inputs: New input file for EXP function.
69540         * benchtests/pow-inputs: New input file for POW function.
69541         * scripts/bench.pl: New script to generate source files for
69542         benchmark programs.
69544 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69546         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69547         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
69548         computations on mantissa.  Use macros for rounding and
69549         division.
69550         (denorm): Likewise.
69551         (__dbl_mp): Likewise.
69552         (add_magnitudes): Likewise.
69553         (sub_magnitudes): Likewise.
69554         (__mul): Likewise.
69555         (__sqr): Likewise.
69556         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
69557         powers of two in terms of TWOPOW macro.
69558         (mp_no): Make type of mantissa as MANTISSA_T.
69559         [!RADIXI]: Define RADIXI.
69560         [!TWO52]: Define TWO52.
69561         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69563         * manual/nptl.texi (cindex): Modify threads to pthreads.
69565 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
69567         * sysdeps/x86_64/preconfigure: Regenerated.
69569 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
69571         [BZ #14155]
69572         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
69573         0x1p28 and above.
69574         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
69575         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
69576         0x1p28 and above.
69577         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
69578         * math/libm-test.inc (j0_test): Do not allow one spurious
69579         underflow exception.
69580         (y1_test): Likewise.
69582 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
69584         * manual/Makefile (chapters): Add nptl.
69585         * manual/debug.texi (Debugging Support): Add link to Threads
69586         chapter.
69587         * manual/nptl.texi: New file.
69589         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
69591 2013-03-14  Petr Baudis  <pasky@ucw.cz>
69593         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
69594         for non-NULL pointer before the memory validity test. Pointed
69595         out by Holger Brunck <holger.brunck@keymile.com>.
69597 2013-03-13  Andreas Schwab  <schwab@suse.de>
69599         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
69600         instead of .os.
69602 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
69604         * timezone/zic.c: Update from tzcode 2013b.
69606 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
69608         * manual/install.texi (Configuring and compiling):
69609         Mention i686 and i586.
69610         * INSTALL: Regenerate.
69612 2013-03-12  Roland McGrath  <roland@hack.frob.com>
69614         * sysdeps/init_array/elf-init.c: New file.
69615         * csu/elf-init.c
69616         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
69617         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
69619         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
69620         __gmon_start__ as global, but as static with a .preinit_array pointer.
69621         * sysdeps/init_array/gmon-start.c: New file.  Use that.
69622         * sysdeps/init_array/crti.S: New file, empty except for comments.
69623         * sysdeps/init_array/crtn.S: Likewise.
69625 2013-03-11  Ondƙej BĂ­lka  <neleai@seznam.cz>
69627         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
69628         definining bcopy.
69629         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69630         Remove Prefer_SSE_for_memop.
69631         * sysdeps/x86_64/multiarch/init-arch.h: Remove
69632         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
69633         HAS_PREFER_SSE_FOR_MEMOP.
69634         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
69635         memset-x86-64.
69636         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
69637         Remove bzero, memset ifunc support.
69638         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
69639         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
69640         * sysdeps/x86_64/multiarch/memset.S: Likewise.
69641         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69643 2013-03-11  Andreas Schwab  <schwab@suse.de>
69645         [BZ #15234]
69646         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
69647         by SHLIB_COMPAT.
69648         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
69649         (GLIBC_2.16): Remove pthread_atfork.
69651 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
69653         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
69654         (ptestcases.h): Likewise.
69656 2013-03-08  Roland McGrath  <roland@hack.frob.com>
69658         * Makeconfig ($(common-objpfx)config.status): Depend on
69659         sysdeps/*/preconfigure{,.in} too.
69661 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
69663         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
69664         (__free_hook): Use void * instead of __malloc_ptr_t.
69665         (__malloc_hook): Likewise.
69666         (__realloc_hook): Likewise.
69667         (__memalign_hook): Likewise.
69668         (__after_morecore_hook): Likewise.
69669         * malloc/arena.c (save_malloc_hook): Likewise.
69670         (save_free_hook): Likewise.
69671         * malloc/hooks.c (malloc_hook_ini): Likewise.
69672         (realloc_hook_ini): Likewise.
69673         (memalign_hook_ini): Likewise.
69674         * malloc/malloc.c (malloc_hook_ini): Likewise.
69675         (realloc_hook_ini): Likewise.
69676         (memalign_hook_ini): Likewise.
69677         (__free_hook): Likewise.
69678         (__malloc_hook): Likewise.
69679         (__realloc_hook): Likewise.
69680         (__memalign_hook): Likewise.
69681         (__libc_malloc): Likewise.
69682         (__libc_free): Likewise.
69683         (__libc_realloc): Likewise.
69684         (__libc_memalign): Likewise.
69685         (__libc_valloc): Likewise.
69686         (__libc_pvalloc): Likewise.
69687         (__libc_calloc): Likewise.
69688         (__posix_memalign): Likewise.
69689         * malloc/morecore.c (__sbrk): Likewise.
69690         (__default_morecore): Likewise.
69692         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
69694         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
69695         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
69696         __malloc_ptrdiff_t.
69698         * malloc/malloc.h (__malloc_size_t): Remove macro.
69699         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
69700         __malloc_size_t.
69701         (old_memalign_hook): Likewise.
69702         (old_realloc_hook): Likewise.
69703         (struct hdr): Likewise.
69704         (flood): Likewise.
69705         (mallochook): Likewise.
69706         (memalignhook): Likewise.
69707         (reallochook): Likewise.
69708         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
69709         (tr_old_realloc_hook): Likewise.
69710         (tr_old_memalign_hook): Likewise.
69711         (tr_mallochook): Likewise.
69712         (tr_reallochook): Likewise.
69713         (tr_memalignhook): Likewise.
69715 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69717         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
69718         default_ldbl_pack and using as default implementation.
69719         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
69720         implementation.
69721         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
69722         redundant definition.
69723         (ldbl_insert_mantissa): Likewise.
69724         (ldbl_canonicalize): Likewise.
69725         (ldbl_nearbyint): Likewise.
69726         (ldbl_pack): Rename to ldbl_pack_ppc.
69727         (ldbl_unpack): Rename to ldbl_unpack_ppc.
69728         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
69729         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
69731 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
69733         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
69734         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
69735         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
69736         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
69737         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
69738         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
69739         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
69740         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
69742 2013-03-07  Andreas Jaeger  <aj@suse.de>
69744         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69745         bits/mman-linux.h.
69747 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
69749         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
69750         Include mpa.h and declare __MPEXP.
69751         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
69752         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69753         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69754         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
69755         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69756         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69757         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
69759         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
69760         (__slowpow): Use long double EXPL and LOGL functions to
69761         compute POW.
69762         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69763         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69764         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
69765         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69766         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69767         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
69769         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
69770         intermediate variable to calculate exponent.
69771         (__sqr): Likewise.
69772         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69773         Likewise.
69774         (__sqr): Likewise.
69776         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
69777         [!NO__SQR]: Define __sqr.
69778         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
69779         and NO__SQR.  Remove all code except __mul and __sqr.  Include
69780         sysdeps/ieee754/dbl-64/mpa.c.
69781         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69783         [BZ #12723]
69784         * posix/Makefile (tests): Add tst-pathconf.
69785         * posix/tst-pathconf.c: New test case.
69786         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
69787         _PC_PIPE_BUF.
69788         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
69790 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
69792         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
69794 2013-03-06  Andreas Jaeger  <aj@suse.de>
69796         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
69797         definition via __MAP_ANONYMOUS.
69799         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
69800         it's not part of Linux headers.
69802         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
69803         (MAP_HUGE_MASK): Define.
69805         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69806         Define.
69807         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69808         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69809         Define.
69810         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69811         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69812         Define.
69813         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69814         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
69815         Define.
69816         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69818         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
69819         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
69820         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
69821         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
69822         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
69823         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
69825         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69826         Handle f2fs.
69828         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69829         Handle f2fs and efivarfs.
69831         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
69832         f2fs.
69834         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
69835         (EFIVARFS_MAGIC): Add.
69836         (F2FS_LINK_MAX): Add.
69838 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69840         * stdio-common/vfprintf.c: Replace __builtin_expect with
69841         __glibc_unlikely.
69843 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
69845         [BZ #13550]
69846         * sysdeps/generic/bp-sym.h: Remove file.
69847         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
69848         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
69849         <bp-sym.h> and <bp-asm.h>.
69850         (__longjmp): Don't use BP_SYM.
69851         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
69852         and <bp-asm.h>.
69853         (memcpy): Don't use BP_SYM.
69854         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
69855         <bp-sym.h> and <bp-asm.h>.
69856         (memcpy): Don't use BP_SYM.
69857         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
69858         <bp-asm.h>.
69859         (memcpy): Don't use BP_SYM.
69860         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
69861         <bp-asm.h>.
69862         (memset): Don't use BP_SYM.
69863         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69864         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69865         (__bzero): Don't use BP_SYM.
69866         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69867         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69868         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
69869         <bp-sym.h> and <bp-asm.h>.
69870         (memcmp): Don't use BP_SYM.  Remove comment about bounded
69871         pointers.
69872         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
69873         <bp-sym.h> and <bp-asm.h>.
69874         (memcpy): Don't use BP_SYM.
69875         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
69876         <bp-sym.h> and <bp-asm.h>.
69877         (memset): Don't use BP_SYM.
69878         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69879         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69880         (__bzero): Don't use BP_SYM.
69881         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69882         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69883         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
69884         <bp-sym.h> and <bp-asm.h>.
69885         (strncmp): Don't use BP_SYM.  Remove comment about bounded
69886         pointers.
69887         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
69888         <bp-sym.h> and <bp-asm.h>.
69889         (memcpy): Don't use BP_SYM.
69890         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
69891         <bp-sym.h> and <bp-asm.h>.
69892         (memset): Don't use BP_SYM.
69893         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69894         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69895         (__bzero): Don't use BP_SYM.
69896         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69897         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69898         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
69899         <bp-sym.h> and <bp-asm.h>.
69900         (__memchr): Don't use BP_SYM.
69901         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
69902         <bp-sym.h> and <bp-asm.h>.
69903         (memcmp): Don't use BP_SYM.  Remove comment about bounded
69904         pointers.
69905         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
69906         <bp-sym.h> and <bp-asm.h>.
69907         (memcpy): Don't use BP_SYM.
69908         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
69909         <bp-sym.h> and <bp-asm.h>.
69910         (__mempcpy): Don't use BP_SYM.
69911         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
69912         <bp-sym.h> and <bp-asm.h>.
69913         (__memrchr): Don't use BP_SYM.
69914         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
69915         <bp-sym.h> and <bp-asm.h>.
69916         (memset): Don't use BP_SYM.
69917         (__bzero): Likewise.
69918         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
69919         <bp-sym.h> and <bp-asm.h>.
69920         (__rawmemchr): Don't use BP_SYM.
69921         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
69922         <bp-sym.h> and <bp-asm.h>.
69923         (__STRCMP): Don't use BP_SYM.
69924         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
69925         <bp-sym.h> and <bp-asm.h>.
69926         (strchr): Don't use BP_SYM.
69927         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
69928         <bp-sym.h> and <bp-asm.h>.
69929         (__strchrnul): Don't use BP_SYM.
69930         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
69931         <bp-sym.h> and <bp-asm.h>.
69932         (strlen): Don't use BP_SYM.
69933         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
69934         <bp-sym.h> and <bp-asm.h>.
69935         (strncmp): Don't use BP_SYM.  Remove comment about bounded
69936         pointers.
69937         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
69938         <bp-sym.h> and <bp-asm.h>.
69939         (__strnlen): Don't use BP_SYM.
69940         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
69941         <bp-sym.h> and <bp-asm.h>.
69942         (__GI__setjmp): Don't use BP_SYM.
69943         (_setjmp): Likewise.
69944         (__sigsetjmp): Likewise.
69945         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
69946         (L(start_addresses)): Don't use BP_SYM.
69947         (_start): Likewise.
69948         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
69949         <bp-asm.h>.
69950         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
69951         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
69952         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69953         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69954         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
69955         <bp-asm.h>.
69956         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
69957         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
69958         about bounded pointers.
69959         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69960         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69961         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
69962         <bp-asm.h>.
69963         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
69964         about bounded pointers.  Remove GKM FIXME comments.
69965         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69966         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
69967         <bp-asm.h>.
69968         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
69969         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
69970         Remove GKM FIXME comments.
69971         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69972         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69973         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
69974         <bp-asm.h>.
69975         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
69976         about bounded pointers.  Remove GKM FIXME comment.
69977         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
69978         and <bp-asm.h>.
69979         (strncmp): Don't use BP_SYM.  Remove comment about bounded
69980         pointers.
69981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
69982         <bp-sym.h> and <bp-asm.h>.
69983         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
69985         <bp-sym.h> and <bp-asm.h>.
69986         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
69987         comment.
69989 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69991         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
69992         call free(NULL).
69994 2013-03-05  David S. Miller  <davem@davemloft.net>
69996         * po/es.po: Update from translation team.
69998 2013-03-05  Andreas Jaeger  <aj@suse.de>
70000         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
70001         <bits/mman-linux.h>.
70002         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70003         is fine.
70004         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
70005         <bits/mman-linux.h> to end of file.
70006         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70007         is fine.
70008         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
70009         <bits/mman-linux.h> to end of file.
70010         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70011         is fine.
70012         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
70013         <bits/mman-linux.h> to end of file.
70015         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
70016         (MCL_CURRENT, MCL_FUTURE): Define here.
70018 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70020         [BZ #15232]
70021         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
70022         attribute_hidden.
70023         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
70025 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70027         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
70028         fourth parameter needed for rt_sigprocmask syscall.
70029         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
70030         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
70031         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
70032         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
70033         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
70034         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
70036 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
70038         [BZ #13550]
70039         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
70040         comment about bounded pointers.
70041         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
70042         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
70044 2013-03-04  Andreas Jaeger  <aj@suse.de>
70046         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
70047         common definitions.
70049         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
70050         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
70051         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
70052         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70053         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
70054         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70056 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70058         [BZ #15055]
70059         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
70060         __ieee754_sqrl instead of __sqrl.
70062 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
70064         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
70065         * sysdeps/powerpc/fpu_control.h: ... here.
70066         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
70067         * sysdeps/powerpc/bits/fenvinline.h: ... here.
70068         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
70069         * sysdeps/powerpc/bits/mathinline.h: ... here.
70071 2013-03-01  Roland McGrath  <roland@hack.frob.com>
70073         * elf/dl-hwcaps.c (_dl_important_hwcaps):
70074         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
70075         to just [NEED_DL_SYSINFO_DSO].
70076         * elf/dl-support.c: Likewise.
70077         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
70078         * elf/rtld.c (dl_main): Likewise.
70079         * elf/setup-vdso.h (setup_vdso): Likewise.
70080         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
70081         * sysdeps/unix/sysv/linux/dl-sysdep.c
70082         (_dl_discover_osversion): Likewise.
70084 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
70086         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
70087         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
70089 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
70091         * NEWS: Mention libm performance improvements and non-x86 PI
70092         futex support.
70094         * csu/libc-start.c (__pthread_initialize_minimal): Change
70095         function arguments.
70096         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
70098 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
70100         [BZ #13550]
70101         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
70102         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
70103         <bp-sym.h> and <bp-asm.h>.
70104         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70105         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
70106         and <bp-asm.h>.
70107         (memcpy): Don't use BP_SYM.
70108         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
70109         <bp-asm.h>.
70110         (__mpn_add_n): Don't use BP_SYM.
70111         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
70112         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
70113         and <bp-asm.h>.
70114         (__mpn_addmul_1): Don't use BP_SYM.
70115         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70116         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
70117         <bp-sym.h>.
70118         (_setjmp): Don't use BP_SYM.
70119         (__novmx_setjmp): Likewise.
70120         (__GI__setjmp): Likewise.
70121         (__vmx_setjmp): Likewise.
70122         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
70123         <bp-sym.h>.
70124         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
70125         (__bzero): Don't use BP_SYM.
70126         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70127         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70128         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
70129         <bp-sym.h> and <bp-asm.h>.
70130         (memcpy): Don't use BP_SYM.
70131         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
70132         <bp-sym.h> and <bp-asm.h>.
70133         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70134         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
70135         <bp-sym.h> and <bp-asm.h>.
70136         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70137         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
70138         <bp-asm.h>.
70139         (__mpn_lshift): Don't use BP_SYM.
70140         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70141         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
70142         <bp-asm.h>.
70143         (memset): Don't use BP_SYM.
70144         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70145         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70146         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
70147         <bp-asm.h>.
70148         (__mpn_mul_1): Don't use BP_SYM.
70149         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70150         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
70151         <bp-sym.h> and <bp-asm.h>.
70152         (memcmp): Don't use BP_SYM.
70153         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
70154         <bp-sym.h> and <bp-asm.h>.
70155         (memcpy): Don't use BP_SYM.
70156         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
70157         <bp-sym.h> and <bp-asm.h>.
70158         (memset): Don't use BP_SYM.
70159         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
70160         <bp-sym.h> and <bp-asm.h>.
70161         (strncmp): Don't use BP_SYM.
70162         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
70163         <bp-sym.h> and <bp-asm.h>.
70164         (memcpy): Don't use BP_SYM.
70165         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
70166         <bp-sym.h> and <bp-asm.h>.
70167         (memset): Don't use BP_SYM.
70168         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
70169         <bp-sym.h> and <bp-asm.h>.
70170         (__memchr): Don't use BP_SYM.
70171         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
70172         <bp-sym.h> and <bp-asm.h>.
70173         (memcmp): Don't use BP_SYM.
70174         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
70175         <bp-sym.h> and <bp-asm.h>.
70176         (memcpy): Don't use BP_SYM.
70177         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
70178         <bp-sym.h> and <bp-asm.h>.
70179         (__mempcpy): Don't use BP_SYM.
70180         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
70181         <bp-sym.h> and <bp-asm.h>.
70182         (__memrchr): Don't use BP_SYM.
70183         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
70184         <bp-sym.h> and <bp-asm.h>.
70185         (memset): Don't use BP_SYM.
70186         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
70187         <bp-sym.h> and <bp-asm.h>.
70188         (__rawmemchr): Don't use BP_SYM.
70189         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
70190         <bp-sym.h> and <bp-asm.h>.
70191         (__STRCMP): Don't use BP_SYM.
70192         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
70193         <bp-sym.h> and <bp-asm.h>.
70194         (strchr): Don't use BP_SYM.
70195         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
70196         <bp-sym.h> and <bp-asm.h>.
70197         (__strchrnul): Don't use BP_SYM.
70198         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
70199         <bp-sym.h> and <bp-asm.h>.
70200         (strlen): Don't use BP_SYM.
70201         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
70202         <bp-sym.h> and <bp-asm.h>.
70203         (strncmp): Don't use BP_SYM.
70204         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
70205         <bp-sym.h> and <bp-asm.h>.
70206         (__strnlen): Don't use BP_SYM.
70207         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
70208         <bp-asm.h>.
70209         (__mpn_rshift): Don't use BP_SYM.
70210         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70211         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
70212         <bp-sym.h> and <bp-asm.h>.
70213         (__sigsetjmp): Don't use BP_SYM.
70214         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
70215         (L(start_addresses)): Don't use BP_SYM.
70216         (_start): Likewise.
70217         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
70218         <bp-asm.h>.
70219         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
70220         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70221         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70222         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
70223         <bp-asm.h>.
70224         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
70225         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70226         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70227         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
70228         <bp-asm.h>.
70229         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
70230         comments.
70231         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70232         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
70233         <bp-asm.h>.
70234         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
70235         FIXME comments.
70236         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70237         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70238         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
70239         <bp-asm.h>.
70240         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
70241         comment.
70242         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
70243         and <bp-asm.h>.
70244         (strncmp): Don't use BP_SYM,
70245         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
70246         <bp-asm.h>.
70247         (__mpn_sub_n): Don't use BP_SYM.
70248         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70249         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
70250         and <bp-asm.h>.
70251         (__mpn_submul_1): Don't use BP_SYM.
70252         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
70254         <bp-sym.h> and <bp-asm.h>.
70255         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
70256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
70257         <bp-sym.h> and <bp-asm.h>.
70258         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
70259         comment.
70261 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70263         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
70264         Use ZK to minimize writes to Z.
70265         (sub_magnitudes): Simplify code a bit.
70266         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
70267         Use ZK to minimize writes to Z.
70268         (sub_magnitudes): Simplify code a bit.
70270 2013-02-27  Roland McGrath  <roland@hack.frob.com>
70272         * csu/gmon-start.c: Add special exception to license text.
70274 2013-02-27  Richard Henderson  <rth@redhat.com>
70276         * scripts/config.guess: Update from config.git.
70277         * scripts/config.sub: Likewise.
70279 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
70281         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
70283         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
70285         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
70287         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
70289         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
70291 2013-02-26  Roland McGrath  <roland@hack.frob.com>
70293         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
70294         [$(build-shared = yes].
70296 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70298         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
70299         (__mul): Reduce iterations for calculating mantissa.
70301         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
70302         MPTWO.
70303         (__mpranred): Likewise.
70305         [BZ #15160]
70306         * malloc/memusagestat.c (main): Draw graphs for heap and stack
70307         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
70309 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
70311         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
70312         Define __attribute__.
70314 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70316         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
70317         unused.
70318         * posix/regex_internal.h (__attribute): Remove.
70319         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
70320         (re_string_context_at): Likewise.
70321         (bitset_not): Use __attribute__ and mark function as possibly
70322         unused.
70323         (bitset_merge): Likewise.
70324         (bitset_mask): Likewise.
70325         (re_string_char_size_at): Likewise.
70326         (re_string_wchar_at): Likewise.
70327         (re_string_elem_size_at): Likewise.
70329 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70331         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
70332         code.
70333         (cc32): Likewise.
70335         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
70336         (__acr): Likewise.
70337         (__cpy): Likewise.
70338         (norm): Likewise.
70339         (denorm): Likewise.
70340         (__dbl_mp): Likewise.
70341         (add_magnitudes): Likewise.
70342         (sub_magnitudes): Likewise.
70343         (__mul): Likewise.
70344         (__inv): Likewise.
70346         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
70347         style.
70349         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
70350         style.
70352         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
70353         code.
70355         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
70356         up changes with default code.
70357         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
70358         Likewise.
70360 2013-02-24  Allan McRae  <allan@archlinux.org>
70362         * manual/socket.texi (The Internet Namespace): Order menu items
70363         to match that in the file.
70365         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
70366         node listing of the info page menu.
70368 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
70370         [BZ #13550]
70371         * sysdeps/i386/bp-asm.h: Remove file.
70372         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70373         (PARMS): Do not use macros from bp-asm.h.
70374         (S1): Likewise.
70375         (S2): Likewise.
70376         (SIZE): Likewise.
70377         (__mpn_add_n): Do not use BP_SYM
70378         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
70379         "bp-asm.h".
70380         (PARMS): Do not use macros from bp-asm.h.
70381         (S1): Likewise.
70382         (SIZE): Likewise.
70383         (__mpn_addmul_1): 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/bsd-setjmp.S: Do not include "bp-sym.h" and
70390         "bp-asm.h".
70391         (PARMS): Do not use macros from bp-asm.h.
70392         (SIGMSK): Likewise.
70393         (setjmp): Likewise.  Do not use BP_SYM.
70394         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
70395         "bp-asm.h".
70396         (PARMS): Do not use macros from bp-asm.h.
70397         (__frexp): Do not use BP_SYM.
70398         (frexp): Likewise.
70399         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
70400         "bp-asm.h".
70401         (PARMS): Do not use macros from bp-asm.h.
70402         (__frexpf): Do not use BP_SYM.
70403         (frexpf): Likewise.
70404         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
70405         "bp-asm.h".
70406         (PARMS): Do not use macros from bp-asm.h.
70407         (__frexpl): Do not use BP_SYM.
70408         (frexpl): Likewise.
70409         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
70410         "bp-asm.h".
70411         (PARMS): Do not use macros from bp-asm.h.
70412         (__remquo): Do not use BP_SYM.
70413         (remquo): Likewise.
70414         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
70415         "bp-asm.h".
70416         (PARMS): Do not use macros from bp-asm.h.
70417         (__remquof): Do not use BP_SYM.
70418         (remquof): Likewise.
70419         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
70420         "bp-asm.h".
70421         (PARMS): Do not use macros from bp-asm.h.
70422         (__remquol): Do not use BP_SYM.
70423         (remquol): Likewise.
70424         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
70425         "bp-asm.h".
70426         (PARMS): Do not use macros from bp-asm.h.
70427         (DEST): Likewise.
70428         (SRC): Likewise.
70429         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
70430         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
70431         "bp-asm.h".
70432         (PARMS): Do not use macros from bp-asm.h.
70433         (strlen): Do not use BP_SYM.
70434         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
70435         "bp-asm.h".
70436         (PARMS): Do not use macros from bp-asm.h.
70437         (S1): Likewise.
70438         (S2): Likewise.
70439         (SIZE): Likewise.
70440         (__mpn_add_n): Do not use BP_SYM.
70441         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
70442         "bp-asm.h".
70443         (PARMS): Do not use macros from bp-asm.h.
70444         (S1): Likewise.
70445         (SIZE): Likewise.
70446         (__mpn_addmul_1): Do not use BP_SYM.
70447         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
70448         weak_alias.
70449         (bzero): Likewise.
70450         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
70451         "bp-asm.h".
70452         (PARMS): Do not use macros from bp-asm.h.
70453         (S): Likewise.
70454         (SIZE): Likewise.
70455         (__mpn_lshift): Do not use BP_SYM.
70456         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
70457         "bp-asm.h".
70458         (PARMS): Do not use macros from bp-asm.h.
70459         (DEST): Likewise.
70460         (SRC): Likewise.
70461         (LEN): Likewise.
70462         (memcpy): Likewise.  Do not use BP_SYM.
70463         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
70464         libc_hidden_def and weak_alias.
70465         (mempcpy): Do not use BP_SYM in weak_alias.
70466         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
70467         "bp-asm.h".
70468         (PARMS): Do not use macros from bp-asm.h.
70469         (DEST): Likewise.
70470         (LEN): Likewise.
70471         [!BZERO_P] (CHR): Likewise.
70472         (memset): Likewise.  Do not use BP_SYM.
70473         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
70474         "bp-asm.h".
70475         (PARMS): Do not use macros from bp-asm.h.
70476         (S1): Likewise.
70477         (SIZE): Likewise.
70478         (__mpn_mul_1): Do not use BP_SYM.
70479         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
70480         "bp-asm.h".
70481         (PARMS): Do not use macros from bp-asm.h.
70482         (S): Likewise.
70483         (SIZE): Likewise.
70484         (__mpn_rshift): Do not use BP_SYM.
70485         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
70486         "bp-asm.h".
70487         (PARMS): Do not use macros from bp-asm.h.
70488         (STR): Likewise.
70489         (CHR): Likewise.
70490         (strchr): Likewise.  Do not use BP_SYM.
70491         (index): Do not use BP_SYM in weak_alias.
70492         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
70493         "bp-asm.h".
70494         (PARMS): Do not use macros from bp-asm.h.
70495         (DEST): Likewise.
70496         (SRC): Likewise.
70497         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
70498         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
70499         "bp-asm.h".
70500         (PARMS): Do not use macros from bp-asm.h.
70501         (strlen): Do not use BP_SYM.
70502         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
70503         "bp-asm.h".
70504         (PARMS): Do not use macros from bp-asm.h.
70505         (S1): Likewise.
70506         (S2): Likewise.
70507         (SIZE): Likewise.
70508         (__mpn_sub_n): Do not use BP_SYM.
70509         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
70510         "bp-asm.h".
70511         (PARMS): Do not use macros from bp-asm.h.
70512         (S1): Likewise.
70513         (SIZE): Likewise.
70514         (__mpn_submul_1): Do not use BP_SYM.
70515         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
70516         "bp-asm.h".
70517         (PARMS): Do not use macros from bp-asm.h.
70518         (S1): Likewise.
70519         (S2): Likewise.
70520         (SIZE): Likewise.
70521         (__mpn_add_n): Do not use BP_SYM.
70522         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
70523         weak_alias.
70524         (bzero): Likewise.
70525         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
70526         "bp-asm.h".
70527         (PARMS): Do not use macros from bp-asm.h.
70528         (BLK2): Likewise.
70529         (LEN): Likewise.
70530         (memcmp): Do not use BP_SYM.
70531         (bcmp): Do not use BP_SYM in weak_alias.
70532         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
70533         "bp-asm.h".
70534         (PARMS): Do not use macros from bp-asm.h.
70535         (DEST): Likewise.
70536         (SRC): Likewise.
70537         (LEN): Likewise.
70538         (memcpy): Likewise.  Do not use BP_SYM.
70539         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
70540         "bp-asm.h".
70541         (PARMS): Do not use macros from bp-asm.h.
70542         (DEST): Likewise.
70543         (SRC): Likewise.
70544         (LEN): Likewise.
70545         (memmove): Likewise.  Do not use BP_SYM.
70546         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
70547         "bp-asm.h".
70548         (PARMS): Do not use macros from bp-asm.h.
70549         (DEST): Likewise.
70550         (SRC): Likewise.
70551         (LEN): Likewise.
70552         (__mempcpy): Likewise.  Do not use BP_SYM.
70553         (mempcpy): Do not use BP_SYM in weak_alias.
70554         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
70555         "bp-asm.h".
70556         (PARMS): Do not use macros from bp-asm.h.
70557         (DEST): Likewise.
70558         (LEN): Likewise.
70559         [!BZERO_P] (CHR): Likewise.
70560         (memset): Likewise.  Do not use BP_SYM.
70561         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
70562         "bp-asm.h".
70563         (PARMS): Do not use macros from bp-asm.h.
70564         (STR2): Likewise.
70565         (strcmp): Do not use BP_SYM.
70566         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
70567         "bp-asm.h".
70568         (PARMS): Do not use macros from bp-asm.h.
70569         (STR): Likewise.
70570         (DELIM): Likewise.
70571         [USE_AS_STRTOK_R] (SAVE): Likewise.
70572         (FUNCTION): Likewise.  Do not use BP_SYM.
70573         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
70574         aliases.
70575         (strtok_r): Likewise.
70576         (__GI___strtok_r): Likewise.
70577         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70578         (PARMS): Do not use macros from bp-asm.h.
70579         (S): Likewise.
70580         (SIZE): Likewise.
70581         (__mpn_lshift): Do not use BP_SYM.
70582         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70583         (PARMS): Do not use macros from bp-asm.h.
70584         (STR): Likewise.
70585         (CHR): Likewise.
70586         (__memchr): Do not use BP_SYM.
70587         (memchr): Do not use BP_SYM in weak_alias.
70588         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70589         (PARMS): Do not use macros from bp-asm.h.
70590         (BLK2): Likewise.
70591         (LEN): Likewise.
70592         (memcmp): Do not use BP_SYM.
70593         (bcmp): Do not use BP_SYM in weak_alias.
70594         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
70595         (PARMS): Do not use macros from bp-asm.h.
70596         (S1): Likewise.
70597         (SIZE): Likewise.
70598         (__mpn_mul_1): Do not use BP_SYM.
70599         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
70600         "bp-asm.h".
70601         (PARMS): Do not use macros from bp-asm.h.
70602         (STR): Likewise.
70603         (CHR): Likewise.
70604         (__rawmemchr): Do not use BP_SYM.
70605         (rawmemchr): Do not use BP_SYM in weak_alias.
70606         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70607         (PARMS): Do not use macros from bp-asm.h.
70608         (S): Likewise.
70609         (SIZE): Likewise.
70610         (__mpn_rshift): Do not use BP_SYM.
70611         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70612         (PARMS): Do not use macros from bp-asm.h.
70613         (SIGMSK): Likewise.
70614         (__sigsetjmp): Likewise.  Do not use BP_SYM.
70615         * sysdeps/i386/start.S: Do not include "bp-sym.h".
70616         (_start): Do not use BP_SYM.
70617         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
70618         (PARMS): Do not use macros from bp-asm.h.
70619         (DEST): Likewise.
70620         (SRC): Likewise.
70621         (__stpcpy): Likewise.  Do not use BP_SYM.
70622         (stpcpy): Do not use BP_SYM in weak_alias.
70623         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
70624         "bp-asm.h".
70625         (PARMS): Do not use macros from bp-asm.h.
70626         (DEST): Likewise.
70627         (SRC): Likewise.
70628         (LEN): Likewise.
70629         (__stpncpy): Likewise.  Do not use BP_SYM.
70630         (stpncpy): Do not use BP_SYM in weak_alias.
70631         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70632         (PARMS): Do not use macros from bp-asm.h.
70633         (STR): Likewise.
70634         (CHR): Likewise.
70635         (strchr): Likewise.  Do not use BP_SYM.
70636         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
70637         "bp-asm.h".
70638         (PARMS): Do not use macros from bp-asm.h.
70639         (STR): Likewise.
70640         (CHR): Likewise.
70641         (__strchrnul): Likewise.  Do not use BP_SYM.
70642         (strchrnul): Do not use BP_SYM in weak_alias.
70643         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
70644         "bp-asm.h".
70645         (PARMS): Do not use macros from bp-asm.h.
70646         (STOP): Likewise.
70647         (strcspn): Do not use BP_SYM.
70648         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
70649         "bp-asm.h".
70650         (PARMS): Do not use macros from bp-asm.h.
70651         (STR): Likewise.
70652         (STOP): Likewise.
70653         (strpbrk): Likewise.  Do not use BP_SYM.
70654         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
70655         "bp-asm.h".
70656         (PARMS): Do not use macros from bp-asm.h.
70657         (STR): Likewise.
70658         (CHR): Likewise.
70659         (strrchr): Likewise.  Do not use BP_SYM.
70660         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
70661         (PARMS): Do not use macros from bp-asm.h.
70662         (SKIP): Likewise.
70663         (strspn): Do not use BP_SYM.
70664         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
70665         (PARMS): Do not use macros from bp-asm.h.
70666         (STR): Likewise.
70667         (DELIM): Likewise.
70668         (SAVE): Likewise.
70669         (FUNCTION): Likewise.  Do not use BP_SYM.
70670         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
70671         aliases.
70672         (strtok_r): Likewise.
70673         (__GI___strtok_r): Likewise.
70674         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70675         (PARMS): Do not use macros from bp-asm.h.
70676         (S1): Likewise.
70677         (S2): Likewise.
70678         (SIZE): Likewise.
70679         (__mpn_sub_n): Do not use BP_SYM.
70680         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
70681         "bp-asm.h".
70682         (PARMS): Do not use macros from bp-asm.h.
70683         (S1): Likewise.
70684         (SIZE): Likewise.
70685         (__mpn_submul_1): Do not use BP_SYM.
70686         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
70687         <bp-sym.h>.
70688         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
70689         and <bp-asm.h>.
70690         (PARMS): Do not use macros from bp-asm.h.
70691         (FLAGS): Likewise.
70692         (PTID): Likewise.
70693         (TLS): Likewise.
70694         (CTID): Likewise.
70695         (__clone): Do not use BP_SYM.
70696         (clone): Do not use BP_SYM in weak_alias.
70697         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
70698         and <bp-asm.h>.
70699         (PARMS): Do not use macros from bp-asm.h.
70700         (LEN): Likewise.
70701         (__mmap64): Do not use BP_SYM.
70702         (mmap64): Do not use BP_SYM in weak_alias.
70703         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70704         <bp-sym.h> and <bp-asm.h>.
70705         (PARMS): Do not use macros from bp-asm.h.
70706         (__posix_fadvise64_l64): Do not use BP_SYM.
70707         * sysdeps/unix/sysv/linux/i386/semtimedop.S
70708         (PARMS): Do not use macros from bp-asm.h.
70709         (NSOPS): Likewise.
70710         (semtimedop): Do not use BP_SYM.
70711         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
70712         and <bp-asm.h>.
70714 2013-02-21  Allan McRae  <allan@archlinux.org>
70716         * manual/message.texi (Charset conversion in gettext):
70717         Move @end statement to beginning of line.
70719 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
70721         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
70722         static.
70723         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70724         Likewise.
70726         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
70727         (denorm): Likewise.
70728         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
70729         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
70731 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70733         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
70734         tail-call to the resolved function if pltexit isn't needed.
70736 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
70738         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
70739         or Y being zero as being unlikely.
70740         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
70741         Likewise.
70743 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
70745         * manual/nss.texi (System Databases and Name Service Switch):
70746         Remove frobnicate @pxref.
70748 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
70750         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70751         __attribute__ ((unused)) to __attribute__ ((__unused__)).
70753 2013-02-20  Petr Machata  <pmachata@redhat.com>
70755         * elf/elf.h (R_ARM_TARGET1): New macro.
70756         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
70757         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
70758         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
70759         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
70760         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
70761         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
70762         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
70763         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
70764         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
70765         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
70766         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
70767         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
70768         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
70769         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
70770         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
70771         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
70772         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
70773         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
70774         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
70775         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
70776         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
70777         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
70778         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
70779         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
70780         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
70781         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
70782         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
70783         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
70784         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
70785         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
70786         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
70787         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
70788         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
70789         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
70790         (R_ARM_THM_GOT_BREL12): Likewise.
70791         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
70792         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
70793         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
70794         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
70795         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
70796         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
70797         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
70798         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
70799         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
70801 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
70803         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70804         __attribute_used__ to __attribute__ ((unused)).
70806 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
70808         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
70809         powerpc mpa.c.
70810         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
70811         comment formatting.
70812         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
70814 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
70816         [BZ #13550]
70817         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
70818         Remove macro.
70819         (ENTER): Remove both macro definitions.
70820         (LEAVE): Likewise.
70821         (CHECK_BOUNDS_LOW): Likewise.
70822         (CHECK_BOUNDS_HIGH): Likewise.
70823         (CHECK_BOUNDS_BOTH): Likewise.
70824         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
70825         (RETURN_BOUNDED_POINTER): Likewise.
70826         (RETURN_NULL_BOUNDED_POINTER): Likewise.
70827         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
70828         (POP_ERRNO_LOCATION_RETURN): Likewise.
70829         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
70830         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70831         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
70832         macros.
70833         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70834         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
70835         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
70836         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
70837         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
70838         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
70839         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
70840         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
70841         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
70842         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
70843         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
70844         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
70845         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70846         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
70847         removed macros.
70848         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70849         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
70850         macros.
70851         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70852         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
70853         * sysdeps/i386/i586/memset.S (memset): Likewise.
70854         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
70855         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70856         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
70857         macros.
70858         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70859         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
70860         Change uses of L(2) to L(out).
70861         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
70862         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
70863         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
70864         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70865         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
70866         removed macros.
70867         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70868         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
70869         macros.
70870         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70871         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
70872         (RETURN): Do not use macro LEAVE.
70873         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
70874         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
70875         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
70876         * sysdeps/i386/i686/memset.S (memset): Likewise.
70877         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
70878         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
70879         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70880         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
70881         Likewise.
70882         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70883         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
70884         L(1_2) and L(1_3) into L(1).
70885         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70886         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
70887         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70888         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
70889         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70890         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
70891         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
70892         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70893         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
70894         macros.
70895         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
70896         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70897         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
70898         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
70899         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
70900         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70901         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
70902         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
70903         * sysdeps/i386/strcspn.S (strcspn): Likewise.
70904         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
70905         * sysdeps/i386/strrchr.S (strrchr): Likewise.
70906         * sysdeps/i386/strspn.S (strspn): Likewise.
70907         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
70908         conditional code.
70909         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70910         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
70911         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70912         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
70913         L(1_3) into L(1_1).
70914         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
70915         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70916         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
70917         macros.
70918         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70920 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
70922         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
70923         macro.
70925 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
70927         * math/atest-exp.c (exp_mpn): Remove ROUND.
70928         * math/atest-exp2.c (exp_mpn): Likewise.
70929         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
70931         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
70932         * stdlib/tst-tls-atexit-lib.c: Likewise.
70933         * stdlib/tst-tls-atexit.c: Likewise.
70935 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
70937         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
70938         and __attribute_alloc_size__.
70940 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
70942         * include/programs/xmalloc.h: Change __attribute_alloc_size to
70943         __attribute_alloc_size__.
70944         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
70945         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
70947 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
70949         * include/programs/xmalloc.h: New file.
70950         * catgets/gencat.c: Include it.
70951         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
70952         * elf/pldd.c: Likewise.
70953         * iconv/iconv_charmap.c: Likewise.
70954         * iconv/iconvconfig.c: Likewise.
70955         * iconv/strtab.c: Likewise.
70956         * locale/programs/locale.c: Likewise.
70957         * locale/programs/localedef.h: Likewise.
70958         * locale/programs/simple-hash.c: Likewise.
70959         * nscd/nscd.h: Likewise.
70960         * nss/makedb.c: Likewise.
70961         * sysdeps/generic/ldconfig.h: Likewise.
70963 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70965         * Versions.def: Add GLIBC_2.18.
70966         * include/link.h (struct link_map): New member l_tls_dtor_count.
70967         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
70968         (__call_tls_dtors): Likewise.
70969         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
70970         __cxa_thread_atexit_impl.
70971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70972         Likewise.
70973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70974         Likewise.
70975         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
70976         Likewise.
70977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
70978         Likewise.
70979         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70980         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
70981         Likewise.
70982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
70983         Likewise.
70984         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70985         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70986         Likewise.
70987         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
70988         (tests): Add test case tst-tls-atexit.
70989         (modules-names): Add shared library for tst-tls-atexit.
70990         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
70991         (GLIBC_PRIVATE): Add __call_tls_dtors.
70992         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
70993         for libstdc++.
70994         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
70995         * stdlib/tst-tls-atexit.c: New test case.
70996         * stdlib/tst-tls-atexit-lib.c: New test case.
70998         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
71000         * elf/Versions (ld): Add _dl_find_dso_for_object.
71001         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
71002         * elf/dl-open.c (_dl_find_dso_for_object): New function.
71003         (dl_open_worker): Use _dl_find_dso_for_object.
71004         * elf/dl-sym.c (do_sym): Likewise.
71005         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
71007 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71009         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
71010         Syntactic changes only.
71011         (_dl_runtime_profile): Do a tail-call to the resolved function.
71013 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
71015         [BZ #13550]
71016         * sysdeps/x86_64/bp-asm.h: Remove file.
71017         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
71018         <bp-sym.h> and <bp-asm.h>.
71019         (__clone): Do not use BP_SYM.
71020         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
71021         <bp-sym.h> and <bp-asm.h>.
71022         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71023         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
71024         "bp-asm.h".
71025         (_setjmp): Do not use BP_SYM.
71026         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
71027         "bp-asm.h".
71028         (setjmp): Do not use BP_SYM.
71029         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
71030         libc_hidden_def.
71031         (mempcpy): Do not use BP_SYM in weak_alias.
71032         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
71033         "bp-asm.h".
71034         (strchr): Do not use BP_SYM.
71035         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
71036         "bp-asm.h".
71037         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
71038         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
71039         (_start): Do not use BP_SYM.
71040         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
71041         "bp-asm.h".
71042         (strcat): Do not use BP_SYM.
71043         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
71044         "bp-asm.h".
71045         (STRCMP): Do not use BP_SYM.
71046         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
71047         "bp-asm.h".
71048         (STRCPY): Do not use BP_SYM.
71049         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
71050         "bp-asm.h".
71051         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
71052         "bp-asm.h".
71053         (FUNCTION): Do not use BP_SYM.
71054         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
71055         weak_alias.
71056         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
71058 2013-02-17  Andreas Jaeger  <aj@suse.de>
71060         * time/Versions: Sort entries.
71061         * string/Versions: Likewise.
71062         * resolv/Versions: Likewise.
71063         * posix/Versions: Likewise.
71064         * iconv/Versions: Likewise.
71065         * elf/Versions: Likewise.
71066         * wcsmbs/Versions: Likewise.
71068 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
71070         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
71071         loop termination condition.
71073         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
71074         variable to calculate EZ.
71075         (__sqr): Likewise.
71077         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
71078         the lower precision input.
71080 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
71082         [BZ #13550]
71083         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
71084         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
71085         (run-via-rtld-prefix): Do not handle %-bp tests.
71086         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
71087         (all-object-suffixes): Remove .ob.
71088         (bppfx): Remove variable.
71089         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
71090         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
71091         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
71092         [$(build-bounded) = yes] (libtype.ob): Likewise.
71093         * Makerules (elide-routines.ob): Remove variable.
71094         (do-tests-clean): Do not handle *-bp.out.
71095         (common-mostlyclean): Do not handle *-bp and *-bp.out.
71096         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
71097         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
71098         (tests): Do not include $(tests-bp.out).
71099         (xtests): Do not include $(xtests-bp.out).
71100         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
71101         [$(build-bounded) = yes] ($(addprefix
71102         $(objpfx),$(binaries-bounded))): Remove rule.
71103         ($(objpfx)%-bp.out): Remove rule.
71104         * config.make.in (build-bounded): Remove variable.
71105         * crypt/Makefile [$(build-bounded) = yes]
71106         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
71107         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
71108         append to variable.
71109         [$(build-bounded) = yes] (install-lib): Likewise.
71110         [$(build-bounded) = yes] (generated): Likewise.
71111         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
71112         Remove rule.
71113         * intl/Makefile [$(build-bounded) = yes]
71114         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
71115         * math/Makefile [$(build-bounded) = yes]
71116         ($(tests:%=$(objpfx)%-bp): Likewise.
71117         * misc/Makefile [$(build-bounded) = yes]
71118         ($(objpfx)tst-tsearch-bp): Likewise.
71119         * nptl/Makeconfig (bounded-thread-library): Remove variable.
71120         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
71121         Remove dependency.
71122         * string/Makefile (o-objects.ob): Remove variable.
71123         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
71124         (CFLAGS-.ob): Remove variable.
71125         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
71126         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
71127         both definitions of variable.
71128         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
71129         (ASFLAGS-.ob): Remove variable.
71131 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
71133         [BZ #13550]
71134         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
71135         Remove __BOUNDED_POINTERS__ from condition.
71136         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
71137         * string/bits/string2.h [!__NO_STRING_INLINES &&
71138         !__BOUNDED_POINTERS__]: Likewise.
71139         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
71140         Likewise.
71141         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
71142         Remove conditional code.
71143         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
71144         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
71145         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
71146         condition.
71148         [BZ #13550]
71149         * csu/libc-start.c: Do not include <bp-sym.h>.
71150         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
71151         * elf/dl-open.c: Do not include <bp-sym.h>.
71152         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
71153         * math/fegetenv.c: Do not include <bp-sym.h>.
71154         (fegetenv): Do not use BP_SYM in versioned symbols.
71155         * nptl/sysdeps/pthread/bits/libc-lockP.h
71156         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
71157         <bp-sym.h>.
71158         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71159         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
71160         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71161         (__pthread_mutex_destroy): Likewise.
71162         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71163         (__pthread_mutex_lock): Likewise.
71164         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71165         (__pthread_mutex_trylock): Likewise.
71166         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71167         (__pthread_mutex_unlock): Likewise.
71168         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71169         (__pthread_mutexattr_init): Likewise.
71170         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71171         (__pthread_mutexattr_destroy): Likewise.
71172         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71173         (__pthread_mutexattr_settype): Likewise.
71174         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71175         (__pthread_rwlock_init): Likewise.
71176         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71177         (__pthread_rwlock_destroy): Likewise.
71178         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71179         (__pthread_rwlock_rdlock): Likewise.
71180         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71181         (__pthread_rwlock_tryrdlock): Likewise.
71182         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71183         (__pthread_rwlock_wrlock): Likewise.
71184         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71185         (__pthread_rwlock_trywrlock): Likewise.
71186         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71187         (__pthread_rwlock_unlock): Likewise.
71188         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71189         (__pthread_key_create): Likewise.
71190         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71191         (__pthread_setspecific): Likewise.
71192         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71193         (__pthread_getspecific): Likewise.
71194         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
71195         Likewise.
71196         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71197         (_pthread_cleanup_push_defer): Likewise.
71198         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71199         (_pthread_cleanup_pop_restore): Likewise.
71200         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71201         (pthread_setcancelstate): Likewise.
71202         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
71203         <bp-sym.h>.
71204         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
71205         (memchr): Do not use BP_SYM in weak_alias.
71206         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
71207         (fegetenv): Do not use BP_SYM in versioned symbols.
71208         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
71209         (fesetenv): Do not use BP_SYM in versioned symbols.
71210         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71211         (feupdateenv): Do not use BP_SYM in versioned symbols.
71212         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71213         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71214         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
71215         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
71216         (open64): Do not use BP_SYM in weak_alias.
71217         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
71218         (fegetenv): Do not use BP_SYM in versioned symbols.
71219         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
71220         (fesetenv): Do not use BP_SYM in versioned symbols.
71221         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71222         (feupdateenv): Do not use BP_SYM in versioned symbols.
71223         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
71224         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
71225         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
71226         (feraiseexcept): Do not use BP_SYM in versioned symbols.
71227         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71228         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71229         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
71230         <bp-sym.h>.
71231         (__libc_start_main): Do not use BP_SYM.
71233 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
71235         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
71236         redundant return line.
71237         (norm): Likewise.
71238         (denorm): Likewise.
71239         (dbl_mp): Likewise.
71240         (sub_magnitudes): Likewise.
71241         (__add): Likewise.
71242         (__sub): Likewise.
71243         (__mul): Likewise.
71244         (__inv): Likewise.
71245         (__dvd): Likewise.
71246         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
71247         (norm): Likewise.
71248         (denorm): Likewise.
71249         (dbl_mp): Likewise.
71250         (sub_magnitudes): Likewise.
71251         (__add): Likewise.
71252         (__sub): Likewise.
71253         (__mul): Likewise.
71254         (__inv): Likewise.
71255         (__dvd): Likewise.
71257         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
71258         instead of __mul.
71259         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71260         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
71261         (cc32): Likewise.
71263         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
71264         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
71265         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
71266         of __mul for squares.
71267         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
71268         function
71269         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
71270         Likewise.
71271         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
71272         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71274 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
71276         [BZ #13550]
71277         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
71278         code.
71279         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
71280         prototype or function definition.  Rename ubp_* variables and
71281         parameters.  Remove argv definitions conditional on
71282         [__BOUNDED_POINTERS__].
71283         * debug/backtrace.c (__backtrace): Do not use __unbounded.
71284         * elf/dl-runtime.c (_dl_fixup): Likewise.
71285         * include/set-hooks.h (RUN_HOOK): Likewise.
71286         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
71287         definition.
71288         * string/strcpy.c (strcpy): Do not use __unbounded.
71289         * sysdeps/generic/frame.h (struct layout): Likewise.
71290         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
71291         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
71292         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
71293         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
71294         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
71295         (__backtrace): Likewise.
71296         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
71297         use __ptrvalue.
71298         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
71299         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
71300         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
71301         Likewise.
71302         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
71303         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
71304         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
71305         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71306         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
71307         Do not use __unbounded.
71308         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
71309         Rename __unboundedrlimits parameter to rlimits in prototype.
71310         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
71311         Do not use __unbounded.
71312         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
71313         not use __ptrvalue.
71314         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71315         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
71316         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71317         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
71318         __ptrvalue or __unbounded.
71319         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
71320         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
71321         use __unbounded.
71322         (__new_msgctl): Do not use __ptrvalue.
71323         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
71324         __unbounded.
71325         (__libc_msgrcv): Do not use __ptrvalue.
71326         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
71327         startup_info): Do not use __unbounded.
71328         (__libc_start_main): Likewise.  Rename ubp_* variables and
71329         parameters.  Remove argv definitions conditional on
71330         [__BOUNDED_POINTERS__].
71331         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
71332         __ptrvalue.
71333         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
71334         use __unbounded.
71335         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
71336         or __ptrvalue.
71337         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
71338         use __unbounded.
71339         (__new_shmctl): Do not use __ptrvalue.
71340         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
71341         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
71342         Likewise.
71343         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
71344         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
71345         (__libc_sigaction): Likewise.
71346         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
71347         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
71348         Likewise.
71349         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71351 2013-02-13   Ondƙej BĂ­lka  <neleai@seznam.cz>
71353         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
71355         * string/mempcpy.c: Implement by calling memcpy.
71357 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
71359         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
71361         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
71362         evaluation.
71364         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
71365         values in the mantissa.
71367         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
71368         minimize writes to Z.
71369         (sub_magnitudes): Simplify code a bit.
71371 2013-02-12  Roland McGrath  <roland@hack.frob.com>
71373         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
71374         from the message.  The linker prefixes all warnings with that already.
71376 2013-02-12  Andreas Schwab  <schwab@suse.de>
71378         [BZ #15078]
71379         * posix/regexec.c (extend_buffers): Add parameter min_len.
71380         (check_matching): Pass minimum needed length.
71381         (clean_state_log_if_needed): Likewise.
71382         (get_subexp): Likewise.
71383         * posix/Makefile (tests): Add bug-regex34.
71384         (bug-regex34-ENV): Define.
71385         * posix/bug-regex34.c: New file.
71387         [BZ #11561]
71388         * posix/regcomp.c (parse_bracket_exp): When looking up collating
71389         elements compare against the byte sequence of it, not its name.
71390         * posix/Makefile (tests): Add bug-regex35.
71391         (bug-regex35-ENV): Define.
71392         * posix/bug-regex35.c: New file.
71394 2013-02-11  Tom de Vries  <tom@codesourcery.com>
71396         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
71397         comment.
71398         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
71399         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
71400         (CHECK_EOL): Add undef.
71402 2013-02-11   Ondƙej BĂ­lka  <neleai@seznam.cz>
71404         * bits/stdlib-bsearch.h: New file.
71405         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
71406         * stdlib/stdlib.h: Likewise.
71408 2013-02-11  Roland McGrath  <roland@hack.frob.com>
71410         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
71411         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
71412         declaration.
71413         * manual/search.texi (Array Search Function): Add missing const in
71414         lfind prototype.
71415         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
71416         declaration to use rlim_t.
71417         (Basic Scheduling Functions): Remove erroneous const from
71418         sched_getparam prototype.  Remove erroneous * from
71419         sched_get_priority_max and sched_get_priority_min prototypes.
71420         (Resource Usage): Fix summary @comment on vtimes to refer to
71421         sys/vtimes.h rather than vtimes.h.
71422         Add missing *s in vtimes prototype.
71423         (Limits on Resources): Fix ulimit prototype to return long int.
71424         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
71425         prototypes to use long int rather than double.
71426         (BSD Random): Fix initstate and setstate to use char *, not void *.
71427         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
71428         prototype to make second argument 'struct aiocb64 *const[]'.
71429         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
71430         (Status of AIO Operations): Remove erroneous const in aio_return and
71431         aio_return64 prototypes.
71432         (Synchronizing I/O): Fix sync prototype to return void.
71433         * manual/startup.texi (Suboptions): Remove an erroneous const in
71434         getsubopt prototype.
71435         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
71436         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
71437         use size_t rather than int.
71438         (Scanning All Users): Likewise for getpwent_r.
71439         (Setting Groups): Add missing const to setgroups prototype.
71440         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
71441         * manual/socket.texi (Host Names): Fix gethostbyaddr and
71442         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
71443         'const void *' rather than 'const char *'.
71444         (Host Address Functions): Likewise for inet_ntop.
71445         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
71446         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
71447         ssize_t for return value.
71448         (Sending Data): Likewise for send, sendto, sendmsg.
71449         (Socket Option Functions): Add a missing const in setsockopt prototype.
71450         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
71451         use wchar_t for the argument.
71452         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
71453         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
71454         take no arguments.
71455         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
71456         double/float/long double for second argument.
71457         Fix return types of significand, significandf, significandl.
71458         * manual/filesys.texi (Setting Permissions): Use mode_t for second
71459         argument in fchmod prototype.
71460         (File Owner): Use uid_t and gid_t in fchown prototype.
71461         (File Times): Add const to utimes, futimes, and lutimes prototypes.
71462         (Making Special Files): Use mode_t and dev_t in mknod prototype.
71463         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
71464         use 'const struct dirent **' as argument types to CMP function pointer
71465         argument.
71466         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
71467         (File Times): Fix summary magic @comment for struct utimbuf and utime
71468         to refer to utime.h, not time.h.
71469         * manual/string.texi (Argz Functions): Add missing const in
71470         argz_extract and argz_next prototypes.
71471         (Finding Tokens in a String): Likewise for basename.
71472         (String/Array Comparison): Fix typo in wcscasecmp prototype.
71473         (Copying and Concatenation): Fix typo in wmemmove prototype.
71474         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
71475         (Signal Stack): Remove erroneous const in sigstack prototype.
71476         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
71477         prototype.
71478         (Simple Calendar Time): Likewise for stime.
71479         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
71480         prototype.
71481         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
71482         say sys/sysctl.h instead.
71483         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
71484         and vsyslog prototypes.
71486 2013-02-11  Tom de Vries  <tom@codesourcery.com>
71488         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
71489         Remove.
71491 2013-02-11  Roland McGrath  <roland@hack.frob.com>
71493         * misc/sys/mman.h: Fix typo in mremap comment.
71495 2013-02-08  Roland McGrath  <roland@hack.frob.com>
71497         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
71498         the '\0' terminator.
71500 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
71502         [BZ #13550]
71503         * debug/segfault.c: Don't include <bp-checks.h>.
71504         * sysdeps/generic/bp-checks.h: Remove file.
71505         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
71506         (__GETDENTS): Don't use CHECK_N.
71507         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
71508         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
71509         (__getgroups): Don't use CHECK_N.
71510         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
71511         (setgroups): Don't use CHECK_N.
71512         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
71513         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
71514         (__libc_msgrcv): Don't use CHECK_N.
71515         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
71516         (__libc_msgsnd): Don't use CHECK_N.
71517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
71518         <bp-checks.h>.
71519         (__libc_pread): Don't use CHECK_N.
71520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
71521         include <bp-checks.h>.
71522         (__libc_pread64): Don't use CHECK_N.
71523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
71524         include <bp-checks.h>.
71525         (__libc_pwrite): Don't use CHECK_N.
71526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
71527         include <bp-checks.h>.
71528         (__libc_pwrite64): Don't use CHECK_N.
71529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
71530         <bp-checks.h>.
71531         (__libc_pread): Don't use CHECK_N.
71532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
71533         include <bp-checks.h>.
71534         (__libc_pread64): Don't use CHECK_N.
71535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
71536         include <bp-checks.h>.
71537         (__libc_pwrite): Don't use CHECK_N.
71538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
71539         include <bp-checks.h>.
71540         (__libc_pwrite64): Don't use CHECK_N.
71541         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
71542         (do_pread): Don't use CHECK_N.
71543         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
71544         (do_pread64): Don't use CHECK_N.
71545         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
71546         (do_pwrite): Don't use CHECK_N.
71547         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
71548         (do_pwrite64): Don't use CHECK_N.
71549         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
71550         (__libc_readv): Don't use CHECK_N.
71551         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
71552         (semop): Don't use CHECK_N.
71553         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
71554         <bp-checks.h>.
71555         (semtimedop): Don't use CHECK_N.
71556         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
71557         (__libc_pread): Don't use CHECK_N.
71558         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
71559         <bp-checks.h>.
71560         (__libc_pread64): Don't use CHECK_N.
71561         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
71562         <bp-checks.h>.
71563         (__libc_pwrite): Don't use CHECK_N.
71564         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
71565         <bp-checks.h>.
71566         (__libc_pwrite64): Don't use CHECK_N.
71567         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
71568         <bp-checks.h>.
71569         (__libc_msgrcv): Don't use CHECK_N.
71570         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
71571         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
71572         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
71573         (__libc_writev): Don't use CHECK_N.
71575 2013-02-08  Roland McGrath  <roland@hack.frob.com>
71577         * string/strcpy.c: Removed unused variable.
71579         * Makeconfig (+sysdep-includes): Define with := rather than =.
71580         Use an existing include/ subdir of each sysdeps dir before it.
71582 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71584         * nscd/connection.c (register_traced_file): Comment function.
71585         [HAVE_INOTIFY] (union __inev): Define.
71586         [HAVE_INOTIFY] (inotify_check_files): New function.
71587         [HAVE_INOTIFY] (clear_db_cache): Likewise.
71588         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
71589         clear_db_cache.
71590         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
71592 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71594         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
71595         loaded if not already and that a failure is permanent.
71597 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71599         [BZ #15006]
71600         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
71601         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
71603 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
71605         [BZ #13550]
71606         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
71607         (CHECK_1_NULL_OK): Likewise.
71608         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
71609         (__fxstat): Do not use CHECK_1.
71610         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
71611         <bp-checks.h>.
71612         (___fxstat64): Do not use CHECK_1.
71613         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
71614         <bp-checks.h>.
71615         (__fxstatat): Do not use CHECK_1.
71616         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
71617         <bp-checks.h>.
71618         (__fxstatat64): Do not use CHECK_1.
71619         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
71620         <bp-checks.h>.
71621         (__fxstat): Do not use CHECK_1.
71622         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
71623         <bp-checks.h>.
71624         (__fxstatat): Do not use CHECK_1.
71625         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71626         <bp-checks.h>.
71627         (__getresgid): Do not use CHECK_1.
71628         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71629         <bp-checks.h>.
71630         (__getresuid): Do not use CHECK_1.
71631         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
71632         <bp-checks.h>.
71633         (__lxstat): Do not use CHECK_1.
71634         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71635         <bp-checks.h>.
71636         (__old_msgctl): Do not use CHECK_1.
71637         (__new_msgctl): Likewise.
71638         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
71639         <bp-checks.h>.
71640         (__new_setrlimit): Do not use CHECK_1.
71641         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
71642         <bp-checks.h>.
71643         (__old_shmctl): Do not use CHECK_1.
71644         (__new_shmctl): Likewise.
71645         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
71646         <bp-checks.h>.
71647         (__xstat): Do not use CHECK_1.
71648         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
71649         (__lxstat): Do not use CHECK_1.
71650         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
71651         <bp-checks.h>.
71652         (___lxstat64): Do not use CHECK_1.
71653         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
71654         (__old_msgctl): Do not use CHECK_1.
71655         (__new_msgctl): Likewise.
71656         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
71657         <bp-checks.h>.
71658         (__gettimeofday): Do not use CHECK_1.
71659         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
71660         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
71661         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
71662         <bp-checks.h>.
71663         (__gettimeofday): Do not use CHECK_1.
71664         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
71665         (__old_shmctl): Do not use CHECK_1_NULL_OK.
71666         (__new_shmctl): Do not use CHECK_1.
71667         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
71668         <bp-checks.h>.
71669         (do_sigtimedwait): Do not use CHECK_1.
71670         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
71671         <bp-checks.h>.
71672         (do_sigwaitinfo): Do not use CHECK_1.
71673         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
71674         <bp-checks.h>.
71675         (msgctl): Do not use CHECK_1.
71676         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
71677         <bp-checks.h>.
71678         (shmctl): Do not use CHECK_1.
71679         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
71680         (ustat): Do not use CHECK_1.
71681         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
71682         <bp-checks.h>.
71683         (__fxstat): Do not use CHECK_1.
71684         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
71685         <bp-checks.h>.
71686         (__fxstatat): Do not use CHECK_1.
71687         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
71688         <bp-checks.h>.
71689         (__lxstat): Do not use CHECK_1.
71690         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
71691         <bp-checks.h>.
71692         (__xstat): Do not use CHECK_1.
71693         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
71694         (__xstat): Do not use CHECK_1.
71695         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
71696         (___xstat64): Do not use CHECK_1.
71698         [BZ #13550]
71699         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
71700         definitions.
71701         (CHECK_BOUNDS_HIGH): Likewise.
71702         * string/strcpy.c: Do not include <bp-checks.h>.
71703         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
71705 2013-02-07  Roland McGrath  <roland@hack.frob.com>
71707         * nscd/nscd-client.h (__nscd_drop_map_ref):
71708         Add __attribute__ ((unused)).
71709         * nis/nss-nisplus.h (niserr2nss): Likewise.
71711         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
71712         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
71714         * csu/libc-tls.c (init_static_tls, init_slotinfo):
71715         Remove inline keyword.
71716         * include/rounding-mode.h (round_away): Likewise.
71717         * libio/wfileops.c (adjust_wide_data): Likewise.
71718         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
71719         (__m128i_strloadu_tolower): Likewise.
71720         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
71721         (__m128i_strloadu_tolower): Likewise.
71722         * time/mktime.c (ydhms_diff): Likewise.
71723         * locale/elem-hash.h (elem_hash): Likewise.
71724         * locale/setlocale.c (setdata): Likewise.
71725         * posix/regex_internal.h (re_string_char_size_at): Likewise.
71726         (re_string_wchar_at): Likewise.
71727         (bitset_not, bitset_merge, bitset_mask): Likewise.
71728         [!(__GNUC__ > 3)] (inline): Remove macro.
71729         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
71730         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
71731         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
71732         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
71733         * string/memcmp.c (memcmp_bytes): Likewise.
71734         * locale/programs/locarchive.c (compute_hashval): Likewise.
71735         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
71736         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
71737         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
71738         * nss/getent.c (print_rpc, print_protocols): Likewise.
71739         (print_passwd, print_group, print_aliases): Likewise.
71740         * nis/nss-nisplus.h (niserr2nss): Likewise.
71741         * nscd/connections.c (restart_p): Likewise.
71742         Change return type to bool.
71744 2013-02-05  Roland McGrath  <roland@hack.frob.com>
71746         * Makeconfig (all-Depend-files): Add existing
71747         $(sorted-subdirs:=/Depend) files.
71748         (all-subdirs): Remove nss.
71749         * sysdeps/unix/inet/Subdirs: Add it here instead.
71750         * hesiod/Depend: New file.
71752         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
71753         instead of calling alloca.
71755         * io/lseek.c (__lseek): Rename to __libc_lseek.
71756         Define __lseek as an alias.
71758         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
71760 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
71762         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
71763         else clause and remove check for non-standard endianness.
71765 2013-02-04  David S. Miller  <davem@davemloft.net>
71767         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71769 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
71771         [BZ #13550]
71772         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
71773         (__ubp_memchr): Remove prototype.
71774         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
71775         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71776         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
71777         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71778         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
71779         Remove alias.
71780         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
71781         (__ubp_memchr): Likewise.
71782         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
71783         (__ubp_memchr): Likewise.
71784         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
71785         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
71786         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
71787         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
71788         CHECK_STRING.
71789         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
71790         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
71791         (__getcwd): Do not use CHECK_STRING.
71792         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71793         <bp-checks.h>.
71794         (__real_chown): Do not use CHECK_STRING.
71795         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
71796         <bp-checks.h>.
71797         (fchownat): Do not use CHECK_STRING.
71798         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
71799         CHECK_STRING.
71800         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71801         <bp-checks.h>.
71802         (__lchown): Do not use CHECK_STRING.
71803         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71804         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71805         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71806         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
71807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71808         include <bp-checks.h>.
71809         (truncate64): Do not use CHECK_STRING.
71810         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71811         <bp-checks.h>.
71812         (__real_chown): Do not use CHECK_STRING.
71813         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71814         <bp-checks.h>.
71815         (__lchown): Do not use CHECK_STRING.
71816         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71817         <bp-checks.h>.
71818         (__chown): Do not use CHECK_STRING.
71819         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
71820         <bp-checks.h>.
71821         (truncate64): Do not use CHECK_STRING.
71822         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
71823         Likewise.
71824         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
71825         (__xmknod): Do not use CHECK_STRING.
71826         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
71827         <bp-checks.h>.
71828         (__xmknodat): Do not use CHECK_STRING.
71829         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71830         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
71832 2013-02-04  Andreas Schwab  <schwab@suse.de>
71834         [BZ #14142]
71835         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
71836         * include/netdb.h: Likewise for h_errno.
71837         * elf/tst-stackguard1.c: Include <tls.h>.
71839 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
71841         * elf/link.h (struct link_map): Extend the l_addr comment.
71842         * include/link.h (struct link_map): Likewise.
71844 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
71846         [BZ #13550]
71847         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
71848         (BOUNDED_1): Remove macro.
71849         * debug/backtrace.c: Don't include <bp-checks.h>.
71850         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
71851         (__backtrace): Likewise.
71852         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
71853         <bp-checks.h>.
71854         (__backtrace): Don't use BOUNDED_1.
71855         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
71856         <bp-checks.h>.
71857         (__backtrace): Don't use BOUNDED_1.
71858         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
71859         (__backtrace): Don't use BOUNDED_1.
71860         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
71861         (shmat): Don't use BOUNDED_N.
71863 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
71865         [BZ #13550]
71866         * sysdeps/generic/bp-start.h: Remove file.
71867         * csu/libc-start.c: Don't include <bp-start.h>.
71868         (LIBC_START_MAIN): Set up __environ directly instead of using
71869         INIT_ARGV_and_ENVIRON.
71870         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
71871         <bp-start.h>.
71873         [BZ #13550]
71874         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
71875         definitions.
71876         (CHECK_FCNTL): Likewise.
71877         (CHECK_N_PAGES): Likewise.
71879         [BZ #13550]
71880         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
71881         definitions.
71882         (CHECK_SIGSET_NULL_OK): Likewise.
71883         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
71884         <bp-checks.h>.
71885         (sigpending): Don't use CHECK_SIGSET.
71886         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
71887         <bp-checks.h>.
71888         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71889         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
71890         <bp-checks.h>.
71891         (do_sigsuspend): Don't use CHECK_SIGSET.
71892         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
71893         use CHECK_SIGSET.
71894         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
71895         (do_sigwait): Don't use CHECK_SIGSET.
71896         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
71897         use CHECK_SIGSET.
71898         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
71899         include <bp-checks.h>.
71900         (sigpending): Don't use CHECK_SIGSET.
71901         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
71902         include <bp-checks.h>.
71903         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71904         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
71905         <bp-checks.h>.
71906         (sigpending): Don't use CHECK_SIGSET.
71907         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
71908         <bp-checks.h>.
71909         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71911         [BZ #13550]
71912         * sysdeps/generic/bp-semctl.h: Remove file.
71913         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
71914         <bp-checks.h> and <bp-semctl.h>.
71915         (__old_semctl): Don't use CHECK_SEMCTL.
71916         (__new_semctl): Likewise.
71917         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
71918         and <bp-semctl.h>.
71919         (__old_semctl): Don't use CHECK_SEMCTL.
71920         (__new_semctl): Likewise.
71921         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
71922         <bp-checks.h> and <bp-semctl.h>.
71923         (__old_semctl): Don't use CHECK_SEMCTL.
71924         (__new_semctl): Likewise.
71925         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
71926         <bp-checks.h> and <bp-semctl.h>.
71927         (semctl): Don't use CHECK_SEMCTL.
71929         [BZ #13550]
71930         * Makerules (elide-bp-thunks): Remove variable.
71931         (elide-routines.oS): Don't use $(elide-bp-thunks).
71932         (elide-routines.os): Likewise.
71933         (elide-routines.o): Likewise.
71934         (elide-routines.op): Likewise.
71935         (elide-routines.og): Likewise.
71936         (objects): Don't use $(bp-thunks).
71937         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
71938         include.
71939         (common-generated): Do not add s-proto-bp.d.
71940         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
71941         (int): Likewise.
71942         (typ): Likewise.
71943         Do not generate makefile rules for bounded-pointer thunks.
71944         * sysdeps/generic/bp-thunks.h: Remove file.
71945         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
71946         * sysdeps/unix/s-proto-bp.S: Likewise.
71948         [BZ #15062]
71949         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
71950         parts of result separately when argument is not close to line from
71951         -i to i and one part of argument is small.
71952         * math/k_casinhf.c (__kernel_casinhf): Likewise.
71953         * math/k_casinhl.c (__kernel_casinhl): Likewise.
71954         * math/libm-test.inc (cacos_test): Add more tests.
71955         (casin_test): Likewise.
71956         (casinh_test): Likewise.
71957         * sysdeps/i386/fpu/libm-test-ulps: Update.
71958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71960 2013-01-31  David S. Miller  <davem@davemloft.net>
71962         * po/de.po: Update from translation team.
71964 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
71966         * time/tzfile.c: Include stdint.h for SIZE_MAX.
71968 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
71970         * configure.in (_AC_PROG_CC_C89): New definition.
71971         * configure: Regenerate.
71973         * configure.in (AC_PROG_CPP): New definition.
71974         * configure: Regenerate.
71976 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
71978         * debug/tst-backtrace.h: New file.
71979         * debug/tst-backtrace2.c: Include tst-backtrace.h.
71980         (ret): Remove variable.
71981         (x): Likewise.
71982         (FAIL): Remove macro.
71983         (NO_INLINE): Likewise.
71984         (fn1): Use match function instead of strstr.
71985         * debug/tst-backtrace3.c: Include tst-backtrace.h.
71986         (ret): Remove variable.
71987         (x): Likewise.
71988         (FAIL): Remove macro.
71989         (NO_INLINE): Likewise.
71990         (fn): Use match function instead of strstr.
71991         * debug/tst-backtrace4.c: Include tst-backtrace.h.
71992         (ret): Remove variable.
71993         (x): Likewise.
71994         (FAIL): Remove macro.
71995         (NO_INLINE): Likewise.
71996         (handle_signal): Use match function instead of strstr.
71997         * debug/tst-backtrace5.c: Include tst-backtrace.h.
71998         (ret): Remove variable.
71999         (x): Likewise.
72000         (FAIL): Remove macro.
72001         (NO_INLINE): Likewise.
72002         (handle_signal): Use match function instead of strstr.
72004 2013-01-23  Roland McGrath  <roland@hack.frob.com>
72006         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
72008 2013-01-23  David S. Miller  <davem@davemloft.net>
72010         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
72011         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
72012         argument of CAS if possible.
72013         * sysdeps/sparc/sparc64/bits/atomic.h
72014         (__arch_compare_and_exchange_val_32_acq): Likewise.
72015         (__arch_compare_and_exchange_val_64_acq): Likewise.
72017 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
72019         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
72020         * sysdeps/posix/ulimit.c: ... this.
72021         Include <limits.h>.
72022         * sysdeps/unix/bsd/ulimit.c: Remove file.
72024 2013-01-23  Adam Conrad  <adconrad@0c3.net>
72026         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
72027         (LDFLAGS-tst-array5): Likewise.
72029 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
72031         [BZ #15036]
72032         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
72033         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
72034         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
72035         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
72037 2013-01-21  David S. Miller  <davem@davemloft.net>
72039         * sysdeps/sparc/backtrace.c: New file.
72040         * sysdeps/sparc/sparc32/backtrace.h: New file.
72041         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
72042         * sysdeps/sparc/sparc64/backtrace.h: New file.
72043         * sysdeps/sparc/sparc64/backtrace.c: Delete.
72044         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
72045         -funwind-tables.
72047 2013-01-21  Andreas Schwab  <schwab@suse.de>
72049         [BZ #15020]
72050         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
72051         closed its stdout.
72053 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
72055         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
72056         "mpa2.h".
72057         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72059 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
72060             Mark Mitchell  <mark@codesourcery.com>
72061             Tom de Vries  <tom@codesourcery.com>
72062             Paul Pluzhnikov  <ppluzhnikov@google.com>
72064         * debug/tst-backtrace2.c: New file.
72065         * debug/tst-backtrace3.c: Likewise.
72066         * debug/tst-backtrace4.c: Likewise.
72067         * debug/tst-backtrace5.c: Likewise.
72068         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
72069         (CFLAGS-tst-backtrace3.c): Likewise.
72070         (CFLAGS-tst-backtrace4.c): Likewise.
72071         (CFLAGS-tst-backtrace5.c): Likewise.
72072         (LDFLAGS-tst-backtrace2): Likewise.
72073         (LDFLAGS-tst-backtrace3): Likewise.
72074         (LDFLAGS-tst-backtrace4): Likewise.
72075         (LDFLAGS-tst-backtrace5): Likewise.
72076         (tests): Add new tests tst-backtrace2, tst-backtrace3,
72077         tst-backtrace4 and tst-backtrace5.
72079 2013-01-18  Anton Blanchard  <anton@samba.org>
72080             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
72082         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
72083         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
72084         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
72085         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
72086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
72087         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
72088         "+r" and remove output regs list as redundant.  Add explicit inline
72089         asm to specify register of return val to work around compiler codegen
72090         bug.  Remove (int) cast on return value.  Add return type parameter to
72091         use in macro so that this macro does not truncate return value for
72092         64-bit values.
72093         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
72094         pass to INTERNAL_VSYSCALL_NCS.
72095         (INLINE_VSYSCALL): Add 'long int' as return type to
72096         INTERNAL_VSYSCALL_NCS macro invocation.
72097         (INTERNAL_VSYSCALL): Add 'long int' as return type to
72098         INTERNAL_VSYSCALL_NCS macro invocation.
72099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72101 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
72103         [BZ #14496]
72104         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
72105         Fix application of SIMD FP exception mask.
72107         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
72108         mp_no from a power of two.
72109         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
72110         __mpexp_twomm1.  Use __pow_mp.
72112         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
72113         multiplication.
72115 2013-01-17  David S. Miller  <davem@davemloft.net>
72117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72119 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
72121         [BZ #15023]
72122         * include/complex.h: Condition contents on [!_COMPLEX_H].
72123         (__kernel_casinhf): New prototype.
72124         (__kernel_casinh): Likewise.
72125         (__kernel_casinhl): Likewise.
72126         * math/Makefile (libm_calls): Add k_casinh.
72127         * math/k_casinh.c: New file.
72128         * math/k_casinhf.c: Likewise.
72129         * math/k_casinhl.c: Likewise.
72130         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
72131         finite nonzero arguments.
72132         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
72133         finite nonzero arguments.
72134         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
72135         finite nonzero arguments.
72136         * math/s_casinh.c: Do not include <float.h>.
72137         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
72138         * math/s_casinhf.c: Do not include <float.h>.
72139         (__casinhf): Move code for finite nonzero arguments to
72140         k_casinhf.c.
72141         * math/s_casinhl.c: Do not include <float.h>.
72142         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
72143         redefine.
72144         (__casinhl): Move code for finite nonzero arguments to
72145         k_casinhl.c.
72146         * math/libm-test.inc (cacos_test): Add more tests.
72147         * sysdeps/i386/fpu/libm-test-ulps: Update.
72148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72150 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
72152         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
72153         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
72154         [!HAVE_MREMAP]: Remove [defined linux] case.
72155         * malloc/arena.c: Do not include <malloc-sysdep.h>.
72157 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
72159         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
72161 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
72163         * elf/elf.h (R_386_SIZE32): New relocation.
72164         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
72165         R_386_SIZE32.
72166         (elf_machine_rela): Likewise.
72167         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
72168         R_X86_64_SIZE64 and R_X86_64_SIZE32.
72170 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
72172         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
72173         (FP_FAST_FMA): Do not define.
72174         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
72175         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
72176         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
72177         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
72178         !_SOFT_FLOAT]: Likewise.
72179         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
72180         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
72181         value.
72182         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
72183         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
72184         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
72185         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
72186         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
72187         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
72188         file.
72190 2013-01-16  Andreas Schwab  <schwab@suse.de>
72192         [BZ #14327]
72193         * include/stdlib.h (__mktemp): Add declaration.
72194         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
72195         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
72197 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
72199         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
72200         definitions.
72201         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72202         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
72203         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
72204         definitions here.
72205         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
72206         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
72207         definitions.
72208         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
72209         and ONE.
72210         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
72211         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
72212         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
72213         definitions.
72214         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
72215         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
72216         definitions.
72217         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72219         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
72221 2013-01-15  David S. Miller  <davem@davemloft.net>
72223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72224         trunc{,f} to libm-sysdep_routes.
72225         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
72227         file.
72228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
72229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
72230         file.
72231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
72232         file.
72233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
72234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
72235         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
72236         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
72237         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
72238         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
72239         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
72240         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
72242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72243         nearbyint{,f} to libm-sysdep_routes.
72244         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
72246         New file.
72247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
72248         file.
72249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
72250         New file.
72251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
72252         file.
72253         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
72254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
72255         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
72256         file.
72257         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
72258         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
72259         file.
72260         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
72261         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
72262         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
72264         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
72265         libc_feholdexcept and libc_fesetenv.
72267 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
72269         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
72271 2013-01-14  David S. Miller  <davem@davemloft.net>
72273         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
72274         (SPARC_ASM_VIS2_IFUNC): Likewise.
72275         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
72276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
72277         use of 'siam' instruction.
72278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
72279         Likewise.
72280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
72281         Likewise.
72282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
72283         Likewise.
72284         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
72285         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
72286         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
72287         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
72288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
72289         file.
72290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
72291         file.
72292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
72293         file.
72294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
72295         file.
72296         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
72297         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
72298         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
72299         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
72300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
72301         new VIS2 routines.
72302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
72303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
72305         Likewise.
72306         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
72307         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
72308         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
72309         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
72310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
72311         routines to libm-sysdep_routines.
72312         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72315         fdim/fdimf to libm-sysdep_routines.
72316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
72317         file.
72318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
72319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
72320         file.
72321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
72322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
72323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
72324         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
72325         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
72326         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
72327         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
72329 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
72331         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
72332         to optimize copies.
72334         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
72335         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72336         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72338         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
72339         local variable MPTWO.
72340         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
72341         Likewise.
72343 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
72345         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
72346         GLOB_NOESCAPE.
72348 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
72350         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
72352 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
72354         * manual/pattern.texi (glob_t): Document gl_flags.
72355         (glob64_t): Likewise.
72357 2013-01-11  David S. Miller  <davem@davemloft.net>
72359         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
72360         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
72361         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
72362         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
72363         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
72364         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
72365         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
72366         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
72367         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
72368         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
72369         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
72370         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
72371         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
72373         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72374         sparc V9 rather than using V8 code.
72375         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72376         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72378         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72379         Move to...
72380         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
72381         Here.
72383 2013-01-11  Roland McGrath  <roland@hack.frob.com>
72385         [BZ #14941]
72386         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
72387         not in the main loop.
72388         * configure: Regenerated.
72390 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
72392         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
72393         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
72394         to just #else.
72395         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
72396         [!__GLIBC_HAVE_LONG_LONG] case.
72397         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
72398         condition to just #else.
72399         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
72400         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
72401         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
72402         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
72403         unconditional.
72404         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
72405         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72406         #elif condition to just #else.
72407         * sysdeps/unix/sysv/linux/sys/sysmacros.h
72408         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
72409         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72410         #elif condition to just #else.
72412 2013-01-11  Steve Ellcey  <sellcey@mips.com>
72414         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
72415         (EF_MIPS_ARCH_64): Fix value.
72416         (EF_MIPS_ARCH_32R2): New.
72417         (EF_MIPS_ARCH_64R2): New.
72419 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
72421         * Makeconfig (+link-pie-before-libc): New.
72422         (+link-pie-after-libc): Likewise.
72423         (+link-pie-tests): Likewise.
72424         (+link-pie): Rewritten.
72425         (link-before-libc): Remove $(config-LDFLAGS).
72426         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
72427         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
72428         (config-LDFLAGS): Renamed to ...
72429         (rtld-LDFLAGS): This.
72430         (rtld-tests-LDFLAGS): New macro.
72431         (link-libc-rpath-link): Likewise.
72432         (link-libc-tests-rpath-link): Likewise.
72433         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
72434         (link-libc): Prepand $(link-libc-rpath-link).
72435         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
72436         (test-program-prefix): New macro.
72437         (test-via-rtld-prefix): Likewise.
72438         (test-program-cmd): Likewise.
72439         (host-test-program-cmd): Likewise.
72440         * Makefile ($(common-objpfx)testrun.sh): Replace
72441         $(run-program-prefix) with $(test-program-prefix).
72442         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
72443         $(rtld-LDFLAGS).
72444         ($(common-objpfx)shlib.lds): Likewise.
72445         (build-module-helper): Likewise.
72446         ($(common-objpfx)format.lds): Likewise.
72447         * Rules (binaries-pie-tests): New.
72448         (binaries-pie-notests): Likewise.
72449         (binaries-pie): Rewritten.
72450         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
72451         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
72452         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
72453         (make-test-out): Replace $(host-built-program-cmd) with
72454         $(host-test-program-cmd).
72455         * config.make.in (build-hardcoded-path-in-tests): New variable.
72456         * configure.in (--enable-hardcoded-path-in-tests): New configure
72457         option.
72458         (hardcoded_path_in_tests): New AC_SUBST.
72459         * configure: Regenerated.
72460         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
72461         $(built-program-cmd) with $(test-program-cmd).
72462         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
72463         (test_program_cmd): This.
72464         * elf/Makefile ($(objpfx)order.out): Run test with
72465         $(test-program-prefix).
72466         ($(objpfx)order2.out): Likewise.
72467         ($(objpfx)tst-initorder.out): Likewise.
72468         ($(objpfx)tst-initorder2.out): Likewise.
72469         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
72470         $(test-program-cmd).
72471         ($(objpfx)tst-array1-static.out): Likewise.
72472         ($(objpfx)tst-array2.out): Likewise.
72473         ($(objpfx)tst-array3.out): Likewise.
72474         ($(objpfx)tst-array4.out): Likewise.
72475         ($(objpfx)tst-array5.out): Likewise.
72476         ($(objpfx)tst-array5-static.out): Likewise.
72477         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
72478         $(test-program-cmd).
72479         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
72480         $(run-program-prefix) with $(test-program-prefix).
72481         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
72482         (test_program_prefix): This.
72483         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
72484         $(run-program-prefix) with $(test-program-prefix).
72485         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
72486         (test_program_prefix): This.
72487         * iconvdata/tst-tables.sh: Likewise.
72488         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
72489         $(run-program-prefix) with $(test-program-prefix).
72490         ($(objpfx)tst-translit.out): Likewise.
72491         ($(objpfx)tst-gettext2.out): Likewise.
72492         ($(objpfx)tst-gettext4.out): Likewise.
72493         ($(objpfx)tst-gettext6.out): Likewise.
72494         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
72495         (test_program_prefix): This.
72496         * intl/tst-gettext2.sh: Likewise.
72497         * intl/tst-gettext4.sh  Likewise.
72498         * intl/tst-gettext6.sh: Likewise.
72499         * intl/tst-translit.sh: Likewise.
72500         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
72501         with $(test-program-cmd).
72502         * libio/Makefile ($(objpfx)test-freopen.out): Replace
72503         $(run-program-prefix) with $(test-program-prefix).
72504         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
72505         (test_program_prefix): This.
72506         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
72507         $(run-program-prefix) with $(test-program-prefix).
72508         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
72509         (test_program_prefix): This.
72510         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
72511         * posix/Makefile ($(objpfx)globtest.out): Replace
72512         $(run-via-rtld-prefix) and $(test-wrapper) with
72513         $(test-program-prefix) and $(test-via-rtld-prefix).
72514         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
72515         $(test-program-prefix).
72516         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
72517         $(host-test-program-cmd).
72518         (tst-spawn-ARGS): Likewise.
72519         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
72520         $(test-program-prefix).
72521         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
72522         (test_via_rtld_prefix): This.
72523         (test_wrapper): Renamed to ...
72524         (test_program_prefix): This.
72525         (run_program_prefix): Replaced by test_program_prefix.
72526         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
72527         (test_program_prefix): This.
72528         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
72529         with $(host-test-program-cmd).
72530         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
72531         $(run-program-prefix) with $(test-program-prefix).
72532         ($(objpfx)tst-printf.out): Likewise.
72533         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
72534         $(test-program-cmd).
72535         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
72536         (test_program_prefix): This.
72537         * stdio-common/tst-unbputc.sh: Likewise.
72538         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
72539         $(run-program-prefix) with $(test-program-prefix).
72540         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
72541         (test_program_prefix): This.
72542         * string/Makefile ($(objpfx)tst-svc.out):  Replace
72543         $(built-program-cmd) with $(test-program-cmd).
72545 2013-01-11  Andreas Jaeger  <aj@suse.de>
72547         [BZ #15003]
72548         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
72549         value. Sync with Linux 3.7.
72551 2013-01-10  David S. Miller  <davem@davemloft.net>
72553         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
72554         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72555         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72557 2013-01-10  Roland McGrath  <roland@hack.frob.com>
72559         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
72560         never set.
72561         * configure: Regenerated.
72563 2013-01-10  David S. Miller  <davem@davemloft.net>
72565         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72566         sparc V9 rather than using V8 code.
72567         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72568         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72570 2013-01-10  Roland McGrath  <roland@hack.frob.com>
72572         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
72573         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
72574         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
72575         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
72576         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
72577         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
72578         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
72579         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
72580         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
72581         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
72582         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
72583         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
72584         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
72585         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
72586         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
72587         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
72588         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
72589         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
72590         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
72591         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
72592         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
72593         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
72594         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
72595         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
72596         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
72597         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
72598         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
72600 2013-01-10  David S. Miller  <davem@davemloft.net>
72602         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72604 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
72606         * posix/Makefile (tests-static): New variable.
72607         (tests): Add $(tests-static).
72608         (tst-exec-static-ARGS): New variable.
72609         (tst-spawn-static-ARGS): Likewise.
72610         * posix/tst-exec-static.c: New file.
72611         * posix/tst-spawn-static.c: Likewise.
72612         * posix/tst-exec.c: Support run directly.
72613         * posix/tst-spawn.c: Likewise.
72615 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
72617         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
72618         long.
72619         * math/bits/mathcalls.h (llrint): Likewise.
72620         (llround): Likewise.
72621         * stdlib/stdlib.h (struct drand48_data): Likewise.
72622         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
72623         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
72624         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
72625         Likewise.
72626         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
72627         Likewise.
72628         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
72629         (elf_greg_t): Likewise.
72630         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
72631         (__jmp_buf): Likewise.
72632         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
72633         definitions.
72634         (llrint): Likewise, for all definitions.
72635         (llrintl): Likewise.
72637         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
72638         Remove [__GNUC__] condition.
72639         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
72640         condition to just [__USE_ISOC99].
72641         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
72643 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
72645         [BZ #14200]
72646         * sysdeps/unix/sysv/linux/x86/bits/environments.h
72647         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
72648         defined.
72649         (_POSIX_V6_ILP32_OFF32): Likewise.
72650         (_XBS5_ILP32_OFF32): Likewise.
72651         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
72652         (__ILP32_OFFBIG_LDFLAGS): Likewise.
72654 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
72656         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
72658         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
72659         doubles __mpexp_twomm1.  Adjust usage.
72660         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
72661         Remove.
72663 2013-01-10  Andreas Schwab  <schwab@suse.de>
72665         [BZ #14964]
72666         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
72667         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
72669 2013-01-09  David S. Miller  <davem@davemloft.net>
72671         [BZ #15003]
72672         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
72673         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
72674         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
72675         (TCP_FASTOPEN): Define.
72676         (tcp_repair_opt): New structure.
72677         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
72678         enum values.
72679         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
72680         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
72681         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
72682         (tcp_cookie_transactions): New structure.
72684 2013-01-09  Anton Blanchard  <anton@samba.org>
72686         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
72687         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
72688         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
72689         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
72691 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
72693         * include/features.h (__USE_ANSI): Remove.
72695 2013-01-09  Roland McGrath  <roland@hack.frob.com>
72697         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
72699         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
72701 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
72703         * sysdeps/s390/fpu/libm-test-ulps: Update.
72705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72707         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
72708         (__acr): Likewise.
72709         (__cpy): Likewise.
72710         (norm): Likewise.
72711         (denorm): Likewise.
72712         (__mp_dbl): Likewise.
72713         (__dbl_mp): Likewise.
72714         (add_magnitudes): Likewise.
72715         (sub_magnitudes): Likewise.
72716         (__add): Likewise.
72717         (__sub): Likewise.
72718         (__mul): Likewise.
72719         (__inv): Likewise.
72720         (__dvd): Likewise.
72721         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
72722         (__acr): Likewise.
72723         (__cpy): Likewise.
72724         (norm): Likewise.
72725         (denorm): Likewise.
72726         (__mp_dbl): Likewise.
72727         (__dbl_mp): Likewise.
72728         (add_magnitudes): Likewise.
72729         (sub_magnitudes): Likewise.
72730         (__add): Likewise.
72731         (__sub): Likewise.
72732         (__mul): Likewise.
72733         (__inv): Likewise.
72734         (__dvd): Likewise.
72735         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
72736         (__acr): Likewise.
72737         (__cpy): Likewise.
72738         (norm): Likewise.
72739         (denorm): Likewise.
72740         (__mp_dbl): Likewise.
72741         (__dbl_mp): Likewise.
72742         (add_magnitudes): Likewise.
72743         (sub_magnitudes): Likewise.
72744         (__add): Likewise.
72745         (__sub): Likewise.
72746         (__mul): Likewise.
72747         (__inv): Likewise.
72748         (__dvd): Likewise.
72750 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
72752         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
72753         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
72754         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
72755         2 && __USE_EXTERN_INLINES]: Likewise.
72757 2013-01-08  Andreas Jaeger  <aj@suse.de>
72759         [BZ #14985]
72760         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
72761         Remove.
72762         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72763         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72765 2013-01-07  Anton Blanchard  <anton@samba.org>
72767         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
72768         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
72769         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
72770         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
72771         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
72772         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72773         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
72774         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72775         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72776         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72777         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72778         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72779         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72780         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72781         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
72782         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72783         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72784         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
72785         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
72786         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
72787         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
72788         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
72789         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72790         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
72791         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
72792         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
72793         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72794         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
72795         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
72796         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72797         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
72798         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72799         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72800         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
72801         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
72802         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72803         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
72804         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72805         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
72806         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
72807         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
72808         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72809         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
72811 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
72813         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
72814         (__MALLOC_PMT): Likewise.
72815         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
72816         [__GNUC__], only on [_LIBC].
72817         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72818         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
72819         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72820         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
72821         forward declaration.
72822         (realloc_hook_ini): Likewise.
72823         (memalign_hook_ini): Likewise.
72824         (__libc_memalign): Do not use __MALLOC_PMT in variable
72825         declaration.
72826         (__libc_valloc): Likewise.
72827         (__libc_pvalloc): Likewise.
72828         (__libc_calloc): Likewise.
72829         (__posix_memalign): Likewise.
72831         [BZ #14996]
72832         * math/s_casinh.c: Include <float.h>.
72833         (__casinh): Do not do computation with squaring and square root
72834         for large arguments.
72835         * math/s_casinhf.c: Include <float.h>.
72836         (__casinhf): Do not do computation with squaring and square root
72837         for large arguments.
72838         * math/s_casinhl.c: Include <float.h>.
72839         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
72840         (__casinhl): Do not do computation with squaring and square root
72841         for large arguments.
72842         * math/libm-test.inc (casin_test): Add more tests.
72843         (casinh_test): Likewise.
72844         * sysdeps/i386/fpu/libm-test-ulps: Update.
72845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72847 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
72849         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
72850         (__x86_64_raw_data_cache_size): Likewise.
72851         (__x86_64_data_cache_size_half): Likewise.
72852         (__x86_64_raw_data_cache_size_half): Likewise.
72853         (__x86_64_shared_cache_size): Likewise.
72854         (__x86_64_raw_shared_cache_size): Likewise.
72855         (__x86_64_shared_cache_size_half): Likewise.
72856         (__x86_64_raw_shared_cache_size_half): Likewise.
72857         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
72858         to ...
72859         (__x86_data_cache_size): This.
72860         (__x86_64_raw_data_cache_size): Renamed to ...
72861         (__x86_raw_data_cache_size): This.
72862         (__x86_64_data_cache_size_half): Renamed to ...
72863         (__x86_data_cache_size_half): This.
72864         (__x86_64_raw_data_cache_size_half): Renamed to ...
72865         (__x86_raw_data_cache_size_half): This.
72866         (__x86_64_shared_cache_size): Renamed to ...
72867         (__x86_shared_cache_size): This.
72868         (__x86_64_raw_shared_cache_size): Renamed to ...
72869         (__x86_raw_shared_cache_size): This.
72870         (__x86_64_shared_cache_size_half): Renamed to ...
72871         (__x86_shared_cache_size_half): This.
72872         (__x86_64_raw_shared_cache_size_half): Renamed to ...
72873         (__x86_raw_shared_cache_size_half): This.
72874         * sysdeps/x86_64/memcpy.S: Updated.
72875         * sysdeps/x86_64/memset.S: Likewise.
72876         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
72877         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72878         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72880 2013-01-04  David S. Miller  <davem@davemloft.net>
72882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72884 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
72886         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
72887         1 to avoid redefinition warning.
72888         (__USE_GNU): Don't define.
72889         (init_signaling_nan): Protoize.
72891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72893 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72895         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
72896         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
72897         (__cpymn): Likewise.
72898         (norm): Remove commented code.
72899         (denorm): Likewise.
72900         (__mp_dbl): Likewise.
72901         (__inv): Likewise.
72902         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
72903         (__cpymn): Likewise.
72904         (norm): Remove commented code.
72905         (denorm): Likewise.
72906         (__mp_dbl): Likewise.
72907         (__inv): Likewise.
72909         * sysdeps/powerpc/powerpc32/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.
72914         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
72915         mp_no value for 1.0 and 2.0.
72916         (norm): Use RADIXI instead of radixi.d.
72917         (denorm): Likewise.
72918         (__mul): Use 0.0 instead of zero.d.
72920 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
72922         [BZ #14994]
72923         * math/s_casinh.c (__casinh): Reduce finite argument to first
72924         quadrant then set signs of results at the end.
72925         * math/s_casinhf.c (__casinhf): Likewise.
72926         * math/s_casinhl.c (__casinhl): Likewise.
72927         * math/libm-test.inc (casin_test): Add more tests.
72928         (casinh_test): Likewise.
72929         * sysdeps/i386/fpu/libm-test-ulps: Update.
72930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72932 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72934         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
72936         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
72938         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
72939         declarations.
72940         (denorm): Likewise.
72941         (__mp_dbl): Likewise.
72942         (__inv): Likewise.
72944         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
72945         and adjust the header comment.
72947         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
72948         variable name from declaration.
72950 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
72952         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72953         Initialize COMMON_CPUID_INDEX_7 element.
72954         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
72955         (CPUID_RTM): Likewise.
72956         (HAS_RTM): Likewise.
72957         (COMMON_CPUID_INDEX_7): New enum.
72959 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
72961         [BZ #14981]
72962         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
72963         size is zero, record memory as freed.
72965 2013-01-03  Andreas Jaeger  <aj@suse.de>
72967         * po/ia.po: Add new Interlingua translation.
72969 2012-01-03  Allan McRae  <allan@archlinux.org>
72971         * locale/programs/localedef.c: Fix description of '--posix' flag.
72973 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
72975         * NEWS: Update dates in second copyright notice.
72976         * README: Update copyright dates in example.
72977         * manual/libc.texinfo: Update copyright dates.
72978         * scripts/test-installation.pl: Update copyright date in --version
72979         output.
72981         * hurd/ctty-input.c: Fix copyright notice formatting.
72982         * hurd/ctty-output.c: Likewise.
72983         * hurd/dtable.c: Likewise.
72984         * hurd/hurd-raise.c: Likewise.
72985         * hurd/hurdprio.c: Likewise.
72986         * hurd/msgportdemux.c: Likewise.
72987         * misc/sys/file.h: Likewise.
72988         * misc/sys/ioctl.h: Likewise.
72989         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
72990         * sysdeps/mach/hurd/chdir.c: Likewise.
72991         * sysdeps/mach/hurd/fchdir.c: Likewise.
72992         * sysdeps/mach/hurd/rename.c: Likewise.
72993         * sysdeps/mach/hurd/rmdir.c: Likewise.
72994         * sysdeps/mach/hurd/seekdir.c: Likewise.
72995         * sysdeps/mach/hurd/setsid.c: Likewise.
72996         * sysdeps/posix/wait3.c: Likewise.
72998         * All files with FSF copyright notices: Update copyright dates
72999         using scripts/update-copyrights.
73000         * intl/plural.c: Regenerated.
73001         * locale/programs/charmap-kw.h: Likewise.
73002         * locale/programs/locfile-kw.h: Likewise.
73004 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
73006         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
73007         four values.
73009         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
73010         calculation loop and add branch prediction.
73012         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
73013         check access beyond bounds of m1np.
73015         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
73016         MPTWO.
73017         (__inv): Remove local variable MPTWO to use the global
73018         constant.
73019         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
73020         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
73021         variable MPTWO.
73022         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
73023         MP3HALFS static const.
73025 2013-01-01  David S. Miller  <davem@davemloft.net>
73027         * po/ca.po: Update from translation team.
73029 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
73031         * scripts/update-copyrights: New file.
73032         * Makeconfig: Reformat copyright notice.
73033         * ctype/ctype.h: Likewise.
73034         * debug/swprintf_chk.c: Likewise.
73035         * elf/dl-cache.c: Likewise.
73036         * elf/dl-debug.c: Likewise.
73037         * elf/dl-object.c: Likewise.
73038         * grp/initgroups.c: Likewise.
73039         * hurd/Makefile: Likewise.
73040         * hurd/hurd/signal.h: Likewise.
73041         * hurd/hurdfault.c: Likewise.
73042         * hurd/hurdioctl.c: Likewise.
73043         * hurd/hurdlookup.c: Likewise.
73044         * hurd/intr-msg.c: Likewise.
73045         * iconv/gconv_open.c: Likewise.
73046         * libio/swprintf.c: Likewise.
73047         * locale/lc-ctype.c: Likewise.
73048         * locale/nl_langinfo.c: Likewise.
73049         * mach/Machrules: Likewise.
73050         * mach/Makefile: Likewise.
73051         * malloc/obstack.h: Likewise.
73052         * manual/Makefile: Likewise.
73053         * manual/tsort.awk: Likewise.
73054         * misc/bits/stab.def: Likewise.
73055         * nis/nis_print_group_entry.c: Likewise.
73056         * nis/nis_table.c: Likewise.
73057         * nis/nss_compat/compat-pwd.c: Likewise.
73058         * nis/nss_compat/compat-spwd.c: Likewise.
73059         * po/Makefile: Likewise.
73060         * posix/fnmatch.c: Likewise.
73061         * posix/regex.h: Likewise.
73062         * resolv/Makefile: Likewise.
73063         * resolv/nss_dns/dns-network.c: Likewise.
73064         * resolv/res_hconf.c: Likewise.
73065         * scripts/gen-sorted.awk: Likewise.
73066         * soft-fp/soft-fp.h: Likewise.
73067         * stdio-common/printf.h: Likewise.
73068         * stdlib/monetary.h: Likewise.
73069         * stdlib/random.c: Likewise.
73070         * stdlib/random_r.c: Likewise.
73071         * sysdeps/generic/Makefile: Likewise.
73072         * sysdeps/gnu/Makefile: Likewise.
73073         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73074         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73075         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73076         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73077         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73078         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73079         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73080         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73081         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73082         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73083         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73084         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73085         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73086         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73087         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
73088         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73089         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73090         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73091         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73092         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73093         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73094         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73095         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73096         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
73097         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
73098         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73099         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
73100         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
73101         * sysdeps/mach/hurd/errnos.awk: Likewise.
73102         * sysdeps/mach/hurd/fork.c: Likewise.
73103         * sysdeps/mach/hurd/getcwd.c: Likewise.
73104         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
73105         * sysdeps/mach/hurd/mmap.c: Likewise.
73106         * sysdeps/mach/hurd/utimes.c: Likewise.
73107         * sysdeps/mach/hurd/xmknod.c: Likewise.
73108         * sysdeps/posix/profil.c: Likewise.
73109         * sysdeps/posix/readdir_r.c: Likewise.
73110         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73111         * sysdeps/powerpc/bits/setjmp.h: Likewise.
73112         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
73113         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
73114         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
73115         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
73116         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
73117         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73118         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
73119         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
73120         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
73121         * sysdeps/pthread/lio_listio.c: Likewise.
73122         * sysdeps/sparc/dl-procinfo.h: Likewise.
73123         * sysdeps/unix/i386/sysdep.S: Likewise.
73124         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
73125         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
73126         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
73127         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
73128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73129         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
73130         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
73131         * sysdeps/unix/sysv/linux/speed.c: Likewise.
73132         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
73133         * sysdeps/wordsize-32/divdi3.c: Likewise.
73134         * time/sys/time.h: Likewise.
73135         * wcsmbs/Makefile: Likewise.
73137 2013-01-01  David S. Miller  <davem@davemloft.net>
73139         * po/fr.po: Update from translation team.
73141         * catgets/gencat.c: Update copyright year.
73142         * csu/version.c: Likewise.
73143         * debug/catchsegv.sh: Likewise.
73144         * debug/pcprofiledump.c: Likewise.
73145         * debug/xtrace.sh: Likewise.
73146         * elf/ldconfig.c: Likewise.
73147         * elf/ldd.bash.in: Likewise.
73148         * elf/pldd.c: Likewise.
73149         * elf/sotruss.ksh: Likewise.
73150         * elf/sprof.c: Likewise.
73151         * iconv/iconv_prog.c: Likewise.
73152         * iconv/iconvconfig.c: Likewise.
73153         * locale/programs/locale.c: Likewise.
73154         * locale/programs/localedef.c: Likewise.
73155         * login/programs/pt_chown.c: Likewise.
73156         * malloc/memusage.sh: Likewise.
73157         * malloc/memusagestat.c: Likewise.
73158         * malloc/mtrace.pl: Likewise.
73159         * nscd/nscd.c: Likewise.
73160         * nss/getent.c: Likewise.
73161         * nss/makedb.c: Likewise.
73162         * posix/getconf.c: Likewise.
73164 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
73166         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
73167         numbers.
73169 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
73171         * math/bits/mathcalls.h (modf): Use __nonnull.
73173 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
73175         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
73176         (split): Use macro CN instead of the bare value.
73177         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
73178         could be used.
73179         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
73180         instead of the bare value.
73181         (power1): Likewise.
73183 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73185         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
73186         __ATAN_TWOM.
73187         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73189         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
73190         their values.
73191         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
73192         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
73193         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
73194         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
73196 2012-12-28  Andreas Jaeger  <aj@suse.de>
73198         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
73199         values are from Linux 3.7.
73201         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
73202         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
73204 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73206         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
73207         TRUE case.
73209         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
73210         (norm): Likewise.
73211         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
73212         variables with preprocessor constants.
73213         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73214         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73215         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73217 2012-12-27  Bruno Haible  <bruno@clisp.org>
73219         [BZ #14317]
73220         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
73221         only if needed.
73223 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
73225         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
73226         and use variable directly.
73227         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
73229         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
73230         MPONE.
73231         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
73232         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
73233         variable MPONE.
73234         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
73235         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
73236         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
73237         include directive.  Remove local variable MPONE.
73238         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
73239         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
73240         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73242 2012-12-25  David S. Miller  <davem@davemloft.net>
73244         * version.h (RELEASE): Set to "development".
73245         (VERSION): Set to "2.17.90".
73246         * NEWS: Add 2.18 section.
73248 2012-12-21  David S. Miller  <davem@davemloft.net>
73250         * po/hr.po: Update from translation team.
73252 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73254         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
73256 2012-12-19  Steve Ellcey  <sellcey@mips.com>
73258         * NEWS:  Mention new memcpy for MIPS.
73260 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73262         * manual/contrib.texi (Contributors): Spelling correction.
73264 2012-12-15  David S. Miller  <davem@davemloft.net>
73266         * po/ru.po: Update from translation team.
73268 2012-12-13  David S. Miller  <davem@davemloft.net>
73270         * NEWS: Mention IFUNC testsuite enhancements.
73272         * po/pl.po: Update from translation team.
73273         * po/bg.po: Likewise.
73275         * manual/contrib.texi (Contributors): Update entries for Hongjiu
73276         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
73278 2012-12-11  David S. Miller  <davem@davemloft.net>
73280         * po/sv.po: Update from translation team.
73282         * po/vi.po: Update from translation team.
73284         * po/cs.po: Update from translation team.
73286         * po/de.po: Update from translation team.
73287         * po/eo.po: Likewise.
73288         * po/nl.po: Likewise.
73290 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
73292         [BZ #14246]
73293         * manual/argp.texi (Argp Helper Functions): Move node to follow
73294         Argp Parsing State.
73296         [BZ #14872]
73297         * manual/conf.texi (Limits on File System Capacity): Mention if
73298         terminating null is included in the max size.
73300 2012-12-10  Andreas Jaeger  <aj@suse.de>
73302         * po/cs.po: Update from translation team.
73304 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
73306         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
73307         void pointer and cast to uintptr_t.
73308         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
73309         path.
73310         * sysdeps/s390/s390-64/memcpy.S: Likewise.
73311         * sysdeps/s390/s390-64/memset.S: Likewise.
73313 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
73315         [BZ #14833]
73316         * menual/message.texi (Message Translation): Fix typos.
73317         (Helper programs for gettext): Likewise.
73319 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
73321         [BZ #14898]
73322         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
73323         Change to -1.
73325 2012-12-07  David S. Miller  <davem@davemloft.net>
73327         * po/libc.pot: Update.
73329 2012-12-07  Richard Henderson  <rth@redhat.com>
73331         [BZ #10114]
73332         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
73333         normal/normal case to before the switch.
73334         (_FP_DIV): Likewise.
73336 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
73337             Mike Frysinger  <vapier@gentoo.org>
73339         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
73340         check for __NR_fadvise64_64.
73342 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
73344         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
73345         0, not just to plain "0" as a statement.
73346         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
73347         with cw.
73349 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
73351         * NEWS: Use sourceware.org in Bugzilla URL.
73353 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
73355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
73356         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73358         * stdio-common/tst-put-error.c (do_test): Add newline to the
73359         padded test to ensure flush.
73361 2012-12-05  Jeff Law  <law@redhat.com>
73363         * sunrpc/etc.rpc (fedfs_admin): Add entry.
73365 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
73367         * README: Don't refer to ports add-on as distributed separately.
73368         Mention AArch64 in list of systems supported in the ports add-on.
73370         * LICENSES: Add more non-FSF copyright and license notices.
73372         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
73373         ((unused)).
73375         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
73377         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
73378         10000 as width of padded output.
73380 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
73382         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
73384         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
73385         variable LX with __attribute__ ((unused)).
73386         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
73387         Likewise.
73388         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
73389         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73390         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
73391         with __attribute__ ((unused)).
73393 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
73395         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
73397 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
73399         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
73400         (CFLAGS-nldbl-acos.c): New variable.
73401         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
73402         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
73403         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
73404         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
73405         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
73406         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
73407         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
73408         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
73409         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
73410         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
73411         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
73412         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
73413         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
73414         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
73415         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
73416         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
73417         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
73418         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
73419         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
73420         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
73421         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
73422         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
73423         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
73424         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
73425         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
73426         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
73427         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
73428         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
73429         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
73430         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
73431         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
73432         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
73433         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
73434         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
73435         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
73436         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
73437         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
73438         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
73439         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
73440         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
73441         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
73442         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
73443         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
73444         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
73445         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
73446         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
73447         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
73448         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
73449         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
73450         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
73451         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
73452         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
73453         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
73454         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
73455         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
73456         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
73457         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
73458         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
73459         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
73460         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
73461         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
73462         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
73463         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
73464         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
73465         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
73466         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
73467         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
73468         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
73469         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
73470         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
73471         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
73472         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
73473         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
73474         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
73475         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
73476         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
73477         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
73478         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
73479         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
73480         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
73481         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
73482         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
73483         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
73484         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
73485         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
73486         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
73487         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
73488         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
73489         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
73490         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
73491         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
73492         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
73493         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
73494         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
73495         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
73496         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
73497         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
73499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
73500         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73502         [BZ #14914]
73503         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
73504         whole low double instead of just low 47 bits when splitting values
73505         into two parts.
73507 2012-12-03  Allan McRae  <allan@archlinux.org>
73509         * manual/stdio.texi (Predefined Printf Handlers): Remove
73510         @hsep and @vsep usage.
73512 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
73514         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
73515         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
73517 2012-12-03  Jeff Law  <law@redhat.com>
73519         * time/sys/time.h (settimeofday): Do not mark TV argument
73520         as __nonnull.
73522 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
73524         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
73525         when currently writing and seek to current position when not.
73526         * libio/Makefile (tests): Remove bug-fclose1.
73527         * libio/bug-fclose1.c: Delete.
73529 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
73531         * manual/arith.texi (feenableexcept): Fix typo.
73532         (fedisableexcept): Likewise.
73534 2012-11-30  Roland McGrath  <roland@hack.frob.com>
73536         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
73537         second, differently-typed declaration, rather than a cast.
73539 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
73541         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
73542         * include/rpc/svc.h: ... here.
73544 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
73546         [BZ #13013]
73547         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
73548         depending n and resplen2 to catch cases where answer
73549         equals answerp2.
73551 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
73553         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
73554         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
73556 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
73558         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
73560 2012-11-29  Roland McGrath  <roland@hack.frob.com>
73562         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
73564 2012-11-28  Jeff Law  <law@redhat.com>
73566         [BZ #13761]
73567         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
73568         dataset_temporary.  Track alloca usage into alloca_used.
73569         If dataset is large allocate and release it via malloc/free.
73571 2012-06-04  Florian Weimer  <fweimer@redhat.com>
73573         [BZ #14197]
73574         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
73576 2012-11-28  David S. Miller  <davem@davemloft.net>
73578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73580 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
73582         [BZ #14803]
73583         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
73584         of pi/2 rounded to nearest to 64 bits.
73585         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
73586         nearest to 64 bits.
73587         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
73588         bits.
73590 2012-11-28  Jeff Law <law@redhat.com>
73591             Martin Osvald <mosvald@redhat.com>
73593         [BZ #14889]
73594         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
73595         * sunrpc/svc.c: Include time.h.
73596         (__svc_accept_failed): New function.
73597         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
73598         any reason other than EINTR, call __svc_accept_failed.
73599         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
73600         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
73602 2012-11-28  Andreas Schwab  <schwab@suse.de>
73604         * scripts/abilist.awk: Also handle indirect functions in .opd
73605         section.
73607 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
73609         [BZ #13881]
73610         * sysdeps/x86/fpu/powl_helper.c: New file.
73611         * sysdeps/x86/fpu/Makefile: Likewise.
73612         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
73613         (p3): New object.
73614         (__ieee754_powl): Use __powl_helper for finite arguments except
73615         integer exponents below 8.
73616         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
73617         (p3): New object.
73618         (__ieee754_powl): Use __powl_helper for finite arguments except
73619         integer exponents below 8.
73620         * math/libm-test.inc (pow_test): Add more tests and enable some
73621         previously disabled tests.
73622         * sysdeps/i386/fpu/libm-test-ulps: Update.
73623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73625 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73626             Carlos O'Donell  <carlos_odonell@mentor.com>
73628         * nss/makedb.c (is_prime): Assert that input is odd and greater
73629         than 4.  Note that fact in a comment too.
73630         (next_prime): Add 4 to input.
73632 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
73634         [BZ #11741]
73635         * libio/Makefile (tests): Add test case tst-fwrite-error.
73636         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
73637         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
73638         * libio/tst-fwrite-error.c: New test case.
73640 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
73642         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
73643         before casting to void *.
73644         * include/libc-internal.h (__pointer_type): New macro.
73645         (__integer_if_pointer_type_sub): Likewise.
73646         (__integer_if_pointer_type): Likewise.
73647         (cast_to_integer): Likewise.
73648         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
73649         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
73650         before casting to atomic64_t.
73651         (atomic_exchange_acq): Likewise.
73652         (__arch_exchange_and_add_body): Likewise.
73653         (__arch_add_body): Likewise.
73654         (atomic_add_negative): Likewise.
73655         (atomic_add_zero): Likewise.
73657 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
73659         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
73660         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
73661         (add_fdes): Likewise.
73662         (linear_search_fdes): Likewise.
73663         (binary_search_unencoded_fdes): Likewise.
73665 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
73667         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
73669 2012-11-24  Adam Conrad  <adconrad@0c3.net>
73671         * configure.in: Autodetect C++ header directories.
73672         * configure: Regenerated.
73674 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
73676         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
73678 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
73680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73682 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
73684         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
73685         LDBL_MANT_DIG == 106]: Disable some tests.
73686         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73687         Likewise.
73688         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73689         Likewise.
73691         [BZ #14871]
73692         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
73693         input for small inputs.  Return +/- pi/2 for large inputs.
73694         * math/libm-test.inc (atan_test): Add more tests.
73696         * sysdeps/generic/unwind-dw2-fde-glibc.c
73697         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
73698         __attribute__ ((unused)).
73700         [BZ #14645]
73701         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
73702         x * y if x and y are nonzero and z is zero.
73704         [BZ #14811]
73705         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
73706         nonzero exponents with absolute value below 0x1p-117 to +/-
73707         0x1p-117.
73709         [BZ #14869]
73710         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
73711         up arguments below 2**-450, not just those below 2**-500.
73712         * math/libm-test.inc (hypot_test): Add another test.
73714         [BZ #14868]
73715         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
73716         Return a+b for ratio over 2**120, not 2**60.
73717         * math/libm-test.inc (hypot_test): Add another test.
73719         * math/libm-test.inc (clog_test): Use
73720         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
73721         (clog10_test): Likewise.
73723         [BZ #6778]
73724         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
73726 2012-11-22  Andreas Schwab  <schwab@suse.de>
73728         * sysdeps/i386/fpu/libm-test-ulps: Update.
73730 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
73732         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
73733         printf output with newline.
73735 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
73737         [BZ #14865]
73738         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
73739         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
73740         -z nodlopen, -z initfirst and -z execstack support.
73741         * configure: Regenerated.
73743         * elf/elf.h (DF_1_NODIRECT): New macro.
73744         (DF_1_IGNMULDEF): Likewise.
73745         (DF_1_NOKSYMS): Likewise.
73746         (DF_1_NOHDR): Likewise.
73747         (DF_1_EDITED): Likewise.
73748         (DF_1_NORELOC): Likewise.
73749         (DF_1_SYMINTPOSE): Likewise.
73750         (DF_1_GLOBAUDIT): Likewise.
73751         (DF_1_SINGLETON): Likewise.
73752         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
73753         DT_1_SUPPORTED_MASK bits.
73754         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
73756 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
73758         * sysdeps/unix/make-syscalls.sh: Document prefixes.
73760 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
73762         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
73763         macro.
73765         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
73766         (sendmmsg): Move declarations...
73767         * socket/sys/socket.h: ... here.
73768         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
73769         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
73770         include it from...
73771         * socket/recvmmsg.c: ... this new file.
73772         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
73773         (sendmmsg): Rename to __sendmmsg, create weak alias and make
73774         definition of __sendmmsg hidden.
73775         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
73776         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
73777         Move ENOSYS stub into and include it from...
73778         * socket/sendmmsg.c: ... this new file.
73779         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
73780         (sysdep_routines): Move recvmmsg and sendmmsg...
73781         * socket/Makefile (routines): ... here.
73782         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
73783         (GLIBC_PRIVATE): Add __sendmmsg.
73784         * include/sys/socket.h (__sendmmsg): Add declarations.
73785         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
73786         sendmmsg.
73788 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
73790         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
73791         variable I1 with __attribute__ ((unused)).
73792         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73794 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
73796         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
73797         DUMMY variables with __attribute__ ((unused)).
73799         * bits/byteswap.h: Include <bits/types.h>.
73800         (__bswap_64): Use __uint64_t instead of unsigned long long int.
73802 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
73804         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
73805         string_t.  Do not manually set errno.
73806         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
73807         length with __strnlen.  Make sure to both set errno and return it on
73808         failure.
73810 2012-11-19  David S. Miller  <davem@davemloft.net>
73812         With help from Joseph Myers.
73813         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
73814         very large arguments properly.
73815         * math/libm-test.inc (atan_test): New tests.
73816         (atan2_test): New tests.
73817         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73818         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73820 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
73822         [BZ #14856]
73823         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
73824         Define to 3.
73826         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
73827         [POSIX] (EADDRNOTAVAIL): Likewise.
73828         [POSIX] (EAFNOSUPPORT): Likewise.
73829         [POSIX] (EALREADY): Likewise.
73830         [POSIX] (ECONNABORTED): Likewise.
73831         [POSIX] (ECONNREFUSED): Likewise.
73832         [POSIX] (ECONNRESET): Likewise.
73833         [POSIX] (EDESTADDRREQ): Likewise.
73834         [POSIX] (EDQUOT): Likewise.
73835         [POSIX] (EHOSTUNREACH): Likewise.
73836         [POSIX] (EIDRM): Likewise.
73837         [POSIX] (EISCONN): Likewise.
73838         [POSIX] (ELOOP): Likewise.
73839         [POSIX] (EMULTIHOP): Likewise.
73840         [POSIX] (ENETDOWN): Likewise.
73841         [POSIX] (ENETUNREACH): Likewise.
73842         [POSIX] (ENOBUFS): Likewise.
73843         [POSIX] (ENODATA): Likewise.
73844         [POSIX] (ENOLINK): Likewise.
73845         [POSIX] (ENOMSG): Likewise.
73846         [POSIX] (ENOPROTOOPT): Likewise.
73847         [POSIX] (ENOSR): Likewise.
73848         [POSIX] (ENOSTR): Likewise.
73849         [POSIX] (ENOTCONN): Likewise.
73850         [POSIX] (ENOTSOCK): Likewise.
73851         [POSIX] (EOPNOTSUPP): Likewise.
73852         [POSIX] (EOVERFLOW): Likewise.
73853         [POSIX] (EPROTO): Likewise.
73854         [POSIX] (EPROTONOSUPPORT): Likewise.
73855         [POSIX] (EPROTOTYPE): Likewise.
73856         [POSIX] (ESTALE): Likewise.
73857         [POSIX] (ETIME): Likewise.
73858         [POSIX] (ETXTBSY): Likewise.
73859         [POSIX] (EWOULDBLOCK): Likewise.
73860         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
73861         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
73862         [POSIX] (SEEK_CUR): Likewise.
73863         [POSIX] (SEEK_END): Likewise.
73864         [POSIX || UNIX98] (mode_t): Do not require.
73865         [POSIX] (off_t): Likewise.
73866         [POSIX] (pid_t): Likewise.
73867         [POSIX] (sys/stat.h): Do not allow header.
73868         [POSIX] (unistd.h): Likewise.
73869         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
73870         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
73871         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
73872         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
73873         require.
73874         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
73875         sigevent): Specify elements.
73876         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
73877         entry.
73878         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
73879         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
73881         * conform/data/cpio.h-data [POSIX]: Disable whole file.
73882         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
73883         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
73884         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
73885         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
73886         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
73887         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
73888         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
73889         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
73890         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
73891         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
73892         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
73893         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
73894         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
73895         Likewise.
73896         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
73897         Likewise.
73898         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
73899         Likewise.
73900         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
73901         Likewise.
73902         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
73903         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
73904         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
73905         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
73906         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
73907         Specify lower bound on value.
73908         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
73909         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
73910         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
73911         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
73912         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
73913         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
73914         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
73915         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
73916         value.
73917         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
73918         as optional.
73919         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
73920         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
73921         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
73922         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
73923         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
73924         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
73925         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
73926         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
73927         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
73928         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
73929         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
73930         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
73931         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
73932         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
73933         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
73934         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
73935         entry.
73936         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
73937         optional.
73938         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
73939         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
73940         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
73941         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
73942         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
73943         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
73944         Likewise.
73945         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
73946         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
73947         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
73948         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
73949         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
73950         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
73951         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
73952         as optional.
73953         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
73954         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
73955         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
73956         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
73957         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
73958         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
73959         specify as optional.
73960         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
73961         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
73962         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
73963         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
73964         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
73965         [XPG3] (NL_LANGMAX): Likewise.
73966         [POSIX || XPG3] (NL_MSGMAX): Likewise.
73967         [POSIX || XPG3] (NL_NMAX): Likewise.
73968         [POSIX || XPG3] (NL_SETMAX): Likewise.
73969         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
73970         [XPG3] (NZERO): Likewise.
73971         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
73972         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
73973         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
73974         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
73975         (REG_ERANGE): Expect.
73976         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
73977         optional-constant.
73978         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
73979         Use (void) in prototype.
73980         [POSIX] (*_t): Allow.
73981         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
73982         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
73983         (WRDE_BADVAL): Expect.
73985         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
73986         expect.
73987         [XPG3 || XPG4] (O_RSYNC): Likewise.
73988         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
73989         Likewise.
73990         [XPG3 || XPG4] (pthread_sigmask): Likewise.
73991         [XPG3 || XPG4] (sigqueue): Likewise.
73992         [XPG3 || XPG4] (sigtimedwait): Likewise.
73993         [XPG3 || XPG4] (sigwaitinfo): Likewise.
73994         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
73995         [XPG3 || XPG4] (vsnprintf): Likewise.
73996         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
73997         Likewise.
73998         [XPG3 || XPG4] (blksize_t): Likewise.
73999         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
74000         Likewise.
74001         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
74002         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
74003         [XPG3 || XPG4] (struct itimerspec): Likewise.
74004         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
74005         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
74006         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
74007         [XPG3 || XPG4] (clockid_t): Likewise.
74008         [XPG3 || XPG4] (timer_t): Likewise.
74009         [XPG3 || XPG4] (clock_getres): Likewise.
74010         [XPG3 || XPG4] (clock_gettime): Likewise.
74011         [XPG3 || XPG4] (clock_settime): Likewise.
74012         [XPG3 || XPG4] (nanosleep): Likewise.
74013         [XPG3 || XPG4] (timer_create): Likewise.
74014         [XPG3 || XPG4] (timer_delete): Likewise.
74015         [XPG3 || XPG4] (timer_gettime): Likewise.
74016         [XPG3 || XPG4] (timer_getoverrun): Likewise.
74017         [XPG3 || XPG4] (timer_settime): Likewise.
74018         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
74019         [XPG3 || XPG4] (getlogin_r): Likewise.
74020         [XPG3 || XPG4] (pread): Likewise.
74021         [XPG3 || XPG4] (pthread_atfork): Likewise.
74022         [XPG3 || XPG4] (pwrite): Likewise.
74024         [BZ #14835]
74025         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
74026         <bits/siginfo.h>.
74028 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
74030         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
74031         finalizing MALLSTREAM.
74033         * sysdeps/mach/hurd/syncfs.c: New file.
74035 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
74037         [BZ #14719]
74038         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
74039         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
74040         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
74041         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
74042         (_nss_dns_gethostbyname4_r): Likewise.
74043         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
74044         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
74046 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
74048         [BZ #13763]
74049         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
74051 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
74053         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
74054         * elf/cache.c (print_entry): Print ",AArch64" for
74055         FLAG_AARCH64_LIB64
74057         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
74058         * elf/cache.c (print_entry): Print ",hard-float" for
74059         FLAG_ARM_LIBHF.
74061 2012-11-18  David S. Miller  <davem@davemloft.net>
74063         With help from Joseph Myers.
74064         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
74065         cutoff to 2**-13.
74066         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
74067         cutoff to 2**-25.
74068         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
74069         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
74070         small.
74071         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
74072         * math/libm-test.inc (y0_test): New tests.
74073         (y1_test): New tests.
74074         * sysdeps/i386/fpu/libm-test-ulps: Update.
74075         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74078 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
74080         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
74081         64-bit targets.
74082         * configure: Regenerated.
74084 2012-11-17  David S. Miller  <davem@davemloft.net>
74086         [BZ #14811]
74087         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
74088         nonzero exponents with absolute value below 0x1p-128 to +/-
74089         0x1p-128.
74091 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
74093         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
74095         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
74097         * posix/getconf-speclist.c: New file.
74098         * posix/posix-envs.def: Likewise.
74099         * posix/confstr.c (START_ENV_GROUP): New macro.
74100         (END_ENV_GROUP): Likewise.
74101         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
74102         (KNOWN_PRESENT_ENV_STRING): Likewise.
74103         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
74104         (UNKNOWN_ENVIRONMENT): Likewise.
74105         (confstr): Include posix-envs.def instead of handling
74106         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
74107         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
74108         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
74109         (END_ENV_GROUP): Likewise.
74110         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
74111         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
74112         (UNKNOWN_ENVIRONMENT): Likewise.
74113         (__sysconf): Include posix-envs.def instead of handling associated
74114         cases directly here.
74115         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
74116         preprocessing getconf-speclist.c rather than running getconf or
74117         generating empty file.
74119 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
74121         * scripts/check-local-headers.sh: Ignore 'mach' headers.
74123 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
74125         [BZ #14672]
74126         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
74128 2012-11-16  David S. Miller  <davem@davemloft.net>
74130         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
74131         smaller than LDBL_EPSILON/2.0L, just return xm1.
74133 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
74135         * elf/tst-array1.c (init): Set constructor priority to 1000.
74136         (fini): Set destructor priority to 1000.
74137         * elf/tst-array2dep.c: Likewise.
74139 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
74141         [BZ #11741]
74142         * libio/fileops.c (_IO_new_file_write): Correctly return error.
74143         (_IO_new_file_xsputn): Also return EOF if none of the input
74144         data was written when overflow failed.
74145         * libio/iopadn.c (_IO_padn): Likewise.
74146         * libio/iowpadn.c (_IO_wpadn): Likewise.
74147         * stdio-common/tst-put-error.c: Add copyright notice.
74148         (do_test): Add case for printing padded string.
74149         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
74150         _IO_padn returned error.
74151         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
74152         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
74153         return EOF.
74155 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
74157         * libio/libioP.h: Add comment note that the references to C++
74158         bits are now obsolete.
74160 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74162         * math/libm-test.inc (check_complex): Use asprintf.
74164 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
74166         * debug/pcprofiledump.c (print_version): Update copyright year.
74167         * malloc/memusagestat.c (print_version): Likewise.
74169 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
74171         [BZ #14831]
74172         * elf/Makefile (tests): Add tst-audit8.
74173         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
74174         ($(objpfx)tst-audit8.out): New target.
74175         (tst-audit8-ENV): New variable.
74176         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
74177         audit if l_reloc_result is NULL.
74178         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
74179         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
74180         * elf/tst-audit8.c: New file.
74182 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74184         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
74185         * misc/Makefile (CFLAGS-select.c): Define.
74186         * posix/Makefile (CFLAGS-pause.c): Define.
74188 2012-11-13  David S. Miller  <davem@davemloft.net>
74190         * crypt/Makefile: Move test targets after toplevel Rules
74191         inclusion.  Grab any necessary sysdep routines when linking.
74192         * crypt/md5.c (md5_process_block): Remove define, we will always
74193         name it __md5_process_block.
74194         (md5_finish_ctx): Update md5_process_block call.
74195         (md5_stream): Likewise.
74196         (md5_process_bytes): Likewise.
74197         (md5_process_block): Rename to __md5_process_block and move to ...
74198         * crypt/md5-block.c: ... here.
74199         * crypt/sha256.c (sha256_process_block): Move to ...
74200         * crypt/sha256-block.c: ... here.
74201         * crypt/sha512.c (sha512_process_block): Move to ...
74202         * crypt/sha512-block.c: ... here.
74203         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
74204         path.
74205         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
74206         * sysdeps/sparc/sparc64/multiarch/Makefile
74207         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
74208         crypt subdir.
74209         (localedef-aux): Add md5 crypto assembler when in locale subdir.
74210         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
74211         multiarch changes.
74212         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
74213         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
74214         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
74215         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
74216         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
74217         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
74218         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
74219         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
74220         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
74221         file.
74222         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
74223         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
74224         file.
74225         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
74227 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
74229         * timezone/tzselect.ksh: Update from tzcode git revision
74230         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
74231         * timezone/zdump.c: Likewise.
74232         * timezone/zic.c: Likewise.
74233         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
74234         in TZVERSION setting, not $(PKGVERSION).
74235         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
74236         REPORT_BUGS_TO settings.
74238         [BZ #14838]
74239         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
74240         macro.
74242 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74244         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
74245         detection to immediately after _FP_ROUND().
74246         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
74247         bits are 0.
74249 2012-11-11  David S. Miller  <davem@davemloft.net>
74251         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
74252         inttypes.h
74253         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
74254         __close rather than their public counterparts.
74256 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
74258         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
74259         file.
74260         [UNIX98] (sem_timedwait): Do not expect.
74261         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
74262         [XPG4 || UNIX98] (sockatmark): Do not expect.
74263         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
74264         (clock_getcpuclockid): Do not expect.
74265         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
74266         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
74267         Do not expect.
74268         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
74269         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
74270         [UNIX98] (vwscanf): Likewise.
74271         [UNIX98] (vswscanf): Likewise.
74273 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
74275         * timezone/version.h: Remove file.
74276         * timezone/README: Do not refer to version.h.
74277         * timezone/Makefile ($(objpfx)zic.o): New dependency on
74278         $(objpfx)version.h.
74279         ($(objpfx)zdump.o): Likewise.
74280         ($(objpfx)version.h): New target.
74282         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
74283         2012i.
74284         * timezone/README: Don't mention modification to tzselect.ksh.
74285         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
74286         work on unmodified tzselect.ksh.  Substitute version numbers in
74287         tzselect.ksh.
74289         * Makefile (format-me): Remove.
74290         (INSTALL): Adjust indentation.  Use commands directly instead of
74291         using $(format-me).
74293         * aclocal.m4 (ACX_PKGVERSION): New macro.
74294         (ACX_BUGURL): Likewise.
74295         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
74296         (PKGVERSION): New AC_DEFINE_UNQUOTED.
74297         (REPORT_BUGS_TO): Likewise.
74298         * configure: Regenerated.
74299         * config.h.in (PKGVERSION): New macro.
74300         (REPORT_BUGS_TO): Likewise.
74301         * config.make.in (PKGVERSION): New variable.
74302         (PKGVERSION_TEXI): Likewise.
74303         (REPORT_BUGS_TO): Likewise.
74304         (REPORT_BUGS_TEXI): Likewise.
74305         * Makefile (format-me): Use -I$(common-objpfx)manual.
74306         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
74307         ($(common-objpfx)manual/%): New target.
74308         (manual/%): Remove target.
74309         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
74310         (print_version): Use PKGVERSION.
74311         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
74312         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
74313         and REPORT_BUGS_TO.
74314         ($(objpfx)xtrace): Likewise.
74315         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
74316         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
74317         (print_version): Use PKGVERSION.
74318         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
74319         (do_version): Use PKGVERSION.
74320         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
74321         REPORT_BUGS_TO.
74322         (common-ldd-rewrite): Likewise.
74323         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
74324         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
74325         (print_version): Use PKGVERSION.
74326         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
74327         * elf/pldd.c (argp_program_bug_address): Remove variable.
74328         (more_help): New function.
74329         (argp): Use more_help.
74330         (print_version): Use PKGVERSION.
74331         * elf/sln.c (main): Use PKGVERSION.
74332         (usage): Use REPORT_BUGS_TO.
74333         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
74334         (top level): Use PKGVERSION.
74335         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
74336         (print_version): Use PKGVERSION.
74337         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
74338         (print_version): Use PKGVERSION.
74339         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
74340         (print_version): Use PKGVERSION.
74341         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
74342         (print_version): Use PKGVERSION.
74343         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
74344         (print_version): Use PKGVERSION.
74345         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
74346         (print_version): Use PKGVERSION.
74347         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
74348         and BUGURL.
74349         ($(objpfx)memusage): Likewise.
74350         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
74351         (do_version): Use PKGVERSION.
74352         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
74353         (print_version): Use PKGVERSION.
74354         * malloc/mtrace.pl ($PACKAGE): Remove variable.
74355         ($PKGVERSION): New variable.
74356         ($REPORT_BUGS_TO): Likewise.
74357         (usage): Use $REPORT_BUGS_TO.
74358         (top level): Use $PKGVERSION.
74359         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
74360         ($(objpfx)pkgvers.texi): New rule.
74361         ($(objpfx)stamp-pkgvers): Likewise.
74362         * manual/install.texi: Include pkgvers.texi.
74363         (--with-pkgversion): Document new configure option.
74364         (--with-bugurl): Likewise.
74365         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
74366         than necessarily for this particular distribution.  Use
74367         REPORT_BUGS_TO for where to report bugs.
74368         * INSTALL: Regenerated.
74369         * manual/libc.texinfo: Include pkgvers.texi.
74370         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
74371         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
74372         (print_version): Use PKGVERSION.
74373         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
74374         (print_version): Use PKGVERSION.
74375         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
74376         (print_version): Use PKGVERSION.
74377         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
74378         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
74379         macro.
74380         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
74381         (print_version): Use PKGVERSION.
74382         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
74383         (print_version): Use PKGVERSION.
74384         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
74385         and PKGVERSION.
74387         * timezone/checktab.awk: Update from tzcode 2012i.
74388         * timezone/ialloc.c: Likewise.
74389         * timezone/private.h: Likewise.
74390         * timezone/scheck.c: Likewise.
74391         * timezone/tzfile.h: Likewise.
74392         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
74393         (TZVERSION): Hardcode tzcode version number.
74394         * timezone/zdump.c: Update from tzcode 2012i.
74395         * timezone/zic.c: Likewise.
74396         * timezone/version.h: New file.
74397         * timezone/README: Describe version.h.  Update upstream location.
74399         [BZ #14824]
74400         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
74401         (mktemp): Enable declaration.
74402         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
74403         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
74404         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
74405         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
74406         Likewise.
74407         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
74408         Likewise.
74409         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
74410         Likewise.
74411         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
74412         Likewise.
74413         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
74414         Likewise.
74415         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
74416         Likewise.
74418         [BZ #14821]
74419         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
74420         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
74421         for copies of such integer values.
74422         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74423         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74425 2012-11-09  Andreas Jaeger  <aj@suse.de>
74427         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
74428         definitions and declarations that are provided by
74429         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74431 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74433         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
74434         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
74435         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
74436         definition.
74438 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74440         * elf/elf.h: Update comment before AArch64 relocations.
74442 2012-11-07  David S. Miller  <davem@davemloft.net>
74444         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
74445         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
74446         (__start_context): Declare.
74447         (__makecontext_ret): Delete.
74448         (__makecontext): Hook up __start_context instead of
74449         __makecontext_ret.
74450         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
74451         (sysdep_routines): Add __start_context when in stdlib.
74453 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74455         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
74456         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
74457         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
74458         hardcoded "nm".
74459         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
74460         (READELF): New variable.  Use it instead of hardcoded "readelf".
74462 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
74464         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
74465         * sysdeps/x86/Makefile: Here.
74466         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
74467         * sysdeps/x86/tst-xmmymm.sh: This.
74469 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74471         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
74472         expectations.
74473         [UNIX98] (pthread_barrier_t): Do not expect.
74474         [UNIX98] (pthread_barrierattr_t): Likewise.
74475         [UNIX98] (pthread_spinlock_t): Likewise.
74476         [UNIX98] (pthread_barrier_destroy): Likewise.
74477         [UNIX98] (pthread_barrier_init): Likewise.
74478         [UNIX98] (pthread_barrier_wait): Likewise.
74479         [UNIX98] (pthread_barrierattr_destroy): Likewise.
74480         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
74481         [UNIX98] (pthread_barrierattr_init): Likewise.
74482         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
74483         [UNIX98] (pthread_getcpuclockid): Likewise.
74484         [UNIX98] (pthread_mutex_timedlock): Likewise.
74485         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
74486         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
74487         [UNIX98] (pthread_sigmask): Likewise.
74488         [UNIX98] (pthread_spin_destroy): Likewise.
74489         [UNIX98] (pthread_spin_init): Likewise.
74490         [UNIX98] (pthread_spin_lock): Likewise.
74491         [UNIX98] (pthread_spin_trylock): Likewise.
74492         [UNIX98] (pthread_spin_unlock): Likewise.
74493         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
74494         Do not expect.
74495         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
74496         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
74497         [XPG3 || XPG4] (pthread_cond_t): Likewise.
74498         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
74499         [XPG3 || XPG4] (pthread_key_t): Likewise.
74500         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
74501         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
74502         [XPG3 || XPG4] (pthread_once_t): Likewise.
74503         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
74504         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
74505         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
74506         [XPG3 || XPG4] (pthread_t): Likewise.
74508         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
74509         not expect.
74510         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
74512         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
74513         Change function return type to int.
74515         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
74516         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
74517         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
74518         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
74519         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
74520         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
74521         [!POSIX] (posix_madvise): Likewise.
74522         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
74523         && !UNIX98].
74524         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
74525         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
74526         (mode_t): Likewise.
74527         (posix_mem_offset): Likewise.
74528         (posix_typed_mem_get_info): Likewise.
74529         (posix_typed_mem_open): Likewise.
74531         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
74532         Change condition to [XOPEN2K8].
74534         * conform/conformtest.pl: Preprocess allow-header data with -x c
74535         instead of from stdin.
74536         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
74537         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
74538         [C99-based standards] (cerfc): Likewise.
74539         [C99-based standards] (cexp2): Likewise.
74540         [C99-based standards] (cexpm1): Likewise.
74541         [C99-based standards] (clog10): Likewise.
74542         [C99-based standards] (clog1p): Likewise.
74543         [C99-based standards] (clog2): Likewise.
74544         [C99-based standards] (clgamma): Likewise.
74545         [C99-based standards] (ctgamma): Likewise.
74546         [C99-based standards] (cerff): Likewise.
74547         [C99-based standards] (cerfcf): Likewise.
74548         [C99-based standards] (cexp2f): Likewise.
74549         [C99-based standards] (cexpm1f): Likewise.
74550         [C99-based standards] (clog10f): Likewise.
74551         [C99-based standards] (clog1pf): Likewise.
74552         [C99-based standards] (clog2f): Likewise.
74553         [C99-based standards] (clgammaf): Likewise.
74554         [C99-based standards] (ctgammaf): Likewise.
74555         [C99-based standards] (cerfl): Likewise.
74556         [C99-based standards] (cerfcl): Likewise.
74557         [C99-based standards] (cexp2l): Likewise.
74558         [C99-based standards] (cexpm1l): Likewise.
74559         [C99-based standards] (clog10l): Likewise.
74560         [C99-based standards] (clog1pl): Likewise.
74561         [C99-based standards] (clog2l): Likewise.
74562         [C99-based standards] (clgammal): Likewise.
74563         [C99-based standards] (ctgammal): Likewise.
74564         * conform/data/inttypes.h-data [C99-based standards]: Include
74565         stdint.h-data.  Remove all expectations for stdint.h contents.
74566         [C99-based standards] (PRI*): Do not allow.
74567         [C99-based standards] (SCN*): Likewise.
74568         [C99-based standards] (*_t): Likewise.
74569         [C99-based-standards] (PRId8): Expect macro.
74570         [C99-based-standards] (PRIi8): Likewise.
74571         [C99-based-standards] (PRIo8): Likewise.
74572         [C99-based-standards] (PRIu8): Likewise.
74573         [C99-based-standards] (PRIx8): Likewise.
74574         [C99-based-standards] (PRIX8): Likewise.
74575         [C99-based-standards] (SCNd8): Likewise.
74576         [C99-based-standards] (SCNi8): Likewise.
74577         [C99-based-standards] (SCNo8): Likewise.
74578         [C99-based-standards] (SCNu8): Likewise.
74579         [C99-based-standards] (SCNx8): Likewise.
74580         [C99-based-standards] (PRIdLEAST8): Likewise.
74581         [C99-based-standards] (PRIiLEAST8): Likewise.
74582         [C99-based-standards] (PRIoLEAST8): Likewise.
74583         [C99-based-standards] (PRIuLEAST8): Likewise.
74584         [C99-based-standards] (PRIxLEAST8): Likewise.
74585         [C99-based-standards] (PRIXLEAST8): Likewise.
74586         [C99-based-standards] (SCNdLEAST8): Likewise.
74587         [C99-based-standards] (SCNiLEAST8): Likewise.
74588         [C99-based-standards] (SCNoLEAST8): Likewise.
74589         [C99-based-standards] (SCNuLEAST8): Likewise.
74590         [C99-based-standards] (SCNxLEAST8): Likewise.
74591         [C99-based-standards] (PRIdFAST8): Likewise.
74592         [C99-based-standards] (PRIiFAST8): Likewise.
74593         [C99-based-standards] (PRIoFAST8): Likewise.
74594         [C99-based-standards] (PRIuFAST8): Likewise.
74595         [C99-based-standards] (PRIxFAST8): Likewise.
74596         [C99-based-standards] (PRIXFAST8): Likewise.
74597         [C99-based-standards] (SCNdFAST8): Likewise.
74598         [C99-based-standards] (SCNiFAST8): Likewise.
74599         [C99-based-standards] (SCNoFAST8): Likewise.
74600         [C99-based-standards] (SCNuFAST8): Likewise.
74601         [C99-based-standards] (SCNxFAST8): Likewise.
74602         [C99-based-standards] (PRId16): Likewise.
74603         [C99-based-standards] (PRIi16): Likewise.
74604         [C99-based-standards] (PRIo16): Likewise.
74605         [C99-based-standards] (PRIu16): Likewise.
74606         [C99-based-standards] (PRIx16): Likewise.
74607         [C99-based-standards] (PRIX16): Likewise.
74608         [C99-based-standards] (SCNd16): Likewise.
74609         [C99-based-standards] (SCNi16): Likewise.
74610         [C99-based-standards] (SCNo16): Likewise.
74611         [C99-based-standards] (SCNu16): Likewise.
74612         [C99-based-standards] (SCNx16): Likewise.
74613         [C99-based-standards] (PRIdLEAST16): Likewise.
74614         [C99-based-standards] (PRIiLEAST16): Likewise.
74615         [C99-based-standards] (PRIoLEAST16): Likewise.
74616         [C99-based-standards] (PRIuLEAST16): Likewise.
74617         [C99-based-standards] (PRIxLEAST16): Likewise.
74618         [C99-based-standards] (PRIXLEAST16): Likewise.
74619         [C99-based-standards] (SCNdLEAST16): Likewise.
74620         [C99-based-standards] (SCNiLEAST16): Likewise.
74621         [C99-based-standards] (SCNoLEAST16): Likewise.
74622         [C99-based-standards] (SCNuLEAST16): Likewise.
74623         [C99-based-standards] (SCNxLEAST16): Likewise.
74624         [C99-based-standards] (PRIdFAST16): Likewise.
74625         [C99-based-standards] (PRIiFAST16): Likewise.
74626         [C99-based-standards] (PRIoFAST16): Likewise.
74627         [C99-based-standards] (PRIuFAST16): Likewise.
74628         [C99-based-standards] (PRIxFAST16): Likewise.
74629         [C99-based-standards] (PRIXFAST16): Likewise.
74630         [C99-based-standards] (SCNdFAST16): Likewise.
74631         [C99-based-standards] (SCNiFAST16): Likewise.
74632         [C99-based-standards] (SCNoFAST16): Likewise.
74633         [C99-based-standards] (SCNuFAST16): Likewise.
74634         [C99-based-standards] (SCNxFAST16): Likewise.
74635         [C99-based-standards] (PRId32): Likewise.
74636         [C99-based-standards] (PRIi32): Likewise.
74637         [C99-based-standards] (PRIo32): Likewise.
74638         [C99-based-standards] (PRIu32): Likewise.
74639         [C99-based-standards] (PRIx32): Likewise.
74640         [C99-based-standards] (PRIX32): Likewise.
74641         [C99-based-standards] (SCNd32): Likewise.
74642         [C99-based-standards] (SCNi32): Likewise.
74643         [C99-based-standards] (SCNo32): Likewise.
74644         [C99-based-standards] (SCNu32): Likewise.
74645         [C99-based-standards] (SCNx32): Likewise.
74646         [C99-based-standards] (PRIdLEAST32): Likewise.
74647         [C99-based-standards] (PRIiLEAST32): Likewise.
74648         [C99-based-standards] (PRIoLEAST32): Likewise.
74649         [C99-based-standards] (PRIuLEAST32): Likewise.
74650         [C99-based-standards] (PRIxLEAST32): Likewise.
74651         [C99-based-standards] (PRIXLEAST32): Likewise.
74652         [C99-based-standards] (SCNdLEAST32): Likewise.
74653         [C99-based-standards] (SCNiLEAST32): Likewise.
74654         [C99-based-standards] (SCNoLEAST32): Likewise.
74655         [C99-based-standards] (SCNuLEAST32): Likewise.
74656         [C99-based-standards] (SCNxLEAST32): Likewise.
74657         [C99-based-standards] (PRIdFAST32): Likewise.
74658         [C99-based-standards] (PRIiFAST32): Likewise.
74659         [C99-based-standards] (PRIoFAST32): Likewise.
74660         [C99-based-standards] (PRIuFAST32): Likewise.
74661         [C99-based-standards] (PRIxFAST32): Likewise.
74662         [C99-based-standards] (PRIXFAST32): Likewise.
74663         [C99-based-standards] (SCNdFAST32): Likewise.
74664         [C99-based-standards] (SCNiFAST32): Likewise.
74665         [C99-based-standards] (SCNoFAST32): Likewise.
74666         [C99-based-standards] (SCNuFAST32): Likewise.
74667         [C99-based-standards] (SCNxFAST32): Likewise.
74668         [C99-based-standards] (PRId64): Likewise.
74669         [C99-based-standards] (PRIi64): Likewise.
74670         [C99-based-standards] (PRIo64): Likewise.
74671         [C99-based-standards] (PRIu64): Likewise.
74672         [C99-based-standards] (PRIx64): Likewise.
74673         [C99-based-standards] (PRIX64): Likewise.
74674         [C99-based-standards] (SCNd64): Likewise.
74675         [C99-based-standards] (SCNi64): Likewise.
74676         [C99-based-standards] (SCNo64): Likewise.
74677         [C99-based-standards] (SCNu64): Likewise.
74678         [C99-based-standards] (SCNx64): Likewise.
74679         [C99-based-standards] (PRIdLEAST64): Likewise.
74680         [C99-based-standards] (PRIiLEAST64): Likewise.
74681         [C99-based-standards] (PRIoLEAST64): Likewise.
74682         [C99-based-standards] (PRIuLEAST64): Likewise.
74683         [C99-based-standards] (PRIxLEAST64): Likewise.
74684         [C99-based-standards] (PRIXLEAST64): Likewise.
74685         [C99-based-standards] (SCNdLEAST64): Likewise.
74686         [C99-based-standards] (SCNiLEAST64): Likewise.
74687         [C99-based-standards] (SCNoLEAST64): Likewise.
74688         [C99-based-standards] (SCNuLEAST64): Likewise.
74689         [C99-based-standards] (SCNxLEAST64): Likewise.
74690         [C99-based-standards] (PRIdFAST64): Likewise.
74691         [C99-based-standards] (PRIiFAST64): Likewise.
74692         [C99-based-standards] (PRIoFAST64): Likewise.
74693         [C99-based-standards] (PRIuFAST64): Likewise.
74694         [C99-based-standards] (PRIxFAST64): Likewise.
74695         [C99-based-standards] (PRIXFAST64): Likewise.
74696         [C99-based-standards] (SCNdFAST64): Likewise.
74697         [C99-based-standards] (SCNiFAST64): Likewise.
74698         [C99-based-standards] (SCNoFAST64): Likewise.
74699         [C99-based-standards] (SCNuFAST64): Likewise.
74700         [C99-based-standards] (SCNxFAST64): Likewise.
74701         [C99-based-standards] (PRIdMAX): Likewise.
74702         [C99-based-standards] (PRIiMAX): Likewise.
74703         [C99-based-standards] (PRIoMAX): Likewise.
74704         [C99-based-standards] (PRIuMAX): Likewise.
74705         [C99-based-standards] (PRIxMAX): Likewise.
74706         [C99-based-standards] (PRIXMAX): Likewise.
74707         [C99-based-standards] (SCNdMAX): Likewise.
74708         [C99-based-standards] (SCNiMAX): Likewise.
74709         [C99-based-standards] (SCNoMAX): Likewise.
74710         [C99-based-standards] (SCNuMAX): Likewise.
74711         [C99-based-standards] (SCNxMAX): Likewise.
74712         [C99-based-standards] (PRIdPTR): Likewise.
74713         [C99-based-standards] (PRIiPTR): Likewise.
74714         [C99-based-standards] (PRIoPTR): Likewise.
74715         [C99-based-standards] (PRIuPTR): Likewise.
74716         [C99-based-standards] (PRIxPTR): Likewise.
74717         [C99-based-standards] (PRIXPTR): Likewise.
74718         [C99-based-standards] (SCNdPTR): Likewise.
74719         [C99-based-standards] (SCNiPTR): Likewise.
74720         [C99-based-standards] (SCNoPTR): Likewise.
74721         [C99-based-standards] (SCNuPTR): Likewise.
74722         [C99-based-standards] (SCNxPTR): Likewise.
74723         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
74724         allow.
74725         * conform/data/stdint.h-data: Update comments to clarify
74726         requirements.
74727         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
74728         type.
74729         [C99-based standards] (INT8_MAX): Likewise.
74730         [C99-based standards] (INT16_MIN): Likewise.
74731         [C99-based standards] (INT16_MAX): Likewise.
74732         [C99-based standards] (INT32_MIN): Likewise.
74733         [C99-based standards] (INT32_MAX): Likewise.
74734         [C99-based standards] (INT64_MIN): Likewise.
74735         [C99-based standards] (INT64_MAX): Likewise.
74736         [C99-based standards] (UINT8_MAX): Likewise.
74737         [C99-based standards] (UINT16_MAX): Likewise.
74738         [C99-based standards] (UINT32_MAX): Likewise.
74739         [C99-based standards] (UINT64_MAX): Likewise.
74740         [C99-based standards] (INT_LEAST8_MIN): Likewise.
74741         [C99-based standards] (INT_LEAST8_MAX): Likewise.
74742         [C99-based standards] (INT_LEAST16_MIN): Likewise.
74743         [C99-based standards] (INT_LEAST16_MAX): Likewise.
74744         [C99-based standards] (INT_LEAST32_MIN): Likewise.
74745         [C99-based standards] (INT_LEAST32_MAX): Likewise.
74746         [C99-based standards] (INT_LEAST64_MIN): Likewise.
74747         [C99-based standards] (INT_LEAST64_MAX): Likewise.
74748         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
74749         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
74750         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
74751         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
74752         [C99-based standards] (INT_FAST8_MIN): Likewise.
74753         [C99-based standards] (INT_FAST8_MAX): Likewise.
74754         [C99-based standards] (INT_FAST16_MIN): Likewise.
74755         [C99-based standards] (INT_FAST16_MAX): Likewise.
74756         [C99-based standards] (INT_FAST32_MIN): Likewise.
74757         [C99-based standards] (INT_FAST32_MAX): Likewise.
74758         [C99-based standards] (INT_FAST64_MIN): Likewise.
74759         [C99-based standards] (INT_FAST64_MAX): Likewise.
74760         [C99-based standards] (UINT_FAST8_MAX): Likewise.
74761         [C99-based standards] (UINT_FAST16_MAX): Likewise.
74762         [C99-based standards] (UINT_FAST32_MAX): Likewise.
74763         [C99-based standards] (UINT_FAST64_MAX): Likewise.
74764         [C99-based standards] (INTPTR_MIN): Likewise.
74765         [C99-based standards] (INTPTR_MAX): Likewise.
74766         [C99-based standards] (UINTPTR_MAX): Likewise.
74767         [C99-based standards] (INTMAX_MIN): Likewise.
74768         [C99-based standards] (INTMAX_MAX): Likewise.
74769         [C99-based standards] (UINTMAX_MAX): Likewise.
74770         [C99-based standards] (PTRDIFF_MIN): Likewise.
74771         [C99-based standards] (PTRDIFF_MAX): Likewise.
74772         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
74773         [C99-based standards] (SIZE_MAX): Likewise.
74774         [C99-based standards] (WCHAR_MAX): Likewise.
74775         [C99-based standards] (WINT_MAX): Likewise.
74776         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
74777         constraint on value.
74778         [C99-based standards] (WCHAR_MIN): Likewise.
74779         [C99-based standards] (WINT_MIN): Likewise.
74780         [C99-based standards] (*_t): Allow.
74781         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
74782         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
74783         Include math.h-data and complex.h-data.  Remove all expectations
74784         of math.h and complex.h contents.
74785         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
74786         at end of line.
74787         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
74788         (struct tm): Expect tag.
74789         [C99-based-standards] (wcstof): Expect function.
74790         [C99-based-standards] (wcstold): Likewise.
74791         [C99-based-standards] (wcstoll): Likewise.
74792         [C99-based-standards] (wcstoull): Likewise.
74793         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
74794         macro-int-constant.  Specify type.
74795         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
74796         constraint on value.
74797         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74798         Specify type.
74799         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
74800         Specify value.
74801         [ISO C standards]: Do not allow headers.
74802         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
74803         wcs[abcdefghijklmnopqrstuvwxyz]*.
74804         [ISO C standards] (*_t): Do not allow.
74805         * conform/data/wctype.h-data [C99-based standards] (iswblank):
74806         Expect function.
74807         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
74808         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74809         Specify type.
74810         [ISO C standards]: Do not allow headers.
74811         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
74812         is[abcdefghijklmnopqrstuvwxyz]*.
74813         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
74814         to[abcdefghijklmnopqrstuvwxyz]*.
74815         [ISO C standards] (*_t): Do not allow.
74816         * conform/data/stdalign.h-data: New file.
74817         * conform/data/stdbool.h-data: Likewise.
74818         * conform/data/stdnoreturn.h-data: Likewise.
74820 2012-11-07  Roland McGrath  <roland@hack.frob.com>
74822         [BZ #14815]
74823         * manual/filesys.texi (Directory Entries): Typo fix.
74824         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
74826 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74828         * elf/elf.h (EM_AARCH64): New macro.
74829         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
74830         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
74831         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
74832         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
74833         (R_AARCH64_TLSDESC): Likewise.
74834         (NT_ARM_TLS): Likewise.
74835         (NT_ARM_HW_BREAK): Likewise.
74836         (NT_ARM_HW_WATCH): Likewise.
74838 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74840         [BZ #14811]
74841         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
74842         (__ieee754_powl): Saturate nonzero exponents with absolute value
74843         below 0x1p-79 to +/- 0x1p-79.
74844         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
74845         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
74846         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
74847         nonzero exponents with absolute value below 0x1p-32 to +/-
74848         0x1p-32.
74849         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
74850         (__ieee754_powl): Saturate nonzero exponents with absolute value
74851         below 0x1p-79 to +/- 0x1p-79.
74852         * math/libm-test.inc (pow_test): Add more tests.
74854 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74856         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
74857         _dl_s390_cap_flags with kernel. Increase string length.
74858         (_dl_s390_platforms): Add z196 and zEC12.
74860 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74862         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
74863         Change XOPEN21K to XOPEN2K.
74865 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
74867         * string/memmove.c: Use memcpy when possible.
74869 2012-11-06  Andreas Jaeger  <aj@suse.de>
74871         * po/eo.po: Update from translation team.
74873 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
74875         [BZ #14793]
74876         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
74877         exponent and small x and y exponents, scale x or y up.  Increase
74878         by 2 the exponent used in scaling up.
74879         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74880         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74881         * math/libm-test.inc (fma_test): Add more tests.
74882         (fma_test_towardzero): Likewise.
74883         (fma_test_downward): Likewise.
74884         (fma_test_upward): Likewise.
74886 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
74888         [BZ #14805]
74889         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
74890         fenv_t *.
74892         [BZ #14801]
74893         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
74894         namespace for names of struct fields.
74895         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
74896         fenv_t fields.
74897         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
74898         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
74900 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74902         [BZ #3665]
74903         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
74905 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
74907         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
74908         PTR_DEMANGLE.
74910         [BZ #5246]
74911         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
74912         PTR_DEMANGLE.
74914 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
74916         [BZ #14797]
74917         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
74918         definitely overflow as x * y not x * y + z.
74919         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74920         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74921         * math/libm-test.inc (fma_test): Add more tests.
74922         (fma_test_towardzero): Likewise.
74923         (fma_test_downward): Likewise.
74924         (fma_test_upward): Likewise.
74926 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
74928         [BZ #157]
74930         * include/stub-tag.h: Remove file.
74931         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
74932         '#include' of it.
74933         * manual/maint.texi (Porting): Don't reference it.
74934         * Makerules ($(objpfx)stubs): Likewise.
74935         * dirent/closedir.c: Don't include <stub-tag.h>.
74936         * dirent/dirfd.c: Likewise.
74937         * dirent/fdopendir.c: Likewise.
74938         * dirent/getdents.c: Likewise.
74939         * dirent/getdents64.c: Likewise.
74940         * dirent/opendir.c: Likewise.
74941         * dirent/readdir.c: Likewise.
74942         * dirent/readdir64.c: Likewise.
74943         * dirent/readdir64_r.c: Likewise.
74944         * dirent/readdir_r.c: Likewise.
74945         * dirent/rewinddir.c: Likewise.
74946         * dirent/seekdir.c: Likewise.
74947         * dirent/telldir.c: Likewise.
74948         * gmon/profil.c: Likewise.
74949         * grp/setgroups.c: Likewise.
74950         * inet/if_index.c: Likewise.
74951         * io/access.c: Likewise.
74952         * io/chdir.c: Likewise.
74953         * io/chmod.c: Likewise.
74954         * io/chown.c: Likewise.
74955         * io/close.c: Likewise.
74956         * io/dup.c: Likewise.
74957         * io/dup2.c: Likewise.
74958         * io/dup3.c: Likewise.
74959         * io/euidaccess.c: Likewise.
74960         * io/faccessat.c: Likewise.
74961         * io/fchdir.c: Likewise.
74962         * io/fchmod.c: Likewise.
74963         * io/fchmodat.c: Likewise.
74964         * io/fchown.c: Likewise.
74965         * io/fchownat.c: Likewise.
74966         * io/fcntl.c: Likewise.
74967         * io/flock.c: Likewise.
74968         * io/fstatfs.c: Likewise.
74969         * io/fstatfs64.c: Likewise.
74970         * io/fstatvfs.c: Likewise.
74971         * io/fstatvfs64.c: Likewise.
74972         * io/futimens.c: Likewise.
74973         * io/fxstat.c: Likewise.
74974         * io/fxstat64.c: Likewise.
74975         * io/fxstatat.c: Likewise.
74976         * io/fxstatat64.c: Likewise.
74977         * io/getcwd.c: Likewise.
74978         * io/isatty.c: Likewise.
74979         * io/lchmod.c: Likewise.
74980         * io/lchown.c: Likewise.
74981         * io/link.c: Likewise.
74982         * io/linkat.c: Likewise.
74983         * io/lseek.c: Likewise.
74984         * io/lseek64.c: Likewise.
74985         * io/lxstat64.c: Likewise.
74986         * io/mkdir.c: Likewise.
74987         * io/mkdirat.c: Likewise.
74988         * io/mkfifo.c: Likewise.
74989         * io/mkfifoat.c: Likewise.
74990         * io/open.c: Likewise.
74991         * io/open64.c: Likewise.
74992         * io/openat.c: Likewise.
74993         * io/openat64.c: Likewise.
74994         * io/pipe.c: Likewise.
74995         * io/pipe2.c: Likewise.
74996         * io/poll.c: Likewise.
74997         * io/posix_fadvise.c: Likewise.
74998         * io/posix_fadvise64.c: Likewise.
74999         * io/posix_fallocate.c: Likewise.
75000         * io/posix_fallocate64.c: Likewise.
75001         * io/read.c: Likewise.
75002         * io/readlink.c: Likewise.
75003         * io/readlinkat.c: Likewise.
75004         * io/rmdir.c: Likewise.
75005         * io/sendfile.c: Likewise.
75006         * io/sendfile64.c: Likewise.
75007         * io/statfs.c: Likewise.
75008         * io/statfs64.c: Likewise.
75009         * io/statvfs.c: Likewise.
75010         * io/statvfs64.c: Likewise.
75011         * io/symlink.c: Likewise.
75012         * io/symlinkat.c: Likewise.
75013         * io/ttyname.c: Likewise.
75014         * io/ttyname_r.c: Likewise.
75015         * io/umask.c: Likewise.
75016         * io/unlink.c: Likewise.
75017         * io/unlinkat.c: Likewise.
75018         * io/utime.c: Likewise.
75019         * io/utimensat.c: Likewise.
75020         * io/write.c: Likewise.
75021         * io/xmknod.c: Likewise.
75022         * io/xmknodat.c: Likewise.
75023         * io/xstat.c: Likewise.
75024         * io/xstat64.c: Likewise.
75025         * login/getpt.c: Likewise.
75026         * login/grantpt.c: Likewise.
75027         * login/unlockpt.c: Likewise.
75028         * math/e_acoshl.c: Likewise.
75029         * math/e_acosl.c: Likewise.
75030         * math/e_asinl.c: Likewise.
75031         * math/e_atan2l.c: Likewise.
75032         * math/e_atanhl.c: Likewise.
75033         * math/e_coshl.c: Likewise.
75034         * math/e_expl.c: Likewise.
75035         * math/e_fmodl.c: Likewise.
75036         * math/e_gammal_r.c: Likewise.
75037         * math/e_hypotl.c: Likewise.
75038         * math/e_j0l.c: Likewise.
75039         * math/e_j1l.c: Likewise.
75040         * math/e_jnl.c: Likewise.
75041         * math/e_lgammal_r.c: Likewise.
75042         * math/e_log10l.c: Likewise.
75043         * math/e_log2l.c: Likewise.
75044         * math/e_logl.c: Likewise.
75045         * math/e_powl.c: Likewise.
75046         * math/e_rem_pio2l.c: Likewise.
75047         * math/e_sinhl.c: Likewise.
75048         * math/e_sqrtl.c: Likewise.
75049         * math/fclrexcpt.c: Likewise.
75050         * math/fedisblxcpt.c: Likewise.
75051         * math/feenablxcpt.c: Likewise.
75052         * math/fegetenv.c: Likewise.
75053         * math/fegetexcept.c: Likewise.
75054         * math/fegetround.c: Likewise.
75055         * math/feholdexcpt.c: Likewise.
75056         * math/fesetenv.c: Likewise.
75057         * math/fesetround.c: Likewise.
75058         * math/feupdateenv.c: Likewise.
75059         * math/fgetexcptflg.c: Likewise.
75060         * math/fraiseexcpt.c: Likewise.
75061         * math/fsetexcptflg.c: Likewise.
75062         * math/ftestexcept.c: Likewise.
75063         * math/k_cosl.c: Likewise.
75064         * math/k_rem_pio2l.c: Likewise.
75065         * math/k_sinl.c: Likewise.
75066         * math/k_tanl.c: Likewise.
75067         * math/s_asinhl.c: Likewise.
75068         * math/s_atanl.c: Likewise.
75069         * math/s_cbrtl.c: Likewise.
75070         * math/s_erfl.c: Likewise.
75071         * math/s_expm1l.c: Likewise.
75072         * math/s_log1pl.c: Likewise.
75073         * math/s_tanhl.c: Likewise.
75074         * misc/acct.c: Likewise.
75075         * misc/brk.c: Likewise.
75076         * misc/chflags.c: Likewise.
75077         * misc/chroot.c: Likewise.
75078         * misc/fchflags.c: Likewise.
75079         * misc/fgetxattr.c: Likewise.
75080         * misc/flistxattr.c: Likewise.
75081         * misc/fremovexattr.c: Likewise.
75082         * misc/fsetxattr.c: Likewise.
75083         * misc/fsync.c: Likewise.
75084         * misc/ftruncate.c: Likewise.
75085         * misc/futimes.c: Likewise.
75086         * misc/futimesat.c: Likewise.
75087         * misc/getdomain.c: Likewise.
75088         * misc/getdtsz.c: Likewise.
75089         * misc/gethostid.c: Likewise.
75090         * misc/gethostname.c: Likewise.
75091         * misc/getloadavg.c: Likewise.
75092         * misc/getpagesize.c: Likewise.
75093         * misc/getsysstats.c: Likewise.
75094         * misc/getxattr.c: Likewise.
75095         * misc/gtty.c: Likewise.
75096         * misc/ioctl.c: Likewise.
75097         * misc/lgetxattr.c: Likewise.
75098         * misc/listxattr.c: Likewise.
75099         * misc/llistxattr.c: Likewise.
75100         * misc/lremovexattr.c: Likewise.
75101         * misc/lsetxattr.c: Likewise.
75102         * misc/lutimes.c: Likewise.
75103         * misc/madvise.c: Likewise.
75104         * misc/mincore.c: Likewise.
75105         * misc/mlock.c: Likewise.
75106         * misc/mlockall.c: Likewise.
75107         * misc/mmap.c: Likewise.
75108         * misc/mprotect.c: Likewise.
75109         * misc/msync.c: Likewise.
75110         * misc/munlock.c: Likewise.
75111         * misc/munlockall.c: Likewise.
75112         * misc/munmap.c: Likewise.
75113         * misc/preadv.c: Likewise.
75114         * misc/preadv64.c: Likewise.
75115         * misc/ptrace.c: Likewise.
75116         * misc/pwritev.c: Likewise.
75117         * misc/pwritev64.c: Likewise.
75118         * misc/readv.c: Likewise.
75119         * misc/reboot.c: Likewise.
75120         * misc/remap_file_pages.c: Likewise.
75121         * misc/removexattr.c: Likewise.
75122         * misc/revoke.c: Likewise.
75123         * misc/select.c: Likewise.
75124         * misc/setdomain.c: Likewise.
75125         * misc/setegid.c: Likewise.
75126         * misc/seteuid.c: Likewise.
75127         * misc/sethostid.c: Likewise.
75128         * misc/sethostname.c: Likewise.
75129         * misc/setregid.c: Likewise.
75130         * misc/setreuid.c: Likewise.
75131         * misc/setxattr.c: Likewise.
75132         * misc/sstk.c: Likewise.
75133         * misc/stty.c: Likewise.
75134         * misc/swapoff.c: Likewise.
75135         * misc/swapon.c: Likewise.
75136         * misc/sync.c: Likewise.
75137         * misc/syncfs.c: Likewise.
75138         * misc/syscall.c: Likewise.
75139         * misc/truncate.c: Likewise.
75140         * misc/ualarm.c: Likewise.
75141         * misc/usleep.c: Likewise.
75142         * misc/ustat.c: Likewise.
75143         * misc/utimes.c: Likewise.
75144         * misc/vhangup.c: Likewise.
75145         * misc/writev.c: Likewise.
75146         * posix/_exit.c: Likewise.
75147         * posix/alarm.c: Likewise.
75148         * posix/execve.c: Likewise.
75149         * posix/fexecve.c: Likewise.
75150         * posix/fork.c: Likewise.
75151         * posix/fpathconf.c: Likewise.
75152         * posix/getaddrinfo.c: Likewise.
75153         * posix/getegid.c: Likewise.
75154         * posix/geteuid.c: Likewise.
75155         * posix/getgid.c: Likewise.
75156         * posix/getgroups.c: Likewise.
75157         * posix/getlogin.c: Likewise.
75158         * posix/getlogin_r.c: Likewise.
75159         * posix/getpgid.c: Likewise.
75160         * posix/getpid.c: Likewise.
75161         * posix/getppid.c: Likewise.
75162         * posix/getresgid.c: Likewise.
75163         * posix/getresuid.c: Likewise.
75164         * posix/getsid.c: Likewise.
75165         * posix/getuid.c: Likewise.
75166         * posix/glob64.c: Likewise.
75167         * posix/nanosleep.c: Likewise.
75168         * posix/pathconf.c: Likewise.
75169         * posix/pause.c: Likewise.
75170         * posix/posix_madvise.c: Likewise.
75171         * posix/pread.c: Likewise.
75172         * posix/pread64.c: Likewise.
75173         * posix/pwrite.c: Likewise.
75174         * posix/pwrite64.c: Likewise.
75175         * posix/sched_getaffinity.c: Likewise.
75176         * posix/sched_getp.c: Likewise.
75177         * posix/sched_gets.c: Likewise.
75178         * posix/sched_primax.c: Likewise.
75179         * posix/sched_primin.c: Likewise.
75180         * posix/sched_rr_gi.c: Likewise.
75181         * posix/sched_setaffinity.c: Likewise.
75182         * posix/sched_setp.c: Likewise.
75183         * posix/sched_sets.c: Likewise.
75184         * posix/sched_yield.c: Likewise.
75185         * posix/setgid.c: Likewise.
75186         * posix/setlogin.c: Likewise.
75187         * posix/setpgid.c: Likewise.
75188         * posix/setresgid.c: Likewise.
75189         * posix/setresuid.c: Likewise.
75190         * posix/setsid.c: Likewise.
75191         * posix/setuid.c: Likewise.
75192         * posix/sleep.c: Likewise.
75193         * posix/spawni.c: Likewise.
75194         * posix/sysconf.c: Likewise.
75195         * posix/times.c: Likewise.
75196         * posix/wait.c: Likewise.
75197         * posix/wait3.c: Likewise.
75198         * posix/wait4.c: Likewise.
75199         * posix/waitpid.c: Likewise.
75200         * resolv/gai_sigqueue.c: Likewise.
75201         * resource/getpriority.c: Likewise.
75202         * resource/getrlimit.c: Likewise.
75203         * resource/getrusage.c: Likewise.
75204         * resource/nice.c: Likewise.
75205         * resource/setpriority.c: Likewise.
75206         * resource/setrlimit.c: Likewise.
75207         * resource/ulimit.c: Likewise.
75208         * rt/aio_cancel.c: Likewise.
75209         * rt/aio_fsync.c: Likewise.
75210         * rt/aio_read.c: Likewise.
75211         * rt/aio_sigqueue.c: Likewise.
75212         * rt/aio_suspend.c: Likewise.
75213         * rt/aio_write.c: Likewise.
75214         * rt/clock_getres.c: Likewise.
75215         * rt/clock_gettime.c: Likewise.
75216         * rt/clock_nanosleep.c: Likewise.
75217         * rt/clock_settime.c: Likewise.
75218         * rt/lio_listio.c: Likewise.
75219         * rt/mq_close.c: Likewise.
75220         * rt/mq_getattr.c: Likewise.
75221         * rt/mq_notify.c: Likewise.
75222         * rt/mq_open.c: Likewise.
75223         * rt/mq_receive.c: Likewise.
75224         * rt/mq_send.c: Likewise.
75225         * rt/mq_setattr.c: Likewise.
75226         * rt/mq_timedreceive.c: Likewise.
75227         * rt/mq_timedsend.c: Likewise.
75228         * rt/mq_unlink.c: Likewise.
75229         * rt/shm_open.c: Likewise.
75230         * rt/shm_unlink.c: Likewise.
75231         * rt/timer_create.c: Likewise.
75232         * rt/timer_delete.c: Likewise.
75233         * rt/timer_getoverr.c: Likewise.
75234         * rt/timer_gettime.c: Likewise.
75235         * rt/timer_settime.c: Likewise.
75236         * setjmp/__longjmp.c: Likewise.
75237         * setjmp/setjmp.c: Likewise.
75238         * signal/kill.c: Likewise.
75239         * signal/killpg.c: Likewise.
75240         * signal/raise.c: Likewise.
75241         * signal/sigaction.c: Likewise.
75242         * signal/sigaltstack.c: Likewise.
75243         * signal/sigblock.c: Likewise.
75244         * signal/sigignore.c: Likewise.
75245         * signal/sigintr.c: Likewise.
75246         * signal/signal.c: Likewise.
75247         * signal/sigpause.c: Likewise.
75248         * signal/sigpending.c: Likewise.
75249         * signal/sigqueue.c: Likewise.
75250         * signal/sigreturn.c: Likewise.
75251         * signal/sigset.c: Likewise.
75252         * signal/sigsetmask.c: Likewise.
75253         * signal/sigstack.c: Likewise.
75254         * signal/sigsuspend.c: Likewise.
75255         * signal/sigtimedwait.c: Likewise.
75256         * signal/sigvec.c: Likewise.
75257         * signal/sigwait.c: Likewise.
75258         * signal/sigwaitinfo.c: Likewise.
75259         * signal/sysv_signal.c: Likewise.
75260         * socket/accept.c: Likewise.
75261         * socket/accept4.c: Likewise.
75262         * socket/bind.c: Likewise.
75263         * socket/connect.c: Likewise.
75264         * socket/getpeername.c: Likewise.
75265         * socket/getsockname.c: Likewise.
75266         * socket/getsockopt.c: Likewise.
75267         * socket/isfdtype.c: Likewise.
75268         * socket/listen.c: Likewise.
75269         * socket/recv.c: Likewise.
75270         * socket/recvfrom.c: Likewise.
75271         * socket/recvmsg.c: Likewise.
75272         * socket/send.c: Likewise.
75273         * socket/sendmsg.c: Likewise.
75274         * socket/sendto.c: Likewise.
75275         * socket/setsockopt.c: Likewise.
75276         * socket/shutdown.c: Likewise.
75277         * socket/sockatmark.c: Likewise.
75278         * socket/socket.c: Likewise.
75279         * socket/socketpair.c: Likewise.
75280         * stdio-common/ctermid.c: Likewise.
75281         * stdio-common/cuserid.c: Likewise.
75282         * stdio-common/remove.c: Likewise.
75283         * stdio-common/rename.c: Likewise.
75284         * stdio-common/renameat.c: Likewise.
75285         * stdio-common/tempname.c: Likewise.
75286         * stdlib/getcontext.c: Likewise.
75287         * stdlib/makecontext.c: Likewise.
75288         * stdlib/setcontext.c: Likewise.
75289         * stdlib/swapcontext.c: Likewise.
75290         * stdlib/system.c: Likewise.
75291         * streams/fattach.c: Likewise.
75292         * streams/fdetach.c: Likewise.
75293         * streams/getmsg.c: Likewise.
75294         * streams/getpmsg.c: Likewise.
75295         * streams/putmsg.c: Likewise.
75296         * streams/putpmsg.c: Likewise.
75297         * sysdeps/unix/bsd/getpt.c: Likewise.
75298         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
75299         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
75300         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
75301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75302         Likewise.
75303         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
75304         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75305         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
75306         * sysvipc/msgctl.c: Likewise.
75307         * sysvipc/msgget.c: Likewise.
75308         * sysvipc/msgrcv.c: Likewise.
75309         * sysvipc/msgsnd.c: Likewise.
75310         * sysvipc/semctl.c: Likewise.
75311         * sysvipc/semget.c: Likewise.
75312         * sysvipc/semop.c: Likewise.
75313         * sysvipc/semtimedop.c: Likewise.
75314         * sysvipc/shmat.c: Likewise.
75315         * sysvipc/shmctl.c: Likewise.
75316         * sysvipc/shmdt.c: Likewise.
75317         * sysvipc/shmget.c: Likewise.
75318         * termios/tcdrain.c: Likewise.
75319         * termios/tcflow.c: Likewise.
75320         * termios/tcflush.c: Likewise.
75321         * termios/tcgetattr.c: Likewise.
75322         * termios/tcgetpgrp.c: Likewise.
75323         * termios/tcsendbrk.c: Likewise.
75324         * termios/tcsetattr.c: Likewise.
75325         * termios/tcsetpgrp.c: Likewise.
75326         * time/adjtime.c: Likewise.
75327         * time/clock.c: Likewise.
75328         * time/getitimer.c: Likewise.
75329         * time/gettimeofday.c: Likewise.
75330         * time/setitimer.c: Likewise.
75331         * time/settimeofday.c: Likewise.
75332         * time/stime.c: Likewise.
75333         * time/time.c: Likewise.
75335 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
75337         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
75338         /usr/old/bin.
75340         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
75341         instead of spaces.
75342         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
75344 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
75346         [BZ #14796]
75347         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
75348         FE_TONEAREST before applying Dekker multiplication and Knuth
75349         addition.  Clear inexact exceptions and check for exact zero
75350         results afterwards.
75351         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75352         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
75353         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75354         * math/libm-test.inc (fma_test): Add more tests.
75355         (fma_test_towardzero): Likewise.
75356         (fma_test_downward): Likewise.
75357         (fma_test_upward): Likewise.
75358         * sysdeps/generic/math_private.h (default_libc_fesetround): New
75359         function.
75360         (libc_fesetround): New macro.
75361         (libc_fesetroundf): Likewise.
75362         (libc_fesetroundl): Likewise.
75363         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
75364         function.
75365         (libc_fesetround_387): Likewise.
75366         (libc_fesetroundf): New macro.
75367         (libc_fesetround): Likewise.
75368         (libc_fesetroundl): Likewise.
75369         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
75370         function.
75371         (libc_fesetroundf): New macro.
75372         (libc_fesetround): Likewise.
75373         (libc_fesetroundl): Likewise.
75374         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
75375         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
75376         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
75377         libm_hidden_ver.
75378         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
75379         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
75380         libm_hidden_def.
75381         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
75382         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
75383         libm_hidden_ver.
75384         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
75385         libm_hidden_def.
75387         [BZ #3439]
75388         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
75389         integer constant usable in #if and use that to give value to enum
75390         constant.
75391         (FE_DIVBYZERO): Likewise.
75392         (FE_UNDERFLOW): Likewise.
75393         (FE_OVERFLOW): Likewise.
75394         (FE_INVALID): Likewise.
75395         (FE_INVALID_SNAN): Likewise.
75396         (FE_INVALID_ISI): Likewise.
75397         (FE_INVALID_IDI): Likewise.
75398         (FE_INVALID_ZDZ): Likewise.
75399         (FE_INVALID_IMZ): Likewise.
75400         (FE_INVALID_COMPARE): Likewise.
75401         (FE_INVALID_SOFTWARE): Likewise.
75402         (FE_INVALID_SQRT): Likewise.
75403         (FE_INVALID_INTEGER_CONVERSION): Likewise.
75404         (FE_TONEAREST): Likewise.
75405         (FE_TOWARDZERO): Likewise.
75406         (FE_UPWARD): Likewise.
75407         (FE_DOWNWARD): Likewise.
75408         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
75409         (FE_DIVBYZERO): Likewise.
75410         (FE_OVERFLOW): Likewise.
75411         (FE_UNDERFLOW): Likewise.
75412         (FE_INEXACT): Likewise.
75413         (FE_TONEAREST): Likewise.
75414         (FE_DOWNWARD): Likewise.
75415         (FE_UPWARD): Likewise.
75416         (FE_TOWARDZERO): Likewise.
75417         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
75418         (FE_UNDERFLOW): Likewise.
75419         (FE_OVERFLOW): Likewise.
75420         (FE_DIVBYZERO): Likewise.
75421         (FE_INVALID): Likewise.
75422         (FE_TONEAREST): Likewise.
75423         (FE_TOWARDZERO): Likewise.
75424         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
75425         (FE_OVERFLOW): Likewise.
75426         (FE_UNDERFLOW): Likewise.
75427         (FE_DIVBYZERO): Likewise.
75428         (FE_INEXACT): Likewise.
75429         (FE_TONEAREST): Likewise.
75430         (FE_TOWARDZERO): Likewise.
75431         (FE_UPWARD): Likewise.
75432         (FE_DOWNWARD): Likewise.
75433         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
75434         (FE_DIVBYZERO): Likewise.
75435         (FE_OVERFLOW): Likewise.
75436         (FE_UNDERFLOW): Likewise.
75437         (FE_INEXACT): Likewise.
75438         (FE_TONEAREST): Likewise.
75439         (FE_DOWNWARD): Likewise.
75440         (FE_UPWARD): Likewise.
75441         (FE_TOWARDZERO): Likewise.
75443 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
75445         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
75447 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
75449         * scripts/cross-test-ssh.sh (command): Use newlines to separate
75450         commands.  Quote $PWD.
75451         (blacklist_exports): Don't use remove_newlines.  Replace "declare
75452         -x" by "export".
75453         (remove_newlines): Remove.
75455 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
75457         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
75458         * stdlib/stdlib.h (atof): Moved to ...
75459         * include/bits/stdlib-float.h: Here.  New file.
75460         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
75461         * stdlib/bits/stdlib-float.h: New file.
75462         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
75463         -mno-sse -mno-mmx.
75464         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
75465         <xmmintrin.h>.
75467 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
75469         * conform/conformtest.pl (@headers): Add fenv.h.
75470         * conform/data/fenv.h-data: New file.
75471         * include/fenv.h [_ISOMAC]: Disable all contents of file except
75472         include of <math/fenv.h>.
75474         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
75475         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
75476         && !UNIX98].  Enables tests for XOPEN2K8.
75477         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
75478         POSIX2008]: Likewise.
75480         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
75481         (struct rusage): Do not expect type or its members.
75483         [BZ #3439]
75484         * math/math.h (FP_NAN): Define macro to integer constant usable in
75485         #if and use that to give value to enum constant.
75486         (FP_INFINITE): Likewise.
75487         (FP_ZERO): Likewise.
75488         (FP_SUBNORMAL): Likewise.
75489         (FP_NORMAL): Likewise.
75491 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
75493         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
75494         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
75495         arguments.
75497 2012-11-02  Roland McGrath  <roland@hack.frob.com>
75499         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
75500         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
75501         autoconf-time if not.
75502         * configure.in: Remove AC_PREREQ.
75504 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75506         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
75507         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
75508         of the internal implementation.
75510 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
75512         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
75513         except include of <misc/sys/syslog.h>.
75515 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
75518         function returns with a NULL context exit with zero.
75520 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75522         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
75524 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
75526         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
75527         (run_program_cmd): This.
75528         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
75529         (tst_langinfo): New variable.  Use it.
75531 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
75533         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
75534         floating point opcodes.
75536 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75538         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
75539         variable.
75541         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
75543         * sysdeps/mach/hurd/powerpc: Remove directory.
75544         * sysdeps/mach/powerpc: Likewise.
75546 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75548         * scripts/check-local-headers.sh: Ignore c++ headers.
75550 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75552         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
75553         __libc_cleanup_region_start argument.
75555 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
75557         [BZ #14784]
75558         [BZ #14785]
75559         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
75560         x * y using scaling, not as x * y + z.
75561         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75562         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75563         * math/libm-test.inc (fma_test): Add more tests.
75564         (fma_test_towardzero): Likewise.
75565         (fma_test_downward): Likewise.
75566         (fma_test_upward): Likewise.
75568 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75570         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
75572 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
75574         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
75575         New variable.
75577 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
75579         * rt/tst-shm.c (worker): Correct checking for mmap failure.
75581 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
75583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75584         Fix sort order.
75585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75586         Likewise.
75588 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75591         Fix the order of the list for glibc 2.17.
75592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75593         Likewise.
75595 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
75597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75599 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
75601         [BZ #14610]
75602         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
75603         for low part of x being zero before using __atanl (y).
75604         * math/libm-test.inc (atan2_test): Add another test.
75606         * manual/install.texi (Configuring and compiling): Document
75607         general use of test-wrapper and test-wrapper-env.
75608         * INSTALL: Regenerated.
75610         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
75611         (__fma): Do not extract and scale down low bits on after-rounding
75612         systems when result rounded to normal precision would have normal
75613         exponent.
75614         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
75615         (__fmal): Do not extract and scale down low bits on after-rounding
75616         systems when result rounded to normal precision would have normal
75617         exponent.
75618         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
75619         (__fmal): Do not extract and scale down low bits on after-rounding
75620         systems when result rounded to normal precision would have normal
75621         exponent.
75622         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
75623         macro.
75624         (fma_test): Add more tests.
75625         (fma_test_towardzero): Likewise.
75626         (fma_test_downward): Likewise.
75627         (fma_test_upward): Likewise.
75629 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
75631         * sysdeps/i386/tininess.h: Renamed to ...
75632         * sysdeps/x86/tininess.h: This.
75633         * sysdeps/x86_64/tininess.h: Removed.
75635 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
75637         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
75638         input.  Use $(build-program-cmd).
75639         ($(objpfx)tst-array1-static.out): Likewise.
75640         ($(objpfx)tst-array2.out): Likewise.
75641         ($(objpfx)tst-array3.out): Likewise.
75642         ($(objpfx)tst-array4.out): Likewise.
75643         ($(objpfx)tst-array5.out): Likewise.
75644         ($(objpfx)tst-array5-static.out): Likewise.
75646 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
75648         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
75649         if defined.
75651         * nss/nsswitch.h (nss_interface_function): Provide new
75652         macro for use with NSS functions.
75653         * grp/initgroups.c: Use new macro.
75654         * nss/getXXbyYY.c: Likewise.
75655         * nss/getXXbyYY_r.c: Likewise.
75656         * nss/getXXent.c: Likewise.
75657         * nss/getXXent_r.c: Likewise.
75658         * sysdeps/posix/getaddrinfo.c: Likewise.
75660 2012-10-30  Andreas Jaeger  <aj@suse.de>
75662         * po/ru.po: Update Russion translation from translation project.
75664 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
75666         [BZ #14152]
75667         [BZ #14783]
75668         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
75669         result and shift together with sticky bit instead of replicating
75670         round-to-nearest rounding.
75671         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75672         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75673         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
75674         missing underflow exceptions.
75675         (fma_test_towardzero): Add more tests.
75676         (fma_test_downward): Likewise.
75677         (fma_test_upward): Likewise.
75679         [BZ #14047]
75680         * sysdeps/generic/tininess.h: New file.
75681         * sysdeps/i386/tininess.h: Likewise.
75682         * sysdeps/sh/tininess.h: Likewise.
75683         * sysdeps/x86_64/tininess.h: Likewise.
75684         * stdlib/tst-strtod-underflow.c: Likewise.
75685         * stdlib/tst-tininess.c: Likewise.
75686         * stdlib/strtod_l.c: Include <tininess.h>.
75687         (round_and_return): Do not set errno for exact underflow cases.
75688         Force an underflow exception when setting errno for underflow.
75689         Determine underflow based on rounding to normal precision if
75690         TININESS_AFTER_ROUNDING.
75691         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
75692         ERANGE for exact underflow cases.
75693         * stdlib/Makefile (tests): Add tst-tininess and
75694         tst-strtod-underflow.
75695         ($(objpfx)tst-tininess): Use $(link-libm).
75696         ($(objpfx)tst-strtod-underflow): Likewise.
75698 2012-10-30  Andreas Jaeger  <aj@suse.de>
75700         [BZ #14767]
75701         * elf/Makefile (tests): Remove conditional for have-initfini-array
75702         since this is now always required and the variable does not exist
75703         anymore.
75704         (tests-static): Likewise.
75705         (modules-names): Likewise.
75707         * po/eo.po: Add Esperanto translation from translation project.
75709         * elf/tst-array1.c (fini_array): Make writeable so that it can be
75710         merged with constructor/destructor.
75711         (init_array): Likewise.
75712         * elf/tst-array2dep.c (fini_array): Likewise.
75713         (init_array): Likewise.
75715 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
75717         * manual/message.texi: Delete @cartouche tags.
75719 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
75721         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
75722         EOPNOTSUPP.
75723         * sysdeps/mach/hurd/fsync.c: Likewise.
75725         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
75726         [_POSIX_REALTIME_SIGNALS]: Change condition to
75727         [_POSIX_REALTIME_SIGNALS > 0].
75729 2012-10-27  Andreas Jaeger  <aj@suse.de>
75731         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
75732         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
75733         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
75734         [__WORDSIZE != 64]: Likewise.
75736 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
75738         *  iconvdata/tst-table.sh: Remove ${SHELL}.
75739         *  iconvdata/tst-tables.sh: Likewise.
75741 2012-10-25  David S. Miller  <davem@davemloft.net>
75743         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75744         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
75745         of strtoull.
75747         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
75748         ifunc-impl-list.c
75749         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75750         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
75751         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
75752         file.
75754 2012-10-25  Roland McGrath  <roland@hack.frob.com>
75756         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75757         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
75758         __getdirentries.
75760 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
75761             Jim Blandy  <jimb@codesourcery.com>
75763         * scripts/cross-test-ssh.sh: New file.
75764         * manual/install.texi (Configuring and compiling): Document use of
75765         cross-test-ssh.sh.
75766         * INSTALL: Regenerated.
75768 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
75770         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
75771         EOPNOTSUPP.
75773 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
75775         * Makeconfig (run-program-prefix): Fix comment.
75777 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
75778             Jim Blandy  <jimb@codesourcery.com>
75780         * Makeconfig (test-wrapper): New variable,
75781         (test-wrapper-env): Likewise.
75782         [$(cross-compiling) = yes && $(test-wrapper) != ""]
75783         (run-built-tests): Define to yes.
75784         (run-program-prefix): Use $(test-wrapper).
75785         (built-program-cmd): Likewise.
75786         * Rules (make-test-out): Use $(test-wrapper-env) and
75787         $(host-built-program-cmd).
75788         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
75789         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
75790         tst-pathopt.sh.
75791         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
75792         $(test-wrapper-env) to tst-rtld-load-self.sh.
75793         ($(objpfx)order2.out): Use $(test-wrapper).
75794         ($(objpfx)tst-initorder.out): Likewise.
75795         ($(objpfx)tst-initorder2.out): Likewise.
75796         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
75797         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
75798         (test_wrapper_env): New variable.  Use it to run ld.so.
75799         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
75800         Use it to run ld.so.
75801         (test_wrapper_env): Likewise.
75802         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
75803         $(test-wrapper) to run-iconv-test.sh.
75804         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
75805         (ICONV): Use $test_wrapper.
75806         * posix/Makefile ($(objpfx)globtest.out): Pass
75807         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
75808         globtest.sh, not $(run-program-prefix).
75809         * posix/globtest.sh (run_via_rtld_prefix): New variable.
75810         (test_wrapper): Likewise.
75811         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
75812         set together with run_via_rtld_prefix.
75813         (run_program_prefix): Define in terms of test_wrapper and
75814         run_via_rtld_prefix.
75816 2012-10-24  Roland McGrath  <roland@hack.frob.com>
75818         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
75819         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
75820         Targets removed.
75822         [BZ #14743]
75823         * include/time.h: Remove librt_hidden_proto (clock_gettime).
75824         Declare __clock_getres, __clock_gettime, __clock_settime,
75825         __clock_nanosleep, and __clock_getcpuclockid.
75826         * rt/clock_gettime.c: Define __clock_gettime as an alias.
75827         Remove librt_hidden_def (clock_gettime).
75828         * sysdeps/unix/clock_gettime.c: Likewise.
75829         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
75830         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
75831         * rt/clock_getres.c: Define __clock_getres as an alias.
75832         * sysdeps/posix/clock_getres.c: Likewise.
75833         * rt/clock_settime.c: Define __clock_settime as an alias.
75834         * sysdeps/unix/clock_settime.c: Likewise.
75835         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
75836         * sysdeps/unix/clock_nanosleep.c: Likewise.
75837         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
75838         * rt/clock-compat.c: New file.
75839         * rt/Makefile (librt-routines): Add clock-compat and move
75840         $(clock-routines) to ...
75841         (routines): ... here, new variable.
75842         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
75843         Don't add get_clockfreq here.
75844         * rt/Versions (libc: GLIBC_2.17): New version set.
75845         Add clock_* symbols here.
75846         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
75847         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
75848         (GLIBC_2.17): Add clock_* symbols.
75849         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75850         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75851         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75853         Likewise.
75854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75855         Likewise.
75856         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75857         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75860         * NEWS: Mention the move.
75862         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
75863         Use __open, __read, __close rather than their public counterparts.
75864         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75865         (__get_clockfreq_via_cpuinfo): Likewise.
75866         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
75867         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
75869         * config.h.in (HAVE_IFUNC): New #undef.
75870         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
75871         was successful.
75872         * configure: Regenerated.
75874 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
75876         * configure.in: Move READELF check to start of file.
75877         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
75878         libc_cv_asm_gnu_indirect_function in the process.
75879         * configure: Regenerated.
75881 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
75883         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
75884         send the output to /dev/null.
75885         (libc_cv_cc_with_libunwind): Likewise.
75886         (libc_cv_as_noexecstack): Likewise.
75887         * configure: Regenerate.
75889 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
75891         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
75893         * posix/globtest.sh (TMPDIR): Do not set.
75894         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
75895         (testout): Likewise.
75897 2012-10-24  Andreas Jaeger  <aj@suse.de>
75899         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
75900         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
75901         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
75902         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
75903         posix_fadvise64, posix_fallocate64.
75905         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
75906         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
75907         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
75908         Likewise.
75909         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
75910         Likewise.
75911         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
75913         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
75914         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
75915         <bits/fcntl-linux.h>.
75916         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
75918         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
75919         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
75920         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
75921         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
75922         [__WORDSIZE != 64]: Likewise.
75924 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
75926         * Makeconfig (run-built-tests): New variable.
75927         * Rules [$(cross-compiling) = yes]: Change condition to
75928         [$(run-built-tests) = no].
75929         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
75930         to [$(run-built-tests) = yes].
75931         * elf/Makefile [$(cross-compiling) = no]: Likewise.
75932         * grp/Makefile [$(cross-compiling) = no]: Likewise.
75933         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
75934         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
75935         * intl/Makefile [$(cross-compiling) = no]: Likewise.
75936         * io/Makefile [$(cross-compiling) = no]: Likewise.
75937         * libio/Makefile [$(cross-compiling) = no]: Likewise.
75938         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
75939         * misc/Makefile [$(cross-compiling) = no]: Likewise.
75940         * posix/Makefile [$(cross-compiling) = no]: Likewise.
75941         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
75942         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
75943         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
75944         * string/Makefile [$(cross-compiling) = no]: Likewise.
75946         * posix/Makefile ($(objpfx)globtest.out): Pass
75947         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
75948         $(rtld-installed-name).
75949         * posix/globtest.sh (elf_objpfx): Remove variable.
75950         (rtld_installed_name): Likewise.
75951         (library_path): Likewise.
75952         (run_program_prefix): New variable.  Use for running globtest
75953         binary.
75955 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
75956             Joseph Myers  <joseph@codesourcery.com>
75958         * Makeconfig (host-built-program-cmd): New variable.
75959         * elf/Makefile (tst-stackguard1-ARGS): Use
75960         $(host-built-program-cmd).
75961         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
75962         (tst-spawn-ARGS): Likewise.
75963         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
75965 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
75966             Jim Blandy  <jimb@codesourcery.com>
75968         * Makeconfig (run-via-rtld-prefix): New variable.
75969         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
75970         (built-program-cmd): Likewise.
75972 2012-10-22  Andreas Jaeger  <aj@suse.de>
75974         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
75975         __O_RSYNC if it exists, otherwise to O_SYNC.
75977 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
75978             Joseph Myers  <joseph@codesourcery.com>
75980         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
75981         /dev/null.
75982         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
75983         from /dev/null
75984         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
75985         /dev/null.
75987 2012-10-22  Andreas Jaeger  <aj@suse.de>
75989         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
75990         Define always.
75991         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
75993         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75994         bits/fcntl-linux.h.
75996         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
75997         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
75999         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
76000         to __O_LARGEFILE.
76001         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
76002         to __O_LARGEFILE.
76004 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
76005             Joseph Myers  <joseph@codesourcery.com>
76007         * config.make.in (NM): New variable.
76009 2012-10-21  Andreas Jaeger  <aj@suse.de>
76011         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
76012         definitions and declarations that are provided by
76013         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
76015 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
76017         [BZ #14683]
76018         * elf/Makefile (tests-static): Add tst-leaks1-static.
76019         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
76020         ($(objpfx)tst-leaks1-static): New rule.
76021         ($(objpfx)tst-leaks1-static-mem): Likewise.
76022         (tst-leaks1-static-ENV): New macro.
76023         * elf/dl-open.c (dl_open_worker): Check the main application
76024         only if SHARED is defined.
76025         * elf/tst-leaks1-static.c: New file.
76027 2012-10-20  Andreas Jaeger  <aj@suse.de>
76029         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
76030         generic values for Linux.
76031         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
76032         and declarations that are provided by <bits/fcntl-linux.h> and
76033         include <bits/fcntl-linux.h>.
76034         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76035         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76037 2012-10-20  Roland McGrath  <roland@hack.frob.com>
76039         * io/fcntl.h: Move include of <bits/types.h> to the top and
76040         include it unconditionally.
76042 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
76044         * wcsmbs/Makefile (tests-ifunc): New variable.
76045         (tests): Add $(tests-ifunc).
76046         * wcsmbs/test-wcschr-ifunc.c: New file.
76047         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
76048         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
76049         * wcsmbs/test-wcslen-ifunc.c: Likewise.
76050         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
76051         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
76053         * string/Makefile (tests-ifunc): New variable.
76054         (tests): Add $(tests-ifunc).
76055         * string/test-memccpy.c (TEST_NAME): New macro.
76056         * string/test-memchr.c (TEST_NAME): Likewise.
76057         * string/test-memcmp.c (TEST_NAME): Likewise.
76058         * string/test-memcpy.c (TEST_NAME): Likewise.
76059         * string/test-memmem.c (TEST_NAME): Likewise.
76060         * string/test-memmove.c (TEST_NAME): Likewise.
76061         * string/test-memset.c (TEST_NAME): Likewise.
76062         * string/test-rawmemchr.c (TEST_NAME): Likewise.
76063         * string/test-stpcpy.c (TEST_NAME): Likewise.
76064         * string/test-stpncpy.c (TEST_NAME): Likewise.
76065         * string/test-strcasecmp.c (TEST_NAME): Likewise.
76066         * string/test-strcasestr.c (TEST_NAME): Likewise.
76067         * string/test-strcat.c (TEST_NAME): Likewise.
76068         * string/test-strchr.c (TEST_NAME): Likewise.
76069         * string/test-strcmp.c(TEST_NAME): Likewise.
76070         * string/test-strcpy.c (TEST_NAME): Likewise.
76071         * string/test-strcspn.c (TEST_NAME): Likewise.
76072         * string/test-strlen.c (TEST_NAME): Likewise.
76073         * string/test-strncasecmp.c (TEST_NAME): Likewise.
76074         * string/test-strncmp.c (TEST_NAME): Likewise.
76075         * string/test-strncpy.c (TEST_NAME): Likewise.
76076         * string/test-strnlen.c (TEST_NAME): Likewise.
76077         * string/test-strpbrk.c (TEST_NAME): Likewise.
76078         * string/test-strrchr.c (TEST_NAME): Likewise.
76079         * string/test-strspn.c (TEST_NAME): Likewise.
76080         * string/test-strstr.c (TEST_NAME): Likewise.
76081         * string/test-bcopy-ifunc.c: New file.
76082         * string/test-bzero-ifunc.c: Likewise.
76083         * string/test-memccpy-ifunc.c: Likewise.
76084         * string/test-memchr-ifunc.c: Likewise.
76085         * string/test-memcmp-ifunc.c: Likewise.
76086         * string/test-memcpy-ifunc.c: Likewise.
76087         * string/test-memmem-ifunc.c: Likewise.
76088         * string/test-memmove-ifunc.c: Likewise.
76089         * string/test-mempcpy-ifunc.c: Likewise.
76090         * string/test-memset-ifunc.c: Likewise.
76091         * string/test-rawmemchr-ifunc.c: Likewise.
76092         * string/test-stpcpy-ifunc.c: Likewise.
76093         * string/test-stpncpy-ifunc.c: Likewise.
76094         * string/test-strcasecmp-ifunc.c: Likewise.
76095         * string/test-strcasestr-ifunc.c: Likewise.
76096         * string/test-strcat-ifunc.c: Likewise.
76097         * string/test-strchr-ifunc.c: Likewise.
76098         * string/test-strchrnul-ifunc.c: Likewise.
76099         * string/test-strcmp-ifunc.c: Likewise.
76100         * string/test-strcpy-ifunc.c: Likewise.
76101         * string/test-strcspn-ifunc.c: Likewise.
76102         * string/test-strlen-ifunc.c: Likewise.
76103         * string/test-strncasecmp-ifunc.c: Likewise.
76104         * string/test-strncat-ifunc.c: Likewise.
76105         * string/test-strncmp-ifunc.c: Likewise.
76106         * string/test-strncpy-ifunc.c: Likewise.
76107         * string/test-strnlen-ifunc.c: Likewise.
76108         * string/test-strpbrk-ifunc.c: Likewise.
76109         * string/test-strrchr-ifunc.c: Likewise.
76110         * string/test-strspn-ifunc.c: Likewise.
76111         * string/test-strstr-ifunc.c: Likewise.
76113         * debug/Makefile (tests-ifunc): New variable.
76114         (tests): Add $(tests-ifunc).
76115         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
76116         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
76117         * debug/test-stpcpy_chk-ifunc.c: New file.
76118         * debug/test-strcpy_chk-ifunc.c: Likewise.
76120 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
76122         [BZ #13601]
76123         * elf/dl-load.c (open_verify): Retry read if the entire ELF
76124         header is not read in.
76126 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
76128         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
76129         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
76130         directly.  Pass built executable to script as
76131         $(built-program-cmd).
76132         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
76133         $testprogram without using LD_LIBRARY_PATH and $ldso.
76135         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
76136         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
76137         $(rtld-installed-name).
76138         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
76139         (rtld_installed_name): Likewise.
76140         (library_path): Likewise.
76141         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
76142         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
76143         $(run-program-prefix) to tst-tables.sh.
76144         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
76145         it to run tst-table-from and tst-table-to.
76146         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
76147         Pass it to tst-table.sh.
76148         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
76149         $(run-program-prefix) to tst-gettext.sh.
76150         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
76151         tst-translit.sh.
76152         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
76153         tst-gettext2.sh.
76154         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
76155         to run tst-gettext.
76156         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
76157         to run tst-gettext2.
76158         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
76159         to run tst-translit.
76160         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
76161         $(run-program-prefix) to tst-mtrace.sh.
76162         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
76163         to run tst-mtrace.
76164         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
76165         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
76166         $(rtld-installed-name).
76167         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
76168         (rtld_installed_name): Likewise.
76169         (run_program_prefix): New variable.  Use it to run wordexp-test.
76171         * Makeconfig (ARCH): Remove all definitions.
76172         (machine): Likewise.
76173         [ARCH]: Remove conditional code.
76174         [!objdir]: Give error.
76175         [!objdir] (objpfx): Remove.
76176         [!objdir] (common-objpfx): Likewise.
76177         [!objdir] (common-objdir): Likewise.
76178         * configure.in (config_makefile): Remove.  Hardcode Makefile in
76179         AC_CONFIG_FILES call.
76180         * configure: Regenerated.
76182         [BZ #13888]
76183         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
76184         or TMPDIR.
76185         (testout): Likewise.
76187         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
76188         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
76189         $(rtld-installed-name).
76190         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
76191         (rtld_installed_name): Likewise.
76192         (runit): Remove function.
76193         (run_getconf): New variable,  Use it for running getconf binary.
76195 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
76197         [BZ #14716]
76198         * string/test-memmem.c (check_result): New function.
76199         (do_one_test): Use it.
76200         (check1): New function.
76201         (test_main): Use it.
76203 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
76205         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
76207 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
76209         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
76210         (_G_LSEEK64): Likewise.
76211         (_G_MMAP64): Likewise.
76212         (_G_FSTAT64): Likewise.
76213         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
76214         (_G_LSEEK64): Likewise.
76215         (_G_MMAP64): Likewise.
76216         (_G_FSTAT64): Likewise.
76217         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
76218         unconditional.  Call __mmap64 directly.
76219         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
76220         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
76221         __lseek64 directly.
76222         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
76223         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
76224         __mmap64 directly.
76225         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
76226         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
76227         __lseek64 directly.
76228         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
76229         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
76230         __lseek64 directly.
76231         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
76232         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
76233         __lseek64 directly.
76234         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
76235         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
76236         __fxstat64 directly.
76237         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
76238         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
76239         unconditional.
76240         (freopen64) [!_G_OPEN64]: Remove conditional code.
76241         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
76242         unconditional.
76243         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
76244         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
76245         unconditional.
76246         (ftello64) [!_G_LSEEK64]: Remove conditional code.
76247         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
76248         unconditional.
76249         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76250         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
76251         unconditional.
76252         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
76253         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
76254         unconditional.
76255         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76256         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
76257         unconditional.
76258         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76259         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
76260         unconditional.
76261         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76263 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
76265         [BZ #12140]
76266         * manual/memory.texi (Malloc Tunable Parameters): Add note
76267         about free list pointers overwriting some perturb bytes.
76268         Wording suggested by Roland McGrath.
76270 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
76272         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
76273         (lgamma_test): Likewise.
76274         (tgamma_test): Likewise.
76276 2012-10-16  Florian Weimer  <fweimer@redhat.com>
76278         [BZ #14700]
76279         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
76280         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
76282 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
76284         * NEWS: Mention BZ #14716.
76285         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
76286         when removing AVAILABLE1_USES_J macro.
76288 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
76290         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
76291         (__bswap_64): __uint64_t for unsigned 64-bit int.
76293 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
76295         * include/string.h (memmem): Declare libc hidden alias.
76296         * string/memmem.c (memmem): Define libc hidden alias.
76297         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
76298         __read, __close instead of open, read, close.
76300 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
76302         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
76303         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
76304         global and hidden.
76305         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
76306         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
76307         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
76308         Likewise.
76309         (__rawmemchr_sse2): Likewise.
76310         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
76311         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
76312         (__strchr_sse2): Likewise.
76313         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
76314         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
76315         (__strcasecmp_sse2): Likewise.
76316         (__strncasecmp_sse2): Likewise.
76317         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
76318         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
76319         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
76320         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
76321         (__strrchr_sse2): Likewise.
76322         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
76323         ifunc-impl-list.c.
76324         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
76325         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
76326         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
76327         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76328         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
76329         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
76330         * sysdeps/x86_64/multiarch/memset.S: Likewise.
76331         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
76332         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
76333         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
76334         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
76335         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
76336         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
76337         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
76338         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
76339         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
76340         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
76341         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
76342         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
76343         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
76344         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
76345         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
76346         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
76347         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
76348         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
76349         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76350         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
76351         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76352         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
76353         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
76355         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
76356         global and hidden.
76357         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
76358         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
76359         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
76360         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
76361         Likewise.
76362         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
76363         Likewise.
76364         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
76365         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
76366         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
76367         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
76368         ifunc-impl-list.c.
76369         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
76370         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
76371         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
76372         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
76373         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
76374         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76375         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
76376         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
76377         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
76378         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
76379         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
76380         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
76381         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
76382         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
76383         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
76384         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
76385         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
76386         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
76387         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
76388         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
76389         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76390         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
76391         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
76392         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
76393         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76394         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
76395         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
76396         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
76397         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
76398         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
76399         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
76400         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
76401         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
76402         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
76403         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
76404         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
76405         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
76406         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
76407         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
76408         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
76409         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
76411         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
76412         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
76413         * include/ifunc-impl-list.h: New file.
76414         * misc/ifunc-impl-list.c: Likewise.
76415         * misc/Makefile (routines): Add ifunc-impl-list.
76416         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
76417         * string/test-string.h: Include <ifunc-impl-list.h>.
76418         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
76419         TEST_NAME]: New variables.
76420         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
76421         are defined.
76422         (test_init): Call __libc_ifunc_impl_list to initialize
76423         func_list if TEST_IFUNC and TEST_NAME are defined.
76425         * string/Makefile (strop-tests): Add bcopy and bzero.
76426         * string/test-bcopy.c: New file.
76427         * string/test-bzero.c: Likewise.
76428         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
76429         defined.
76430         * string/test-memset.c: Support bzero test if TEST_BZERO is
76431         defined.
76432         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
76433         __libc_memmove.
76434         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
76435         __libc_memset.
76436         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
76437         of memset.
76439 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
76441         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
76442         * configure: Regenerated.
76444         * Makeconfig (+link-static-before-libc): Don't include
76445         $(link-static-libc).
76447         * libio/libio.h (_IO_pos_t): Remove.
76449 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76451         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
76452         McGrath.
76454 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76456         * crypt/crypt-entry.c: Include fips-private.h.
76457         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
76458         * crypt/md5c-test.c (main): Tolerate disabled MD5.
76459         * sysdeps/unix/sysv/linux/fips-private.h: New file.
76460         * sysdeps/generic/fips-private.h: New file, dummy fallback.
76462 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76464         * crypt/crypt-private.h: Include stdbool.h.
76465         (_ufc_setup_salt_r): Return bool.
76466         * crypt/crypt-entry.c: Include errno.h.
76467         (__crypt_r): Return NULL with EINVAL for bad salt.
76468         * crypt/crypt_util.c (bad_for_salt): New.
76469         (_ufc_setup_salt_r): Check that salt is long enough and within
76470         the specified alphabet.
76471         * crypt/badsalttest.c: New file.
76472         * crypt/Makefile (tests): Add it.
76473         ($(objpfx)badsalttest): New.
76475 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
76477         * NEWS: Add entry for BZ #14602.
76479 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
76481         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
76482         type-generic.
76483         * math/libm-test.inc: Update comment listing what functions and
76484         macros are tested.
76485         (isgreater_test): New function.
76486         (isgreaterequal_test): Likewise.
76487         (isless_test): Likewise.
76488         (islessequal_test): Likewise.
76489         (islessgreater_test): Likewise.
76490         (isunordered_test): Likewise.
76491         (main): Call the new functions.
76493 2012-10-09  Roland McGrath  <roland@hack.frob.com>
76495         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
76496         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
76497         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
76498         * sysdeps/i386/configure: Regenerated.
76499         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
76500         * sysdeps/mach/configure: Regenerated.
76501         * sysdeps/mach/hurd/configure: Regenerated.
76502         * sysdeps/powerpc/configure: Regenerated.
76503         * sysdeps/powerpc/powerpc32/configure: Regenerated.
76504         * sysdeps/powerpc/powerpc64/configure: Regenerated.
76505         * sysdeps/s390/s390-32/configure: Regenerated.
76506         * sysdeps/s390/s390-64/configure: Regenerated.
76507         * sysdeps/sh/configure: Regenerated.
76508         * sysdeps/sparc/configure: Regenerated.
76509         * sysdeps/unix/sysv/linux/configure: Regenerated.
76510         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
76511         * sysdeps/x86_64/configure: Regenerated.
76513         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
76514         defined.  Don't check if MAP is NULL.
76516 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
76518         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
76519         (_G_stat64): Likewise.
76520         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
76521         (_G_stat64): Likewise.
76522         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
76523         instead of struct _G_stat64.
76524         * libio/fileops.c (mmap_remap_check): Likewise.
76525         (decide_maybe_mmap): Likewise.
76526         (_IO_new_file_seekoff): Likewise.
76527         (_IO_file_stat): Likewise.
76528         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
76529         _G_off64_t.
76530         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
76531         instead of struct _G_stat64.
76532         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76534 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
76536         [BZ #14602]
76537         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76538         Replace with ...
76539         (CHECK_EOL): New macro.
76540         (two_way_short_needle): Check beginning of haystack for EOL.  Use
76541         CHECK_EOL.
76542         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76543         Replace with CHECK_EOL.
76544         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76545         Replace with CHECK_EOL.
76547 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
76549         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
76550         type-generic.
76551         * math/libm-test.inc: Update comment listing what functions and
76552         macros are tested.
76553         (finite_test): New function.
76554         (isinf_test): Likewise.
76555         (isnan_test): Likewise.
76556         (fpclassify_test): Test subnormal input.
76557         (isfinite_test): Likewise.
76558         (isnormal_test): Likewise.
76559         (main): Call the new functions.
76561 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
76563         [BZ #14660]
76564         * Makerules (%.dynsym): Force C locale when running
76565         $(OBJDUMP) --dynamic-syms.
76567 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
76569         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
76570         <stdint.h>.
76572 2012-10-06  David S. Miller  <davem@davemloft.net>
76574         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
76575         upper 32-bits of the length value in %o2 since we use branch-on-register
76576         tests which consider the entire 64-bit register.
76578 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
76580         * string/test-strstr.c (check2): Add a test for page boundary.
76582 2012-10-05  David S. Miller  <davem@davemloft.net>
76584         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
76585         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
76586         file.
76587         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76588         sysdep_routines.
76589         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76590         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
76591         and bzero when HWCAP_SPARC_CRYPTO is present.
76593 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
76595         [BZ #14602]
76596         * string/test-strstr.c (check2): New function.
76597         (test_main): Call check2.
76599         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
76600         and bug-strchr1.
76601         * string/bug-strcasestr1.c (do_test): Moved to ...
76602         * string/test-strcasestr.c (check1): Here.  New function.
76603         (do_one_test): Break out result checking code into ...
76604         (check_result): This.  New function.
76605         (do_one_test): Call check_result.
76606         (test_main): Call check1.
76607         * string/bug-strchr1.c (do_test): Moved to ...
76608         * string/test-strchr.c (check1): Here.  New function.
76609         (do_one_test): Break out result checking code into ...
76610         (check_result): This.  New function.
76611         (do_one_test): Call check_result.
76612         (test_main): Call check1.
76613         * string/bug-strstr1.c (main): Moved to ...
76614         * string/test-strstr.c (check1): Here.  New function.
76615         (do_one_test): Break out result checking code into ...
76616         (check_result): This.  New function.
76617         (do_one_test): Call check_result.
76618         (test_main): Call check1.
76619         * string/bug-strcasestr1.c: Removed.
76620         * string/bug-strchr1.c: Likewise.
76621         * string/bug-strstr1.c: Likewise.
76623         * elf/Makefile (dl-routines): Add hwcaps.
76624         * elf/dl-support.c (_dl_important_hwcaps): Removed.
76625         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
76626         (_dl_important_hwcaps): Moved to ...
76627         * elf/dl-hwcaps.c: Here.  New file.
76628         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
76630         [BZ #14557]
76631         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
76632         if IS_IN_rtld isn't defined.
76634         * elf/dl-support.c (_dl_sysinfo_map): New.
76635         Include "get-dynamic-info.h" and "setup-vdso.h".
76636         (_dl_non_dynamic_init): Call setup_vdso.
76637         * elf/dynamic-link.h: Don't include <assert.h>.
76638         (elf_get_dynamic_info): Moved to ...
76639         * elf/get-dynamic-info.h: Here.  New file.
76640         * elf/dynamic-link.h: Include "get-dynamic-info.h".
76641         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
76642         * elf/setup-vdso.h: Here.  New file.
76643         * elf/rtld.c: Include "setup-vdso.h".
76644         (dl_main): Call setup_vdso.
76646 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
76648         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
76649         creal in comment listing functions tested.  List finite, isinf,
76650         isnan, isless, islessequal, isgreater, isgreaterequal,
76651         islessgreater, isunordered, lgamma_r and pow10 as functions and
76652         macros not tested.  Mention which functions not tested are aliases
76653         for other functions.  Fix typo.  Note that signs of NaNs are not
76654         tested.
76656         * scripts/config.guess: Update from config.git.
76657         * scripts/config.sub: Likewise.
76659 2012-10-04  Roland McGrath  <roland@hack.frob.com>
76661         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
76662         * misc/madvise.c (madvise): Renamed to __madvise.
76663         Make madvise a weak alias.
76664         * include/sys/mman.h: Declare __madvise.
76665         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
76666         * sysdeps/unix/syscalls.list
76667         (madvise): Make __madvise the strong name, and madvise a weak alias.
76668         * sysdeps/unix/sysv/linux/syscalls.list
76669         (madvise, mmap): Remove redundant entries.
76670         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
76671         * malloc/malloc.c (mtrim): Likewise.
76672         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
76674 2012-10-03  Roland McGrath  <roland@hack.frob.com>
76676         * sysdeps/mach/hurd/dl-cache.c: File removed.
76677         * config.h.in (USE_LDCONFIG): New #undef.
76678         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
76679         * configure: Regenerated.
76680         * elf/Makefile (dl-routines): Add dl-cache only under
76681         [$(use-ldconfig) = yes].
76682         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
76683         cache on [USE_LDCONFIG].
76684         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
76685         [USE_LDCONFIG].
76686         * elf/rtld.c (dl_main): Likewise.
76688 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
76690         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
76691         _SC_LEVEL4_CACHE_LINESIZE.
76693 2012-10-03  Roland McGrath  <roland@hack.frob.com>
76695         * sysdeps/unix/bsd/confstr.h: File removed.
76697 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
76699         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
76700         sys/sdt-config.h.
76702 2012-10-02  Roland McGrath  <roland@hack.frob.com>
76704         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
76705         Make 'mapoff' field ElfW(Off) rather than off_t.
76707 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
76709         * nscd/Makefile: Remove nscd-cflags and all its users.
76710         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
76711         (CFLAGS-nonlib): Add compiler flags for nscd modules.
76713         [BZ #10631]
76714         * malloc.c (malloc_printerr): Clarify error message.
76716 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
76718         [BZ #14648]
76719         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76720         Set bit_FMA_Usable if FMA is supported.
76721         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
76722         macro.
76723         (bit_FMA4_Usable): Updated.
76724         (index_FMA_Usable): New macro.
76725         (CPUID_FMA): Likewise.
76726         (HAS_FMA): Defined with bit_FMA_Usable.
76728 2012-10-01  Roland McGrath  <roland@hack.frob.com>
76730         * bits/types.h (__swblk_t): Type removed.
76731         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
76732         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
76733         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76734         (__SWBLK_T_TYPE): Likewise.
76735         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76736         (__SWBLK_T_TYPE): Likewise.
76737         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76738         (__SWBLK_T_TYPE): Likewise.
76739         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76740         (__SWBLK_T_TYPE): Likewise.
76742 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
76743             Honza Horak <hhorak@redhat.com>
76745         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
76746         (xdr_mapname): Use YPMAXMAP as maxsize.
76747         (xdr_peername): Use YPMAXPEER as maxsize.
76748         (xdr_keydat): Use YPAXRECORD as maxsize.
76749         (xdr_valdat): Use YPMAXRECORD as maxsize.
76751 2012-10-01  Roland McGrath  <roland@hack.frob.com>
76753         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
76755         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
76756         * csu/init-first.c: ... here.
76757         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
76758         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
76759         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
76760         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
76761         * sysdeps/i386/init-first.c: File removed.
76762         * sysdeps/sh/init-first.c: File removed.
76764 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
76766         [BZ #14645]
76767         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
76768         if x * y might underflow to zero and z is zero.
76769         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
76770         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76771         * math/libm-test.inc (min_subnorm_value): New variable.
76772         (fma_test): Add more tests.
76773         (fma_test_towardzero): Likewise.
76774         (fma_test_downward): Likewise.
76775         (fma_test_upward): Likewise.
76776         (initialize): Set min_subnorm_value.
76778 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
76780         [BZ #14638]
76781         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
76782         0 + 0.
76783         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
76784         mode for addition resulting in exact zero.
76785         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
76786         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
76787         exact 0 + 0.
76788         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
76789         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76790         * math/libm-test.inc (fma_test): Add more tests.
76791         (fma_test_towardzero): New function.
76792         (fma_test_downward): Likewise.
76793         (fma_test_upward): Likewise.
76794         (main): Call the new functions.
76796 2012-09-28  David S. Miller  <davem@davemloft.net>
76798         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
76800 2012-09-28  Roland McGrath  <roland@hack.frob.com>
76802         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
76803         instead of SIGALRM.
76805         * sysdeps/gnu/_G_config.h: Moved to ...
76806         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
76807         * sysdeps/mach/hurd/_G_config.h: Moved to ...
76808         * sysdeps/generic/_G_config.h: ... here.
76810         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
76812         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
76814         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
76815         Conditionalize target on [libnss_test1.so-version].
76817         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
76819         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
76820         (elfobjdir): Move out of conditionals.
76822         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
76823         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
76824         (__nss_lookup_function): Conditionalize label remove_from_tree on
76825         [!DO_STATIC_NSS || SHARED], matching its only use.
76827 2012-09-28  David S. Miller  <davem@davemloft.net>
76829         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
76830         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
76831         file.
76832         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76833         sysdep_routines.
76834         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76835         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
76836         when HWCAP_SPARC_CRYPTO is present.
76838 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76840         * io/tst-mknodat.c: Create a FIFO instead of a socket.
76842 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
76844         [BZ #6530]
76845         * stdio-common/vfprintf.c (process_string_arg): Revert
76846         2000-07-22 change.
76848 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
76850         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
76851         for testcase.
76852         * stdio-common/tst-sprintf.c: Include <locale.h>
76853         (main): Test sprintf's handling of incomplete multibyte
76854         characters.
76856 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
76858         * elf/dl-runtime.c (VERSYMIDX): Removed.
76859         * elf/dl-version.c (VERSYMIDX): Likewise.
76860         * elf/do-rel.h (VERSYMIDX): Likewise.
76861         (VALIDX): Likewise.
76862         * elf/dynamic-link.h (VERSYMIDX): Likewise.
76863         * elf/rtld.c (VALIDX): Likewise.
76864         (ADDRIDX): Likewise.
76865         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
76866         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
76867         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
76868         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
76869         (VALIDX): Likewise.
76870         (ADDRIDX): Likewise.
76872 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76874         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
76876 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
76878         [BZ #11438]
76879         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
76880         to global scope.
76881         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
76882         addresses are in the same scope as 192.0.2/24.
76883         * posix/gai.conf: Document new scope table defaults.
76885 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76887         [BZ #5298]
76888         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
76889         for ftell.  Compute offsets from write pointers instead.
76890         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76892 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76894         [BZ #14543]
76895         * libio/Makefile (tests): New test case tst-fseek.
76896         * libio/tst-fseek.c: New test case to verify that fseek/ftell
76897         combination works in wide mode.
76898         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
76899         state when the external buffer state changes.
76901 2012-09-27  David S. Miller  <davem@davemloft.net>
76903         [BZ #14376]
76904         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
76905         pass reloc->r_addend in as the 'high' argument to
76906         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
76908         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76910 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76912         * rt/tst-aio2.c: Include <pthread.h>.
76913         * rt/tst-aio3.c: Likewise.
76915 2012-09-27  Steve Ellcey  <sellcey@mips.com>
76917         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
76919 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
76921         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
76922         contents on [SHARED].
76924 2012-09-26  Marek Polacek  <polacek@redhat.com>
76926         [BZ #14530]
76927         [BZ #13741]
76928         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
76929         for C++ and GCC <4.3 as well as for non GCC compilers.
76931 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
76933         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76935 2012-09-25  Roland McGrath  <roland@hack.frob.com>
76937         * Makefile.in (all, install): Declare with .PHONY.
76938         Reported by Michael Hope <michael.hope@linaro.org>.
76940 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76942         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
76943         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
76944         system header.
76945         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
76946         Likewise.
76947         (sydep_routines): Add the new and the internal functions.
76948         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
76949         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
76950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
76951         (GLIBC_2.17): Add the new function.
76952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76953         (GLIBC_2.17): Likewise.
76954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
76955         (GLIBC_2.17): Likewise.
76956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
76957         (GLIBC_2.17): Likewise.
76958         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
76960 2012-09-25  Alan Modra  <amodra@gmail.com>
76962         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
76963         Add release barrier before setting once_control to say
76964         initialisation is done.  Add hints on lwarx.  Use macro in
76965         place of isync.
76966         (clear_once_control): Add release barrier.
76968 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
76970         [BZ #13629]
76971         * math/s_clog.c (__clog): Handle more values close to |z| = 1
76972         specially.
76973         * math/s_clog10.c (__clog10): Likewise.
76974         * math/s_clog10f.c (__clog10f): Likewise.
76975         * math/s_clog10l.c (__clog10l): Likewise.
76976         * math/s_clogf.c (__clogf): Likewise.
76977         * math/s_clogl.c (__clogl): Likewise.
76978         * math/Makefile (libm-calls): Add x2y2m1.
76979         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
76980         (__x2y2m1): Likewise.
76981         (__x2y2m1l): Likewise.
76982         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
76983         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
76984         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
76985         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
76986         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
76987         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
76988         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
76989         * sysdeps/i386/fpu/libm-test-ulps: Update.
76990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76992         [BZ #14621]
76993         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
76994         int as type of variable DEPTH.
76995         (glob): Use size_t instead of int as type of variables NEWCOUNT
76996         and OLD_PATHC.
76998 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77000         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77001         Add s_sincosf-sse2.
77002         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
77003         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
77004         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
77005         macros for using routine as __sincosf_ia32.
77006         Use macro for function declaration and weak_alias.
77007         * sysdeps/i386/fpu/libm-test-ulps: Update.
77009         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
77010         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77012         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
77013         subnormal argument.
77014         * math/s_cexpf.c (__cexpf): Likewise.
77015         * math/s_csinf.c (__csinf): Likewise.
77016         * math/s_csinhf.c (__csinhf): Likewise.
77017         * math/s_ctanf.c (__ctanf): Likewise.
77018         * math/s_ctanhf.c (__ctanhf): Likewise.
77019         * math/s_ccosh.c (__ccoshf): Likewise.
77020         * math/s_cexp.c (__cexpl): Likewise.
77021         * math/s_csin.c (__csin): Likewise.
77022         * math/s_csinh.c (__csinh): Likewise.
77023         * math/s_ctan.c (__ctan): Likewise.
77024         * math/s_ctanh.c (ctanh): Likewise.
77025         * math/s_ccoshl.c (__ccoshl): Likewise.
77026         * math/s_cexpl.c (__cexpl): Likewise.
77027         * math/s_csinl.c (__csinl): Likewise.
77028         * math/s_csinhl.c (__csinhl): Likewise.
77029         * math/s_ctanl.c (__ctanl): Likewise.
77030         * math/s_ctanhl.c (__ctanhl): Likewise.
77032 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
77034         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
77035         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
77036         (_IO_off_t): Define to __off_t, not _G_off_t.
77037         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
77038         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
77039         (_IO_wint_t): Define to wint_t, not _G_wint_t.
77040         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
77041         type of __dummy and __dummy2 fields.
77042         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
77043         (_G_ssize_t): Likewise.
77044         (_G_off_t): Likewise.
77045         (_G_pid_t): Likewise.
77046         (_G_uid_t): Likewise.
77047         (_G_wchar_t): Likewise.
77048         (_G_wint_t): Likewise.
77049         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
77050         (_G_ssize_t): Likewise.
77051         (_G_off_t): Likewise.
77052         (_G_pid_t): Likewise.
77053         (_G_uid_t): Likewise.
77054         (_G_wchar_t): Likewise.
77055         (_G_wint_t): Likewise.
77056         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
77057         (_G_ssize_t): Likewise.
77058         (_G_off_t): Likewise.
77059         (_G_pid_t): Likewise.
77060         (_G_uid_t): Likewise.
77061         (_G_wchar_t): Likewise.
77062         (_G_wint_t): Likewise.
77064 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
77066         * malloc/arena.c: Include malloc-sysdep.h.
77067         (shrink_heap): Use check_may_shrink_heap to decide if madvise
77068         is sufficient to shrink the heap or an unmap is needed.
77069         * sysdeps/generic/malloc-sysdep.h: New file.  Define
77070         new function check_may_shrink_heap.
77071         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
77072         new function check_may_shrink_heap.
77074 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
77076         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
77077         comments.
77079 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
77081         * catgets/test-gencat.sh: Add "set -e".
77082         * elf/tst-pathopt.sh: Likewise.
77083         * grp/tst_fgetgrent.sh: Likewise.
77084         * iconvdata/run-iconv-test.sh: Likewise.
77085         * intl/tst-gettext.sh: Likewise.
77086         * intl/tst-gettext2.sh: Likewise.
77087         * intl/tst-gettext4.sh: Likewise.
77088         * intl/tst-gettext6.sh: Likewise.
77089         * intl/tst-translit.sh: Likewise.
77090         * io/ftwtest-sh: Likewise.
77091         * libio/test-freopen.sh: Likewise.
77092         * malloc/tst-mtrace.sh: Likewise.
77093         * posix/globtest.sh: Likewise.
77094         * posix/tst-getconf.sh: Likewise.
77095         * posix/wordexp-tst.sh: Likewise.
77096         * stdio-common/tst-printf.sh: Likewise.
77097         * stdio-common/tst-unbputc.sh: Likewise.
77098         * stdlib/tst-fmtmsg.sh: Likewise.
77099         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
77100         * catgets/Makefile: Do not specify -e option when running
77101         testsuite shell scripts.
77102         * elf/Makefile: Likewise.
77103         * grp/Makefile: Likewise.
77104         * iconvdata/Makefile: Likewise.
77105         * intl/Makefile: Likewise.
77106         * io/Makefile: Likewise.
77107         * libio/Makefile: Likewise.
77108         * malloc/Makefile: Likewise.
77109         * posix/Makefile: Likewise.
77110         * stdio-common/Makefile: Likewise.
77111         * stdlib/Makefile: Likewise.
77112         * sysdeps/x86_64/Makefile: Likewise.
77114         * io/ftwtest-sh: Add copyright header.
77115         * posix/globtest.sh: Likewise.
77116         * posix/tst-getconf.sh: Likewise.
77117         * posix/wordexp-tst.sh: Likewise.
77118         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
77120 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
77122         [BZ #13679]
77123         * Makeconfig (+link): Defined as $(+link-static) if
77124         $(build-shared) isn't yes.
77125         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
77126         isn't yes.
77127         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
77129         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
77131         [BZ #14562]
77132         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
77133         new chunk size with MALLOC_ALIGN_MASK.
77135 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
77137         [BZ #5044]
77138         * stdio-common/printf_fphex.c: Include <stdbool.h> and
77139         <rounding-mode.h>.
77140         (__printf_fphex): Determine rounding using get_rounding_mode and
77141         round_away.
77142         * stdio-common/tst-printf-round.c (struct hex_test): New
77143         structure.
77144         (hex_tests): New variable.
77145         (test_hex_in_one_mode): New function.
77146         (do_test): Also run tests for hex float output.
77148 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
77150         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
77151         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
77152         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
77153         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
77154         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
77155         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
77156         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
77157         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
77159 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
77161         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
77162         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
77163         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
77164         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
77166 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
77168         [BZ #14579]
77169         * elf/rtld.c (dl_main): Limit the check for self loading to normal
77170         mode only.
77171         * elf/tst-rtld-load-self.sh: New test.
77172         * elf/Makefile: Run it.
77174 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
77176         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
77177         (tst-writev-ENV): Remove.
77178         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
77180 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
77182         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
77184 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
77186         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
77187         unconditional.
77188         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
77189         Likewise.
77190         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
77191         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
77192         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
77193         Likewise.
77195 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
77197         [BZ #14587]
77198         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
77199         * config.make.in (have-cpp-asm-debuginfo): Removed.
77200         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
77201         * configure: Regenerated.
77203 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
77205         [BZ #5044]
77206         * stdio-common/printf_fp.c: Include <stdbool.h> and
77207         <rounding-mode.h>.
77208         (___printf_fp): Determine rounding using get_rounding_mode and
77209         round_away.
77210         * stdio-common/tst-printf-round.c: New file.
77211         * stdio-common/Makefile (tests): Add tst-printf-round.
77212         (link-libm): New variable.
77213         ($(objpfx)tst-printf-round): Depend in $(link-libm).
77215 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
77217         [BZ #14576]
77218         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
77219         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
77220         Likewise.
77221         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
77222         Likewise.
77224 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
77226         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
77227         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77228         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77229         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77231 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
77233         [BZ #14518]
77234         * include/rounding-mode.h: New file.
77235         * sysdeps/generic/get-rounding-mode.h: Likewise.
77236         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
77237         * stdlib/strtod_l.c: Include <rounding-mode.h>.
77238         (MAX_VALUE): New macro.
77239         (MIN_VALUE): Likewise.
77240         (overflow_value): New function.
77241         (underflow_value): Likewise.
77242         (round_and_return): Use overflow_value and underflow_value to
77243         determine return values in overflow and underflow cases.  Use
77244         round_away to determine rounding depending on rounding mode.
77245         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
77246         determine return values in overflow and underflow cases.
77247         * stdlib/tst-strtod-round.c: Include <fenv.h>.
77248         (struct test_results): New structure.
77249         (struct test): Use struct test_results to store expected results
77250         for all rounding modes.
77251         (TEST): Include expected results for all rounding modes.
77252         (test_in_one_mode): New function.
77253         (do_test): Use test_in_one_mode to compute and check results.
77254         Check results for all rounding modes.
77255         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
77256         $(link-libm).
77258 2012-12-09  Allan McRae  <allan@archlinux.org>
77260         * sysdeps/i386/fpu/libm-test-ulps: Update
77262 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
77264         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
77265         (_G_int32_t): Likewise.
77266         (_G_uint16_t): Likewise.
77267         (_G_uint32_t): Likewise.
77268         (_G_HAVE_BOOL): Likewise.
77269         (_G_HAVE_ATEXIT): Likewise.
77270         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77271         (_G_HAVE_IO_FILE_OPEN): Likewise.
77272         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
77273         (_G_int32_t): Likewise.
77274         (_G_uint16_t): Likewise.
77275         (_G_uint32_t): Likewise.
77276         (_G_HAVE_BOOL): Likewise.
77277         (_G_HAVE_ATEXIT): Likewise.
77278         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77279         (_G_HAVE_IO_FILE_OPEN): Likewise.
77280         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
77281         (_G_int32_t): Likewise.
77282         (_G_uint16_t): Likewise.
77283         (_G_uint32_t): Likewise.
77284         (_G_HAVE_BOOL): Likewise.
77285         (_G_HAVE_ATEXIT): Likewise.
77286         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77287         (_G_HAVE_IO_FILE_OPEN): Likewise.
77289 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
77291         * csu/libc-tls.c: Update copyright years.
77293 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
77295         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
77296         [!_G_USING_THUNKS]: Remove conditional code.
77297         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
77298         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
77300         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
77301         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
77302         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77303         (_G_VTABLE_LABEL_PREFIX): Likewise.
77304         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77305         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77306         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77307         (_G_VTABLE_LABEL_PREFIX): Likewise.
77308         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77309         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77310         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77311         (_G_VTABLE_LABEL_PREFIX): Likewise.
77312         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77314 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
77316         * libio/Makefile: Include ../Makeconfig before tests.
77317         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
77318         only if $(build-shared) is yes.
77320         * iconv/gconv_db.c: Update copyright years.
77322 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77324         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
77325         unwind info if defined PIC. Fix special cases description.
77326         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
77328         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
77329         DP_HI_MASK entry.
77330         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
77332 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
77334         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
77336         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
77337         is NULL.
77339         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
77340         (LDLIBS-tst-chk4): This.
77341         (LDFLAGS-tst-chk5): Renamed to ...
77342         (LDLIBS-tst-chk5): This.
77343         (LDFLAGS-tst-chk6): Renamed to ...
77344         (LDLIBS-tst-chk6): This.
77345         (LDFLAGS-tst-lfschk4): Renamed to ...
77346         (LDLIBS-tst-lfschk4): This.
77347         (LDFLAGS-tst-lfschk5): Renamed to ...
77348         (LDLIBS-tst-lfschk5): This.
77349         (LDFLAGS-tst-lfschk6): Renamed to ...
77350         (LDLIBS-tst-lfschk6): This.
77352         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
77353         on $(common-objpfx)soversions.mk.
77355 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
77357         [BZ #10014]
77358         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
77359         example host name.
77361 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
77363         * malloc/arena.c (arena_get_retry): New function that gets
77364         another arena for the caller to try its request on.
77365         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
77366         current arena cannot fulfill the request.
77367         (__libc_memalign): Likewise.
77368         (__libc_memalign): Likewise.
77369         (__libc_pvalloc): Likewise.
77370         (__libc_calloc): Likewise.
77372 2012-09-05  John Tobey  <john.tobey@gmail.com>
77374         [BZ #13542]
77375         * manual/arith.texi (Operations on Complex): Fix description
77376         of carg branch cut.
77378 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
77380         [BZ #10014]
77381         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
77382         host name.
77384         [BZ #10038]
77385         * manual/memory.texi (Memory): Make order of menu items match
77386         order of sections.
77388 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77390         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
77391         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
77392         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
77394 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77396         * csu/libc-tls.c (static_dtv): Renamed to ...
77397         (_dl_static_dtv): This.  Make it global.
77398         (_dl_initial_dtv): Removed.
77399         (__libc_setup_tls): Updated.
77400         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
77401         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
77402         DL_INITIAL_DTV.
77404 2012-09-06  Petr Machata  <pmachata@redhat.com>
77406         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
77407         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
77408         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
77409         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
77411 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77413         [BZ #14545]
77414         * csu/libc-tls.c (_dl_initial_dtv): New variable.
77415         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
77416         freeing dtv[-1].
77418 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77420         [BZ #14544]
77421         * Makeconfig (link-static-before-libc): Replace $(+prector)
77422         with $(+prectorT).
77423         (link-static-after-libc): Replace $(+postctor) with
77424         $(+postctorT).
77425         (link-bounded): Replace $(+prector)/$(+postctor) with
77426         $(+prectorT)/$(+postctorT).
77427         (+prectorT): New macro.
77428         (+postctorT): Likewise.
77430 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
77432         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
77433         (round_str): Handle values above the maximum for IBM long double
77434         as inexact.
77435         * stdlib/tst-strtod-round.c (tests): Regenerated.
77437 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77439         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
77440         assembler flag.
77441         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
77442         zarch_nohighgprs around the zarch optimized routines.
77443         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
77444         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
77445         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
77446         for zarch.
77448 2012-09-05  David S. Miller  <davem@davemloft.net>
77450         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77452         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
77453         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
77454         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
77455         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77456         entries.
77458 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77460         * malloc/arena.c: Fold copyright years.
77461         * malloc/mcheck.c, malloc/memusage.c: Likewise.
77463 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77465         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
77467 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77469         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
77471 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77473         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
77474         change internal state upon failure.
77476 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77478         * malloc/mcheck.c (mcheck_check_all): Fix typo.
77479         * malloc/memusage.c (mmap): Likewise.
77480         (mmap64, mremap): Likewise.  Adjust name in comment.
77482 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
77484         * libio/fileops.c: Fix typos in comments.
77485         * libio/oldfileops.c: Likewise.
77486         * libio/wfileops.c: Likewise.
77488 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
77490         [BZ #1349]
77491         * malloc/Makefile (tests): Add tst-malloc-usable test case.
77492         (tst-malloc-usable-ENV): Set environment for test case.
77493         * malloc/hooks.c (malloc_check_get_size): New function to get
77494         requested size.
77495         * malloc/malloc.c (musable): Use malloc_check_get_size.
77496         * malloc/tst-malloc-usable.c: New test case.
77498 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77500         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
77502 2012-09-05  Allan McRae  <allan@archlinux.org>
77504         [BZ #13966]
77505         * configure.in (CXX_SYSINCLUDES): Use compiler output to
77506         determine header location.
77507         * configure: Regenerated.
77509 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77511         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
77512         float format.
77513         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
77514         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
77515         format.
77516         (test): Regenerate.
77518 2012-09-04  David S. Miller  <davem@davemloft.net>
77520         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
77521         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
77522         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
77524 2012-09-04  Florian Weimer  <fweimer@redhat.com>
77526         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
77527         failures.
77529         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
77531 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
77533         [BZ #9914]
77534         * libio/iogetdelim.c: Include <limits.h>.
77535         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
77536         + len + 1 would overflow.
77538 2012-09-03  Andreas Jaeger  <aj@suse.de>
77540         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77541         * sysdeps/i386/fpu/libm-test-ulps: Update.
77543 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77545         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77546         Add s_sinf-sse2, s_conf-sse2.
77548         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
77549         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
77550         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
77551         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
77553         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
77554         for using routine as __sinf_ia32.
77555         Use macro for function declaration and weak_alias.
77556         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
77557         for using routine as __cosf_ia32.
77558         Use macro for function declaration and weak_alias.
77560         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
77561         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
77563         * sysdeps/x86_64/fpu/s_sinf.S: New file.
77564         * sysdeps/x86_64/fpu/s_cosf.S: New file.
77565         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77567         * math/libm-test.inc (cos_test): Add more test cases.
77568         (sin_test): Likewise.
77569         (sincos_test): Likewise.
77571 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77573         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
77574         (IFUNC_RESOLVE): Make pointers to the specialized implementations
77575         hidden.
77576         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
77578 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
77580         [BZ #14538]
77581         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
77582         first element of the GOT.
77583         (elf_machine_load_address): Return the difference between
77584         the runtime address of _DYNAMIC and elf_machine_dynamic ().
77586 2012-09-01  Allan McRae  <allan@archlinux.org>
77588         [BZ #13412]
77589         * configure.in (AWK): Require gawk version 3.0 or later.
77590         * configure: Regenerated.
77592 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
77594         * sysdeps/unix/sysv/linux/kernel-features.h
77595         (__ASSUME_POSIX_CPU_TIMERS): Remove.
77596         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77597         [__NR_clock_getres]: Make code unconditional.
77598         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
77599         (clock_getcpuclockid): Remove code left unreachable by removal of
77600         conditionals.
77601         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
77602         code unconditional.
77603         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77604         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77605         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
77606         Make code unconditional.
77607         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77608         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77609         * sysdeps/unix/sysv/linux/clock_settime.c
77610         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
77611         conditional code.
77612         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
77613         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77615 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
77617         [BZ #14476]
77618         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
77619         scripts/test-installation.pl.
77621         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
77622         and $ld_so_version if it is set.
77624 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
77626         [BZ #14516]
77627         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
77628         failure if reading from procfs failed.
77629         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
77631 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
77633         * sysdeps/unix/sysv/linux/kernel-features.h
77634         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
77635         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77636         Remove conditional code.
77637         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77638         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
77639         Remove conditional code.
77640         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77641         * sysdeps/unix/sysv/linux/i386/fxstat.c
77642         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77643         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77644         * sysdeps/unix/sysv/linux/i386/fxstatat.c
77645         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77646         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77647         * sysdeps/unix/sysv/linux/i386/lxstat.c
77648         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77649         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77650         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
77651         Remove conditional code.
77652         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77653         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77654         Remove conditional code.
77655         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77656         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
77657         <kernel-features.h>.
77658         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
77659         Remove.
77660         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
77661         Remove conditional code.
77662         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77663         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
77664         Remove conditional.
77666 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
77668         [BZ #5400]
77669         * NEWS: Add fixed bug number.
77671 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
77673         [BZ #14519]
77674         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
77675         underflowing exponent in case of negative sign.
77676         * stdlib/tst-strtod-round-data: Add more tests.
77677         * stdlib/tst-strtod-round.c (tests): Regenerated.
77679         [BZ #3479]
77680         * stdlib/strtod_l.c (NDIG): Remove.
77681         (HEXNDIG): Likewise.
77682         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
77683         smallest representable value.
77684         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
77685         lie within an exact representation of 1/2 ulp of the result.
77686         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
77687         unconditionally.
77688         (TENS_P9_IDX): Define unconditionally.
77689         (TENS_P9_SIZE): Likewise.
77690         (TENS_P10_IDX): Likewise.
77691         (TENS_P10_SIZE): Likewise.
77692         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
77693         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
77694         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
77695         entries for 10^2^13 and 10^2^14.
77696         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
77697         (TENS_P13_IDX): Define.
77698         (TENS_P13_SIZE): Likewise.
77699         (TENS_P14_IDX): Likewise.
77700         (TENS_P14_SIZE): Likewise.
77701         (_fpioconst_pow10): Change array size to
77702         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
77703         unconditional.
77704         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
77705         1024]: Add entries for 10^2^13 and 10^2^14.
77706         [LAST_POW10 > _LAST_POW10]: Remove #error.
77707         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
77708         (_fpioconst_pow10): Change array size to
77709         FPIOCONST_POW10_ARRAY_SIZE.
77710         * stdlib/gen-fpioconst.c: New file.
77711         * stdlib/gen-tst-strtod-round.c: Likewise.
77712         * stdlib/tst-strtod-round-data: Likewise.
77713         * stdlib/tst-strtod-round.c: Likewise.
77714         * stdlib/Makefile (tests): Add tst-strtod-round.
77716         [BZ #14459]
77717         * stdlib/strtod_l.c: Include <stdint.h>.
77718         (NDEBUG): Do not define.
77719         (round_and_return): Change EXPONENT parameter to type intmax_t.
77720         Rearrange calculations to avoid internal overflow possibilities.
77721         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
77722         Rearrange calculations to avoid internal overflow possibilities.
77723         Assert that number fits inside MPNSIZE limbs.
77724         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
77725         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
77726         calculations and add assertions to avoid internal overflow
77727         possibilities.  Add casts to avoid signed/unsigned operations.
77728         * stdlib/tst-strtod-overflow.c: New file.
77729         * stdlib/Makefile (tests): Add tst-strtod-overflow.
77731 2012-08-25  Marek Polacek  <polacek@redhat.com>
77733         * time/time.h: Fix some typos in comments.
77735 2012-08-23  Roland McGrath  <roland@hack.frob.com>
77737         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
77738         * posix/tst-rfc3484-2.c: Likewise.
77739         * posix/tst-rfc3484-3.c: Likewise.
77741 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
77743         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
77744         (EF_ARM_ABI_FLOAT_HARD): Likewise.
77746 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
77748         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
77749         #include of fxstatat64.c.
77751 2012-08-22  Roland McGrath  <roland@hack.frob.com>
77753         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
77754         * shadow/getspent_r.c: Likewise.
77755         * shadow/getspnam.c: Likewise.
77756         * shadow/getspnam_r.c: Likewise.
77757         * gshadow/getsgent.c: Likewise.
77758         * gshadow/getsgent_r.c: Likewise.
77759         * gshadow/getsgnam.c: Likewise.
77760         * gshadow/getsgnam_r.c: Likewise.
77761         * inet/getnetbyad.c: Likewise.
77762         * inet/getnetbyad_r.c: Likewise.
77763         * inet/getnetbynm.c: Likewise.
77764         * inet/getnetbynm_r.c: Likewise.
77765         * inet/getnetent.c: Likewise.
77766         * inet/getnetent_r.c: Likewise.
77767         * inet/getproto.c: Likewise.
77768         * inet/getproto_r.c: Likewise.
77769         * inet/getprtent.c: Likewise.
77770         * inet/getprtent_r.c: Likewise.
77771         * inet/getprtname.c: Likewise.
77772         * inet/getprtname_r.c: Likewise.
77773         * inet/getrpcbyname.c: Likewise.
77774         * inet/getrpcbyname_r.c: Likewise.
77775         * inet/getrpcbynumber.c: Likewise.
77776         * inet/getrpcbynumber_r.c: Likewise.
77777         * inet/getrpcent.c: Likewise.
77778         * inet/getrpcent_r.c: Likewise.
77779         * inet/getaliasent.c: Likewise.
77780         * inet/getaliasent_r.c: Likewise.
77781         * inet/getaliasname.c: Likewise.
77782         * inet/getaliasname_r.c: Likewise.
77783         * nscd/getgrgid_r.c: Likewise.
77784         * nscd/getgrnam_r.c: Likewise.
77785         * nscd/gethstbyad_r.c: Likewise.
77786         * nscd/gethstbynm3_r.c: Likewise.
77787         * nscd/getpwnam_r.c: Likewise.
77788         * nscd/getpwuid_r.c: Likewise.
77789         * nscd/getsrvbynm_r.c: Likewise.
77790         * nscd/getsrvbypt_r.c: Likewise.
77791         * nscd/gai.c: Likewise.
77793         * configure.in (build_nscd): New substituted variable, set
77794         by --disable-build-nscd and defaults to $use_nscd.
77795         * configure: Regenerated.
77796         * config.make.in (build-nscd): New substituted variable.
77797         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
77798         Change conditional to require [$(build-nscd) = yes] as well.
77799         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
77801         [BZ #13696]
77802         * configure.in (use_nscd): New substituted variable, set by
77803         --disable-nscd.  If enabled, define USE_NSCD.
77804         * configure: Regenerated.
77805         * config.h.in: Add USE_NSCD.
77806         * config.make.in (use-nscd): New substituted variable.
77807         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
77808         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
77809         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
77810         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
77811         (CFLAGS-getgrnam_r.c): Likewise.
77812         (CFLAGS-initgroups.c): Likewise.
77813         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
77814         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
77815         Variables removed.
77816         * inet/getnetgrent_r.c
77817         (nscd_setnetgrent): New function, broken out of ...
77818         (setnetgrent): ... here.  Call it.
77819         (innetgr): Conditionalize nscd bits on [USE_NSCD].
77820         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
77821         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
77822         * nscd/Makefile (routines, aux): Move definitions after include of
77823         Makeconfig.  Conditionalize on [$(use-nscd) != no].
77824         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
77825         Conditionalize on [USE_NSCD].
77826         (is_nscd, nscd_init_cb): Likewise.
77827         (nss_load_library): Conditionalize init callback on [USE_NSCD].
77828         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
77829         * nss/nss_db/db-init.c: Likewise.
77830         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
77831         [USE_NSCD].
77832         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
77833         (make_request): Use it.
77834         (cache_valid_p): New function.
77835         (__check_pf): Use it.
77836         * NEWS: Add item for --disable-nscd.
77838 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
77840         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
77841         to support sed >= 4.2.1-20-ga9bf076.
77842         * configure: Regenerated.
77844 2012-08-22  Roland McGrath  <roland@hack.frob.com>
77846         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
77847         Conditionalize whole body on [IREL].
77849 2012-08-22  Jeff Law <law@redhat.com>
77851         [BZ #14505]
77852         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
77853         if the family is PF_UNSPEC.
77855 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
77857         * Makerules (lib-version): Rename from V.
77858         (install-lib-nosubdir): Change V to lib-version.
77860 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
77862         [BZ #14252]
77863         * powerpc32/power6/wcschr.c: New file.
77864         * powerpc32/power6/wcscpy.c: New file.
77865         * powerpc32/power6/wcsrchr.c: New file.
77866         * powerpc64/power6/wcschr.c: New file.
77867         * powerpc64/power6/wcscpy.c: New file.
77868         * powerpc64/power6/wcsrchr.c: New file.
77870 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
77872         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
77873         (two_way_short_needle): Use it.
77874         * string/strstr.c (AVAILABLE1_USES_J): Define.
77875         * string/strcasestr.c: Likewise.
77877         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
77878         array references.
77879         * string/strcasestr.c (TOLOWER): Make side-effect safe.
77881         [BZ #11607]
77882         * NEWS: Add an entry.
77883         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
77884         define their defaults.
77885         (two_way_short_needle): Detect end-of-string on-the-fly.
77886         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
77887         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
77888         * string/bug-strcasestr1.c: New test.
77889         * string/Makefile: Run it.
77891 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
77893         [BZ #11607]
77894         * string/str-two-way.h (two_way_short_needle): Optimize matching of
77895         the first character.
77897 2012-08-21  Roland McGrath  <roland@hack.frob.com>
77899         * csu/elf-init.c (__libc_csu_irel): Function removed.
77900         * csu/libc-start.c (apply_irel): New function.
77901         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
77903 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
77905         * sysdeps/unix/sysv/linux/kernel-features.h
77906         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
77907         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
77908         <kernel-features.h>.
77909         [__NR_fadvise64_64]: Make code unconditional.
77910         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
77911         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77912         !__NR_fadvise64_64)]: Likewise.
77913         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77914         !__NR_fadvise64_64))]: Likewise.
77915         [__NR_fadvise64]: Make code unconditional.
77916         [!__NR_fadvise64]: Remove conditional code.
77917         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
77918         <kernel-features.h>.
77919         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77920         unconditional.
77921         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77922         conditional code.
77923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
77924         not include <kernel-features.h>.
77925         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77926         unconditional.
77927         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77928         conditional code.
77929         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
77930         include <kernel-features.h>.
77931         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77932         unconditional.
77933         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77934         conditional code.
77936 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
77938         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
77939         slight instruction rearrangements per scrollpipe analysis.
77940         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
77942 2012-08-20  Roland McGrath  <roland@hack.frob.com>
77944         * manual/syslog.texi (syslog; vsyslog, closelog):
77945         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
77946         Reported by Ricardo Catalinas JimĂ©nez <jimenezrick@gmail.com>.
77948         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
77949         DSOCAPS to match condition on defining it.
77951 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
77953         * sysdeps/unix/sysv/linux/kernel-features.h
77954         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
77955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
77956         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77957         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
77959         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77960         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
77962         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77963         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77965         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
77966         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
77968         * sysdeps/unix/sysv/linux/kernel-features.h
77969         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
77970         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
77971         unconditional.
77972         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77973         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
77974         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77975         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77976         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
77977         Make code unconditional.
77978         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77979         (__mmap64) [!__NR_mmap2]: Likewise.
77980         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
77981         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77982         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77983         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
77984         [__NR_mmap2]: Make code unconditional.
77985         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77986         (__mmap64) [!__NR_mmap2]: Likewise.
77988 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77990         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
77992 2012-08-18  Andreas Jaeger  <aj@suse.de>
77994         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
77996 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
77998         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
77999         * include/unistd.h (__have_sock_cloexec): Likewise.
78000         (__have_pipe2): Likewise.
78001         (__have_dup3): Likewise.
78003 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
78005         [BZ #9685]
78006         * include/unistd.h (__have_pipe2): Change define into an extern int.
78007         (__have_dup3): Likewise.
78008         * socket/have_sock_cloexec.c: Include fcntl.h.
78009         (__have_pipe2): New variable.
78010         (__have_dup3): Likewise.
78012 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
78014         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
78016 2012-08-17  Marek Polacek  <polacek@redhat.com>
78018         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
78019         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
78021 2012-08-17  Roland McGrath  <roland@hack.frob.com>
78023         * configure.in: Add AC_SUBST for sysheaders.
78024         * configure: Regenerated.
78025         * config.make.in (sysheaders): New substituted variable.
78027         * sysdeps/unix/mkfifo.c: Moved ...
78028         * sysdeps/posix/mkfifo.c: ... here.
78029         * sysdeps/unix/mkfifoat.c: Moved ...
78030         * sysdeps/posix/mkfifoat.c: ... here.
78032         * sysdeps/unix/utime.c: Moved ...
78033         * sysdeps/posix/utime.c: ... here.
78035         * sysdeps/unix/time.c: Moved ...
78036         * sysdeps/posix/time.c: ... here.
78037         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
78038         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
78040         * sysdeps/unix/nice.c: Moved ...
78041         * sysdeps/posix/nice.c: ... here.
78043         * sysdeps/unix/alarm.c: Moved ...
78044         * sysdeps/posix/alarm.c: ... here.
78046         * intl/Makefile ($(codeset_mo)): Depend on the input file.
78048 2012-08-17  Jeff Law <law@redhat.com>
78050         * intl/Makefile (codeset_mo): New variable.
78051         ($(codeset_mo)): New target.
78052         (tst-codeset.out): Depend on that.  Remove explicit rule.
78053         (tst-gettext3.out, tst-gettext5.out): Likewise.
78054         (LOCPATH-ENV, tst-codeset-ENV): New variables.
78055         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
78056         * intl/tst-codeset.sh: Remove.
78057         * intl/tst-gettext3.sh: Likewise.
78058         * intl/tst-gettext5.sh: Likewise.
78060 2012-08-17  Roland McGrath  <roland@hack.frob.com>
78062         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
78063         * sysdeps/unix/syscalls.list: ... here.
78065         * sysdeps/posix/getaddrinfo.c
78066         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
78067         (gaiconf_init, gaiconf_reload): Use them.
78068         [!_STATBUF_ST_NSEC]
78069         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
78070         Define using time_t rather than struct timespec.
78072         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
78073         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
78074         Macros removed.
78075         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
78076         [!NO_THREADS].
78077         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
78078         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
78079         Likewise.
78081         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
78082         __libc_cleanup_push argument.
78084         * bits/param.h: New file.
78085         * misc/sys/param.h: New file.
78086         * include/sys/param.h: New file.
78087         * misc/Makefile (headers): Add bits/param.h.
78088         * sysdeps/generic/sys/param.h: File removed.
78089         * sysdeps/unix/sysv/linux/bits/param.h: New file.
78090         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
78091         * sysdeps/mach/hurd/bits/param.h: New file.
78092         * sysdeps/mach/hurd/sys/param.h: File removed.
78094         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
78095         last change.
78097         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
78098         [_IO_MTSAFE_IO].
78099         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
78100         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
78101         New macros.
78103         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
78104         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
78105         rather than -D_IO_MTSAFE_IO conditionally.
78106         * stdio-common/Makefile (CPPFLAGS): Likewise.
78107         * wcsmbs/Makefile (CPPFLAGS): Likewise.
78108         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
78109         Use $(libio-mtsafe).
78110         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
78111         of -D_IO_MTSAFE_IO.
78112         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
78113         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
78114         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
78115         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
78116         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
78117         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
78118         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
78119         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
78120         (CFLAGS-fread_u_chk.c): Likewise.
78121         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
78122         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
78123         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
78124         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
78125         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
78126         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
78127         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
78128         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
78129         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
78131         * libio/Makefile: Test [$(libc-reentrant) = yes]
78132         instead of [$(filter %REENTRANT, $(defines)) nonempty].
78134         * Makeconfig
78135         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
78136         * sysdeps/pthread/configure: File removed.
78137         * sysdeps/pthread/Makeconfig: New file.
78138         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
78139         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
78141 2012-08-16  Gary Benson  <gbenson@redhat.com>
78143         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
78144         unmapping the first object in a namespace.
78146 2012-08-16  Roland McGrath  <roland@hack.frob.com>
78148         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
78149         (__internal_setnetgrent): ... this.  Add internal_function to
78150         definition.  Add libc_hidden_def.
78151         (setnetgrent): Update caller.
78152         (internal_endnetgrent): Renamed to ...
78153         (__internal_endnetgrent): ... this.  Add internal_function to
78154         definition.  Add libc_hidden_def.
78155         (endnetgrent): Update caller.
78156         (internal_getnetgrent_r): Renamed to ...
78157         (__internal_getnetgrent_r): ... this.  Add internal_function to
78158         definition.  Add libc_hidden_def.
78159         (__getnetgrent_r): Update caller.
78160         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
78162 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
78164         * stdlib/longlong.h: Update from GCC.
78166 2012-08-16  Roland McGrath  <roland@hack.frob.com>
78168         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
78169         on _QL, which is set by umul_ppmm but never used.
78170         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
78171         variables, which are set by GMP macros but never used.
78172         * stdio-common/_itowa.c (_itowa): Likewise.
78173         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
78174         * stdlib/mod_1.c (mpn_mod_1): Likewise.
78176 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
78178         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
78179         struct La_sh_regs is not constant.
78180         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
78181         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
78182         and struct La_sparc64_regs are not constant.
78184 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
78186         * sysdeps/unix/sysv/linux/kernel-features.h
78187         (__ASSUME_POSIX_TIMERS): Remove.
78188         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
78189         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78190         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
78191         Make code unconditional.
78192         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78193         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
78194         Make code unconditional.
78195         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78196         * sysdeps/unix/sysv/linux/clock_nanosleep.c
78197         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
78198         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78199         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
78200         Make code unconditional.
78201         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78202         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
78203         (__libc_missing_posix_timers): Remove.
78205 2012-08-15  Roland McGrath  <roland@hack.frob.com>
78207         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
78208         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
78210         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
78212         * elf/dl-sym.c: Include <stdlib.h>.
78214         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
78215         constants, which avoids warnings in 32-bit builds.
78217         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
78218         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
78220         * misc/lseek.c: File moved to ...
78221         * io/lseek.c: ... here.
78223         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
78225         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
78226         shifting LEN more than 31 bits at once.
78228 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78230         [BZ #14195]
78231         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
78232         segmentation fault for a case of two empty input strings.
78233         * string/test-strncasecmp.c (check1): Renamed to...
78234         (bz12205): ...this.
78235         (bz14195): Add new testcase for two empty input strings and N > 0.
78236         (test_main): Call new testcase, adapt for renamed function.
78238 2012-08-15  Andreas Jaeger  <aj@suse.de>
78240         [BZ #14090]
78241         * crypt/md5test2.c: New test, based on test supplied by Serge
78242         Belyshev <belyshev@depni.sinp.msu.ru>.
78243         * crypt/Makefile (xtests): Add md5test-giant..
78244         * crypt/Makefile ($(objpfx)md5test-giant): Add.
78246 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
78248         [BZ #14090]
78249         * crypt/md5.c (md5_process_block): Don't assume the buffer
78250         length is less than 2**32.
78251         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
78252         length is less than 2**64.
78254 2012-08-15  Roland McGrath  <roland@hack.frob.com>
78256         * string/str-two-way.h: Include <sys/param.h>.
78257         (MAX): Macro removed.
78259         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
78260         Move #define and #undef of memmove to just before and after
78261         including <string.h>.
78263         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
78264         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
78265         and after including <string.h>.  Move declarations of
78266         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
78267         to before #include "string/memmove.c".
78269         * include/dirent.h: Declare __getdirentries.
78271         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
78272         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
78274 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
78276         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
78277         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
78278         * sysdeps/i386/configure: Regenerated.
78279         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
78280         STABS_CURRENT_FILE, and STABS_FUN.
78281         (END): Remove call to STABS_FUN_END.
78282         (STABS_CURRENT_FILE1): Delete.
78283         (STABS_CURRENT_FILE): Likewise.
78284         (STABS_FUN): Likewise.
78285         (STABS_FUN_END): Likewise.
78286         (STABS_FUN2): Likewise.
78287         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
78288         * sysdeps/x86_64/configure: Regenerated.
78290 2012-08-14  Roland McGrath  <roland@hack.frob.com>
78292         * elf/dl-open.c: Include <atomic.h>.
78293         * elf/dl-lookup.c: Likewise.
78295 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
78297         * sysdeps/unix/sysv/linux/kernel-features.h
78298         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
78299         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
78300         unconditionally.
78301         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
78302         unconditionally.
78303         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
78304         condition on __ASSUME_CLONE_THREAD_FLAGS.
78306 2012-08-14  Andreas Jaeger  <aj@suse.de>
78308         * sysdeps/i386/fpu/libm-test-ulps: Update.
78310 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
78312         * include/atomic.h (atomic_exchange_and_add): Split into ...
78313         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
78314         New atomic macros.
78316 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
78318         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78320 2012-08-13  Jeff Law <law@redhat.com>
78322         * manual/stdio.texi (snprintf): Clarify handling of the trailing
78323         null byte in the output string.
78325 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
78327         * sysdeps/unix/sysv/linux/kernel-features.h
78328         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
78329         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
78330         (__ASSUME_ARG_MAX_STACK_BASED): Define.
78331         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
78332         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
78333         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
78334         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
78336 2012-08-09  Jeff Law <law@redhat.com>
78338         [BZ #13939]
78339         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
78340         When avoid_arena is set, don't retry in the that arena.  Pick the
78341         next one, whatever it might be.
78342         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
78343         (arena_lock): Pass in new parameter to arena_get2.
78344         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
78345         arena_get2.
78346         (__libc_malloc): Unify retrying after main arena failure with
78347         __libc_memalign version.
78348         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
78350 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
78352         [BZ #14166]
78353         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
78354         to __redirect_strstr.
78355         (__strstr_sse42): Use typeof __redirect_strstr.
78356         (__strstr_ia32): Likewise.
78357         (__libc_strstr): New prototype.
78358         (strstr): Renamed to ...
78359         (__libc_strstr): This.
78360         (strstr): New strong alias of __libc_strstr.
78361         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
78362         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
78363         __redirect_time.
78364         Include <time.h>.
78365         (__libc_time): New prototype.
78366         (time_ifunc): Replace time with __libc_time.
78367         (time): New strong alias and hidden definition of __libc_time.
78368         (__GI_time): Remove strong alias.
78369         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
78370         Include <stddef.h>.
78371         (memmove): Redefined to __redirect_memmove.
78372         (__memmove_sse2): Use typeof __redirect_memmove.
78373         (__memmove_ssse3): Likewise.
78374         (__memmove_ssse3_back): Likewise.
78375         (__libc_memmove): New prototype.
78376         (memmove): Renamed to ...
78377         (__libc_memmove): This.
78378         (memmove): New strong alias of __libc_memmove.
78380 2012-08-08  Mark Salter  <msalter@redhat.com>
78382         * elf/elf.h
78383         (R_MN10300_TLS_GD): Define.
78384         (R_MN10300_TLS_LD): Likewise.
78385         (R_MN10300_TLS_LDO): Likewise.
78386         (R_MN10300_TLS_GOTIE): Likewise.
78387         (R_MN10300_TLS_IE): Likewise.
78388         (R_MN10300_TLS_LE): Likewise.
78389         (R_MN10300_TLS_DTPMOD): Likewise.
78390         (R_MN10300_TLS_DTPOFF): Likewise.
78391         (R_MN10300_TLS_TPOFF): Likewise.
78392         (R_MN10300_SYM_DIFF): Likewise.
78393         (R_MN10300_ALIGN): Likewise.
78394         (R_MN10300_NUM): Update.
78396 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
78398         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
78399         Remove.
78401 2012-08-08  Roland McGrath  <roland@hack.frob.com>
78403         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
78405         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
78406         sysdeps/unix -> sysdeps/posix move.
78407         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
78409 2012-08-07      Allan McRae     <allan@archlinux.org>
78411         [BZ #14303]
78412         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
78413         (SUNOS_CPP): Likewise.
78414         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
78415         not found.
78416         (open_input): Call CPP using execvp.
78418 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
78420         * sysdeps/unix/sysv/linux/kernel-features.h
78421         (__ASSUME_PROT_GROWSUPDOWN): Remove.
78422         (__ASSUME_NO_CLONE_DETACHED): Likewise.
78423         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78424         (__ASSUME_WAITID_SYSCALL): Likewise.
78425         * sysdeps/unix/sysv/linux/dl-execstack.c
78426         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
78427         code unconditional.
78428         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
78429         conditional code.
78430         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
78431         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
78432         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
78433         code.
78434         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
78435         unconditional.
78436         [__ASSUME_WAITID_SYSCALL]: Likewise.
78437         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
78439 2012-08-07  Roland McGrath  <roland@hack.frob.com>
78441         * sysdeps/unix/closedir.c: Renamed to ...
78442         * sysdeps/posix/closedir.c: ... here.
78443         * sysdeps/unix/dirfd.c: Renamed to ...
78444         * sysdeps/posix/dirfd.c: ... here.
78445         * sysdeps/unix/dirstream.h: Renamed to ...
78446         * sysdeps/posix/dirstream.h: ... here.
78447         * sysdeps/unix/fdopendir.c: Renamed to ...
78448         * sysdeps/posix/fdopendir.c: ... here.
78449         * sysdeps/unix/opendir.c: Renamed to ...
78450         * sysdeps/posix/opendir.c: ... here.
78451         * sysdeps/unix/readdir.c: Renamed to ...
78452         * sysdeps/posix/readdir.c: ... here.
78453         * sysdeps/unix/readdir_r.c: Renamed to ...
78454         * sysdeps/posix/readdir_r.c: ... here.
78455         * sysdeps/unix/rewinddir.c: Renamed to ...
78456         * sysdeps/posix/rewinddir.c: ... here.
78457         * sysdeps/unix/seekdir.c: Renamed to ...
78458         * sysdeps/posix/seekdir.c: ... here.
78459         * sysdeps/unix/telldir.c: Renamed to ...
78460         * sysdeps/posix/telldir.c: ... here.
78461         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
78462         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
78463         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
78464         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
78466         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
78467         * bits/fcntl.h: ... here.
78469         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
78470         not 0.
78471         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
78472         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
78473         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
78474         (struct flock): Move l_start, l_len to the beginning.
78475         Use __pid_t for l_pid.
78476         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
78477         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
78478         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
78479         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
78480         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
78481         [__USE_LARGEFILE64] (struct flock64): New type.
78482         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
78484         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
78485         * bits/dirent.h: ... here.
78487         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
78488         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
78490 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
78492         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78493         Change from 2.6.0 to 2.6.16.
78494         * sysdeps/unix/sysv/linux/configure: Regenerated.
78495         * sysdeps/unix/sysv/linux/kernel-features.h
78496         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
78497         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
78498         version.
78499         (__ASSUME_UTIMES): Likewise.
78500         (__ASSUME_CLONE_STOPPED): Remove.
78501         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
78502         architectures, not kernel version.
78503         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
78504         (__ASSUME_NO_CLONE_DETACHED): Likewise.
78505         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78506         (__ASSUME_WAITID_SYSCALL): Likewise.
78507         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
78508         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
78509         * README: State 2.6.16 as minimum Linux kernel version.  Do not
78510         refer to older versions.
78512 2012-08-06  Roland McGrath  <roland@hack.frob.com>
78514         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
78515         Define alphasort64 as an alias.
78516         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
78517         Define versionsort64 as an alias.
78518         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
78519         Define scandir64 as an alias.
78520         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
78521         Define scandirat64 as an alias.
78522         * dirent/alphasort64.c (alphasort64):
78523         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
78524         * dirent/versionsort64.c: Likewise.
78525         * dirent/scandir64.c: Likewise.
78526         * dirent/scandirat64.c: Likewise.
78527         * sysdeps/wordsize-64/alphasort.c: File removed.
78528         * sysdeps/wordsize-64/alphasort64.c: File removed.
78529         * sysdeps/wordsize-64/scandir.c: File removed.
78530         * sysdeps/wordsize-64/scandir64.c: File removed.
78531         * sysdeps/wordsize-64/scandirat.c: File removed.
78532         * sysdeps/wordsize-64/scandirat64.c: File removed.
78533         * sysdeps/wordsize-64/versionsort.c: File removed.
78534         * sysdeps/wordsize-64/versionsort64.c: File removed.
78535         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
78536         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
78537         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
78538         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
78539         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
78540         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
78541         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
78542         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
78544         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
78545         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78546         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
78547         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78548         [defined __arch64__ || defined __sparcv9]
78549         (__INO_T_MATCHES_INO64_T): New macro.
78550         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78551         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
78552         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
78553         * sysdeps/unix/sysv/linux/bits/dirent.h
78554         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
78555         (_DIRENT_MATCHES_DIRENT64): New macro.
78557         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
78558         Define lockf64 as an alias.
78559         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
78560         Define fseeko64 as an alias.
78561         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
78562         Define ftello64 as an alias.
78563         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
78564         Define _IO_fgetpos64 and fgetpos64 as aliases.
78565         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
78566         Define _IO_fsetpos64 and fsetpos64 as aliases.
78567         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
78568         Conditionalize body on this.
78569         * libio/fseeko64.c: Likewise.
78570         * libio/ftello64.c: Likewise.
78571         * libio/iofgetpos64.c: Likewise.
78572         * libio/iofsetpos64.c: Likewise.
78573         * sysdeps/wordsize-64/lockf.c: File removed.
78574         * sysdeps/wordsize-64/lockf64.c: File removed.
78575         * sysdeps/wordsize-64/fseeko.c: File removed.
78576         * sysdeps/wordsize-64/fseeko64.c: File removed.
78577         * sysdeps/wordsize-64/ftello.c: File removed.
78578         * sysdeps/wordsize-64/ftello64.c: File removed.
78579         * sysdeps/wordsize-64/iofgetpos.c: File removed.
78580         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
78581         * sysdeps/wordsize-64/iofsetpos.c: File removed.
78582         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
78583         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
78584         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
78585         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
78586         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
78587         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
78588         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
78589         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
78590         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
78591         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
78592         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
78594         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78595         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78596         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
78597         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78598         [defined __arch64__ || defined __sparcv9]
78599         (__OFF_T_MATCHES_OFF64_T): New macro.
78600         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78601         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78602         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78603         (__OFF_T_MATCHES_OFF64_T): New macro.
78605 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
78607         * stdlib/secure-getenv.c (__secure_getenv): Replace
78608         GLIBC_2_16 with GLIBC_2_17.
78610 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
78612         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
78613         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78615 2012-08-03  David S. Miller  <davem@davemloft.net>
78617         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78619 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
78621         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
78622         Remove.
78623         (__ASSUME_CORRECT_SI_PID): Likewise.
78624         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
78625         (__ASSUME_TMPFS_NAME): Likewise.
78626         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
78627         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
78628         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
78629         (HAVE_AUX_SECURE): Make definition unconditional.
78630         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
78631         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
78633 2012-08-03  Roland McGrath  <roland@hack.frob.com>
78635         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
78636         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
78637         * sysdeps/mach/hurd/eloop-threshold.h: New file.
78638         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78639         __eloop_threshold instead of SYMLOOP_MAX.
78641         * sysdeps/generic/eloop-threshold.h: New file.
78642         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
78643         of MAXSYMLINKS.
78644         * elf/chroot_canon.c (chroot_canon): Likewise.
78646 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
78648         [BZ #13717]
78649         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78650         Change to 2.6.0 everywhere.
78651         * sysdeps/unix/sysv/linux/configure: Regenerated.
78652         * sysdeps/unix/sysv/linux/kernel-features.h
78653         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
78654         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
78655         kernel versions.
78656         (__ASSUME_POSIX_TIMERS): Define unconditionally.
78657         (__ASSUME_FUTEX_REQUEUE): Remove.
78658         (__ASSUME_STATFS64): Define unconditionally.
78659         (__ASSUME_AT_SECURE): Likewise.
78660         (__ASSUME_CORRECT_SI_PID): Likewise.
78661         (__ASSUME_TGKILL): Define without depending on kernel version for
78662         i386.
78663         (__ASSUME_UTIMES): Likewise.
78664         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
78665         kernel version.
78666         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
78667         (__ASSUME_TMPFS_NAME): Likewise.
78668         * README: Update reference to Linux kernel versions.
78670 2012-08-02  Marek Polacek  <polacek@redhat.com>
78672         [BZ #14150]
78673         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
78674         libc_cv_asm_type_prefix with %.
78675         * configure: Regenerated.
78676         * include/libc-symbols.h: Remove comment about
78677         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78678         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
78679         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
78680         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
78681         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
78682         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78683         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
78684         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
78685         * elf/tst-unique2mod1.c: Likewise.
78686         * elf/tst-unique1mod2.c: Likewise.
78687         * elf/tst-unique1mod1.c: Likewise.
78688         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
78689         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
78690         Replace ASM_TYPE_DIRECTIVE with .type.
78691         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78692         * sysdeps/i386/sysdep.h: Likewise.
78693         * sysdeps/x86_64/sysdep.h: Likewise.
78694         * sysdeps/sh/sysdep.h: Likewise.
78695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78696         Do not define ASM_TYPE_DIRECTIVE.
78697         * sysdeps/powerpc/sysdep.h: Likewise.
78698         * sysdeps/powerpc/powerpc32/sysdep.h:
78699         Replace ASM_TYPE_DIRECTIVE with .type.
78700         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78701         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78702         * sysdeps/i386/fpu/e_powf.S: Likewise.
78703         * sysdeps/i386/fpu/e_expl.S: Likewise.
78704         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78705         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78706         * sysdeps/i386/fpu/e_pow.S: Likewise.
78707         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78708         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78709         * sysdeps/i386/fpu/s_expm1.S: Likewise.
78710         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78711         * sysdeps/i386/fpu/e_log2.S: Likewise.
78712         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78713         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78714         * sysdeps/i386/fpu/e_powl.S: Likewise.
78715         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78716         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78717         * sysdeps/i386/fpu/e_logl.S: Likewise.
78718         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78719         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78720         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78721         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78722         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78723         * sysdeps/i386/fpu/e_log.S: Likewise.
78724         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78725         * sysdeps/i386/fpu/e_logf.S: Likewise.
78726         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78727         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78728         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78729         * sysdeps/i386/fpu/e_log10.S: Likewise.
78730         * sysdeps/i386/fpu/s_frexp.S: Likewise.
78731         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78732         * sysdeps/i386/fpu/s_asinh.S: Likewise.
78733         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78734         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78735         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
78736         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78737         * sysdeps/i386/i686/strtok.S: Likewise.
78738         * sysdeps/i386/i386-mcount.S: Likewise.
78739         * sysdeps/i386/strtok.S: Likewise.
78740         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
78741         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78742         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78743         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78744         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78745         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78746         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78747         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78748         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78749         * sysdeps/x86_64/_mcount.S: Likewise.
78750         * sysdeps/x86_64/strtok.S: Likewise.
78751         * sysdeps/sh/_mcount.S: Likewise.
78753 2012-08-01  Roland McGrath  <roland@hack.frob.com>
78755         * libio/iofopen.c: Include <fcntl.h>.
78756         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
78757         (_IO_fopen64, fopen64): Define as aliases.
78758         * libio/iofopen64.c: Include <fcntl.h>.
78759         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
78760         Conditionalize body on this.
78761         * sysdeps/wordsize-64/iofopen.c: File removed.
78762         * sysdeps/wordsize-64/iofopen64.c: File removed.
78764 2012-08-01  Marek Polacek  <polacek@redhat.com>
78766         * libc/Makeconfig: Use elf in place of binfmt-subdir.
78767         Use dlfcn directly instead of a variable.
78768         (binfmt-subdir): Do not define.
78769         (dlfcn): Likewise.
78771 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
78773         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
78774         Remove all definitions.
78775         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
78776         <kernel-features.h>.
78777         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78778         (miss_F_GETOWN_EX): Remove all definitions.
78779         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
78780         macro definition.
78781         [!__ASSUME_FCNTL64]: Remove conditional code.
78782         [__ASSUME_FCNTL64]: Make code unconditional.
78783         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
78784         <kernel-features.h>.
78785         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78786         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
78787         (lockf64) [__NR_fcntl64]: Make code unconditional.
78788         (lockf64) [__ASSUME_FCNTL64]: Likewise.
78790         * sysdeps/unix/sysv/linux/kernel-features.h
78791         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
78792         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
78793         Make code unconditional.
78794         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78795         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
78797         [__NR_vfork]: Make code unconditional.
78798         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78799         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
78801         [__NR_vfork]: Make code unconditional.
78802         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78803         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78805 2012-08-01  Roland McGrath  <roland@hack.frob.com>
78807         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
78808         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
78810         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78811         Define mkstemp64 as an alias.
78812         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78813         Define mkstemps64 as an alias.
78814         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78815         Define mkostemp64 as an alias.
78816         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78817         Define mkostemps64 as an alias.
78818         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
78819         Conditionalize body on this.
78820         * misc/mkostemp64.c: Likewise.
78821         * misc/mkostemps64.c: Likewise.
78822         * misc/mkstemps64.c: Likewise.
78823         * sysdeps/wordsize-64/mkstemp64.c: File removed.
78824         * sysdeps/wordsize-64/mkostemp64.c: File removed.
78825         * sysdeps/wordsize-64/mkostemp.c: File removed.
78826         * sysdeps/wordsize-64/mkstemp.c: File removed.
78827         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
78828         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
78829         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
78830         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
78832         [BZ #14138]
78833         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
78834         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
78835         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
78836         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
78838         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
78839         compat_symbol macros from <shlib-compat.h> rather than the underlying
78840         default_symbol_version and symbol_version macros, so that DEFAULT
78841         lines in shlib-versions are respected.
78842         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
78844 2012-08-01  Florian Weimer  <fweimer@redhat.com>
78846         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
78847         Declare with warn_unused_result.
78848         (setgid, setregid, setegid, setresgid): Likewise.
78849         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
78850         Likewise.
78851         * WUR-REPORT: Remove set*id functions.
78853 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
78855         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
78857 2012-07-31  Roland McGrath  <roland@hack.frob.com>
78859         [BZ #10191]
78860         * include/sys/socket.h (__libc_accept, __libc_accept4):
78861         Add attribute_hidden.
78862         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
78864         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
78865         use of PTR_MANGLE.
78866         * inet/getnetgrent_r.c (setup): Likewise.
78868         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
78870 2012-07-31  David S. Miller  <davem@davemloft.net>
78872         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78874 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
78876         [BZ #13629]
78877         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
78878         value between 1.0 and 2.0 and smaller part has absolute value less
78879         than 1.0.
78880         * math/s_clog10.c (__clog10): Likewise.
78881         * math/s_clog10f.c (__clog10f): Likewise.
78882         * math/s_clog10l.c (__clog10l): Likewise.
78883         * math/s_clogf.c (__clogf): Likewise.
78884         * math/s_clogl.c (__clogl): Likewise.
78885         * math/libm-test.inc (clog_test): Add more tests.
78886         (clog10_test): Likewise.
78887         * sysdeps/i386/fpu/libm-test-ulps: Update.
78888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78890 2012-07-31  Florian Weimer  <fweimer@redhat.com>
78892         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
78893         Exit with zero in case no suitable GID is found, and write a
78894         message to standard error.
78896 2012-07-30  Roland McGrath  <roland@hack.frob.com>
78898         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
78899         rather than to 1.
78900         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
78901         (MAXPATHLEN): Removed.
78902         (NOGROUP, NODEV): New macros.
78903         (setbit, clrbit, isset, isclr): New macros.
78904         (howmany, roundup, powerof2): New macros.
78905         (DEV_BSIZE): New macro.
78907         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
78908         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
78910         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
78911         definition on [!__NO_LONG_DOUBLE_MATH].
78913         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
78914         PTR_MANGLE and PTR_DEMANGLE.
78916         * socket/accept4.c (accept4): Rename to __libc_accept4.
78917         Define accept4 as a weak alias.
78919         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
78920         on [_DIRENT_HAVE_D_TYPE].
78921         * io/ftw.c (ftw_dir): Likewise.
78923         * io/xmknod.c (__xmknod): Don't check PATH for being null.
78925         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
78927         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
78928         Use the BSD numbers rather than the arbitrary ones we had.
78929         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
78930         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
78931         (SIGXCPU, SIGXFSZ): New macros.
78932         (_NSIG): Now 32.
78934         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
78935         initializer on [_LIBC_REENTRANT].
78937         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
78938         definitions inside [_POSIX_MAPPED_FILES].
78940         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
78942         * dirent/opendir.c: Include <fcntl.h>.
78944         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
78945         (__libc_getspecific): Likewise.
78946         (__libc_key_create): Likewise.
78948         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
78949         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
78950         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
78951         (tmpfile64): Define as alias.
78952         * sysdeps/wordsize-64/tmpfile.c: File removed.
78953         * sysdeps/wordsize-64/tmpfile64.c: File removed.
78954         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
78955         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
78957         * stdio-common/vfscanf.c: Include <stdbool.h>.
78958         * nss/makedb.c: Likewise.
78959         * stdio-common/_i18n_number.h: Likewise.
78960         * argp/argp-help.c: Likewise.
78961         * posix/wordexp.c: Likewise.
78962         * sysdeps/posix/spawni.c: Likewise.
78963         * nss/nss_files/files-initgroups.c: Likewise.
78964         * stdio-common/reg-modifier.c: Include <stdlib.h>.
78965         * nss/nss_files/files-initgroups.c: Likewise.
78966         * nss/nss_db/db-netgrp.c: Likewise.
78967         * nss/nss_db/db-initgroups.c: Likewise.
78968         * io/fchmodat.c: Include <sys/stat.h>.
78970         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
78971         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
78973         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
78974         [HAVE_MMAP].
78976         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
78977         Add multiple inclusion protection.
78979 2012-07-27  David S. Miller  <davem@davemloft.net>
78981         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78983 2012-07-27  Gary Benson  <gbenson@redhat.com>
78985         [BZ #14298]
78986         * elf/rtld.c: Include <stap-probe.h>.
78987         (dl_main): Added static probes "init_start" and "init_complete".
78988         * elf/dl-load.c: Include <stap-probe.h>.
78989         (lose): Take new parameter "nsid".
78990         Added static probe "map_failed".
78991         (_dl_map_object_from_fd): Pass namespace id to lose.
78992         Added static probe "map_start".
78993         (open_verify): Pass namespace id to lose.
78994         * elf/dl-open.c: Include <stap-probe.h>.
78995         (dl_open_worker) Added static probes "map_complete", "reloc_start"
78996         and "reloc_complete".
78997         * elf/dl-close.c: Include <stap-probe.h>.
78998         (_dl_close_worker): Added static probes "unmap_start" and
78999         "unmap_complete".
79000         * elf/rtld-debugger-interface.txt: New file documenting the above.
79002 2012-07-26  Roland McGrath  <roland@hack.frob.com>
79004         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
79005         rather than a string variable.
79006         * sunrpc/rpc_main.c (h_output): Likewise.
79007         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
79009 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
79011         * inet/check_native.c: New file.
79013 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
79015         [BZ #13629]
79016         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
79017         if larger part has absolute value 1.0.
79018         * math/s_clog10.c (__clog10): Likewise.
79019         * math/s_clog10f.c (__clog10f): Likewise.
79020         * math/s_clog10l.c (__clog10l): Likewise.
79021         * math/s_clogf.c (__clogf): Likewise.
79022         * math/s_clogl.c (__clogl): Likewise.
79023         * math/libm-test.inc (clog_test): Add more tests.
79024         (clog10_test): Likewise.
79025         * sysdeps/i386/fpu/libm-test-ulps: Update.
79026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79028         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
79029         (pltexit): Likewise.
79030         (La_regs): Likewise.
79031         (La_retval): Likewise.
79032         (int_retval): Likewise.
79033         Update #error for removed macros to refer only to definitions in
79034         tst-audit.h.
79035         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
79036         macro.
79037         (pltexit): Likewise.
79038         (La_regs): Likewise.
79039         (La_retval): Likewise.
79040         (int_retval): Likewise.
79041         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
79042         macro.
79043         (pltexit): Likewise.
79044         (La_regs): Likewise.
79045         (La_retval): Likewise.
79046         (int_retval): Likewise.
79047         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
79048         macro.
79049         (pltexit): Likewise.
79050         (La_regs): Likewise.
79051         (La_retval): Likewise.
79052         (int_retval): Likewise.
79053         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
79054         macro.
79055         (pltexit): Likewise.
79056         (La_regs): Likewise.
79057         (La_retval): Likewise.
79058         (int_retval): Likewise.
79059         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
79060         macro.
79061         (pltexit): Likewise.
79062         (La_regs): Likewise.
79063         (La_retval): Likewise.
79064         (int_retval): Likewise.
79065         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
79066         macro.
79067         (pltexit): Likewise.
79068         (La_regs): Likewise.
79069         (La_retval): Likewise.
79070         (int_retval): Likewise.
79071         * sysdeps/generic/tst-audit.h: Update comment to refer only to
79072         macro definitions in tst-audit.h.
79073         * sysdeps/i386/tst-audit.h: New file.
79074         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
79075         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
79076         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
79077         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
79078         * sysdeps/sh/tst-audit.h: Likewise.
79079         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
79080         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
79081         * sysdeps/x86_64/tst-audit.h: Likewise.
79083 2012-07-26  Andreas Jaeger  <aj@suse.de>
79085         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
79086         ptrace.
79088         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
79089         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
79090         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
79091         PTRACE_O_MASK.
79092         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
79093         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
79094         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
79096         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
79097         value.
79099         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
79100         _sigsys.
79101         (si_call_addr, si_syscall, si_arch): Define new macro.
79102         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
79103         _sigsys.
79104         (si_call_addr, si_syscall, si_arch): Define new marcro.
79105         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
79106         _sigsys.
79107         (si_call_addr, si_syscall, si_arch): Define new macro.
79108         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
79109         _sigsys.
79110         (si_call_addr, si_syscall, si_arch): Define new macro.
79112 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
79114         [BZ #13717]
79115         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79116         Change to 2.4.21 where previously 2.4.1.
79117         * sysdeps/unix/sysv/linux/configure: Regenerated.
79118         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
79119         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
79120         Linux kernel version.
79121         (__ASSUME_STD_AUXV): Remove.
79122         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
79123         kernel version.
79124         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
79125         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
79126         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
79127         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
79128         (__ASSUME_NETLINK_SUPPORT): Likewise.
79129         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
79130         (__no_netlink_support): Remove conditional definition.
79131         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
79132         Remove.
79133         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
79134         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
79135         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
79136         (if_nameindex_ioctl): Remove.
79137         (if_nameindex_netlink): Do not handle __no_netlink_support.
79138         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
79139         code.
79140         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
79141         Remove conditional code.
79142         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
79143         code.
79144         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
79145         unconditional.
79146         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
79147         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
79148         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
79149         Remove.
79150         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
79151         [!__ASSUME_STD_AUXV]: Remove conditional code.
79152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
79153         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
79154         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
79155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
79156         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
79157         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79158         code.
79159         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
79161         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
79162         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79163         conditional code.
79164         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
79166         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79167         code.
79168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
79169         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79170         conditional code.
79171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
79172         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79173         code unconditional.
79174         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79175         conditional code.
79176         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79177         unconditional.
79178         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79179         conditional code.
79180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79181         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79182         unconditional.
79183         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79184         conditional code.
79185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
79186         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79187         code unconditional.
79188         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79189         conditional code.
79190         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79191         unconditional.
79192         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79193         conditional code.
79194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
79195         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79196         code unconditional.
79197         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79198         conditional code.
79199         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79200         unconditional.
79201         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79202         conditional code.
79204 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
79206         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
79207         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
79208         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
79209         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
79210         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
79211         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
79212         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
79213         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
79214         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
79215         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
79216         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
79217         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
79218         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
79219         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
79220         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
79221         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
79222         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
79223         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
79224         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
79225         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
79226         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
79227         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
79228         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
79230 2012-07-25  Florian Weimer  <fweimer@redhat.com>
79232         * Versions.def: Add GLIBC_2.17.
79233         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
79234         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
79235         Introduce __libc_secure_getenv.
79236         * stdlib/Versions (2.17): Add secure_getenv
79237         (GLIBC_PRIVATE): Add __libc_secure_getenv.
79238         * stdlib/secure-getenv.c: Rename __secure_getenv to
79239         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
79240         symbol __secure_getenv for GLIBC_2.0.
79241         * stdlib/tst-secure-getenv.c: New.
79242         * stdlib/Makefile (tests): Add testcase.
79243         * manual/startup.texi (Environment Access): Document
79244         secure_getenv.
79245         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
79246         __libc_secure_getenv.
79247         * inet/ruserpass.c (ruserpass): Likewise.
79248         * malloc/mtrace.c (mtrace): Likewise.
79249         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
79250         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
79251         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
79252         * sysdeps/posix/tempname.c: Likewise.  Evaluate
79253         HAVE_SECURE_GETENV.
79254         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
79255         __secure_getenv to __libc_secure_getenv.
79256         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
79257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79258         Likewise.
79259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
79260         Likewise.
79261         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
79262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
79263         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
79264         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
79265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
79266         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
79267         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
79269 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
79271         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
79272         (struct La_i86_retval): Likewise.
79273         (struct La_x86_64_regs): Likewise.
79274         (struct La_x86_64_retval): Likewise.
79275         (struct La_x32_regs): Likewise.
79276         (struct La_x32_retval): Likewise.
79277         (struct La_ppc32_regs): Likewise.
79278         (struct La_ppc32_retval): Likewise.
79279         (struct La_ppc64_regs): Likewise.
79280         (struct La_ppc64_retval): Likewise.
79281         (struct La_sh_regs): Likewise.
79282         (struct La_sh_retval): Likewise.
79283         (struct La_s390_32_regs): Likewise.
79284         (struct La_s390_32_retval): Likewise.
79285         (struct La_s390_64_regs): Likewise.
79286         (struct La_s390_64_retval): Likewise.
79287         (struct La_sparc32_regs): Likewise.
79288         (struct La_sparc32_retval): Likewise.
79289         (struct La_sparc64_regs): Likewise.
79290         (struct La_sparc64_retval): Likewise.
79291         (struct audit_ifaces): Remove architecture-specific pltenter and
79292         pltexit members.
79293         * sysdeps/i386/ldsodefs.h: New file.
79294         * sysdeps/powerpc/ldsodefs.h: Likewise.
79295         * sysdeps/s390/ldsodefs.h: Likewise.
79296         * sysdeps/sh/ldsodefs.h: Likewise.
79297         * sysdeps/sparc/ldsodefs.h: Likewise.
79298         * sysdeps/x86_64/ldsodefs.h: Likewise.
79300 2012-07-25  Marek Polacek  <polacek@redhat.com>
79302         [BZ #6808]
79303         * math/libm-test.inc (yn_test): Add another test.
79304         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
79305         to ERANGE when the result is +-Inf.
79306         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
79307         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
79308         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
79309         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
79311 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
79313         * conform/data/time.h-data (NULL): Use macro-constant.  Require
79314         equal to 0.
79315         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
79316         clock_t.
79317         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
79319 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
79321         * configure.in <sysdeps resolving>: Correct printing
79322         Implies_before.
79323         * configure: Regenerate.
79325 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
79327         * math/w_ilogb.c: Include <limits.h>.
79328         * math/w_ilogbl.c: Likewise.
79330 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
79332         * manual/lang.texi (__va_copy): Document primarily as ISO C99
79333         va_copy.  Document allowing for unavailable va_copy only as
79334         pre-C99 compatibility.
79335         * manual/string.texi (Copying and Concatenation): Use va_copy
79336         instead of __va_copy in concat example.
79338 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
79340         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
79341         (__sendto): Use create_address_port.  Initialize APORT and deallocate
79342         it if not null.
79344         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
79345         with O_NOLINK passed to __file_name_lookup.
79347         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
79348         with O_NOLINK passed to __file_name_lookup.
79350         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
79351         negative N or less than NGIDS.
79353         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
79354         type to string_t.  Set ERANGE as errno and return it if NAME is not big
79355         enough.  Use memcpy instead of strncpy.
79357 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
79359         * elf/Makefile (check-data): Remove.
79360         (localplt.data): New vpath directive.
79361         ($(objpfx)check-localplt.out): Use localplt.data from vpath
79362         instead of $(check-data).
79363         * scripts/data/localplt-generic.data: Move to ...
79364         * sysdeps/generic/localplt.data: ... here.
79365         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
79366         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
79367         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
79368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
79369         ... here.
79370         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
79371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
79372         ... here.
79373         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
79374         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
79375         ... here.
79376         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
79377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
79378         ... here.
79379         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
79380         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
79381         ... here.
79382         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
79383         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
79384         ... here.
79386 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79388         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
79389         PPC32 and PPC64 files.
79390         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
79391         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
79393 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79395         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
79396         __makecontext_ret to ...
79397         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
79398         ... here and call exit if uc_link is NULL.  New file.
79399         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
79400         __makecontext_ret.S.
79401         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
79402         __makecontext_ret to ...
79403         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
79404         ... here and call exit if uc_link is NULL.  New file.
79405         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
79406         __makecontext_ret.S.
79408 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79410         * elf/elf.h (R_390_IRELATIVE): New definition.
79411         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
79412         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
79413         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
79414         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
79415         (elf_machine_lazy_rel): Likewise.
79416         * sysdeps/s390/dl-irel.h: New file.
79417         * sysdeps/s390/s390-64/memcpy.S: New asm code.
79418         * sysdeps/s390/s390-64/memset.S: New asm code.
79419         * sysdeps/s390/s390-64/memcmp.S: New asm code.
79420         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
79421         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
79422         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
79423         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
79424         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
79425         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
79426         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
79427         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
79428         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
79429         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
79430         * sysdeps/s390/s390-32/memcpy.S: New asm code.
79431         * sysdeps/s390/s390-32/memset.S: New asm code.
79432         * sysdeps/s390/s390-32/memcmp.S: New asm code.
79434 2012-07-17  Marek Polacek  <polacek@redhat.com>
79436         [BZ #14349]
79437         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
79438         * sysdeps/s390/s390-64/configure.in: Likewise.
79439         * sysdeps/sparc/configure.in: Likewise.
79440         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
79441         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
79442         * sysdeps/i386/configure.in: Likewise.
79443         * sysdeps/x86_64/configure.in: Likewise.
79444         * sysdeps/sh/configure.in: Likewise.
79445         * sysdeps/s390/s390-32/configure: Regenerated.
79446         * sysdeps/s390/s390-64/configure: Likewise.
79447         * sysdeps/x86_64/configure: Likewise.
79448         * sysdeps/sh/configure: Likewise.
79449         * sysdeps/powerpc/powerpc64/configure: Likewise.
79450         * sysdeps/powerpc/powerpc32/configure: Likewise.
79451         * sysdeps/sparc/configure: Likewise.
79452         * sysdeps/i386/configure: Likewise.
79454         * elf/dl-open.c: Comment fixes.
79456 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
79458         * Makefile [CXX] (check-data): Remove.
79459         [CXX] (c++-types.data): New vpath directive.
79460         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
79461         vpath.  Do not allow for C++ type data being missing.
79462         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
79463         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
79464         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
79465         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
79466         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
79467         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
79468         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
79469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
79470         ... here.
79471         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
79472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
79473         ... here.
79474         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
79475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
79476         ... here.
79477         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
79478         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
79479         ... here.
79480         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
79481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
79482         ... here.
79483         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
79484         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
79485         ... here.
79486         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
79487         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
79488         ... here.
79489         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
79490         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
79492         * elf/tls-macros.h (TLS_LE): Move architecture-specific
79493         definitions to architecture-specific files.
79494         (TLS_IE): Likewise.
79495         (TLS_LD): Likewise.
79496         (TLS_GD): Likewise.
79497         * sysdeps/i386/tls-macros.h: New file.
79498         * sysdeps/powerpc/tls-macros.h: Likewise.
79499         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
79500         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
79501         * sysdeps/sh/tls-macros.h: Likewise.
79502         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
79503         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
79504         * sysdeps/x86_64/tls-macros.h: Likewise.
79506 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
79508         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
79509         zero value for regular exit case.
79511         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
79512         (__start_context): Preserve zero value for regular exit case.
79514 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
79515             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79517         * manual/setjmp.texi (setcontext): Clarify normal process
79518         termination when uc_link is the null pointer.
79519         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
79520         exit call.
79522 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
79524         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
79525         preprocessor.  Test for each exception mask separately.
79527 2012-07-16  Andreas Jaeger  <aj@suse.de>
79529         * po/ru.po: Update from translation team.
79531 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
79533         * conform/data/string.h-data (NULL): Use macro-constant.  Require
79534         equal to 0.
79535         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79536         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79537         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
79538         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
79539         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79541 2012-07-13  Andreas Jaeger  <aj@suse.de>
79543         * po/fr.po: Update from translation team.
79545 2012-07-12  Marek Polacek  <polacek@redhat.com>
79547         [BZ #14173]
79548         * math/libm-test.inc (yn_test): Add test for BZ #14173.
79549         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
79550         loop condition.
79552 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
79554         [BZ #13717]
79555         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79556         Change to 2.4.1 where previously 2.4.0.
79557         * sysdeps/unix/sysv/linux/configure: Regenerated.
79558         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
79559         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
79560         version.
79561         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
79562         (__ASSUME_AT_CLKTCK): Remove.
79563         (__ASSUME_AT_PAGESIZE): Likewise.
79564         (__ASSUME_AT_XID): Likewise.
79565         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
79566         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
79567         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
79568         unconditionally.
79569         (HAVE_AUX_PAGESIZE): Likewise.
79570         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
79571         [__ASSUME_AT_CLKTCK]: Make code unconditional.
79572         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
79574 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
79576         [BZ #14307]
79577         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
79578         the temporary buffer used to invoke __gethostbyname2_r,
79579         __gethostbyaddr_r and gethostbyname4_r to make room for struct
79580         host_data / struct gaih_addrtuple.
79581         * resolv/nss_dns/dns-host.c (global scope): Move definition of
79582         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
79583         header file nss/nsswitch.h.
79584         * nss/nsswitch.h (global scope): Add definition of implementation
79585         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
79586         resolv/nss_dns/dns-host.c).
79588 2012-07-11  Andreas Jaeger  <aj@suse.de>
79590         * po/fr.po: Update from translation team.
79592         * po/sv.po: Update from translation team
79593         * po/fr.po: Another update from translation team.
79595 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79597         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
79598         for subnormals or multiply small sinh result by itself.
79599         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79602 2012-07-11  David S. Miller  <davem@davemloft.net>
79604         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79606 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
79608         [BZ #14347]
79609         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
79610         (INTERNAL_MARK): Shift it here.
79612 2012-07-10  Marek Polacek  <polacek@redhat.com>
79614         [BZ #14151]
79615         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
79616         libc_cv_asm_global_directive with .globl.
79617         * configure: Regenerated.
79618         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
79619         with .globl.
79620         * sysdeps/i386/configure: Regenerated.
79621         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
79622         with .globl.
79623         * sysdeps/x86_64/configure: Regenerated.
79624         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
79625         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
79626         * elf/tst-unique2mod2.c: Likewise.
79627         * elf/tst-unique2mod1.c: Likewise.
79628         * elf/tst-unique1mod2.c: Likewise.
79629         * elf/tst-unique1mod1.c: Likewise.
79630         * sysdeps/s390/s390-32/sysdep.h: Likewise.
79631         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
79632         * sysdeps/s390/s390-64/sysdep.h: Likewise.
79633         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
79634         * sysdeps/mach/sysdep.h: Likewise.
79635         * sysdeps/i386/sysdep.h: Likewise.
79636         * sysdeps/i386/i386-mcount.S: Likewise.
79637         * sysdeps/x86_64/_mcount.S: Likewise.
79638         * sysdeps/x86_64/sysdep.h: Likewise.
79639         * sysdeps/sh/_mcount.S: Likewise.
79640         * sysdeps/sh/sysdep.h: Likewise.
79641         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
79642         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
79643         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
79644         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79645         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
79646         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
79647         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
79648         * locale/localeinfo.h: Likewise.
79649         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
79650         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
79652 2012-07-09  Roland McGrath  <roland@hack.frob.com>
79654         [BZ #14336]
79655         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
79656         system".
79657         * manual/message.texi (The Uniforum approach): Likewise.
79658         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
79659         (glibc iconv Implementation): Likewise.
79661 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
79663         [BZ #14337]
79664         * math/s_clog.c (__clog): Avoid scaling a value down where that
79665         could result in underflow.
79666         * math/s_clog10.c (__clog10): Likewise.
79667         * math/s_clog10f.c (__clog10f): Likewise.
79668         * math/s_clog10l.c (__clog10l): Likewise.
79669         * math/s_clogf.c (__clogf): Likewise.
79670         * math/s_clogl.c (__clogl): Likewise.
79671         * math/libm-test.inc (clog_test): Add more tests.
79672         (clog10_test): Likewise.
79673         * sysdeps/i386/fpu/libm-test-ulps: Update.
79674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79676 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
79678         [BZ #14283]
79679         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
79680         by 7 not 8 to examine high bit of fractional part.
79682         [BZ #14042]
79683         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
79684         for call to __mcount_internal.
79685         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
79686         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
79687         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
79689 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
79691         [BZ #14154]
79692         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
79693         approximation for values within 0x1p-13f of an odd multiple of
79694         pi/4.
79695         * math/libm-test.inc (tan_test): Do not allow spurious underflow
79696         exception.  Add more tests.
79697         * sysdeps/i386/fpu/libm-test-ulps: Update.
79699         [BZ #6778]
79700         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
79701         inputs and return -1 for them.  Do not check for +Inf in case not
79702         reachable for +Inf.
79703         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
79704         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not 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         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
79709         define.
79710         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79711         and return -1 for them.  Do not check for +Inf in case not
79712         reachable for +Inf.
79713         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
79714         spurious underflow.
79715         * sysdeps/i386/fpu/libm-test-ulps: Update.
79716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79718 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
79720         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
79722 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
79724         [BZ #14157]
79725         [BZ #14331]
79726         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
79727         could result in spurious underflow.  Scale down values above
79728         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
79729         * math/s_csqrtf.c (__csqrtf): Likewise.
79730         * math/s_csqrtl.c (__csqrtl): Likewise.
79731         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
79732         spurious underflow.
79733         * sysdeps/i386/fpu/libm-test-ulps: Update.
79734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79736 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
79738         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
79739         xopen-msg.sed.
79740         * catgets/xopen-msg.awk: New file.
79741         * catgets/xopen-msg.sed: Removed.
79743         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
79744         po2text.sed.
79745         * intl/po2test.awk: New file.
79746         * intl/po2test.sed: Removed.
79748 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
79750         [BZ #14328]
79751         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
79752         or multiply small sinh result by itself.
79753         * math/s_ctanf.c (__ctanf): Likewise.
79754         * math/s_ctanh.c (__ctanh): Likewise.
79755         * math/s_ctanhf.c (__ctanhf): Likewise.
79756         * math/s_ctanhl.c (__ctanhl): Likewise.
79757         * math/s_ctanl.c (__ctanl): Likewise.
79758         * math/libm-test.inc (ctan_test_tonearest): New function.
79759         (ctan_test_towardzero): Likewise.
79760         (ctan_test_downward): Likewise.
79761         (ctan_test_upward): Likewise.
79762         (ctanh_test_tonearest): Likewise.
79763         (ctanh_test_towardzero): Likewise.
79764         (ctanh_test_downward): Likewise.
79765         (ctanh_test_upward): Likewise.
79766         (main): Call these new functions.
79767         * sysdeps/i386/fpu/libm-test-ulps: Update.
79768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79770 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
79772         * .gitignore: Delete /ports entry.
79774 2012-07-03  Andreas Jaeger  <aj@suse.de>
79776         * po/bg.po: Update from translation team.
79777         * po/cs.po: Likewise.
79778         * po/de.po: Likewise.
79779         * po/hr.po: Likewise.
79780         * po/nl.pl: Likewise.
79781         * po/pl.po: Likewise.
79782         * po/vi.po: Likewise.
79784 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
79786         * Makeconfig [!+link] (+link-before-libc): New variable.
79787         [!+link] (+link-after-libc): Likewise.
79788         [!+link] (+link-tests): Likewise.
79789         [!+link] (+link): Define in terms of $(+link-before-libc) and
79790         $(+link-after-libc).
79791         [!+link-static] (+link-static-before-libc): New variable.
79792         [!+link-static] (+link-static-after-libc): Likewise.
79793         [!+link-static] (+link-static-tests): Likewise.
79794         [!+link-static] (+link-static): Define in terms of
79795         $(+link-static-before-libc) and $(+link-static-after-libc).
79796         [build-shared] (link-libc-before-gnulib): New variable.
79797         [build-shared] (link-libc-tests): Likewise.
79798         [build-shared] (link-libc): Define in terms of
79799         $(link-libc-before-gnulib).
79800         [!build-shared] (link-libc-tests): New variable.
79801         (link-libc-static-tests): New variable.
79802         [!gnulib] (gnulib-arch): New variable.
79803         [!gnulib] (gnulib-tests): Likewise.
79804         [!gnulib] (static-gnulib-arch): Likewise.
79805         [!gnulib] (static-gnulib-tests): Likewise.
79806         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
79807         Define with "=" instead of ":=".
79808         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
79809         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
79810         * Rules (binaries-all-notests): New variable.
79811         (binaries-all-tests): Likewise.
79812         (binaries-static-notests): Likewise.
79813         (binaries-static-tests): Likewise.
79814         (binaries-all): Define using $(binaries-all-notests) and
79815         $(binaries-all-tests).
79816         (binaries-static): Define using $(binaries-static-notests) and
79817         $(binaries-static-tests).
79818         (binaries-shared-tests): New variable.
79819         (binaries-shared-notests): Likewise.
79820         (binaries-shared): Remove variable.
79821         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
79822         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
79823         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
79824         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
79825         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
79826         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
79827         * elf/Makefile (sln-modules): New variable.
79828         (extra-objs): Add $(sln-modules:=.o).
79829         (ldconfig-modules): Add static-stubs.
79830         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
79831         * elf/static-stubs.c: New file.
79833         [BZ #14283]
79834         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
79835         by 7 not 8 to examine high bit of fractional part.  Use volatile
79836         variables when splitting into final array of floats if
79837         __FLT_EVAL_METHOD__ != 0.
79838         * math/libm-test.inc (cos_test): Add another test.
79839         (sin_test): Likewise.
79840         * sysdeps/i386/fpu/libm-test-ulps: Update.
79842         [BZ #14273]
79843         * math/libm-test.inc (cosh_test): Add more tests.
79845         * version.h (RELEASE): Set to "development".
79846         (VERSION): Set to "2.16.90".
79848 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
79850         * NEWS: Update copyright. Remove last-updated date.
79851         Mention math library bug fixes and timezone data changes.
79852         * README: Mention GNU/Hurd, x32, and HPPA support status.
79854 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
79856         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
79858 2012-06-27  Andreas Jaeger  <aj@suse.de>
79860         * manual/contrib.texi (Contributors): Add Samuel Thibault.
79862 2012-06-25  Andreas Jaeger  <aj@suse.de>
79864         * sysdeps/s390/fpu/libm-test-ulps: Update.
79866 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
79867             Thomas Schwinge  <thomas@codesourcery.com>
79869         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
79870         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
79871         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
79872         fanotify_mark.
79874 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
79876         * sysdeps/mach/start.c: Remove file.
79877         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
79878         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
79879         * sysdeps/sh/init-first.c: Likewise.
79881         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
79882         registers for frame unwinding purposes, add CFI directives.
79883         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79884         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
79885         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
79886         Likewise.
79888         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
79889         __fortify_fail returning.
79890         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79892         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
79893         sysdeps/sh/____longjmp_chk.S.
79894         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
79895         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
79896         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
79897         (gen-as-const-headers): Append sigaltstack-offsets.sym.
79899         * sysdeps/sh/abort-instr.h: New file.
79900         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
79901         process in case exit returns.
79903         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
79904         initialize the GOT register before use.
79906         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
79907         calculation of ARGC > 4.
79909         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
79910         meaningful names to some local labels.
79912 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79913             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79915         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
79916         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
79917         (__arch_compare_and_exchange_val_16_acq): Likewise.
79918         (__arch_compare_and_exchange_val_32_acq): Likewise.
79919         (atomic_exchange_and_add): Fix gUSA sequence.
79920         (atomic_add): Likewise.
79921         (atomic_add_negative): Likewise.
79922         (atomic_add_zero): Likewise.
79923         (atomic_bit_test_set): Likewise.
79925 2012-06-22  Andreas Schwab  <schwab@redhat.com>
79927         [BZ #13579]
79928         * include/link.h (struct link_map): Add l_free_initfini.
79929         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
79930         l_initfini.
79931         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
79932         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
79933         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
79934         set.
79936 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
79938         * configure.in: Use AC_LANG_SOURCE.
79939         * configure: Regenerate.
79941 2012-06-22  Roland McGrath  <roland@hack.frob.com>
79943         * configure.in (libc_cv_localstatedir): New substituted variable.
79944         * configure: Regenerated.
79945         * config.make.in (localstatedir): New variable, substituted from
79946         libc_cv_localstatedir.
79947         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
79948         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
79949         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
79950         * sysdeps/gnu/configure: Regenerated.
79952 2012-06-21  Jeff Law  <law@redhat.com>
79954         [BZ #14277]
79955         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
79956         free.  Simplify list management for _LIBC case.
79958 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
79960         [BZ #14273]
79961         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
79962         Clear sign bit of 64-bit integer value before comparing against
79963         overflow value.
79965         * sysdeps/mach/configure: Regenerated.
79967 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
79969         [BZ #14278]
79970         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
79972 2012-06-21  Jeff Law  <law@redhat.com>
79974         [BZ #13882]
79975         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
79976         uint16_t for elements in the "seen" array to avoid char overflows.
79977         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79978         * elf/dl-open.c (dl_open_worker): Likewise.
79980 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
79982         * scripts/list-sources.sh: Scan PORTS for translations.
79983         * po/libc.pot: Regenerated.
79985 2012-06-21  Andreas Jaeger  <aj@suse.de>
79987         [BZ #12194]
79988         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
79989         warning.
79990         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
79991         * bits/byteswap-16.h (__bswap_16): Likewise.
79992         * bits/byteswap.h (__bswap_constant_16): Likewise.
79994 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
79996         [BZ #14117]
79997         * sysdeps/i386/fpu_control.h: Removed.
79998         * sysdeps/x86_64/fpu_control.h: Moved to ...
79999         * sysdeps/x86/fpu_control.h: Here.
80001         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
80002         (_FPU_SETCW): Likewise.
80004 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
80006         [BZ #14117]
80007         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
80008         * sysdeps/x86/fpu/bits/mathinline.h: This.
80009         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
80011         [BZ #14050]
80012         [BZ #14117]
80013         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
80014         functions if __x86_64__ is defined.
80016 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
80018         * string/endian.h: Add !__ASSEMBLER__ condition for including
80019         conversion interfaces.
80021 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
80023         [BZ #14241]
80024         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
80025         of ABS(x) in calculating zero to negative powers other than odd
80026         integers.
80027         * math/libm-test.inc (pow_test): Add more tests.
80029 2012-06-15  Andreas Jaeger  <aj@suse.de>
80031         * manual/contrib.texi (Contributors): Update entry of Liubov
80032         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
80033         Machado Filho.
80035 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
80037         * string/string.h: Add __wur to GNU version of strerror_r.
80039 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
80041         [BZ #14229]
80042         * string/Makefile (tests): Add tst-strtok_r.
80043         * string/tst-strtok_r.c: New file.
80044         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
80045         RAX_LP/RDX_LP on SAVE_PTR.
80047 2012-06-14  Roland McGrath  <roland@hack.frob.com>
80049         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
80051 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
80053         * libm_test.inc (csqrt_test): Allow more spurious underflow
80054         exceptions.
80055         (j0_test): Likewise.
80056         (j1_test): Likewise.
80057         (y0_test): Likewise.
80058         (y1_test): Likewise.
80060 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
80062         * po/Makefile (libc.pot): Use UTF-8 charset.
80064 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
80066         [BZ #14210]
80067         Suppress sign-conversion warning from FD_SET.
80068         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
80069         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
80070         not unsigned long int.
80071         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
80073 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
80075         [BZ #14050]
80076         [BZ #14117]
80077         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
80078         __extern_always_inline instead of __extern_inline.
80079         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
80080         (__signbit): Likewise.
80081         (__signbitl): Support C++ namespace.
80082         (lrintf): New inline function.
80083         (lrint): Likewise.
80084         (llrintf): Likewise.
80085         (llrint): Likewise.
80086         (fmaxf): Likewise.
80087         (fmax): Likewise.
80088         (fminf): Likewise.
80089         (fmin): Likewise.
80090         (rint): Likewise.
80091         (rintf): Likewise.
80092         (ceil): Likewise.
80093         (ceilf): Likewise.
80094         (floor): Likewise.
80095         (floorf): Likewise.
80096         (nearbyint): Likewise.
80097         (nearbyintf): Likewise.
80099 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
80101         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
80102         non-default versions.
80104 2012-06-11  Roland McGrath  <roland@hack.frob.com>
80106         [BZ #14218]
80107         * manual/argp.texi (Argp): Reword argp_parse description slightly.
80109 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
80111         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
80112         (FE_UPWARD, FE_DOWNWARD): Don't define.
80113         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
80114         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80116         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
80117         reading it.
80118         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80119         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80121 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
80123         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
80124         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
80125         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
80126         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
80128 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
80130         [BZ #14117]
80131         * sysdeps/i386/fpu/bits/fenv.h: Removed.
80132         * sysdeps/i386/fpu/Implies: New file.
80133         * sysdeps/x86_64/fpu/Implies: Likewise.
80134         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
80135         * sysdeps/x86/fpu/bits/fenv.h: This.
80137         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
80138         __SSE_MATH__.
80140 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
80142         [BZ #14134]
80143         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
80144         character 0xffff that matches the last element of the
80145         conversion table.
80147 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80149         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
80150         fmodl commit.
80152 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80154         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
80155         values higher than 25.6283.
80157 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80159         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
80160         subnormal exponent extraction and add some __builtin_expect.
80161         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
80162         Fix for subnormal mantissa calculation.
80164 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
80166         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
80167         cpu2 is -1 and errno is not ENOSYS.
80169 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
80171         [BZ #14117]
80172         * sysdeps/i386/i486/bits/string.h: Renamed to ...
80173         * sysdeps/x86/bits/string.h: This.
80174         * sysdeps/x86_64/bits/string.h: Removed.
80176         * sysdeps/i386/i486/bits/string.h: Define inline functions only
80177         if not compiling for x86-64, but compiling for >= i486.
80179         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
80180         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
80182         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
80183         New macro from Linux kernel 3.4.0.
80184         (FP_XSTATE_MAGIC2): Likewise.
80185         (FP_XSTATE_MAGIC2_SIZE): Likewise.
80186         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
80187         (struct _fpx_sw_bytes): New struct.
80188         (struct _xsave_hdr): Likewise.
80189         (struct _ymmh_state): Likewise.
80190         (struct _xstate): Likewise.
80192         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
80193         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
80194         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
80195         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
80196         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
80197         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
80199         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
80200         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
80201         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
80202         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
80203         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
80204         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
80206 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
80208         [BZ #13743]
80209         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
80210         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
80211         (sysdep_headers): Include sys/platform/ppc.h.
80212         * sysdeps/powerpc/test-gettimebase.c: Test for
80213         __ppc_get_timebase() to catch future ISA opcode/insn changes.
80214         * manual/Makefile (appendices): Include platform.texi.
80215         * manual/contrib.texi (Contributors): Update @node pointers.
80216         * manual/maint.texi (Maintenance): Likewise.
80217         (Platform): New node.
80218         * manual/platform.texi: New file.  Document the new features.
80220 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
80221             Jakub Jelinek  <jakub@redhat.com>
80223         [BZ #14188]
80224         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
80225         where __builtin_expect is unavailable.
80227 2012-06-03  David S. Miller  <davem@davemloft.net>
80229         * stdlib/longlong.h: Updated from GCC.
80231 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
80233         [BZ #14042]
80234         * sysdeps/powerpc/powerpc32/mcount.c: New file.
80235         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
80236         __mcount_internal.
80237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
80238         (GLIBC_2.16): Likewise.
80240 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
80242         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
80244 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
80246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
80247         (default-abi): New variable.
80248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
80249         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
80250         variable.
80251         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
80252         Likewise.
80253         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
80254         Likewise.
80255         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
80256         Likewise.
80258         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
80259         definition.  Document in comment.
80261 2012-06-01  David S. Miller  <davem@davemloft.net>
80263         * stdlib/longlong.h: Updated from GCC.
80265 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
80267         [BZ #14117]
80268         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
80269         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
80270         sys/debugreg.h sys/io.h here.
80271         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
80272         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
80273         sys/io.h.
80274         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
80275         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
80276         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
80277         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
80278         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
80279         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
80281         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
80282         Define only if __x86_64__ is defined.
80284 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
80286         [BZ #14048]
80287         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
80288         Use int64_t for variable i.
80289         * math/libm-test.inc (fmod_test): Add more tests.
80291         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
80292         z computation is not scheduled after fetestexcept.
80293         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
80294         Use math_force_eval instead of asm to ensure calculation scheduled
80295         before exception test.
80296         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
80297         Ensure a1 + u.d computation is not scheduled after fetestexcept.
80299 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
80301         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
80302         computation is not scheduled after fetestexcept.
80304 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
80306         [BZ #14117]
80307         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
80308         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
80310 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80312         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
80313         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
80315 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
80317         [BZ #14117]
80318         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
80319         <bits/wordsize.h>.
80320         (__WCHAR_MIN): Support __WORDSIZE == 64.
80321         (__WCHAR_MAX): Likewise.
80323         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
80324         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
80326         [BZ #14183]
80327         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
80328         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
80330         [BZ #14117]
80331         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
80332         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
80334         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
80335         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
80337         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
80338         Defined to 1 if __x86_64__ isn't defined.
80339         (_STAT_VER_LINUX_OLD): New.
80340         (st_atime): Remove duplicate.
80341         (st_mtime): Likewise.
80342         (st_ctime): Likewise.
80344 2012-05-31  David S. Miller  <davem@davemloft.net>
80346         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
80347         entries.
80349 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
80351         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
80352         gen-libm-test.pl.
80354         [BZ #14132]
80355         * elf/dl-reloc.c: Include <_itoa.h>.
80356         (_dl_reloc_bad_type): Remove use of INTUSE.
80357         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
80358         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
80359         * stdio-common/psiginfo.c (psiginfo): Likewise.
80360         * stdio-common/psignal.c (psignal): Likewise.
80361         * string/strsignal.c (strsignal): Likewise.
80362         * include/signal.h (_sys_siglist): Declare hidden proto.
80363         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
80364         INTVARDEF with libc_hidden_data_def.
80365         * stdio-common/itoa-udigits.c: Likewise.
80366         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
80367         (_itoa_lower_digits_internal): Remove declaration.
80368         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
80369         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
80370         (_sys_sigabbrev_internal): Remove aliases.
80371         (_sys_siglist): Define hidden alias.
80373 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
80375         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80376         bits/sysctl.h.
80378 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
80380         [BZ #14117]
80381         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
80382         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
80384         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
80385         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
80386         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
80387         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
80388         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
80389         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
80391         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
80392         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
80393         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
80395         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
80396         with __addr.
80397         (insw): Likewise.
80398         (insl): Likewise.
80399         (outsb): Likewise.
80400         (outsw): Likewise.
80401         (outsl): Likewise.
80403         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
80404         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
80405         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
80407         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
80408         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
80409         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
80410         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
80411         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
80412         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
80414         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
80415         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
80417         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
80418         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
80420         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
80421         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
80422         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
80424         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
80425         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
80426         to ...
80427         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
80429         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
80430         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
80431         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
80433         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
80434         for x86-64.
80435         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
80437 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
80439         * math/math.h (M_El): Use two more decimal places.
80440         (M_LOG2El): Likewise.
80441         (M_LOG10El): Likewise.
80442         (M_LN2l): Likewise.
80443         (M_LN10l): Likewise.
80444         (M_PIl): Likewise.
80445         (M_PI_2l): Likewise.
80446         (M_PI_4l): Likewise.
80447         (M_1_PIl): Likewise.
80448         (M_2_PIl): Likewise.
80449         (M_2_SQRTPIl): Likewise.
80450         (M_SQRT2l): Likewise.
80451         (M_SQRT1_2l): Likewise.
80453 2012-05-31  David S. Miller  <davem@davemloft.net>
80455         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
80456         values between float registers.
80457         * sysdeps/sparc/sparc64/memset.S: Likewise.
80458         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
80460 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
80462         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
80463         -D_FORTIFY_SOURCE=1.
80464         (CPPFLAGS-tst-longjmp_chk.c): Define.
80465         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
80466         (CPPFLAGS-tst-longjmp_chk2.c): Define.
80467         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
80468         CFLAGS-tst-wchar-h.c.
80470 2012-05-31  Marek Polacek  <polacek@redhat.com>
80472         [BZ #14132]
80473         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
80474         __endmntent_internal): Remove declaration.
80475         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
80476         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
80477         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
80479 2012-05-30  David S. Miller  <davem@davemloft.net>
80481         * sysdeps/sparc/sparc32/soft-fp/q_util.c
80482         (___Q_simulate_exceptions): Use real FP ops rather than writing
80483         into the %fsr.
80484         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
80485         Likewise.
80487 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80489         [BZ #14117]
80490         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
80491         * sysdeps/x86/bits/xtitypes.h: This.
80493         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
80494         * sysdeps/x86/bits/wordsize.h: This.
80496         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
80497         * sysdeps/x86/bits/huge_vall.h: This.
80499         * sysdeps/i386/bits/select.h: Removed.
80500         * sysdeps/x86_64/bits/select.h: Renamed to ...
80501         * sysdeps/x86/bits/select.h: This.
80503         * sysdeps/i386/bits/setjmp.h: Removed.
80504         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
80505         * sysdeps/x86/bits/setjmp.h: This.
80507         * sysdeps/i386/bits/mathdef.h: Removed.
80508         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
80509         * sysdeps/x86/bits/mathdef.h: This.
80511 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
80513         [BZ #14132]
80514         * include/sys/socket.h (__connect_internal)
80515         (__libc_sa_len_internal): Remove declaration.
80516         (__connect, __libc_sa_len): Declare hidden_proto.
80517         (SA_LEN): Remove use of INTUSE.
80518         * socket/connect.c: Add libc_hidden_def.
80519         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
80520         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
80521         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
80522         alias.
80523         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
80524         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
80525         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
80526         of adding _internal alias.
80528 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80530         [BZ #14117]
80531         * sysdeps/i386/bits/link.h: Removed.
80532         * sysdeps/i386/bits/linkmap.h: Likewise.
80533         * sysdeps/x86_64/bits/link.h: Renamed to ...
80534         * sysdeps/x86/bits/link.h: This.
80535         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
80536         * sysdeps/x86/bits/linkmap.h: This.
80538         * sysdeps/i386/bits/endian.h: Removed.
80539         * sysdeps/x86_64/bits/endian.h: Renamed to ...
80540         * sysdeps/x86/bits/endian.h: This.
80542         * sysdeps/i386/bits/byteswap.h: Removed.
80543         * sysdeps/i386/bits/byteswap-16.h: Likewise.
80544         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
80545         * sysdeps/x86/bits/byteswap.h: This.
80546         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
80547         * sysdeps/x86/bits/byteswap-16.h: This.
80548         * sysdeps/i386/Implies: Add x86.
80549         * sysdeps/x86_64/Implies: Likewise.
80551 2012-05-30  David S. Miller  <davem@davemloft.net>
80553         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
80554         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
80555         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
80556         (FP_TRAPPING_EXCEPTIONS): Define.
80557         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
80558         (FP_TRAPPING_EXCEPTIONS): Define.
80559         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
80560         subnormals only when inexact has been signalled or underflow
80561         exceptions are enabled.
80562         (_FP_PACK_CANONICAL): Likewise.
80564 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80566         [BZ #14183]
80567         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
80568         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
80570 2012-05-30  Richard Henderson  <rth@twiddle.net>
80572         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
80573         with #ifndef NOT_IN_libc.
80575         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
80576         marked to avoid plt entry.
80578 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80580         [BZ #14112]
80581         * Makeconfig (default-abi): New macro.
80582         (abi-includes): Likewise.
80583         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
80584         $(abi-$(default-abi)-lib-soname) for soname if defined.
80585         ($(common-objpfx)gnu/lib-names.stmp): Generate from
80586         abi-variants.
80587         * Makefile (installed-stubs): Likewise.
80588         * include/stubs-biarch.h: Removed.
80589         * scripts/lib-names.awk: Only handle one library at a time.
80590         * scripts/soversions.awk: Remove WORDSIZE support.
80591         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
80592         entries.
80593         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
80594         Removed.
80595         (syscall-list-default-condition): Likewise.
80596         (syscall-list-default-condition): Likewise.
80597         (syscall-list-includes): Likewise.
80598         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
80599         syscall-list-* with abi-*.  Handle undefined abi-variants.
80600         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
80601         * sysdeps/unix/sysv/linux/i386/Implies: New file.
80602         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
80603         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
80604         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
80605         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
80606         Removed.
80607         (syscall-list-32-options): Likewise.
80608         (syscall-list-32-condition): Likewise.
80609         (syscall-list-64-options): Likewise.
80610         (syscall-list-64-condition): Likewise.
80611         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
80612         macro.
80613         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
80614         Renamed to ...
80615         (abi-*): This.
80616         (abi-64-ld-soname): New macro.
80617         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
80618         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
80619         Renamed to ...
80620         (abi-*): This.
80621         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
80622         * sysdeps/x86_64/x32/shlib-versions: Likewise.
80624 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
80626         * sysdeps/unix/sysv/linux/kernel-features.h
80627         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
80628         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
80629         include <kernel-features.h>.
80630         [!__NR_ftruncate64]: Remove conditional code.
80631         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80632         [__NR_ftruncate64]: Make code unconditional.
80633         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80634         * sysdeps/unix/sysv/linux/truncate64.c: Do not
80635         include <kernel-features.h>.
80636         [!__NR_ftruncate64]: Remove conditional code.
80637         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80638         [__NR_ftruncate64]: Make code unconditional.
80639         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
80641         include <kernel-features.h>.
80642         [!__NR_ftruncate64]: Remove conditional code.
80643         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80644         [__NR_ftruncate64]: Make code unconditional.
80645         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
80647         include <kernel-features.h>.
80648         [!__NR_ftruncate64]: Remove conditional code.
80649         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80650         [__NR_ftruncate64]: Make code unconditional.
80651         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80653         * configure.in (libc_cv_fpie): Weaken to a compile test using
80654         LIBC_TRY_CC_OPTION.
80655         * configure: Regenerated.
80657 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
80660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
80661         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
80662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80663         Refreshed.
80664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
80665         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
80666         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
80667         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
80668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
80669         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80670         Refreshed.
80672 2012-05-27  David S. Miller  <davem@davemloft.net>
80674         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
80675         (___Q_zero): New.
80676         (__Q_simulate_exceptions): Return void.  Change to simulate
80677         exceptions by writing into the %fsr.
80678         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
80679         (__Qp_handle_exceptions): Likewise.
80680         (numbers): Delete.
80681         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
80682         __Qp_handle_exceptions.
80683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
80684         __Qp_handle_exceptions.
80685         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80686         as unused and give dummy FP_RND_NEAREST initializer.
80687         (FP_INHIBIT_RESULTS): Define.
80688         (___Q_simulate_exceptions): Update declaration.
80689         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
80690         formatting.
80691         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80692         as unused and give dummy FP_RND_NEAREST initializer.
80693         (__Qp_handle_exceptions): Update declaration.
80694         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
80695         formatting.
80697 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
80699         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
80700         the temporary FPU control word.
80701         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
80702         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
80703         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
80704         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80705         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
80706         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
80707         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
80708         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80709         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
80710         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
80711         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80713 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
80715         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
80716         fields.
80718 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
80720         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
80721         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
80722         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
80723         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
80724         Likewise.
80725         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
80726         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
80727         Likewise.
80729 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
80731         * po/h.po: Update from translation team.
80733 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
80735         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
80737         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
80738         handling of denormals.
80739         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80740         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
80741         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80742         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80743         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80744         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
80745         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
80746         Likewise.
80748 2012-05-26  Marek Polacek  <polacek@redhat.com>
80750         [BZ #14152]
80751         * math/libm-test.inc (fma_test): Don't always expect underflow
80752         exception.
80754 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
80756         [BZ #12416]
80757         * elf/tst-execstack.c: Include stackinfo.h.
80758         (do_test): Adjust test case to ensure that pthread_getattr_np
80759         behaviour remains the same after marking stack executable.
80761 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
80763         * sysdeps/unix/sysv/linux/kernel-features.h
80764         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
80765         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
80766         kernel-features.h.
80767         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80768         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80769         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
80770         kernel-features.h.
80771         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80772         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80774 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
80776         * configure.in: Define the default includes to being none.
80777         * configure: Regenerated.
80779 2012-05-25  Roland McGrath  <roland@hack.frob.com>
80781         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
80782         * sysdeps/x86_64/setjmp.S: Likewise.
80783         * sysdeps/i386/bsd-setjmp.S: Likewise.
80784         * sysdeps/i386/bsd-_setjmp.S: Likewise.
80785         * sysdeps/i386/setjmp.S: Likewise.
80786         * sysdeps/i386/__longjmp.S: Likewise.
80787         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80788         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
80790         * include/stap-probe.h: New file.
80791         * configure.in: Handle --enable-systemtap.
80792         * configure: Regenerated.
80793         * config.h.in (USE_STAP_PROBE): New #undef.
80794         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
80795         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
80796         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
80798 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
80800         [BZ #13717]
80801         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80802         to 2.4.0 where earlier.
80803         * sysdeps/unix/sysv/linux/configure: Regenerated.
80804         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
80805         <kernel-features.h>.
80806         [__ASSUME_32BITUIDS]: Make code unconditional.
80807         [!__ASSUME_32BITUIDS]: Remove conditional code.
80808         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
80809         <kernel-features.h>.
80810         [__ASSUME_32BITUIDS]: Make code unconditional.
80811         [!__ASSUME_32BITUIDS]: Remove conditional code.
80812         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
80813         [__ASSUME_32BITUIDS]: Make code unconditional.
80814         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
80815         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
80816         <kernel-features.h>.
80817         [__ASSUME_32BITUIDS]: Make code unconditional.
80818         [!__ASSUME_32BITUIDS]: Remove conditional code.
80819         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
80820         <kernel-features.h>.
80821         [__ASSUME_32BITUIDS]: Make code unconditional.
80822         [!__ASSUME_32BITUIDS]: Remove conditional code.
80823         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
80824         <kernel-features.h>.
80825         [__ASSUME_32BITUIDS]: Make code unconditional.
80826         [!__ASSUME_32BITUIDS]: Remove conditional code.
80827         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
80828         <kernel-features.h>.
80829         [__ASSUME_32BITUIDS]: Make code unconditional.
80830         [!__ASSUME_32BITUIDS]: Remove conditional code.
80831         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
80832         <kernel-features.h>.
80833         [__ASSUME_32BITUIDS]: Make code unconditional.
80834         [!__ASSUME_32BITUIDS]: Remove conditional code.
80835         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
80836         <kernel-features.h>.
80837         [__ASSUME_32BITUIDS]: Make code unconditional.
80838         [!__ASSUME_32BITUIDS]: Remove conditional code.
80839         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
80840         <kernel-features.h>.
80841         [__ASSUME_32BITUIDS]: Make code unconditional.
80842         [!__ASSUME_32BITUIDS]: Remove conditional code.
80843         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
80844         <kernel-features.h>.
80845         [__ASSUME_32BITUIDS]: Make code unconditional.
80846         [!__ASSUME_32BITUIDS]: Remove conditional code.
80847         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
80848         <kernel-features.h>.
80849         [__ASSUME_32BITUIDS]: Make code unconditional.
80850         [!__ASSUME_32BITUIDS]: Remove conditional code.
80851         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
80852         <kernel-features.h>.
80853         [__ASSUME_32BITUIDS]: Make code unconditional.
80854         [!__ASSUME_32BITUIDS]: Remove conditional code.
80855         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
80856         <kernel-features.h>.
80857         [__NR_setresgid] (__setresgid): Do not declare.
80858         [__ASSUME_32BITUIDS]: Make code unconditional.
80859         [!__ASSUME_32BITUIDS]: Remove conditional code.
80860         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
80861         <kernel-features.h>.
80862         [__NR_setresuid] (__setresuid): Do not declare.
80863         [__ASSUME_32BITUIDS]: Make code unconditional.
80864         [!__ASSUME_32BITUIDS]: Remove conditional code.
80865         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
80866         <kernel-features.h>.
80867         [__ASSUME_32BITUIDS]: Make code unconditional.
80868         [!__ASSUME_32BITUIDS]: Remove conditional code.
80869         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
80870         <kernel-features.h>.
80871         [__ASSUME_32BITUIDS]: Make code unconditional.
80872         [!__ASSUME_32BITUIDS]: Remove conditional code.
80873         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
80874         <kernel-features.h>.
80875         [__ASSUME_32BITUIDS]: Make code unconditional.
80876         [!__ASSUME_32BITUIDS]: Remove conditional code.
80877         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
80878         <kernel-features.h>.
80879         [__ASSUME_32BITUIDS]: Make code unconditional.
80880         [!__ASSUME_32BITUIDS]: Remove conditional code.
80881         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
80882         <kernel-features.h>.
80883         [__ASSUME_32BITUIDS]: Make code unconditional.
80884         [!__ASSUME_32BITUIDS]: Remove conditional code.
80885         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
80886         <kernel-features.h>.
80887         [__ASSUME_32BITUIDS]: Make code unconditional.
80888         [!__ASSUME_32BITUIDS]: Remove conditional code.
80889         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
80890         <kernel-features.h>.
80891         [__ASSUME_32BITUIDS]: Make code unconditional.
80892         [!__ASSUME_32BITUIDS]: Remove conditional code.
80893         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
80894         <kernel-features.h>.
80895         [__ASSUME_32BITUIDS]: Make code unconditional.
80896         [!__ASSUME_32BITUIDS]: Remove conditional code.
80897         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
80898         <kernel-features.h>.
80899         [__ASSUME_32BITUIDS]: Make code unconditional.
80900         [!__ASSUME_32BITUIDS]: Remove conditional code.
80901         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
80902         <kernel-features.h>.
80903         [__ASSUME_32BITUIDS]: Make code unconditional.
80904         [!__ASSUME_32BITUIDS]: Remove conditional code.
80905         * sysdeps/unix/sysv/linux/kernel-features.h
80906         (__ASSUME_SETRESUID_SYSCALL): Remove.
80907         (__ASSUME_SETRESGID_SYSCALL): Likewise.
80908         (__ASSUME_32BITUIDS): Likewise.
80909         (__ASSUME_LDT_WORKS): Likewise.
80910         (__ASSUME_O_DIRECTORY): Likewise.
80911         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
80912         architecture but not kernel version.
80913         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
80914         (__ASSUME_MMAP2_SYSCALL): Likewise.
80915         (__ASSUME_STAT64_SYSCALL): Likewise.
80916         (__ASSUME_IPC64): Likewise.
80917         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
80918         <kernel-features.h>.
80919         [__ASSUME_32BITUIDS]: Make code unconditional.
80920         [!__ASSUME_32BITUIDS]: Remove conditional code.
80921         * sysdeps/unix/sysv/linux/opendir.c: Do not include
80922         <kernel-features.h>.
80923         [__ASSUME_O_DIRECTORY]: Make code unconditional.
80924         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
80925         132096]: Remove conditional code.
80926         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
80927         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
80928         <kernel-features.h>.
80929         [__ASSUME_32BITUIDS]: Make code unconditional.
80930         [!__ASSUME_32BITUIDS]: Remove conditional code.
80931         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
80932         <kernel-features.h>.
80933         [__ASSUME_32BITUIDS]: Make code unconditional.
80934         [!__ASSUME_32BITUIDS]: Remove conditional code.
80935         * sysdeps/unix/sysv/linux/setegid.c: Do not include
80936         <kernel-features.h>.
80937         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
80938         unconditional.
80939         (__setresgid): Do not declare.
80940         [__ASSUME_32BITUIDS]: Make code unconditional.
80941         [!__ASSUME_32BITUIDS]: Remove conditional code.
80942         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
80943         <kernel-features.h>.
80944         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
80945         unconditional.
80946         (__setresuid): Do not declare.
80947         [__ASSUME_32BITUIDS]: Make code unconditional.
80948         [!__ASSUME_32BITUIDS]: Remove conditional code.
80949         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
80950         <kernel-features.h>.
80951         [__ASSUME_32BITUIDS]: Make code unconditional.
80952         [!__ASSUME_32BITUIDS]: Remove conditional code.
80953         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
80954         <kernel-features.h>.
80955         [__ASSUME_32BITUIDS]: Make code unconditional.
80956         [!__ASSUME_32BITUIDS]: Remove conditional code.
80958 2012-05-25  Richard Henderson  <rth@twiddle.net>
80960         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
80961         dl_hwcap to ifunc resolver.
80962         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
80963         elf_ifunc_invoke.
80964         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
80965         dl_hwcap to ifunc resolver.
80966         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
80968 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
80970         [BZ #14153]
80971         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
80972         for |x| <= 2**-26, not 2**-57.
80973         * math/libm-test.inc (acos_test): Do not allow spurious underflow
80974         exception.
80976 2012-05-24  Jeff Law  <law@redhat.com>
80978         * stdio-common/Makefile (tests): Add bug25.
80979         * stdio-common/bug25.c: New test.
80981 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
80983         [BZ #13576]
80984         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
80985         multiple of MALLOC_ALIGNMENT in size.
80986         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
80988 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
80990         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
80991         Require >= 256.
80992         (FILENAME_MAX): Use macro-int-constant.
80993         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
80994         (_IOFBF): Use macro-int-constant.
80995         (_IOLBF): Likewise.
80996         (_IONBF): Likewise.
80997         (SEEK_CUR): Likewise.
80998         (SEEK_END): Likewise.
80999         (SEEK_SET): Likewise.
81000         (TMP_MAX): Likewise.
81001         (EOF): Use macro-int-constant.  Require < 0.
81002         (NULL): Use macro-constant.  Require == 0.
81003         (stdin): Require type to be FILE *.
81004         (stdout): Likewise.
81005         (stderr): Likewise.
81006         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
81007         macro-int-constant.
81008         (EXIT_SUCCESS): Likewise.
81009         (NULL): Use macro-constant.  Require == 0.
81010         (RAND_MAX): Use macro-int-constant.
81011         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
81012         [C99-based standards] (strtof): Require function.
81013         [C99-based standards] (strtold): Likewise.
81014         [C99-based standards] (strtoll): Likewise.
81015         [C99-based standards] (strtoull): Likewise.
81016         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
81017         [ISO || ISO99 || ISO11] (limits.h): Likewise.
81018         [ISO || ISO99 || ISO11] (math.h): Likewise.
81019         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
81020         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
81021         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81023 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
81025         [BZ #14132]
81026         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
81027         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
81028         * intl/dgettext.c (DCGETTEXT): Likewise.
81029         * intl/gettext.c (DCGETTEXT): Likewise.
81030         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
81031         * posix/regex_internal.h (gettext): Likewise.
81032         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
81033         Remove declaration.
81034         * include/argz.h (__argz_count_internal)
81035         (__argz_stringify_internal): Remove declaration.
81036         (__argz_count, __argz_stringify): Declare hidden proto.
81037         * intl/dcgettext.c: Remove use of INTDEF.
81038         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
81039         * string/argz-stringify.c: Likewise.
81040         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
81041         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
81042         Declare hidden proto.
81043         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
81044         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
81045         Declare hidden proto.
81046         * include/stdio.h (__asprintf_internal): Don't declare.
81047         (__asprintf): Don't define as macro.  Declare hidden proto.
81048         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
81049         (__fsetlocking): Declare hidden proto.
81050         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
81051         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
81052         hidden proto.
81053         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
81054         (_IO_setlinebuf): Remove use of INTUSE.
81055         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
81056         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
81057         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
81058         Remove declaration.
81059         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
81060         (_IO_do_flush): Remove use of INTUSE.
81061         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
81062         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
81063         (_IO_adjust_column, _IO_least_wmarker)
81064         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
81065         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
81066         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
81067         (_IO_default_doallocate, _IO_wdefault_doallocate)
81068         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
81069         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
81070         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
81071         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
81072         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
81073         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
81074         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
81075         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
81076         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
81077         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
81078         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
81079         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
81080         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
81081         proto.
81082         (_IO_flush_all_internal, _IO_adjust_column_internal)
81083         (_IO_default_uflow_internal, _IO_default_finish_internal)
81084         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
81085         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
81086         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
81087         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
81088         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
81089         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
81090         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
81091         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
81092         (_IO_file_close_internal, _IO_file_close_it_internal)
81093         (_IO_file_underflow_internal, _IO_file_overflow_internal)
81094         (_IO_file_init_internal, _IO_file_attach_internal)
81095         (_IO_file_fopen_internal, _IO_file_read_internal)
81096         (_IO_file_sync_internal, _IO_file_seek_internal)
81097         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
81098         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
81099         (_IO_str_underflow_internal, _IO_str_overflow_internal)
81100         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
81101         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
81102         (_IO_list_all_internal, _IO_link_in_internal)
81103         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
81104         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
81105         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
81106         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
81107         (_IO_do_write_internal, _IO_padn_internal)
81108         (_IO_getline_info_internal, _IO_getline_internal)
81109         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
81110         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
81111         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
81112         (_IO_vfscanf_internal, _IO_vfprintf_internal)
81113         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
81114         (_IO_init_internal, _IO_un_link_internal): Don't declare.
81115         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
81116         with libc_hidden_ver, remove use of INTUSE.
81117         * libio/genops.c: Likewise.
81118         * libio/freopen.c: Likewise.
81119         * libio/freopen64.c: Likewise.
81120         * libio/iofclose.c: Likewise.
81121         * libio/iofdopen.c: Likewise.
81122         * libio/iofflush.c: Likewise.
81123         * libio/iofflush_u.c: Likewise.
81124         * libio/iofgets.c: Likewise.
81125         * libio/iofgets_u.c: Likewise.
81126         * libio/iofopen.c: Likewise.
81127         * libio/iofopncook.c: Likewise.
81128         * libio/iofread.c: Likewise.
81129         * libio/iofread_u.c: Likewise.
81130         * libio/ioftell.c: Likewise.
81131         * libio/iofwrite.c: Likewise.
81132         * libio/iogetline.c: Likewise.
81133         * libio/iogets.c: Likewise.
81134         * libio/iogetwline.c: Likewise.
81135         * libio/iopadn.c: Likewise.
81136         * libio/iopopen.c: Likewise.
81137         * libio/ioseekoff.c: Likewise.
81138         * libio/ioseekpos.c: Likewise.
81139         * libio/iosetbuffer.c: Likewise.
81140         * libio/iosetvbuf.c: Likewise.
81141         * libio/ioungetc.c: Likewise.
81142         * libio/ioungetwc.c: Likewise.
81143         * libio/iovdprintf.c: Likewise.
81144         * libio/iovsprintf.c: Likewise.
81145         * libio/iovsscanf.c: Likewise.
81146         * libio/memstream.c: Likewise.
81147         * libio/obprintf.c: Likewise.
81148         * libio/oldfileops.c: Likewise.
81149         * libio/oldiofclose.c: Likewise.
81150         * libio/oldiofdopen.c: Likewise.
81151         * libio/oldiofopen.c: Likewise.
81152         * libio/oldiopopen.c: Likewise.
81153         * libio/oldstdfiles.c: Likewise.
81154         * libio/putc.c: Likewise.
81155         * libio/setbuf.c: Likewise.
81156         * libio/setlinebuf.c: Likewise.
81157         * libio/stdfiles.c: Likewise.
81158         * libio/strops.c: Likewise.
81159         * libio/vasprintf.c: Likewise.
81160         * libio/vscanf.c: Likewise.
81161         * libio/vsnprintf.c: Likewise.
81162         * libio/vswprintf.c: Likewise.
81163         * libio/wfiledoalloc.c: Likewise.
81164         * libio/wfileops.c: Likewise.
81165         * libio/wgenops.c: Likewise.
81166         * libio/wmemstream.c: Likewise.
81167         * libio/wstrops.c: Likewise.
81168         * libio/__fpurge.c: Likewise.
81169         * libio/__fsetlocking.c: Likewise.
81170         * assert/assert.c: Likewise.
81171         * debug/fgets_chk.c: Likewise.
81172         * debug/fgets_u_chk.c: Likewise.
81173         * debug/fread_chk.c: Likewise.
81174         * debug/fread_u_chk.c: Likewise.
81175         * debug/gets_chk.c: Likewise.
81176         * debug/obprintf_chk.c: Likewise.
81177         * debug/vasprintf_chk.c: Likewise.
81178         * debug/vdprintf_chk.c: Likewise.
81179         * debug/vsnprintf_chk.c: Likewise.
81180         * debug/vsprintf_chk.c: Likewise.
81181         * malloc/mtrace.c: Likewise.
81182         * misc/error.c: Likewise.
81183         * misc/syslog.c: Likewise.
81184         * stdio-common/asprintf.c: Likewise.
81185         * stdio-common/fxprintf.c: Likewise.
81186         * stdio-common/getw.c: Likewise.
81187         * stdio-common/isoc99_fscanf.c: Likewise.
81188         * stdio-common/isoc99_scanf.c: Likewise.
81189         * stdio-common/isoc99_vfscanf.c: Likewise.
81190         * stdio-common/isoc99_vscanf.c: Likewise.
81191         * stdio-common/isoc99_vsscanf.c: Likewise.
81192         * stdio-common/printf-prs.c: Likewise.
81193         * stdio-common/printf_fp.c: Likewise.
81194         * stdio-common/printf_fphex.c: Likewise.
81195         * stdio-common/printf_size.c: Likewise.
81196         * stdio-common/putw.c: Likewise.
81197         * stdio-common/scanf.c: Likewise.
81198         * stdio-common/sprintf.c: Likewise.
81199         * stdio-common/tmpfile.c: Likewise.
81200         * stdio-common/vfprintf.c: Likewise.
81201         * stdio-common/vfscanf.c: Likewise.
81202         * stdlib/strfmon_l.c: Likewise.
81203         * sunrpc/openchild.c: Likewise.
81204         * sunrpc/xdr_stdio.c: Likewise.
81205         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
81206         * sysdeps/mach/hurd/tmpfile.c: Likewise.
81208 2012-05-24  Roland McGrath  <roland@hack.frob.com>
81210         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81212         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
81213         in the third column, to generate for the shared library an IFUNC
81214         that uses _dl_vdso_vsym.
81215         * Makerules (COMPILE.c, compile-stdin.c): New variables.
81216         * Makeconfig (object-suffixes-noshared): New variable.
81218         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
81219         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
81220         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
81221         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
81223         [BZ #14132]
81224         * include/sys/time.h (__gettimeofday): Remove macro.
81225         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
81226         * time/gettimeofday.c (__gettimeofday): Remove #undef.
81227         Remove INTDEF.
81228         (__gettimeofday): Add libc_hidden_def.
81229         (gettimeofday): Add libc_hidden_weak.
81230         * sysdeps/mach/gettimeofday.c: Likewise.
81231         * sysdeps/posix/gettimeofday.c: Likewise.
81232         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
81233         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
81234         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
81235         (__gettimeofday_internal): Remove strong_alias.
81236         (__gettimeofday): Add libc_hidden_def.
81237         (gettimeofday): Add libc_hidden_weak.
81238         * sysdeps/unix/syscalls.list (gettimeofday):
81239         Remove __gettimeofday_internal alias.
81241 2012-05-24  Daniel Jacobowitz  <drow@false.org>
81242             H.J. Lu  <hongjiu.lu@intel.com>
81244         [BZ #12495]
81245         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
81246         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
81247         (largebin_index_32_big): New.
81248         (largebin_index): Use it for 16-byte alignment.
81249         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
81250         correction with front_misalign.
81252 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
81254         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
81255         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
81256         Likewise.
81257         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
81258         Likewise.
81259         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
81260         Likewise.
81261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
81262         Likewise.
81263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
81264         Likewise.
81265         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
81266         Likewise.
81267         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
81268         Likewise.
81269         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
81270         Likewise.
81271         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
81272         Likewise.
81273         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
81274         Likewise.
81275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
81276         Likewise.
81277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
81278         Likewise.
81280         * scripts/data/c++-types-x32-linux-gnu.data: New file.
81281         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
81283 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
81285         [BZ #10846]
81286         [BZ #14036]
81287         * math/libm-test.inc (exp_test): Add test from bug 14036.
81288         (pow_test): Add test from bug 10846.
81290         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
81291         and other flags.
81292         (special_function): Do not include flags in test name.
81293         (parse_args): Likewise.
81294         * sysdeps/i386/fpu/libm-test-ulps: Update.
81295         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81296         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
81297         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
81298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81300         * math/gen-libm-test.pl (%beautify): Add entries for underflow
81301         exceptions.
81302         * math/libm-test.inc ("Philosophy"): Update comment about
81303         exception testing.
81304         (UNDERFLOW_EXCEPTION): New macro.
81305         (UNDERFLOW_EXCEPTION_OK): Likewise.
81306         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
81307         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
81308         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
81309         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
81310         (INVALID_EXCEPTION_OK): Update value.
81311         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
81312         (OVERFLOW_EXCEPTION_OK): Likewise.
81313         (IGNORE_ZERO_INF_SIGN): Likewise.
81314         (test_exceptions): Handle underflow exceptions.
81315         (acos_test): Update for underflow exception expectations.
81316         (cexp_test): Likewise.
81317         (clog_test): Likewise.
81318         (clog10_test): Likewise.
81319         (csqrt_test): Likewise.
81320         (ctan_test): Likewise.
81321         (ctanh_test): Likewise.
81322         (exp_test): Likewise.
81323         (exp10_test): Likewise.
81324         (exp2_test): Likewise.
81325         (expm1_test): Likewise.
81326         (fma_test): Likewise.
81327         (j0_test): Likewise.
81328         (jn_test): Likewise.
81329         (nexttoward_test): Likewise.
81330         (pow_test): Likewise.
81331         (scalbn_test): Likewise.
81332         (scalbln_test): Likewise.
81333         (tan_test): Likewise.
81334         (y1_test): Likewise.
81335         * sysdeps/i386/fpu/libm-test-ulps: Update.
81336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81338 2012-05-23  David S. Miller  <davem@davemloft.net>
81340         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
81341         (__libc_sigaction): Remove unused local variables.
81343 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
81345         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
81347 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
81349         mktime: avoid signed integer overflow
81350         * time/mktime.c (__mktime_internal): Do not mishandle the case
81351         where diff == INT_MIN.
81353         mktime: simplify computation of average
81354         * time/mktime.c (ranged_convert): Use new time_t_avg function
81355         instead of rolling our own (probably-slower) code.
81357         mktime: do not assume signed right shift propagates sign bit
81358         * time/mktime.c (isdst_differ): New static function.
81359         (__mktime_internal): No need to normalize tm_isdst now.
81360         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
81361         tm_isdst values.
81363         mktime: merge another wrapv change from gnulib
81364         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
81365         from some compilers.
81367         mktime: remove incorrect attempt at unusual arithmetics
81368         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
81369         The code didn't really work on such machines anyway.
81370         (TYPE_MINIMUM): Assume two's complement.
81371         (twos_complement_arithmetic): Verify that long_int and time_t
81372         are two's complement (or unsigned, in the latter case).
81374         mktime: check signed shifts on long_int and time_t, too
81375         * time/mktime.c (SHR): Check that shifts work as desired
81376         on the types long_int and time_t too, as SHR is used on
81377         such types.
81379         mktime: do not assume 'long' is wide enough
81380         * time/mktime.c (verify): Move decl up.
81381         (long_int): New type.
81382         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
81383         to remove assumption in the code that 'long' is wide enough to
81384         store year values.  This assumption is not true on x32 and on
81385         some non-glibc platforms.
81387         mktime: merge wrapv change from gnulib
81388         * time/mktime.c (WRAPV): New macro.
81389         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
81390         (guess_time_tm, __mktime_internal): Do not assume that signed
81391         integer overflow wraps around; modern compilers generate code
81392         where this assumption is no longer valid.
81394 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
81396         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81397         Replace "jmp L(pseudo_end)" with "ret".
81398         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
81399         Likewise.
81401 2012-05-23  Andreas Jaeger  <aj@suse.de>
81403         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
81404         * sysdeps/unix/sysv/linux/poll.c: Remove file.
81406 2012-05-23  Andreas Jaeger  <aj@suse.de>
81407             Maximilian Attems  <max@stro.at>
81409         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
81410         New macros.
81412 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
81414         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
81415         code so that pseudo_end is just ret and the stack pointer is
81416         correct also for static library in error case.
81418 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
81420         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
81421         move to syscalls.list.
81422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
81423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
81424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
81425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
81427         * manual/install.texi (Running make install): Do not mention Linux
81428         kernel version for which pt_chown is not needed.
81429         (Linux): Do not mention problems with nscd with 2.0 kernels.
81430         * INSTALL: Regenerated.
81432 2012-05-23  Andreas Jaeger  <aj@suse.de>
81434         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
81435         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
81436         macro.
81437         * sysdeps/unix/sysv/linux/s390/bits/mman.h
81438         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81439         * sysdeps/unix/sysv/linux/sh/bits/mman.h
81440         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81441         * sysdeps/unix/sysv/linux/i386/bits/mman.h
81442         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81443         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
81444         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81445         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
81446         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81447         * sysdeps/unix/sysv/linux/bits/in.h
81448         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
81450 2012-05-22  Roland McGrath  <roland@hack.frob.com>
81452         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
81453         (PREPARE_VERSION): Just use assert instead, it will be elided
81454         under [NDEBUG] anyway.
81456 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81458         * sysdeps/unix/sysv/linux/Makefile: Include
81459         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
81460         (sysdep_routines): Remove sysctl.
81461         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
81462         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
81463         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
81464         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
81465         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
81467 2012-05-22  Andreas Jaeger  <aj@suse.de>
81469         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
81470         that pseudo_end is just ret and the stack pointer is correct also
81471         for static library in error case.
81473 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
81475         [BZ #14122]
81476         * nss/nsswitch.c (defconfig_entries): New variable.
81477         (__nss_database_lookup): Don't leak defconfig entries.
81478         (nss_parse_service_list): Don't leak on error paths.
81479         (free_database_entries): New function.
81480         (free_defconfig): New function.
81481         (free_mem): Move common code to free_database_entries.
81483 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81485         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
81486         Add arch_prctl.
81487         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
81489         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
81490         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
81491         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
81492         New macro.
81493         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
81494         (INTERNAL_SYSCALL_TYPES): Likewise.
81495         (LOAD_ARGS_TYPES_[1-6]): Likewise.
81496         (LOAD_REGS_TYPES_[1-6]): Likewise.
81497         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
81498         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
81500 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81502         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
81503         copysignl for GLIBC_2_0.
81504         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
81505         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
81506         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
81507         logbl for GLIBC_2_0.
81508         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
81509         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
81511 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81513         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
81514         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
81516         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81517         Use "neg %eax".
81519         * time/mktime.c: Update copyright years.
81521 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
81523         mktime: merge comment-quoting-style change from gnulib
81524         * time/mktime.c: Quote 'like this' in comments.
81525         The GNU coding standards suggest that we no longer quote `like this',
81526         as "`" and "'" are typically rendered asymmetrically nowadays.
81527         The typical gnulib style is to quote 'like this' when quoting
81528         code, and "like this" when quoting English.
81530         * time/mktime.c (compile-command): Add "-I.".
81532         mktime: merge mktime-internal.h change from gnulib
81533         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
81535         mktime: merge time_r change from gnulib
81536         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
81538         mktime: merge DEBUG change from gnulib
81539         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
81540         case system <time.h> has a #define.
81542         mktime: merge <sys/types.h> change from gnulib
81543         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
81544         since <time.t> is now guaranteed to define time_t.
81546         mktime: merge HAVE_CONFIG_H change from gnulib
81547         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
81549 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81551         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81552         Use "neg %eax".
81554         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
81555         __rlim_t cast.
81556         (struct rusage): Use anonymous union to pad each field to
81557         __syscall_slong_t.
81559 2012-05-21  David S. Miller  <davem@davemloft.net>
81561         * Makefules (o-iterator): Remove .s cases.
81562         (compile-command.s): Delete.
81563         (COMPILE.s): Delete.
81564         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
81566 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
81568         * configure.in (libc_cv_predef_stack_protector): Only consider
81569         "foobar" and "__stack_chk_fail" lines in libc_undefs.
81570         * configure: Regenerated.
81572 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81574         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81575         New macro.  Use R*LP on int and pointer.
81576         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
81577         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
81578         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
81579         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
81581         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
81582         [__WORDSIZE_TIME64_COMPAT32] instead of
81583         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
81584         (struct utmp): Likewise.
81585         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
81586         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
81587         Renamed to ...
81588         (__WORDSIZE_TIME64_COMPAT32): This.
81589         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
81590         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
81591         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
81592         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
81593         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
81594         (__WORDSIZE_TIME64_COMPAT32): New macro.
81596 2012-05-21  Andreas Jaeger  <aj@suse.de>
81598         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
81599         only if [SHARED]. Add prototype for __wcschr_ia32.
81601 2012-05-21  Roland McGrath  <roland@hack.frob.com>
81603         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
81604         of %rbp unmolested in the jmp_buf while mangling the low bits.
81605         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
81606         unmolested high bits of %rbp while demangling the low bits.
81607         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
81609 2012-05-21  Andreas Jaeger  <aj@suse.de>
81611         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
81612         * sunrpc/svc_simple.c: Use it for registerrpc.
81613         * sunrpc/xcrypt.c: Use it for passwd2des.
81615         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
81617 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81619         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
81620         Don't define if [__SYSCALL_WORDSIZE != 32].
81621         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
81622         New macro.
81624 2012-05-21  Bruno Haible  <bruno@clisp.org>
81625             Andreas Jaeger  <aj@suse.de>
81627         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
81628         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
81629         inptr and inend for must_buffer_ch.
81630         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
81631         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
81632         * stdio-common/Makefile (tests): Remove bug15.
81633         (bug15-ENV): Remove macro.
81634         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
81635         anymore.
81637 2012-05-19  Andreas Jaeger  <aj@suse.de>
81638             Roland McGrath  <roland@hack.frob.com>
81640         * manual/contrib.texi: Completely rewritten. It contains now an
81641         alphabetical list of contributors and their contributions.
81643 2012-05-21  Richard Henderson  <rth@twiddle.net>
81645         * misc/getauxval.c (__getauxval): Use unsigned long int.
81646         * misc/sys/auxv.h: Include <sys/cdefs.h>.
81647         (getauxval): Use unsigned long int.
81649 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81651         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81653 2012-05-21  Roland McGrath  <roland@hack.frob.com>
81655         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
81656         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
81657         __alignof__ (long double).
81659 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81663 2012-05-20  Richard Henderson  <rth@twiddle.net>
81665         * misc/getauxval.c: New file.
81666         * misc/sys/auxv.h: New file.
81667         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
81668         (routines): Add getauxval.
81669         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
81670         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
81671         * elf/dl-sysdep.c (_dl_auxv): Remove.
81672         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
81673         * elf/dl-support.c (_dl_auxv): New variable.
81674         (_dl_aux_init): Initialize it.
81675         * manual/startup.texi (Auxiliary Vector): New node.
81676         * sysdeps/generic/bits/hwcap.h: New file.
81677         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
81678         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
81679         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
81680         * sysdeps/sparc/sysdep.h: ... here.  Include it.
81681         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
81682         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
81683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81684         Update.
81685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
81686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
81687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
81688         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
81689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81690         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81691         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
81692         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
81694 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81698 2012-05-19  David S. Miller  <davem@davemloft.net>
81700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81702 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
81704         [BZ #14123]
81705         * math/s_ccosh.c: Include <float.h>
81706         (__ccosh): Avoid internal overflow calculating sinh and cosh
81707         values before multiplying by sin and cos values.
81708         * math/s_ccoshf.c: Likewise.
81709         * math/s_ccoshl.c: Likewise.
81710         * math/s_csin.c: Likewise.
81711         * math/s_csinf.c: Likewise.
81712         * math/s_csinl.c: Likewise.
81713         * math/s_csinh.c: Likewise.
81714         * math/s_csinhf.c: Likewise.
81715         * math/s_csinhl.c: Likewise.
81716         * math/libm-test.inc (ccos_test): Add more tests.
81717         (ccosh_test): Likewise.
81718         (csin_test): Likewise.
81719         (csinh_test): Likewise.
81720         * sysdeps/i386/fpu/libm-test-ulps: Update.
81721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81723 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
81725         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
81726         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
81728         * sysdeps/x86_64/x32/_itoa.h: Add comment.
81730 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
81732         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
81733         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
81734         * sysdeps/powerpc/soft-fp/Versions: Likewise.
81735         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
81736         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
81737         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
81738         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
81739         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
81740         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
81741         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
81742         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
81743         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
81744         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
81745         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
81746         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
81747         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
81748         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
81749         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
81750         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
81751         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
81752         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
81753         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
81754         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
81755         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
81756         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
81757         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
81758         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
81759         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
81760         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
81761         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
81762         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
81764 2012-05-18  Andreas Jaeger  <aj@suse.de>
81766         * csu/.gitignore: Delete.
81768 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81770         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
81771         (timex): Use __syscall_slong_t.
81773 2012-05-18  Andreas Jaeger  <aj@suse.de>
81774             Carlos O'Donell  <carlos_odonell@mentor.com>
81776         * manual/install.texi (Configuring and compiling): Update
81777         description about files modified in the source directory.
81778         * INSTALL: Regenerated.
81780 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81782         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
81783         value.  Use "or" to set return value to -1.
81784         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
81785         negate return value.
81787 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
81789         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
81790         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
81791         failure if the compiler has Graphite support disabled.
81792         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
81793         Likewise.
81794         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
81795         (CFLAGS-memmove.c): Likewise.
81796         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
81797         Likewise.
81799 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81801         * sysdeps/x86_64/x32/_itoa.h: New file.
81803         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
81804         getdents system call only if kernel and user dirents have the
81805         same d_ino and d_off.
81807         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81808         LLONG_MAX != LONG_MAX.
81809         (_itoa_word): Use _ITOA_WORD_TYPE on value.
81810         (_fitoa_word): Likewise.
81812         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
81813         years.
81814         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
81815         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
81816         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
81818         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
81819         include <bits/wordsize.h>.  Check __x86_64__ instead of
81820         __WORDSIZE.
81821         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
81822         if __x86_64__ is defined.  Use anonymous union on fpstate.
81824         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
81825         anonymous union.
81827 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
81829         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
81830         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
81831         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
81832         Refer to _rtld_local_ro instead of _rtld_global_ro.
81833         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
81834         Likewise.
81835         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
81836         Likewise.
81837         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
81838         Likewise.
81839         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
81840         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
81841         of _rtld_global, and rtld_progname instead of _dl_argv[0].
81843         [BZ #10882]
81844         * sysdeps/powerpc/powerpc32/dl-machine.c
81845         (__elf_machine_runtime_setup) [PROF]: Don't reference
81846         _dl_prof_resolve.
81848 2012-05-18  Andreas Jaeger  <aj@suse.de>
81850         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
81851         function only available for GCCs before 3.4 since GCC 3.4
81852         introduced a builtin.
81853         (lrint): Likewise.
81854         (llrintf): Likewise.
81855         (llrint): Likewise.
81856         (fmaxf): Likewise.
81857         (fmax): Likewise.
81858         (fminf): Likewise.
81859         (fmin): Likewise.
81860         (rint): Likewise.
81861         (rintf): Likewise.
81862         (nearbyint): Likewise.
81863         (nearbyintf): Likewise.
81864         (ceil): Likewise.
81865         (ceilf): Likewise.
81866         (floor): Likewise.
81867         (floorf): Likewise.
81869 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81871         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
81872         on both fields and cast pointer to __syscall_ulong_t.
81874         * bits/types.h (__fsword_t): New type.
81875         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
81876         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
81877         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81878         (__FSWORD_T_TYPE): Likewise.
81879         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81880         (__FSWORD_T_TYPE): Likewise.
81881         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81882         (__FSWORD_T_TYPE): Likewise.
81883         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
81884         (__FSWORD_T_TYPE): Likewise.
81885         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
81886         __SWORD_TYPE with __fsword_t.
81887         (statfs64): Likewise.
81889 2012-05-17  David S. Miller  <davem@davemloft.net>
81891         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
81893 2012-05-17  Andreas Jaeger  <aj@suse.de>
81895         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
81896         warning.
81898 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81900         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
81902 2012-05-17  Andreas Jaeger  <aj@suse.de>
81904         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
81905         when it is used.
81907 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
81909         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
81911 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81913         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
81914         * sysdeps/x86_64/tst-mallocalign1.c: New file.
81916 2012-05-17  Andreas Jaeger  <aj@suse.de>
81917             Carlos O'Donell  <carlos_odonell@mentor.com>
81919         [BZ #14059]
81920         * sysdeps/x86_64/multiarch/init-arch.h
81921         (bit_YMM_Usable): Rename to...
81922         (bit_AVX_Usable): ... this.
81923         (bit_FMA4_Usable): New macro.
81924         (bit_XMM_state): New macro.
81925         (bit_YMM_state): New macro.
81926         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
81927         [__ASSEMBLER__] (index_AVX_Usable): ... this.
81928         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
81929         (CPUID_OSXSAVE): New macro.
81930         (CPUID_AVX): New macro.
81931         (CPUID_FMA4): New macro.
81932         (index_YMM_Usable): Rename to...
81933         (index_AVX_Usable): ... this.
81934         (HAS_AVX): Use HAS_ARCH_FEATURE.
81935         (HAS_FMA4): Likewise.
81936         (HAS_YMM_USABLE): Remove.
81937         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81938         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
81939         are present.
81940         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
81941         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
81942         * sysdeps/x86_64/multiarch/Makefile: Likewise.
81943         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
81944         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
81946 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
81948         * math/libm-test.c: Support platforms without multiple rounding modes.
81949         * math/bug-nextafter.c: Support platforms without FP exceptions.
81950         * math/bug-nexttoward.c: Likewise.
81951         * math/test-fenv.c: Likewise.
81952         * math/test-misc.c: Likewise.
81953         * stdlib/bug-getcontext.c: Likewise.
81955 2012-05-17  Andreas Jaeger  <aj@suse.de>
81957         * manual/examples/search.c (critter_cmp): Change signature to
81958         avoid warnings.
81959         * manual/string.texi (Collation Functions): Likewise.
81961 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81963         * bits/types.h: Fold copyright years.
81964         * bits/typesizes.h: Likewise.
81965         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
81966         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
81967         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
81968         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
81969         * time/time.h: Likewise.
81971 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
81973         [BZ #208]
81974         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
81975         in instead of returning them.  Return void.
81976         (__libc_mallinfo): Accumulate over all arenas.
81977         (__malloc_stats): Adjust for change in int_mallinfo interface.
81979 2012-05-16  Roland McGrath  <roland@hack.frob.com>
81981         [BZ #10375]
81982         * configure.in (NM): Add AC_CHECK_TOOL for it.
81983         (libc_extra_cflags): New substituted variable.
81984         Check for -fstack-protector being used implicitly.
81985         * configure: Regenerated.
81986         * config.make.in (config-extra-cflags): New variable,
81987         gets @libc_extra_cflags@.
81988         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
81990         [BZ #10375]
81991         * configure.in: Check for _FORTIFY_SOURCE being predefined.
81992         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
81993         * configure: Regenerated.
81994         * config.make.in (CPPUNDEFS): New substituted variable.
81995         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
81996         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
81997         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
81999 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82001         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
82002         (mq_attr): Use __syscall_slong_t.
82004 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82006         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
82007         Check __x86_64__ instead of __WORDSIZE.
82008         (_STAT_VER_LINUX): Likewise.
82009         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
82010         __syscall_ulong_t and __syscall_slong_t.
82011         (stat64): Likewise.
82013 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82015         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
82017 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82019         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
82021 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82023         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
82024         __syscall_ulong_t.
82026         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
82027         include <bits/wordsize.h>.  Check __x86_64__ instead of
82028         __WORDSIZE.
82029         (greg_t): Use "__extension__ long long int" if __x86_64__ is
82030         defined.
82031         (mcontext_t): Replace "unsigned long" with "unsigned long long".
82033         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
82034         include <bits/wordsize.h>.  Check __x86_64__ instead of
82035         __WORDSIZE.
82036         (user_regs_struct): Use "__extension__ unsigned long long"
82037         instead of "unsigned long" if __x86_64__ is defined.
82038         (user): Likewise.  Pad after pointer field if __ILP32__ is
82039         defined.
82041 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
82043         * configure.in (makeinfo): Require version 4.5 or later.  Allow
82044         versions 5 to 9.
82045         * configure: Regenerated.
82046         * manual/install.texi (texinfo): Increase version requirement to
82047         4.5 or later.
82048         * INSTALL: Regenerated.
82050         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
82052 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82054         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
82056         * sysdeps/x86_64/x32/ffs.c: New file.
82058         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
82059         __syscall_ulong_t.
82060         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
82061         defined.  Use __syscall_ulong_t.
82062         (shminfo): Use __syscall_ulong_t.
82063         (shm_info): Likewise.
82065         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
82066         __syscall_ulong_t.
82068         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
82069         <bits/wordsize.h>.
82070         (msgqnum_t): Use __syscall_ulong_t.
82071         (msglen_t): Likewise.
82072         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
82073         __syscall_ulong_t.
82075         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
82076         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
82078         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
82080         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
82081         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
82083         * sysvipc/sys/msg.h (msgbuf): Replace long int with
82084         __syscall_slong_t.
82086         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
82087         include <bits/wordsize.h>.  Check __x86_64__ instead of
82088         __WORDSIZE.
82090         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
82091         "unsigned long long int" if __x86_64__ is defined.
82092         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
82094         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
82095         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
82096         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
82098         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
82099         <stdint.h>.
82100         (GET_PC): Cast to uintptr_t first.
82101         (GET_FRAME): Likewise.
82102         (GET_STACK): Likewise.
82104         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
82105         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
82106         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
82107         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
82108         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
82109         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
82110         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
82111         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
82112         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
82113         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
82114         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
82115         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
82116         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
82117         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
82118         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
82119         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
82120         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
82121         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
82122         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
82123         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
82124         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
82125         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
82126         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
82127         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
82128         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
82129         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
82130         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
82131         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
82132         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
82134 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
82136         * Makerules (+depfiles): Also collect depfiles from .oS in
82137         $(extra-objs).
82138         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
82139         .oS, $(libnldbl-routines)).
82141         * Makerules (native-compile-mkdep-flags): Define.
82142         * sunrpc/Makefile (extra-objs): Add $(addprefix
82143         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
82144         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
82145         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
82146         calling $(make-target-directory).
82148 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82150         * bits/types.h (__snseconds_t): Removed.
82151         * time/time.h (struct timespec): Replace __snseconds_t with
82152         __syscall_slong_t.
82153         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
82154         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
82155         Likewise.
82156         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82157         (__SNSECONDS_T_TYPE): Likewise.
82158         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82159         (__SNSECONDS_T_TYPE): Likewise.
82160         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82161         (__SNSECONDS_T_TYPE): Likewise.
82163 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82165         * sysdeps/mach/hurd/bits/typesizes.h
82166         (__SYSCALL_SLONG_TYPE): New macro.
82167         (__SYSCALL_ULONG_TYPE): Likewise.
82169 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82171         * bits/types.h (__syscall_slong_t): New type.
82172         (__syscall_ulong_t): Likewise.
82174         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
82175         (__SYSCALL_ULONG_TYPE): Likewise.
82176         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82177         (__SYSCALL_SLONG_TYPE): Likewise.
82178         (__SYSCALL_ULONG_TYPE): Likewise.
82179         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82180         (__SYSCALL_SLONG_TYPE): Likewise.
82181         (__SYSCALL_ULONG_TYPE): Likewise.
82182         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82183         (__SYSCALL_SLONG_TYPE): Likewise.
82184         (__SYSCALL_ULONG_TYPE): Likewise.
82186 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82188         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
82189         Add sigaltstack-offsets.sym.
82190         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
82191         <sigaltstack-offsets.h>.
82192         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
82193         longjmp_msg pointer.
82194         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
82195         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
82196         signal stack.
82197         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
82199 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
82201         * elf/stackguard-macros.h: Remove file.
82202         * sysdeps/generic/stackguard-macros.h: New file.
82203         * sysdeps/i386/stackguard-macros.h: Likewise.
82204         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
82205         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
82206         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
82207         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
82208         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
82209         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
82210         * sysdeps/x86_64/stackguard-macros.h: Likewise.
82211         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
82212         <elf/stackguard-macros.h>.
82214         [BZ #14109]
82215         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
82216         __aligned__ in attribute.
82217         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
82218         (gregset_t): Likewise.
82220 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82222         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
82223         * sysdeps/x86_64/64/Implies-after: Here.  New file.
82224         * sysdeps/x86_64/x32/Implies-after: New file.
82226 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82228         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
82229         and access return value for _dl_profile_fixup.  Use R10_LP to
82230         load frame size.
82232 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82234         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
82236 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82238         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
82239         * sysdeps/x86_64/x32/sysdep.h: New file.
82241 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82243         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
82244         * sysdeps/x86_64/setjmp.S: Likewise.
82246 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82248         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
82249         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
82250         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
82251         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
82252         remove unused global constant.
82254 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
82256         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
82257         include of <not-cancel.h>.
82259 2012-05-15  Roland McGrath  <roland@hack.frob.com>
82261         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
82263 2012-05-15  Jeff Law  <law@redhat.com>
82264             Andreas Jaeger  <aj@suse.de>
82266         [BZ #13594]
82267         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
82268         out from...
82269         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
82270         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
82271         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
82272         code changing __hst_map_handle.map.
82274 2012-05-15  Roland McGrath  <roland@hack.frob.com>
82276         * configure.in (sysnames): Look for Implies-before and Implies-after
82277         files.
82278         * configure: Regenerated.
82280 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82282         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
82283         8-byte data alignment with LP_SIZE alignment.
82285 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82287         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
82288         into R10_LP.
82290 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82292         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
82294 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82296         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
82297         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
82298         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
82299         Likewise.
82300         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
82302 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82304         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
82305         (stackinfo_sub_sp): Likewise.
82307 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82309         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
82310         RAX_LP.
82312 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82314         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
82315         into R*_LP.
82317 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82319         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
82320         sizes into R*_LP.
82322 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82324         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
82326 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82328         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
82329         into R11_LP and load __x86_64_shared_cache_size_half into
82330         R8_LP.
82332 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82334         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
82335         R8_LP.
82337 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82339         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
82340         logb for POWER7.
82341         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
82342         logbf for POWER7.
82343         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
82344         logbl for POWER7.
82345         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
82346         powerpc32/power7/fpu/s_logb.c via #include.
82347         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
82348         powerpc32/power7/fpu/s_logbf.c via #include.
82349         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
82350         powerpc32/power7/fpu/s_logbl.c via #include.
82352 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
82354         * README.libm: Remove file.
82356 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82358         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
82359         count for x32.  Use R*_LP and omit operand-size suffix.
82361 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82363         * shlib-versions: Move x86_64-.*-linux.* entries to ...
82364         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
82365         * sysdeps/x86_64/x32/shlib-versions: New file.
82367 2012-05-14  Roland McGrath  <roland@hack.frob.com>
82369         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
82370         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
82371         Use _dl_fatal_printf instead.
82373 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
82375         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
82376         set if not set by the user.  Do not allow for being unset.
82377         * sysdeps/unix/sysv/linux/configure: Regenerated.
82379 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82381         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
82382         the `q' suffix from lea and replace .quad with ASM_ADDR.
82384 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82386         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
82387         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
82388         instead of $17.
82389         (PTR_DEMANGLE): Likewise.
82391 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82393         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
82394         (LP_OP): Likewise.
82395         (ASM_ADDR): Likewise.
82396         (RAX_LP): Likewise.
82397         (RBP_LP): Likewise.
82398         (RBX_LP): Likewise.
82399         (RCX_LP): Likewise.
82400         (RDI_LP): Likewise.
82401         (RSI_LP): Likewise.
82402         (RSP_LP): Likewise.
82403         (R8_LP): Likewise.
82404         (R9_LP): Likewise.
82405         (R10_LP): Likewise.
82406         (R10_LP): Likewise.
82407         (R11_LP): Likewise.
82408         (R12_LP): Likewise.
82409         (R13_LP): Likewise.
82410         (R14_LP): Likewise.
82411         (R15_LP): Likewise.
82413 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82415         * sysdeps/x86_64/x32/dl-machine.h: New file.
82417 2012-05-14  Andreas Jaeger  <aj@suse.de>
82419         * manual/Makefile (subdir): Remove export of subdir.
82420         (all): Remove target.
82421         (.PHONY): Remove all from list.
82422         (mkinstalldirs): Remove.
82423         (.PHONY): Remove installdirs from list.
82424         ($(inst_infodir)/libc.info): Use make-target-directory.
82425         (installdirs): Remove.
82426         (subdir_%): Remove.
82427         (glibc-targets): Remove.
82428         (lib): Remove.
82429         (stubs): Remove.
82430         ($(objpfx)stubs ../po/manual.pot): Remove.
82431         ($(objpfx)stamp%): Remove.
82432         (make-target-directory): Remove.
82433         (subdir_install): Remove.
82434         (routines): Remove.
82435         (aux): Remove.
82436         (sources): Remove.
82437         (objects): Remove.
82438         (headers): Remove.
82440         [BZ #13750]
82441         * manual/.gitignore: Remove, it's not needed anymore.
82442         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
82443         all files in it.
82444         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
82445         directory.
82446         (texis): Renamed to $(objpfx)texis.
82447         (texis-path): New, contains path to generated files.
82448         (chapters.%): Use texis-path for complete path, add extra argument
82449         libc-texinfo.sh.
82450         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
82451         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
82452         (summary,texi, stamp-summary): Use complete path of
82453         files. Generate files in build dir.
82454         (dir-add.texi): Build in build dir.
82455         (libm-err.texi,stamp-libm-err): Likewise.
82456         (version.texi, stamp-version): Likewise.
82457         (.%c.texi): Likewise.
82458         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
82459         (mostlyclean): Remove target.
82460         (realclean): Remove target.
82461         (generated): Add new variable with contents from mostlyclean and
82462         realclean, remove entries duplicated in common-mostlyclean, add
82463         stamp-libm-err and stamp-version.
82464         (generated-dirs): Add libc directory.
82465         ($(inst_infodir)/libc.info): Install files from build dir.
82467         * manual/install.texi (Configuring and compiling): Adjust since
82468         the info files are not part of the tar ball anymore.
82470 2012-05-14  Andreas Jaeger  <aj@suse.de>
82472         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
82473         variable.
82475 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
82477         [BZ #13717]
82478         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
82479         to 2.2.0 where earlier.
82480         * sysdeps/unix/sysv/linux/configure: Regenerated.
82481         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
82482         Remove conditional code.
82483         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
82484         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
82485         Remove conditional code.
82486         [!__NR_lchown]: Likewise.
82487         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82488         [__NR_lchown]: Likewise.
82489         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
82490         comment referencing __ASSUME_LCHOWN_SYSCALL.
82491         * sysdeps/unix/sysv/linux/i386/sigaction.c
82492         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82493         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82494         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
82495         Remove conditional code.
82496         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
82497         (__protocol_available): Remove #if 0 code.
82498         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
82499         conditional code.
82500         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
82501         * sysdeps/unix/sysv/linux/kernel-features.h
82502         (__ASSUME_GETCWD_SYSCALL): Don't define.
82503         (__ASSUME_REALTIME_SIGNALS): Likewise.
82504         (__ASSUME_PREAD_SYSCALL): Likewise.
82505         (__ASSUME_PWRITE_SYSCALL): Likewise.
82506         (__ASSUME_POLL_SYSCALL): Likewise.
82507         (__ASSUME_LCHOWN_SYSCALL): Likewise.
82508         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
82509         non-SPARC.
82510         (__ASSUME_SIOCGIFNAME): Don't define.
82511         (__ASSUME_MSG_NOSIGNAL): Likewise.
82512         (__ASSUME_SENDFILE): Define unconditionally.
82513         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
82514         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
82515         conditional code.
82516         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
82517         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
82518         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82519         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82520         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
82521         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82522         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
82524         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82525         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
82527         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82528         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
82530         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82531         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
82533         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82534         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
82536         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82537         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
82539         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82540         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
82542         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82543         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
82545         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82546         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82547         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
82548         Remove conditional code.
82549         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82550         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82551         Remove conditional code.
82552         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82553         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
82554         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
82555         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82556         Remove conditional code.
82557         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82558         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
82559         Remove conditional code.
82560         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82561         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
82562         Remove conditional code.
82563         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82564         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82565         Remove conditional code.
82566         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82567         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82568         Remove conditional code.
82569         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82570         * sysdeps/unix/sysv/linux/sh/pwrite64.c
82571         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82572         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82573         * sysdeps/unix/sysv/linux/sigaction.c
82574         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82575         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82576         * sysdeps/unix/sysv/linux/sigpending.c
82577         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82578         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82579         * sysdeps/unix/sysv/linux/sigprocmask.c
82580         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82581         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82582         * sysdeps/unix/sysv/linux/sigsuspend.c
82583         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82584         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82585         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
82586         (__libc_missing_rt_sigs): Remove.
82587         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
82588         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
82589         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
82590         Remove conditional code.
82591         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
82592         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
82593         return 1.
82594         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
82595         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
82596         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
82597         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
82599 2012-05-14  Andreas Jaeger  <aj@suse.de>
82601         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
82602         it's not used in glibc.
82603         (__coshm1): Likewise.
82604         (__acosh1p): Likewise.
82605         (__sgn): Likewise.
82607         * manual/string.texi (Copying and Concatenation): Add missing
82608         variable in concat example.
82609         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
82611 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82613         [BZ #14103]
82614         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
82615         __builtin_clzl with __builtin_clzll.
82617 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82619         [BZ #14104]
82620         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
82621         libc_freeres_ptr.
82623 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82625         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
82626         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
82627         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
82628         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
82630 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
82632         * NEWS: Update ia64 info.
82634 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
82636         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
82637         used as bcopy.
82639 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
82641         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
82642         * sysdeps/unix/syscalls.list (dup3): Likewise.
82643         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
82644         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
82646 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
82648         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
82649         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
82651 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
82653         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
82654         thread pointer.
82655         (TLS_IE): Use mov/add instead of movq/addq to load thread
82656         pointer.
82657         (TLS_GD_PREFIX): New.
82658         (TLS_GD): Use it.
82660 2012-05-11  David S. Miller  <davem@davemloft.net>
82662         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
82663         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
82664         (_FPU_SETCW): Likewise.
82666 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82668         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
82669         is 32-byte aligned.
82671 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
82673         [BZ #11837]
82674         * iconvdata/gb18030.c: Update tables.
82675         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
82676         characters specially.
82677         (BODY for TO_LOOP): Add encoding of missing ranges.
82679 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
82681         [BZ #13673]
82682         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
82683         * sysdeps/mach/hurd/dup3.c: Likewise.
82684         * sysdeps/mach/hurd/readlinkat.c: Likewise.
82685         * sysdeps/powerpc/memmove.c:: Likewise.
82687 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82689         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
82690         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
82692 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82694         * elf/elf.h (R_X86_64_RELATIVE64): New.
82695         (R_X86_64_NUM): Updated.
82696         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
82697         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
82698         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
82699         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
82700         tst-quad1pie tst-quad2pie
82701         (modules-names): Add tst-quadmod1 tst-quadmod2.
82702         ($(objpfx)tst-quad1): New dependency.
82703         ($(objpfx)tst-quad2): Likewise.
82704         ($(objpfx)tst-quad1pie): Likewise.
82705         ($(objpfx)tst-quad2pie): Likewise.
82706         * sysdeps/x86_64/tst-quad1.c: New file.
82707         * sysdeps/x86_64/tst-quad1pie.c: New file.
82708         * sysdeps/x86_64/tst-quad2.c: Likewise.
82709         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
82710         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
82711         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
82712         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
82713         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
82715 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82717         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
82718         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
82719         * streams/stropts.h (t_scalar_t): Define type.
82721         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
82722         (_PATH_PRESERVE): Set to "/var/lib".
82723         (_PATH_RWHODIR): Set to "/var/spool/rwho".
82725         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
82726         instead of int.
82728         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
82729         if __dir_mkfile succeeded.
82731         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
82732         checking for _hurd_dtablesize.  Unlock it right after having
82733         finished _hurd_dtable allocation.
82735 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82737         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
82738         * sysdeps/mach/hurd/configure: Regenerated.
82739         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
82740         special-casing to...
82741         * sysdeps/gnu/configure.in: ... this new file.
82742         * sysdeps/unix/sysv/linux/configure: Regenerated.
82743         * sysdeps/gnu/configure: New generated file.
82745         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
82746         for Linux: use nsec instead of usec, as well as:
82747         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
82748         members of type struct timespec.
82749         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
82750         New macros.
82751         (struct stat64): Likewise.
82752         (_STATBUF_ST_NSEC): New macro.
82753         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
82755         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
82756         __strtoul_internal rather than strtoul.
82758 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82760         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
82761         and reject them.
82763 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82765         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
82766         which preserves existing values.
82767         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
82769 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82771         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
82772         TIMEOUT values.  Return EINVAL for NFDS values either negative or
82773         greater than FD_SETSIZE.
82775 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82777         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
82778         allocated, call __vm_protect to finish enabling the existing space, and
82779         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
82780         allocate the remainder.
82782 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82784         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
82785         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
82787 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82789         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
82790         sysdeps/mach/hurd/readlink.c.
82792         * posix/tst-sysconf.c (posix_options): Only use
82793         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
82794         _POSIX_SYNCHRONIZED_IO when they are defined
82795         * sysdeps/mach/hurd/bits/posix_opt.h:
82796         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
82797         (_XOPEN_REALTIME): Undefine macro.
82798         (_XOPEN_REALTIME_THREADS): Undefine macro.
82799         (_XOPEN_SHM): Undefine macro.
82800         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
82801         macro to -1.
82802         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
82803         macro to -1.
82804         (_POSIX_ASYNC_IO): Undefine macro.
82805         (_POSIX_PRIORITIZED_IO): Undefine macro.
82806         (_POSIX_SPIN_LOCKS): Define macro to -1.
82808         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
82809         SA_NODEFER, SA_RESETHAND.
82810         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
82811         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
82812         F_DUPFD_CLOEXEC.
82814 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82816         * elf/Makefile (pldd-modules): Define unconditionally.
82818 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82820         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
82822 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82824         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
82825         Return ENOENT when name is empty.
82826         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
82828 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82830         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
82832         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
82834 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82836         Fix mlock in all cases except non-readable pages.
82837         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
82838         instead of VM_PROT_ALL as parameter to __vm_wire function.
82840         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
82841         (__mkdir): When path is `/', just fail with EEXIST.
82842         * sysdeps/mach/hurd/mkdirat.c: Likewise.
82844 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82846         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
82847         <sys/uio.h> (for writev).
82848         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
82849         and <sys/param.h> (for MIN).
82851 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82853         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
82854         REQUESTED_TIME.  Properly set the remaining time and return EINTR
82855         if interrupted.
82857 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82859         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
82860         Depend on against $(link-rpcuserlibs).
82862 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82864         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
82865         (__libc_stack_end): Do not use attribute_relro.
82866         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
82867         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
82868         to libthread-provided value.
82869         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
82870         attribute_relro.
82872 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82874         [BZ #3748]
82875         * bits/libc-lock.h (__libc_once_get): New macro.
82876         * sysdeps/mach/bits/libc-lock.h: Likewise.
82877         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
82878         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
82879         instead of using implementation details.
82881         * libio/fileops.c: Unconditionally include <kernel-features.h>.
82882         * libio/freopen.c: Likewise.
82883         * libio/freopen64.c: Likewise.
82884         * misc/syslog.c: Likewise.
82885         * nscd/connections.c: Likewise.
82886         * nscd/netgroupcache.c: Likewise.
82887         * sysdeps/posix/getcwd.c: Likewise.
82889 2012-05-10  Roland McGrath  <roland@hack.frob.com>
82891         * math/w_ilogbf.c: Add #include <limits.h>.
82893 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82895         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
82896         path instead of returning without unlocking.
82898         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
82899         immediate-write ioctls.
82900         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
82902 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82904         * sysdeps/mach/hurd/i386/init-first.c (init): Use
82905         __builtin_frame_address instead of making assumptions about the
82906         location of the return address relative to DATA.  Force early load of
82907         the return address.
82908         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
82909         __builtin_frame_address.
82911         dup3 for GNU Hurd.
82912         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
82913         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
82914         implement dup3 and do some further code clean-ups.
82915         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
82916         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
82918 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82920         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
82922         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
82923         HURD_CRITICAL_END around holding _hurd_dtable_lock.
82924         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
82925         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
82926         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
82927         d->port.lock.
82929         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
82930         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
82931         when handler == SIG_ERR, not when handler != SIG_ERR.
82933 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82935         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
82936         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
82937         definitions.
82939         accept4 for GNU Hurd.
82940         * include/sys/socket.h (__libc_accept4): New prototype.
82941         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
82942         to implement __libc_accept4.
82943         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
82944         __libc_accept4.
82945         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
82947         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
82948         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
82949         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
82950         signal-defines.sym.
82952 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82954         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
82956 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82958         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
82959         assertion on O_CLOEXEC flag.
82960         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
82961         * hurd/intern-fd.c: Likewise.
82962         * hurd/port2fd.c: Likewise.
82964 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82966         [BZ #3906]
82967         * bits/in.h (IPV6_PKTINFO): Define new macro.
82968         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
82970 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82972         [BZ #13954]
82973         [BZ #13955]
82974         [BZ #13956]
82975         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
82976         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
82977         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
82978         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
82979         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
82980         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
82981         * math/libm-test.inc (logb_test) : Additional logb tests.
82983 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
82984             Andreas Jaeger  <aj@suse.de>
82986         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
82987         * configure: Regenerated.
82988         * config.h.in (LINK_OBSOLETE_RPC): New macro.
82989         * config.make.in (link-obsolete-rpc): New substituted variable.
82990         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
82991         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
82992         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82993         (shared-only-routines): Don't set it under [link-obsolete-rpc],
82994         so that libc.a contains the symbols.
82995         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82996         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
82997         * sunrpc/auth_none.c: Likewise.
82998         * sunrpc/auth_unix.c: Likewise.
82999         * sunrpc/authdes_prot.c: Likewise.
83000         * sunrpc/authuxprot.c: Likewise.
83001         * sunrpc/clnt_gen.c: Likewise.
83002         * sunrpc/clnt_perr.c: Likewise.
83003         * sunrpc/clnt_raw.c: Likewise.
83004         * sunrpc/clnt_simp.c: Likewise.
83005         * sunrpc/clnt_tcp.c: Likewise.
83006         * sunrpc/clnt_udp.c: Likewise.
83007         * sunrpc/clnt_unix.c: Likewise.
83008         * sunrpc/des_crypt.c: Likewise.
83009         * sunrpc/des_soft.c: Likewise.
83010         * sunrpc/get_myaddr.c: Likewise.
83011         * sunrpc/key_call.c: Likewise.
83012         * sunrpc/key_prot.c: Likewise.
83013         * sunrpc/netname.c: Likewise.
83014         * sunrpc/pm_getmaps.c: Likewise.
83015         * sunrpc/pm_getport.c: Likewise.
83016         * sunrpc/pmap_clnt.c: Likewise.
83017         * sunrpc/pmap_prot.c: Likewise.
83018         * sunrpc/pmap_prot2.c: Likewise.
83019         * sunrpc/pmap_rmt.c: Likewise.
83020         * sunrpc/publickey.c: Likewise.
83021         * sunrpc/rpc_cmsg.c: Likewise.
83022         * sunrpc/rpc_common.c: Likewise.
83023         * sunrpc/rpc_dtable.c: Likewise.
83024         * sunrpc/rpc_prot.c: Likewise.
83025         * sunrpc/rpc_thread.c: Likewise.
83026         * sunrpc/rtime.c: Likewise.
83027         * sunrpc/svc.c: Likewise.
83028         * sunrpc/svc_auth.c: Likewise.
83029         * sunrpc/svc_raw.c: Likewise.
83030         * sunrpc/svc_run.c: Likewise.
83031         * sunrpc/svc_tcp.c: Likewise.
83032         * sunrpc/svc_udp.c: Likewise.
83033         * sunrpc/svc_unix.c: Likewise.
83034         * sunrpc/svcauth_des.c: Likewise.
83035         * sunrpc/xcrypt.c: Likewise.
83036         * sunrpc/xdr.c: Likewise.
83037         * sunrpc/xdr_array.c: Likewise.
83038         * sunrpc/xdr_float.c: Likewise.
83039         * sunrpc/xdr_intXX_t.c: Likewise.
83040         * sunrpc/xdr_mem.c: Likewise.
83041         * sunrpc/xdr_rec.c: Likewise.
83042         * sunrpc/xdr_ref.c: Likewise.
83043         * sunrpc/xdr_sizeof.c: Likewise.
83044         * sunrpc/xdr_stdio.c: Likewise.
83046 2012-05-10  Roland McGrath  <roland@hack.frob.com>
83048         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
83049         change.  Update copyright years.
83051 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
83053         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
83055 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
83056             Joseph Myers  <joseph@codesourcery.com>
83057             Paul Pluzhnikov  <ppluzhnikov@google.com>
83059         [BZ #14012]
83060         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
83061         requiring rpcgen.
83062         [cross-compiling] (extra-libs): Likewise.
83063         [cross-compiling] (extra-libs-others): Likewise.
83064         [cross-compiling] (librpcsvc-routines): Likewise.
83065         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
83066         [cross-compiling] (omit-deps): Likewise.
83067         (sunrpc-CPPFLAGS): New variable.
83068         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
83069         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
83070         (cross-rpcgen-objs): New variable.
83071         (extra-objs): Append $(cross-rpcgen-objs).
83072         ($(cross-rpcgen-objs)): New rule.
83073         ($(objpfx)cross-rpcgen): Likewise.
83074         (rpcgen-cmd): Define to use $(built-program-file).  Expand
83075         comment.
83076         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
83077         ($(objpfx)x%.stmp): Likewise.
83078         * sunrpc/proto.h [IS_IN_build] (_): Define.
83079         [IS_IN_build] (_libc_intl_domainname): Likewise.
83081 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
83083         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
83084         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
83085         and R_X86_64_TPOFF64.
83087 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
83089         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
83090         sysdeps/unix/sysv/syscalls.list.
83091         (stime): Likewise.
83092         (utime): Likewise.
83093         * sysdeps/unix/sysv/syscalls.list: Remove file.
83095 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
83097         [BZ #3440]
83098         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
83099         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
83100         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
83101         (__LC_IDENTIFICATION): Make these macros useful in #if
83102         expressions, as required by C99.
83104 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
83106         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
83107         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
83108         after this.
83110 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
83112         * stdlib/longlong.h: Updated from GCC.
83114 2012-05-09  Andreas Jaeger  <aj@suse.de>
83116         * nscd/nscd.c (run_modes): Make named enum, reorder so that
83117         default is first entry.
83118         (run_mode): Set type.
83119         (main): Remove informal message about syslog.
83120         (options): Fix typo.
83122         [BZ #14053]
83123         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
83124         to asm.
83125         (lrint): Likewise.
83126         (llrintf): Likewise.
83127         (llrint): Likewise.
83128         (rint): Likewise.
83129         (rintf): Likewise.
83130         (nearbyint): Likewise.
83131         (nearbyintf): Likewise.
83133 2012-05-09  Andreas Jaeger  <aj@suse.de>
83134             Pedro Alves  <palves@redhat.com>
83136         * nscd/nscd.c (run_mode): Use enum.
83137         (main): Cleanup coding style issue.
83139 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
83140             Andreas Jaeger  <aj@suse.de>
83142         * nscd/nscd.c (go_background): Replaced with...
83143         (run_mode): ... this.
83144         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
83145         (options): Add -F --foreground.
83146         (main): Implement it.
83147         (parse_opt): Parse it.
83149 2012-05-09  Andreas Jaeger  <aj@suse.de>
83151         [BZ #14083]
83152         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
83153         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
83154         -Wconversion warning.
83155         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
83156         Likewise.
83158 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
83160         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
83161         == 0.
83162         (LC_ALL): Use macro-int-constant.
83163         (LC_COLLATE): Likewise.
83164         (LC_CTYPE): Likewise.
83165         (LC_MESSAGES): Likewise.
83166         (LC_MONETARY): Likewise.
83167         (LC_NUMERIC): Likewise.
83168         (LC_TIME): Likewise.
83169         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
83170         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83171         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83172         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
83173         Specify type.
83174         [C99-based standards] (float_t): Expect type.
83175         [C99-based standards] (double_t): Expect type.
83176         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
83177         type.
83178         [C99-based standards] (HUGE_VALL): Likewise.
83179         [C99-based standards] (INFINITY): Likewise.
83180         [C99-based standards] (NAN): Likewise.
83181         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
83182         [C99-based standards] (FP_NAN): Likewise.
83183         [C99-based standards] (FP_NORMAL): Likewise.
83184         [C99-based standards] (FP_SUBNORMAL): Likewise.
83185         [C99-based standards] (FP_ZERO): Likewise.
83186         [C99-based standards] (FP_FAST_FMA): Use
83187         optional-macro-int-constant.  Specify type.  Require == 1.
83188         [C99-based standards] (FP_FAST_FMAF): Likewise.
83189         [C99-based standards] (FP_FAST_FMAL): Likewise.
83190         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
83191         [C99-based standards] (FP_ILOGBNAN): Likewise.
83192         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
83193         Specify type.
83194         [C99-based standards] (MATH_ERREXCEPT): Likewise.
83195         [C99-based standards] (math_errhandling): Specify type.
83196         [ISO99 || ISO11] (signgam): Do not allow.
83197         [non-C99-based standards] (copysignf): Do not allow.
83198         [non-C99-based standards] (exp2f): Likewise.
83199         [non-C99-based standards] (log2f): Likewise.
83200         [non-C99-based standards] (modff): Allow.
83201         [non-C99-based standards] (erff): Do not allow.
83202         [non-C99-based standards] (erfcf): Likewise.
83203         [non-C99-based standards] (gammaf): Likewise.
83204         [non-C99-based standards] (hypotf): Likewise.
83205         [non-C99-based standards] (j0f): Likewise.
83206         [non-C99-based standards] (j1f): Likewise.
83207         [non-C99-based standards] (jnf): Likewise.
83208         [non-C99-based standards] (lgammaf): Likewise.
83209         [non-C99-based standards] (tgammaf): Likewise.
83210         [non-C99-based standards] (y0f): Likewise.
83211         [non-C99-based standards] (y1f): Likewise.
83212         [non-C99-based standards] (ynf): Likewise.
83213         [non-C99-based standards] (isnanf): Likewise.
83214         [non-C99-based standards] (acoshf): Likewise.
83215         [non-C99-based standards] (asinhf): Likewise.
83216         [non-C99-based standards] (atanhf): Likewise.
83217         [non-C99-based standards] (cbrtf): Likewise.
83218         [non-C99-based standards] (expm1f): Likewise.
83219         [non-C99-based standards] (ilogbf): Likewise.
83220         [non-C99-based standards] (log1pf): Likewise.
83221         [non-C99-based standards] (logbf): Likewise.
83222         [non-C99-based standards] (nextafterf): Likewise.
83223         [non-C99-based standards] (remainderf): Likewise.
83224         [non-C99-based standards] (rintf): Likewise.
83225         [non-C99-based standards] (scalbf): Likewise.
83226         [non-C99-based standards] (copysignl): Likewise.
83227         [non-C99-based standards] (exp2l): Likewise.
83228         [non-C99-based standards] (log2l): Likewise.
83229         [non-C99-based standards] (modfl): Allow.
83230         [non-C99-based standards] (erfl): Do not allow.
83231         [non-C99-based standards] (erfcl): Likewise.
83232         [non-C99-based standards] (gammal): Likewise.
83233         [non-C99-based standards] (hypotl): Likewise.
83234         [non-C99-based standards] (j0l): Likewise.
83235         [non-C99-based standards] (j1l): Likewise.
83236         [non-C99-based standards] (jnl): Likewise.
83237         [non-C99-based standards] (lgammal): Likewise.
83238         [non-C99-based standards] (tgammal): Likewise.
83239         [non-C99-based standards] (y0l): Likewise.
83240         [non-C99-based standards] (y1l): Likewise.
83241         [non-C99-based standards] (ynl): Likewise.
83242         [non-C99-based standards] (isnanl): Likewise.
83243         [non-C99-based standards] (acoshl): Likewise.
83244         [non-C99-based standards] (asinhl): Likewise.
83245         [non-C99-based standards] (atanhl): Likewise.
83246         [non-C99-based standards] (cbrtl): Likewise.
83247         [non-C99-based standards] (expm1l): Likewise.
83248         [non-C99-based standards] (ilogbl): Likewise.
83249         [non-C99-based standards] (log1pl): Likewise.
83250         [non-C99-based standards] (logbl): Likewise.
83251         [non-C99-based standards] (nextafterl): Likewise.
83252         [non-C99-based standards] (remainderl): Likewise.
83253         [non-C99-based standards] (rintl): Likewise.
83254         [non-C99-based standards] (scalbl): Likewise.
83255         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83256         [non-C99-based standards] (FP_*): Do not allow.
83257         [C99-based standards] (FP_*): Change to
83258         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83259         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83260         allow.
83261         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
83262         (SIG_ERR): Likewise.
83263         [X/Open-based standards] (SIG_HOLD): Likewise.
83264         (SIG_IGN): Likewise.
83265         (SIGABRT): Use macro-int-constant.  Specify type.  Require
83266         positive value.
83267         (SIGFPE): Likewise.
83268         (SIGILL): Likewise.
83269         (SIGINT): Likewise.
83270         (SIGSEGV): Likewise.
83271         (SIGTER): Likewise.
83272         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
83273         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
83274         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
83275         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
83276         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
83277         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
83278         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
83279         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
83280         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
83281         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
83282         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
83283         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
83284         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
83285         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
83286         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
83287         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
83288         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
83289         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
83290         [X/Open-based standards] (SIGTRAP): Likewise.
83291         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
83292         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
83293         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
83294         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
83295         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83296         allow.
83298 2012-05-08  Ian Wienand  <ianw@vmware.com>
83300         [BZ #14080]
83301         * time/tzset.c (__tzset_parse_tz): Update default rules for
83302         daylight time changes in the Energy Policy Act of 2005.
83304 2012-05-09  Andreas Jaeger  <aj@suse.de>
83306         [BZ #13983]
83307         * elf/ldconfig.c (parse_conf): Change string to make clear that
83308         ldconfig only issued a warning if ld.so.conf does not exist.
83310 2012-05-08  David S. Miller  <davem@davemloft.net>
83312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
83313         movxtod instead of popping the value on the stack.
83315         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83317 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
83319         * config.h.in: Add HAVE_ARM_PCS_VFP.
83321 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
83323         [BZ #13979]
83324         * include/features.h: Warn if user requests __FORTIFY_SOURCE
83325         checking but the checks are disabled for any reason.
83327 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
83329         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
83330         and ELF64_R_TYPE with ELFW(R_TYPE).
83332 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
83334         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
83335         (ulimit): Likewise.
83337         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
83338         (settimeofday): Likewise.
83340 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
83342         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
83343         a struct th_u2 inside the union, and move tu_block/tu_code into
83344         a new th_u3 union of tu_block/tu_code inside of that.  Move
83345         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
83346         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
83347         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
83348         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
83349         (th_stuff): Change to th_u1.tu_stuff.
83350         (th_data): Define.
83351         (th_msg): Change to th_u1.th_u2.tu_data.
83353 2012-05-07  David S. Miller  <davem@davemloft.net>
83355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83357         [BZ #14074]
83358         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
83359         (SETUP_PIC_REG): Use it.
83360         (SETUP_PIC_REG_LEAF): Use it.
83362 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
83364         [BZ #13885]
83365         [BZ #13923]
83366         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83367         USE_AS_EXPM1L.
83368         (EXPL_FINITE): Likewise.
83369         (FLDLOG): Likewise.
83370         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83371         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83372         e_expl.S.
83373         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83374         USE_AS_EXPM1L.
83375         (EXPL_FINITE): Likewise.
83376         (FLDLOG): Likewise.
83377         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83378         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83379         e_expl.S.
83380         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
83381         test of -max_value argument for long double.
83382         * sysdeps/i386/fpu/libm-test-ulps: Update.
83383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83385 2012-05-06  David S. Miller  <davem@davemloft.net>
83387         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
83388         quad soft-float symbols whose references which are compiler
83389         generated.
83390         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83392 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
83394         [BZ #13884]
83395         [BZ #13914]
83396         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83397         USE_AS_EXP10L.
83398         (EXPL_FINITE): Likewise.
83399         (FLDLOG): Likewise.
83400         (c0): Likewise.
83401         (c1): Likewise.
83402         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
83403         Adjust comments for base varying.
83404         (__expl_finite): Change alias to EXPL_FINITE.
83405         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
83406         e_expl.S.
83407         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
83408         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
83409         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
83410         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
83411         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83412         USE_AS_EXP10L.
83413         (EXPL_FINITE): Likewise.
83414         (FLDLOG): Likewise.
83415         (c0): Likewise.
83416         (c1): Likewise.
83417         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
83418         Adjust comments for base varying.
83419         (__expl_finite): Change alias to EXPL_FINITE.
83420         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
83421         tests for bugs.
83422         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83424         [BZ #14064]
83425         * math/libm-test.inc (check_float_internal): Correct ulp
83426         calculation for subnormal expected results.
83428 2012-05-06  Andreas Jaeger  <aj@suse.de>
83430         * Makeconfig (+math-flags): New, set to -frounding-math.
83431         (+cflags): Add +math-flags so that all of glibc gets compiled with
83432         it.
83434         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
83436 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
83438         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
83439         Disable one test.
83441         [BZ #13787]
83442         [BZ #13922]
83443         [BZ #14036]
83444         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
83445         (__ieee754_expl): Allow for and saturate large arguments.
83446         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
83447         (u_threshold): Likewise.
83448         (__exp): Call __ieee754_exp before checking for overflow and
83449         underflow.
83450         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
83451         (u_threshold): Likewise.
83452         (__expf): Call __ieee754_expf before checking for overflow and
83453         underflow.
83454         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
83455         (u_threshold): Likewise.
83456         (__expl): Call __ieee754_expl before checking for overflow and
83457         underflow.
83458         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
83459         (__ieee754_expl): Allow for and saturate large arguments.
83460         * math/libm-test.inc (exp_test): Add another test.  Do not allow
83461         missing overflow exception on overflow.
83462         (expm1_test): Do not allow missing overflow exception on overflow.
83464         * sysdeps/i386/fpu/e_expl.c: Move to ...
83465         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
83466         rather than using inline asm.
83467         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
83468         * sysdeps/x86_64/fpu/e_expl.S: Copy from
83469         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
83471         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
83472         (nice): Likewise.
83473         (poll): Likewise.
83474         (signal): Likewise.
83475         (time): Likewise.
83476         (times): Likewise.
83478 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83480         * sysdeps/unix/syscalls.list (adjtime): Add entry from
83481         sysdeps/unix/common/syscalls.list.
83482         (fchmod): Likewise.
83483         (fchown): Likewise.
83484         (ftruncate): Likewise.
83485         (getrusage): Likewise.
83486         (gettimeofday): Likewise.
83487         (setpgid): Likewise.
83488         (setregid): Likewise.
83489         (setreuid): Likewise.
83490         (sigaction): Likewise.
83491         (truncate): Likewise.
83492         (vhangup): Likewise.
83493         * sysdeps/unix/common/syscalls.list: Remove file.
83494         * sysdeps/unix/bsd/Implies: Don't include unix/common.
83495         * sysdeps/unix/sysv/linux/Implies: Likewise.
83497 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
83499         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
83500         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
83501         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
83502         Moved to ...
83503         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
83504         Here.
83505         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
83506         to ...
83507         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
83508         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
83509         to ...
83510         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
83511         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
83512         to ...
83513         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
83514         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
83515         to ...
83516         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
83517         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
83518         to ...
83519         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
83520         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
83521         to ...
83522         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
83523         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
83524         to ...
83525         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
83526         Here.
83527         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
83528         to ...
83529         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
83530         Here.
83531         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
83532         to ...
83533         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
83534         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
83535         Moved to ...
83536         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
83537         Here.
83538         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
83539         to ...
83540         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
83542 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83544         * sysdeps/unix/common/bits/dirent.h: Remove file.
83545         * sysdeps/unix/common/bits/fcntl.h: Likewise.
83547         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
83548         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
83549         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
83550         * sysdeps/unix/bsd/isatty.c: Likewise.
83551         * sysdeps/unix/bsd/tcdrain.c: Likewise.
83552         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
83553         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
83555 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83557         [BZ #13563]
83558         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
83559         long double comparison inaccuracies.
83560         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
83561         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83563 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
83565         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
83566         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
83568 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83570         [BZ #14049]
83571         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
83572         nonzero digits before rounding a hex value.
83573         * stdlib/tst-strtod.c (tests): Add another test.
83575 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83577         * sysdeps/s390/fpu/libm-test-ulps: Update.
83579 2012-05-03  Andreas Jaeger  <aj@suse.de>
83581         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
83582         does not get optimized out.
83583         (malloc_opt_barrier): New.
83585 2012-05-03  Andreas Jaeger  <aj@suse.de>
83586             Roland McGrath  <roland@hack.frob.com>
83588         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
83589         intermediate file deletion.
83590         (generated): Add .symlist files.
83592 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
83594         [BZ #13775]
83595         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
83596         Redirect under this condition.
83597         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83598         [__USE_GNU] (__dprintf_chk): Not under this condition.
83599         [__USE_GNU] (__vdprintf_chk): Likewise.
83600         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
83601         under this condition.
83602         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83603         [__USE_XOPEN2K8] (dprintf): Define under this condition.
83604         [__USE_XOPEN2K8] (vdprintf): Likewise.
83605         [__USE_GNU] (__dprintf_chk): Not under this condition.
83606         [__USE_GNU] (__vdprintf_chk): Likewise.
83607         [__USE_GNU] (dprintf): Likewise.
83608         [__USE_GNU] (vdprintf): Likewise.
83610 2012-05-03  Roland McGrath  <roland@hack.frob.com>
83612         * elf/Makefile (common-generated): Set this instead of generated for
83613         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
83614         $(all-built-dso)-derived lists.
83616 2012-05-03  Andreas Jaeger  <aj@suse.de>
83618         * sysdeps/i386/fpu/libm-test-ulps: Update.
83620         * FAQ: Removed.
83621         * FAQ.in: Likewise.
83622         * scripts/gen-FAQ.pl: Likewise.
83623         * manual/install.texi (Installation): Point to online location of
83624         FAQ.
83625         * Makefile (files-for-dist): Remove FAQ.
83626         (FAQ): Remove.
83628 2012-05-02  Allan McRae  <allan@archlinux.org>
83630         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
83631         (LDFLAGS-reldepmod5.so): Likewise.
83632         (LDFLAGS-reldep6mod1.so): Likewise.
83633         (LDFLAGS-reldep6mod4.so): Likewise.
83634         (LDFLAGS-reldep8mod3.so): Likewise.
83635         (LDFLAGS-unload4mod1.so): Likewise.
83636         (LDFLAGS-unload4mod2.so): Likewise.
83637         (LDFLAGS-tst-initorder): Likewise.
83638         (LDFLAGS-tst-initordera2.so): Likewise.
83639         (LDFLAGS-tst-initordera3.so): Likewise.
83640         (LDFLAGS-tst-initordera4.so): Likewise.
83641         (LDFLAGS-tst-initorderb2.so): Likewise.
83642         (LDFLAGS-noload): Likewise.
83643         (LDFLAGS-next): Likewise.
83644         (LDFLAGS-order2mod1.so): Likewise.
83645         (LDFLAGS-order2mod2.so): Likewise.
83646         (LDFLAGS-tst-initorder2): Likewise.
83647         (LDFLAGS-tst-initorder2a.so): Likewise.
83648         (LDFLAGS-tst-initorder2b.so): Likewise.
83649         (LDFLAGS-tst-initorder2c.so): Likewise.
83650         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
83652 2012-05-02  David S. Miller  <davem@davemloft.net>
83654         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83656 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
83658         [BZ #14055]
83659         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
83661 2012-05-02  Andreas Jaeger  <aj@suse.de>
83663         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
83664         since we manipulate rounding mode.
83665         (CPPFLAGS-test-idouble.c): Likewise.
83666         (CPPFLAGS-test-ifloat.c): Likewise.
83667         (CFLAGS-test-ldouble.c): Likewise.
83668         (CFLAGS-test-double.c): Likewise.
83669         (CFLAGS-test-float.c): Likewise.
83670         (CFLAGS-test-misc.c): Likewise.
83671         (CFLAGS-test-test-fenv.c): Likewise.
83673 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83675         [BZ #2550]
83676         [BZ #2570]
83677         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
83678         comparisons to determine direction to adjust input.
83680 2012-05-01  Roland McGrath  <roland@hack.frob.com>
83682         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
83683         output to the target.
83685         * scripts/localplt.awk: New file.
83686         * elf/Makefile ($(objpfx)check-localplt): Target removed.
83687         (check-localplt-CFLAGS): Variable removed.
83688         ($(all-built-dso:=.jmprel)): New static pattern rule.
83689         (generated): Add those targets.
83690         (localplt-built-dso): New variable.
83691         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
83693         * elf/check-localplt.c: File removed.
83695         * scripts/check-execstack.awk: New file.
83696         * elf/Makefile ($(objpfx)check-execstack): Target removed.
83697         (check-execstack-CFLAGS): Variable removed.
83698         ($(objpfx)check-execstack.h): Target removed.
83699         ($(objpfx)execstack-default): New target.
83700         (generated): Add that instead of check-execstack.h.
83701         ($(all-built-dso:=.phdr)): New static pattern rule.
83702         (generated): Add those targets.
83703         * elf/check-execstack.c: File removed.
83705         * scripts/check-textrel.awk: New file.
83706         * elf/Makefile ($(objpfx)check-textrel): Target removed.
83707         (check-textrel-CFLAGS): Variable removed.
83708         (all-built-dso): Use := to define.o
83709         ($(all-built-dso:=.dyn)): New static pattern rule.
83710         (generated): Add those targets.
83711         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
83712         * config.make.in (READELF): New substituted variable.
83713         * elf/check-textrel.c: File removed.
83715 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
83717         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83718         allow.
83719         * conform/data/ctype.h-data [C99-based standards] (isblank):
83720         Expect function.
83721         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
83722         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
83723         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83724         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
83725         Specify type.  Require positive value.
83726         (EILSEQ): Likewise.
83727         (ERANGE): Likewise.
83728         [ISO || POSIX] (EILSEQ): Do not expect.
83729         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
83730         Specify type.  Require positive value.
83731         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
83732         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
83733         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
83734         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
83735         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
83736         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
83737         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
83738         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
83739         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
83740         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
83741         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
83742         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
83743         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
83744         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
83745         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
83746         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
83747         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
83748         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
83749         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
83750         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
83751         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
83752         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
83753         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
83754         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
83755         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
83756         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
83757         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
83758         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
83759         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
83760         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
83761         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
83762         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
83763         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
83764         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
83765         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
83766         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
83767         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
83768         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
83769         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
83770         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
83771         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
83772         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
83773         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
83774         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
83775         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
83776         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
83777         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
83778         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
83779         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
83780         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
83781         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
83782         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
83783         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
83784         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
83785         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
83786         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
83787         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
83788         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
83789         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
83790         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
83791         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
83792         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
83793         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
83794         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
83795         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
83796         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
83797         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
83798         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
83799         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
83800         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
83801         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
83802         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
83803         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
83804         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
83805         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
83806         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
83807         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
83808         Require >= 2.
83809         (FLT_ROUNDS): Expect as macro, not constant.
83810         (FLT_MANT_DIG): Use macro-int-constant.
83811         (DBL_MANT_DIG): Likewise.
83812         (LDBL_MANT_DIG): Likewise.
83813         (FLT_DIG): Likewise.
83814         (DBL_DIG): Likewise.
83815         (LDBL_DIG): Likewise.
83816         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
83817         (DBL_MIN_EXP): Likewise.
83818         (LDBL_MIN_EXP): Likewise.
83819         (FLT_MAX_EXP): Use macro-int-constant.
83820         (DBL_MAX_EXP): Likewise.
83821         (LDBL_MAX_EXP): Likewise.
83822         (FLT_MAX_10_EXP): Likewise.
83823         (DBL_MAX_10_EXP): Likewise.
83824         (LDBL_MAX_10_EXP): Likewise.
83825         (FLT_MAX): Use macro-constant.
83826         (DBL_MAX): Likewise.
83827         (LDBL_MAX): Likewise.
83828         (FLT_EPSILON): Use macro-constant.  Give upper bound.
83829         (DBL_EPSILON): Likewise.
83830         (LDBL_EPSILON): Likewise.
83831         (FLT_MIN): Likewise.
83832         (DBL_MIN): Likewise.
83833         (LDBL_MIN): Likewise.
83834         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
83835         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
83836         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
83837         [ISO11] (FLT_HAS_SUBNORM): Likewise.
83838         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
83839         [ISO11] (DBL_DECIMAL_DIG): Likewise.
83840         [ISO11] (FLT_DECIMAL_DIG): Likewise.
83841         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
83842         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
83843         [ISO11] (FLT_TRUE_MIN): Likewise.
83844         [ISO11] (LDBL_TRUE_MIN): Likewise.
83845         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83846         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
83847         (SCHAR_MIN): Use macro-int-constant.  Specify type.
83848         (SCHAR_MAX): Likewise.
83849         (UCHAR_MAX): Likewise.
83850         (CHAR_MIN): Likewise.
83851         (CHAR_MAX): Likewise.
83852         (MB_LEN_MAX): Use macro-int-constant.
83853         (SHRT_MIN): Use macro-int-constant.  Specify type.
83854         (SHRT_MAX): Likewise.
83855         (USHRT_MAX): Likewise.
83856         (INT_MAX): Likewise.
83857         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
83858         bound negative.
83859         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83860         bound with "U".
83861         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83862         bound with "L".
83863         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
83864         bound negative.  Suffix upper bound with "L".
83865         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83866         bound with "UL".
83867         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
83868         Specify type.
83869         [C99-based standards] (LLONG_MAX): Likewise.
83870         [C99-based standards] (ULLONG_MAX): Likewise.
83871         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
83872         == 0.
83873         [ISO11] (max_align_t): Require type.
83874         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83876         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
83877         from $CFLAGS, without defining away __attribute__ calls.
83878         (checknamespace): Use $CFLAGS_namespace.
83880         * conform/conformtest.pl (@keywords): Only include C99 keywords
83881         for standards based on C99 or C11.
83883         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
83884         Disable tests.
83885         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
83886         UNIX98]: Likewise.
83888         * conform/conformtest.pl: Handle "macro-int-constant" and test for
83889         usability of symbols in #if.
83891         * conform/conformtest.pl: If macro or constant types start
83892         "promoted:", expect the symbol to be of the following type
83893         promoted by the integer promotions.
83895         * conform/conformtest.pl: Parse all "constant" and "macro" lines
83896         in one place.  Also handle "macro-constant".
83898         * conform/conformtest.pl: Only accept expected macro values with
83899         "==".  Parse all "macro" lines in one place.
83900         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
83902         * conform/conformtest.pl: Handle braced types on "constant" lines
83903         instead of handling "typed-constant".
83904         * conform/data/signal.h-data: Use "constant" instead of
83905         "typed-constant".
83907         * conform/conformtest.pl: Handle "optional-" at start of lines in
83908         one place rather than duplicating several cases.  Handle each
83909         format of "macro" line with initial "optional-".
83911         * conform/conformtest.pl: Only accept expected constant or
83912         optional-constant values with "==".  Parse all "constant" lines in
83913         one place.  Parse all "optional-constant" lines in one place.
83914         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
83915         * conform/data/fmtmsg.h-data: Likewise.
83916         * conform/data/netinet/in.h-data: Likewise.
83917         * conform/data/tar.h-data: Likewise.
83918         * conform/data/limits.h-data: Use "==" form on "constant" and
83919         "optional-constant" lines.
83921         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
83922         Use -std=c99 for XOPEN2K.
83923         (@knownproblems): Remove.
83924         (newtoken): Don't check %isknown.
83926         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
83927         Do not expect macro.
83928         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
83929         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
83930         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
83931         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
83932         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
83933         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
83934         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
83935         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
83936         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
83937         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
83938         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
83939         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
83940         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
83941         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
83942         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
83943         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
83944         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
83945         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
83946         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
83947         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
83948         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
83949         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
83950         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
83951         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
83952         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
83953         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
83954         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
83955         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
83956         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
83957         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
83958         [XPG3] (acosh): Likewise.
83959         [XPG3] (asinh): Likewise.
83960         [XPG3] (atanh): Likewise.
83961         [XPG3] (cbrt): Likewise.
83962         [XPG3] (expm1): Likewise.
83963         [XPG3] (ilogb): Likewise.
83964         [XPG3] (log1p): Likewise.
83965         [XPG3] (logb): Likewise.
83966         [XPG3] (nextafter): Likewise.
83967         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
83968         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
83969         [XPG3] (remainder): Likewise.
83970         [XPG3] (rint): Likewise.
83971         [XPG3 || XPG4 || UNIX98] (round): Likewise.
83972         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
83973         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
83974         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
83975         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
83976         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
83977         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
83978         [UNIX98 || XOPEN2K] (scalb): Expect.
83979         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
83980         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
83981         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
83982         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
83983         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
83984         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
83985         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
83986         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
83987         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
83988         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
83989         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
83990         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
83991         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
83992         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
83993         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
83994         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
83995         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
83996         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
83997         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
83998         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
83999         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
84000         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
84001         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
84002         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
84003         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
84004         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
84005         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
84006         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
84007         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
84008         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
84009         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
84010         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
84011         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
84012         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
84013         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
84014         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
84015         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
84016         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
84017         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
84018         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
84019         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
84020         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
84021         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
84022         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
84023         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
84024         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
84025         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
84026         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
84027         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
84028         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
84029         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
84030         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
84031         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
84032         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
84033         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
84034         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
84035         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
84036         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
84037         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
84038         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
84039         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
84040         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
84041         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
84042         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
84043         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
84044         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
84045         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
84046         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
84047         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
84048         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
84049         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
84050         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
84051         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
84052         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
84053         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
84054         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
84055         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
84056         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
84057         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
84058         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
84059         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
84060         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
84061         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
84062         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
84063         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
84064         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
84065         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
84066         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
84067         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
84068         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
84069         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
84070         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
84071         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
84072         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
84073         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
84074         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
84075         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
84076         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
84077         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
84078         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
84079         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
84080         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
84081         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
84082         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
84083         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
84084         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
84085         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
84086         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
84087         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
84088         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
84089         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
84090         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
84091         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
84092         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
84093         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
84094         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
84095         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
84096         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
84097         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
84098         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
84099         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
84100         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
84101         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
84102         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
84103         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
84104         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
84105         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
84106         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
84107         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
84108         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
84109         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
84110         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
84111         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
84112         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
84113         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
84114         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
84115         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
84117         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
84118         _XOPEN_SOURCE_EXTENDED for XPG4.
84120         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
84122         * Makeconfig (localtime): Remove variable.
84123         (inst_localtime-file): Likewise.
84125 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
84127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
84128         Update.
84129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
84130         Update.
84131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
84132         Update.
84133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
84134         Update.
84135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
84136         Update.
84137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
84138         Update.
84139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
84140         Update.
84141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
84142         Update.
84143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84144         Update.
84146 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
84148         [BZ #2550]
84149         [BZ #2570]
84150         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
84151         comparisons to determine direction to adjust input.
84152         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
84153         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
84154         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
84155         Likewise.
84156         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
84157         Likewise.
84158         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
84159         Likewise.
84160         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
84161         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
84162         Likewise.
84163         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
84164         Likewise.
84165         * math/libm-test.inc (nexttoward_test): Add more tests.
84167 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
84169         [BZ #14040]
84170         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
84171         in version GLIBC_2.1, not GLIBC_2.0.
84172         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
84173         Likewise.
84175 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
84177         [BZ #13942]
84178         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
84179         (1 - x) * (1 + x).
84180         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84181         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
84182         * math/libm-test.inc (acos_test): Add more tests.
84183         (asin_test): Likewise.
84184         * sysdeps/i386/fpu/libm-test-ulps: Update.
84185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84187         [BZ #14034]
84188         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
84189         of square root.
84190         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
84191         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84192         * math/libm-test.inc (acos_test_tonearest): New function.
84193         (acos_test_towardzero): Likewise.
84194         (acos_test_downward): Likewise.
84195         (acos_test_upward): Likewise.
84196         (asin_test_tonearest): Likewise.
84197         (asin_test_towardzero): Likewise.
84198         (asin_test_downward): Likewise.
84199         (asin_test_upward): Likewise.
84200         (main): Call the new functions.
84201         * sysdeps/i386/fpu/libm-test-ulps: Update.
84202         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84204         [BZ #13884]
84205         [BZ #13924]
84206         * math/e_exp10.c: Include <float.h>.
84207         (__ieee754_exp10): Handle underflow here rather than multiplying
84208         large negative argument by M_LN10.
84209         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
84210         of __ieee754_expf.
84211         * math/e_exp10l.c: Include <float.h>.
84212         (__ieee754_exp10l): Handle underflow here rather than multiplying
84213         large negative argument by M_LN10l.
84214         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
84215         spurious overflow exception on underflow.
84217 2012-04-29  Marek Polacek  <polacek@redhat.com>
84219         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
84220         (__fortify_function): New macro.
84221         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
84222         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
84223         __extern_always_inline.
84224         * libio/bits/stdio2.h: Likewise.
84225         * libio/bits/stdio.h: Likewise.
84226         * string/string.h: Likewise.
84227         * string/bits/string3.h: Likewise.
84228         * include/stdio.h: Likewise.
84229         * stdlib/bits/stdlib.h: Likewise.
84230         * stdlib/stdlib.h: Likewise.
84231         * rt/bits/mqueue2.h: Likewise.
84232         * rt/mqueue.h: Likewise.
84233         * posix/bits/unistd.h: Likewise.
84234         * posix/unistd.h: Likewise.
84235         * io/bits/poll2.h: Likewise.
84236         * io/bits/fcntl2.h: Likewise.
84237         * io/fcntl.h: Likewise.
84238         * io/sys/poll.h: Likewise.
84239         * misc/bits/syslog.h: Likewise.
84240         * misc/bits/syslog-ldbl.h: Likewise.
84241         * misc/sys/syslog.h: Likewise.
84242         * socket/bits/socket2.h: Likewise.
84243         * socket/sys/socket.h: Likewise.
84244         * debug/tst-chk1.c: Likewise.
84245         * wcsmbs/bits/wchar2.h: Likewise.
84246         * wcsmbs/bits/wchar-ldbl.h: Likewise.
84247         * wcsmbs/wchar.h: Likewise.
84249 2012-04-29  Andreas Jaeger  <aj@suse.de>
84251         * Makerules (tests): Remove enable-check-abi protection.
84252         (check-abi-warn): Remove.
84253         (check-abi-%): Remove check-abi-warn usage.
84255         * configure.in: Remove check-abi configure option.
84256         * configure: Regenerated.
84257         * config.make.in (enable-check-abi): Remove.
84259 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
84261         [BZ #14033]
84262         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
84263         double functions to double *_finite functions.
84265         [BZ #13941]
84266         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
84267         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
84268         LDBL_MIN_EXP.
84269         * stdio-common/Makefile (tests): Add tst-sprintf3.
84270         * stdio-common/tst-sprintf3.c: New file.
84272         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
84273         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
84275 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
84277         * conform/conformtest.pl: Remove duplicate typed-constant
84278         handling.
84280 2012-04-28  David S. Miller  <davem@davemloft.net>
84282         * Makerules (%.abilist): Add vpath on sysdep_dirs.
84283         (check-abi-%): Remove AWK script prerequisite and explicit
84284         abilist directory.
84285         (check-abi): Rewrite to just diff the symlist with the abilist.
84286         (config-tls, config-abi-config): Delete, no longer used.
84287         (update-abi-%): Remove AWK script and explicit abilist directory.
84288         (update-abi): Rewrite to simply compare and conditionally copy the
84289         symlist and the sysdep abilist file.  Remove update-abi-config
84290         checks.
84291         * abilist/ld.abilist: Remove.
84292         * abilist/libBrokenLocale.abilist: Remove.
84293         * abilist/libanl.abilist: Remove.
84294         * abilist/libcrypt.abilist: Remove.
84295         * abilist/libdl.abilist: Remove.
84296         * abilist/librt.abilist: Remove.
84297         * abilist/libthread_db.abilist: Remove.
84298         * abilist/libutil.abilist: Remove.
84299         * scripts/extract-abilist.awk: Remove.
84300         * scripts/merge-abilist.awk: Remove.
84301         * sysdeps/generic/libcidn.abilist: New file.
84302         * sysdeps/generic/libnss_compat.abilist: New file.
84303         * sysdeps/generic/libnss_db.abilist: New file.
84304         * sysdeps/generic/libnss_dns.abilist: New file.
84305         * sysdeps/generic/libnss_files.abilist: New file.
84306         * sysdeps/generic/libnss_hesiod.abilist: New file.
84307         * sysdeps/generic/libnss_nis.abilist: New file.
84308         * sysdeps/generic/libnss_nisplus.abilist: New file.
84309         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
84310         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
84311         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
84312         file.
84313         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
84314         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
84315         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
84316         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
84317         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
84318         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
84319         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
84320         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
84321         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
84322         file.
84323         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
84324         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
84325         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
84326         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
84327         file.
84328         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
84329         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
84330         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
84331         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
84332         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
84333         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
84334         file.
84335         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
84336         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
84337         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
84338         file.
84339         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
84340         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
84341         New file.
84342         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
84343         New file.
84344         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
84345         New file.
84346         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
84347         New file.
84348         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
84349         New file.
84350         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
84351         New file.
84352         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
84353         New file.
84354         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
84355         New file.
84356         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
84357         New file.
84358         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
84359         New file.
84360         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
84361         New file.
84362         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
84363         New file.
84364         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
84365         New file.
84366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
84367         file.
84368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
84369         New file.
84370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
84371         New file.
84372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
84373         file.
84374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
84375         New file.
84376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
84377         New file.
84378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
84379         file.
84380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
84381         New file.
84382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84383         New file.
84384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
84385         New file.
84386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
84387         New file.
84388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
84389         New file.
84390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
84391         New file.
84392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
84393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
84394         file.
84395         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
84396         New file.
84397         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
84398         file.
84399         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
84400         file.
84401         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
84402         file.
84403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
84404         file.
84405         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
84406         file.
84407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
84408         New file.
84409         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
84410         file.
84411         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
84412         file.
84413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
84414         New file.
84415         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
84416         file.
84417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
84418         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
84419         file.
84420         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
84421         New file.
84422         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
84423         file.
84424         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
84425         file.
84426         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
84427         file.
84428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
84429         file.
84430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
84431         file.
84432         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
84433         New file.
84434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
84435         file.
84436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
84437         file.
84438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
84439         New file.
84440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
84441         file.
84442         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
84443         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
84444         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
84445         file.
84446         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
84447         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
84448         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
84449         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
84450         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
84451         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
84452         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
84453         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
84454         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
84455         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
84456         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
84457         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
84458         file.
84459         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
84460         New file.
84461         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
84462         file.
84463         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
84464         file.
84465         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
84466         file.
84467         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
84468         file.
84469         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
84470         file.
84471         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
84472         New file.
84473         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
84474         New file.
84475         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
84476         file.
84477         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
84478         New file.
84479         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
84480         file.
84481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
84482         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
84483         file.
84484         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
84485         New file.
84486         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
84487         file.
84488         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
84489         file.
84490         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
84491         file.
84492         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
84493         file.
84494         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
84495         file.
84496         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
84497         New file.
84498         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
84499         New file.
84500         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
84501         file.
84502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
84503         New file.
84504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
84505         file.
84507 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
84509         * conform/conformtest.pl: Fix typo in handling typed-constant from
84510         allow-header.
84512 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
84514         * README: Cut down references to pre-2.6 Linux kernels and
84515         Linuxthreads.  Update lists of configurations in libc and ports
84516         and sort alphabetically.  Say "or newer" with Linux kernel version
84517         requirements.
84519         * config.h.in [IS_IN_build]: Allow compiling without optimization.
84521 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
84523         [BZ #887]
84524         * math/libm-test.inc (logb_test_downward): New test to expose
84525         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
84526         rounding mode.
84528 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
84530         [BZ #14027]
84531         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
84532         to be done.
84533         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
84534         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
84536 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
84538         * sysdeps/unix/i386/brk.S: Remove file.
84539         * sysdeps/unix/i386/dl-brk.S: Likewise.
84540         * sysdeps/unix/i386/pipe.S: Likewise.
84541         * sysdeps/unix/i386/sigreturn.S: Likewise.
84542         * sysdeps/unix/i386/syscall.S: Likewise.
84543         * sysdeps/unix/i386/vfork.S: Likewise.
84544         * sysdeps/unix/i386/wait.S: Likewise.
84546         * sysdeps/unix/common/tcsendbrk.c: Move to ...
84547         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
84549         * configure.in (arm*-none*): Do not allow without
84550         --enable-hacker-mode.
84551         (netbsd*): Remove case setting base_os.
84552         (386bsd*): Likewise.
84553         (freebsd*): Likewise.
84554         (bsdi*): Likewise.
84555         (osf*): Likewise.
84556         (sunos*): Likewise.
84557         (ultrix*): Likewise.
84558         (newsos*): Likewise.
84559         (dynix*): Likewise.
84560         (*bsd*): Likewise.
84561         (sysv*): Likewise.
84562         (isc*): Likewise.
84563         (esix*): Likewise.
84564         (sco*): Likewise.
84565         (minix*): Likewise.
84566         (irix4*): Likewise.
84567         (irix6*): Likewise.
84568         (solaris[2-9]*): Likewise.
84569         (none): Likewise.
84570         * configure: Regenerated.
84572 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84574         [BZ #11521]
84575         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
84576         overflow or cancellation in calculating denominator.
84577         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
84578         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
84579         down expression to avoid unexpected rounding in newer GCCs.
84580         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
84582 2012-04-26  David S. Miller  <davem@davemloft.net>
84584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
84585         long-double compat symbols.
84586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
84590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
84592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
84593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
84594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
84595         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
84596         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
84597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
84598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84600 2012-04-25  David S. Miller  <davem@davemloft.net>
84602         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
84603         HWCAP_* values only after the memory barriers have been defined.
84604         (atomic_full_barrier): Define.
84605         (atomic_read_barrier): Define.
84606         (atomic_write_barrier): Define.
84608 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
84610         * shlib-versions: Add libgcc_s version information.
84611         * sysdeps/generic/libgcc_s.h: Remove.
84612         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
84613         libgcc_s.h.
84614         * sysdeps/gnu/unwind-resume.c: Likewise.
84615         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
84617 2012-04-25  David S. Miller  <davem@davemloft.net>
84619         * sysdeps/unix/sparc/brk.S: Delete.
84620         * sysdeps/unix/sparc/dl-brk.S: Delete.
84621         * sysdeps/unix/sparc/pipe.S: Delete.
84622         * sysdeps/unix/sparc/sysdep.S: Delete.
84623         * sysdeps/unix/sparc/sysdep.h: Delete.
84624         * sysdeps/unix/sparc/vfork.S: Delete.
84625         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
84626         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
84627         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
84628         (ret_ERRVAL, r0, r1, MOVE): Define.
84629         (JUMPTARGET): Remove.
84630         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
84631         sysdeps/unix/sparc/sysdep.h
84632         (ENTRY, END): Remove.
84633         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84635 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
84637         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
84638         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
84639         -DIS_IN_build.
84641         * timezone/README: Update upstream location and email address for
84642         tzcode and tzdata.
84643         * timezone/zdump.c: Update from tzcode 2012b.
84644         * timezone/zic.c: Likewise.
84646         * configure.in (libc_cv_as_needed): Remove test.
84647         * configure: Regenerated.
84648         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
84649         conditional definition.
84650         [$(have-as-needed) != yes] (no-as-needed): Likewise.
84651         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
84652         * config.make.in (have-as-needed): Remove variable.
84654 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
84655             Paul Pluzhnikov  <ppluzhnikov@google.com>
84657         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
84658         strings correctly.
84660 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
84662         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
84663         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
84664         * sysdeps/sh/strlen.S: Likewise.
84666 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84668         * sysdeps/unix/fork.S: Remove file.
84669         * sysdeps/unix/i386/fork.S: Likewise.
84670         * sysdeps/unix/sparc/fork.S: Likewise.
84672         * sysdeps/unix/system.c: Remove file.
84673         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
84675         * sysdeps/unix/getegid.S: Remove file.
84676         * sysdeps/unix/geteuid.S: Likewise.
84678 2012-04-24  Roland McGrath  <roland@hack.frob.com>
84680         * scripts/check-localplt.awk: New file.
84681         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
84682         of diff.
84683         * scripts/data/localplt-generic.data: Add a comment.
84685         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
84686         NODE when __dir_mkfile failed.
84687         * sysdeps/mach/hurd/symlinkat.c: Likewise.
84688         Reported by Ludovic CourtĂšs <ludo@gnu.org>.
84690 2012-04-24  Andreas Jaeger  <aj@suse.de>
84692         * Makerules (common-clean): Also remove gen-as-const-headers
84693         files.
84695 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84697         * Makerules (native-compile): Do not change working directory for
84698         build.  Use $(OUTPUT_OPTION) in command.
84699         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
84701 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84703         [BZ #13886]
84704         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
84705         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
84706         * math/libm-test.inc (floor_test): Add more tests.
84707         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
84709 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84711         * sysdeps/unix/getdents.c: Remove file.
84712         * sysdeps/unix/sysv/getdents.c: Likewise.
84713         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
84715         * sysdeps/unix/syscalls.list (madvise): Add syscall from
84716         sysdeps/unix/mman/syscalls.list.
84717         (mmap): Likewise.
84718         (mprotect): Likewise.
84719         (msync): Likewise.
84720         (munmap): Likewise.
84721         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
84722         * sysdeps/unix/mman/syscalls.list: Remove.
84723         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
84725         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
84726         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
84727         * configure: Regenerated.
84728         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
84729         $(libgcc_s_suffix).
84730         * config.make.in (libgcc_s_suffix): Remove variable.
84732 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
84734         * sysdeps/unix/sysv/gethostname.c: Move to ...
84735         * sysdeps/posix/gethostname.c: ... here.
84737         * sysdeps/unix/execve.S: Remove file.
84739         * sysdeps/unix/_exit.S: Remove file.
84741 2012-04-23  Andreas Jaeger  <aj@suse.de>
84743         [BZ #13739]
84744         * manual/Makefile: Remove make dist support, there's no
84745         need for a stand-alone documentation tar ball.
84746         (TEXI2DVI): Define always, it's not in Makeconfig.
84747         (dist): Removed.
84748         (tar-it): Removed.
84749         (edition): Removed.
84750         (glibc-doc-$(edition).tar): Removed
84751         (%.Z): Removed.
84752         (%.gz): Removed.
84753         (%.uu): Removed.
84754         (ETAGS): Remove, it's in Makeconfig.
84755         (move-if-change): Remove, it's in Makeconfig.
84757 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
84759         [BZ #13970]
84760         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
84761         (strtod, strtof, strtold, strtol, strtoul, strtoq)
84762         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
84763         (strtod_l, strtof_l, strtold_l): Remove __wur.
84764         It is not necessarily an error to ignore strtol's return value.
84765         One can reliably look at the stored endptr to decide whether
84766         the number had valid syntax.
84768 2012-04-21  Andreas Jaeger  <aj@suse.de>
84770         [BZ #13739]
84771         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
84773 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
84775         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
84776         * sysdeps/unix/sysv/Versions: Remove file.
84778 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
84780         [BZ #13927]
84781         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84783 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
84785         [BZ #7064]
84786         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
84787         version from __vm86.
84789 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
84791         * sysdeps/unix/common/lxstat.c: Remove file.
84792         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
84794         * sysdeps/unix/sysv/Makefile: Remove file.
84796         * sysdeps/unix/sysv/direct.h: Remove file.
84798         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
84799         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
84800         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
84801         * sysdeps/unix/sysv/bits/signum.h: Likewise.
84802         * sysdeps/unix/sysv/bits/stat.h: Likewise.
84803         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
84804         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
84806         * sysdeps/unix/sysv/setrlimit.c: Remove file.
84808         * sysdeps/unix/xmknod.c: Remove file.
84809         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
84811         * sysdeps/unix/sysv/settimeofday.c: Remove file.
84813         * sysdeps/unix/sysv/i386/time.S: Remove file.
84815         * sysdeps/unix/fxstat.c: Remove file.
84816         * sysdeps/unix/xstat.c: Likewise.
84817         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
84819         * sysdeps/unix/sysv/sigaction.c: Remove file.
84821         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
84822         (sysdep_headers): Remove variable.
84823         [termio.h not in sysdep_headers] (generated): Likewise.
84824         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
84825         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
84826         * sysdeps/unix/sysv/tcdrain.c: Likewise.
84827         * sysdeps/unix/sysv/tcflow.c: Likewise.
84828         * sysdeps/unix/sysv/tcflush.c: Likewise.
84829         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
84830         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
84831         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
84832         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
84833         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
84835         * sysdeps/unix/siglist.c: Remove file.
84837         * sysdeps/unix/getppid.S: Remove file.
84839         * sysdeps/unix/mkdir.c: Remove file.
84840         * sysdeps/unix/rmdir.c: Likewise.
84842 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
84844         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
84845         ERR_MAX value.
84846         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
84847         errlist-compat value.
84849 2012-04-18  David S. Miller  <davem@davemloft.net>
84851         * sysdeps/generic/memcopy.h (reg_char): Delete.
84852         * debug/strcat_chk.c: Use char, not reg_char.
84853         * debug/strcpy_chk.c: Likewise.
84854         * debug/strncat_chk.c: Likewise.
84855         * debug/strncpy_chk.c: Likewise.
84856         * string/memchr.c: Likewise.
84857         * string/memrchr.c: Likewise.
84858         * string/rawmemchr.c: Likewise.
84859         * string/strcat.c: Likewise.
84860         * string/strchr.c: Likewise.
84861         * string/strchrnul.c: Likewise.
84862         * string/strcmp.c: Likewise.
84863         * string/strcpy.c: Likewise.
84864         * string/strncat.c: Likewise.
84865         * string/strncmp.c: Likewise.
84866         * string/strncpy.c: Likewise.
84868 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84870         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
84871         __builtin_memcopy is called when src and dest ranges are known to not
84872         overlap.
84874 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84876         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
84877         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
84878         fwd_align_merge macro call.
84879         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
84880         bwd_align_merge macro call.
84881         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84883 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84885         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
84886         bwd_align_merge macros.
84887         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
84888         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
84889         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84891 2012-04-18  David S. Miller  <davem@davemloft.net>
84893         * sysdeps/sparc/sparc64/memcopy.h: Delete.
84895 2012-04-18  Andreas Jaeger  <aj@suse.de>
84897         [BZ #6794]
84898         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
84899         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
84900         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84902         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
84903         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
84904         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84906         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
84907         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
84908         Adjust for changed ldbl-128 files.
84910         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
84911         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
84912         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84914 2012-04-17  David S. Miller  <davem@davemloft.net>
84916         * sysdeps/sparc/sparc32/memcopy.h: Delete.
84918 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
84920         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
84921         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
84922         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
84923         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
84924         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
84925         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
84927 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84929         [BZ #6794]
84930         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
84931         * math/libm-test.inc: Add ilogb errno and exception tests.
84932         * math/w_ilogb.c: New file: ilogb wrapper.
84933         * math/w_ilogbf.c: New file: ilogbf wrapper.
84934         * math/w_ilogbl.c: New file: ilogbl wrapper.
84935         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
84936         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
84937         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
84938         exception being thrown with 0.0 as argument.
84939         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
84940         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
84941         exception being thrown with 0.0 as argument.
84942         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
84943         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84944         exception being thrown with 0.0 as argument.
84945         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
84946         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84947         exception being thrown with 0.0 as argument.
84948         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
84949         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
84950         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
84951         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
84952         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
84953         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
84954         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
84955         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
84956         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
84958 2012-04-17  Petr Baudis  <pasky@ucw.cz>
84960         * include/sys/uio.h: Change __vector to __iovec to avoid clash
84961         with altivec.
84963 2012-04-16  Marek Polacek  <polacek@redhat.com>
84965         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
84967 2012-04-16  Marek Polacek  <polacek@redhat.com>
84969         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
84970         operands of fdivp instruction.
84972 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
84974         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
84975         * elf/tst-auditmod3b.c: Likewise.
84976         * elf/tst-auditmod4b.c: Likewise.
84977         * elf/tst-auditmod5b.c: Likewise.
84978         * elf/tst-auditmod6b.c: Likewise.
84979         * elf/tst-auditmod6c.c: Likewise.
84980         * elf/tst-auditmod7b.c: Likewise.
84981         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
84982         * sysdeps/x86_64/preconfigure.in: Likewise.
84983         * sysdeps/x86_64/preconfigure: Regenerated.
84985 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
84987         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
84988         __ILP32__.
84990 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
84992         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
84993         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
84995 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
84997         [BZ #13973]
84998         * locale/iso-639.def: Fix gl language name. Spotted by
84999         Yaron Shahrabani.
85001 2012-04-12  Roland McGrath  <roland@hack.frob.com>
85003         [BZ #2074]
85004         * libio/libio.h (__io_write_fn): Update comment.
85006 2012-04-12  Petr Baudis  <pasky@ucw.cz>
85008         [BZ #2074]
85009         * stdio.texi (Hook Functions): The user provided writer function
85010         is not allowed to return -1.
85012 2012-04-11  David S. Miller  <davem@davemloft.net>
85014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85016 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
85018         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
85019         Add a leading slash to rtkaio.
85021 2012-04-11  Jim Meyering  <meyering@redhat.com>
85023         [BZ #11959]
85024         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
85025         It is not necessarily an error to ignore fwrite's return
85026         value.  One can reliably use ferror to test for errors after
85027         the fact.
85029 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
85031         * bits/types.h (__snseconds_t): New type.
85032         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
85034         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
85035         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
85036         (__SNSECONDS_T_TYPE): Likewise.
85037         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
85038         (__SNSECONDS_T_TYPE): Likewise.
85039         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
85040         (__SNSECONDS_T_TYPE): Likewise.
85042 2012-04-10  Andreas Jaeger  <aj@suse.de>
85044         [BZ #2636]
85045         * manual/time.texi (Processor Time): Return type of times is
85046         elapsed real time since an arbitrary point in the past.
85047         (CPU Time): Move CLK_TCK from here...
85048         (Processor Time): ...to here.  Correct description.
85049         * manual/conf.texi (Constants for Sysconf): Correct description of
85050         _SC_CLK_TCK.
85052 2012-04-10  David S. Miller  <davem@davemloft.net>
85054         [BZ #13967]
85055         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
85056         where the is a gap between DT_REL(A) and DT_JMPREL.
85058 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
85060         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
85061         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
85062         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
85064 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
85066         * elf/dl-support.c (_dl_inhibit_cache): New variable.
85067         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
85068         (dl_main): Handle --inhibit-cache.
85069         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
85070         _dl_inhibit_cache.
85071         * elf/dl-load.c (_dl_map_object): Use it.
85072         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
85074 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
85076         [BZ #13872]
85077         * sysdeps/i386/fpu/e_powl.S (p78): New object.
85078         (__ieee754_powl): Saturate large exponents rather than testing for
85079         overflow of y*log2(x).
85080         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85081         * math/libm-test.inc (pow_test): Do not permit spurious overflow
85082         exceptions.
85084         [BZ #11521]
85085         * math/s_ctan.c: Include <float.h>.
85086         (__ctan): Avoid internal overflow or cancellation in calculating
85087         denominator.
85088         * math/s_ctanf.c: Likewise.
85089         * math/s_ctanl.c: Likewise.
85090         * math/s_ctanh.c: Likewise.
85091         * math/s_ctanhf.c: Likewise.
85092         * math/s_ctanhl.c: Likewise.
85093         * math/libm-test.inc (ctan_test): Add more tests.
85094         (ctanh_test): Likewise.
85095         * sysdeps/i386/fpu/libm-test-ulps: Update.
85096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85098 2012-04-09  Andreas Jaeger  <aj@suse.de>
85100         [BZ #6894]
85101         * manual/filesys.texi (Directory Entries): Mention that d_namlen
85102         is an optional BSD extension.
85104         [BZ #10254]
85105         * manual/stdio.texi (Opening Streams): Document additional fopen
85106         parameters.
85108 2012-04-09  Roland McGrath  <roland@hack.frob.com>
85110         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
85111         %eax without telling the compiler.
85113 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
85115         [BZ # 13963]
85116         * manual/install.texi: Use sourceware.org.
85118 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
85120         [BZ #13873]
85121         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
85122         (__ieee754_pow): Generate overflow and underflow using huge*huge
85123         and tiny*tiny rather than just returning constant infinity or zero
85124         for large exponents.
85125         * math/libm-test.inc (pow_test): Require overflow exceptions for
85126         applicable cases of large exponents.
85128         [BZ #706]
85129         * sysdeps/i386/fpu/e_pow.S (p10): New object.
85130         (__ieee754_pow): Use iterative multiplication algorithm only for
85131         integer exponents with absolute value below 1024.  Check for odd
85132         integer exponents when using algorithm for real exponents.
85133         * math/libm-test.inc (pow_test): Add more tests.
85134         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
85136 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
85138         [BZ #13705]
85139         * math/libm-test.inc (exp_test): Do not allow overflow exception
85140         on underflow test.
85142 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
85144         [BZ #13705]
85145         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
85146         instead of __kernel_standard_f.
85148 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
85150         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
85151         * sysdeps/x86_64/memset_chk.S: Likewise.
85153 2012-04-08  Andreas Jaeger  <aj@suse.de>
85155         [BZ #10153]
85156         * manual/startup.texi (Environment Access): Describe return value
85157         for putenv and setenv.
85159         [BZ #6895]
85160         * manual/filesys.texi (Directory Entries): Add description for
85161         DT_LNK.
85163         [BZ #6890]
85164         * manual/filesys.texi (Directory Entries): Clarify that it's file
85165         system not operating system in the description of DT_UNKNOWN.
85167         [BZ #6578]
85168         * manual/syslog.texi (closelog): Fix reference, it's openlog.
85170 2012-04-08  Stephen Compall  <s11@member.fsf.org>
85172         [BZ #6649]
85173         * manual/llio.texi (Opening and Closing Files): Add cross
85174         reference to explain mode argument.
85176 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
85178         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
85179         * sysdeps/x86_64/memset_chk.S: Likewise.
85181 2012-04-07  David S. Miller  <davem@davemloft.net>
85183         * elf/elf.h (R_SPARC_WDISP10): Define.
85184         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
85185         R_SPARC_SIZE32.
85186         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
85187         R_SPARC_SIZE64 and R_SPARC_H34.
85189 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
85191         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
85192         conditions and remove no longer applicable assertion.
85194 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
85196         * bits/byteswap.h: Include <features.h>.
85197         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
85198         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
85200 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
85202         * bits/byteswap.h (__bswap_16): Removed.
85203         Include <bits/byteswap-16.h> to get __bswap_16.
85204         * sysdeps/i386/bits/byteswap.h: Likewise.
85205         * sysdeps/s390/bits/byteswap.h: Likewise.
85206         * sysdeps/x86_64/bits/byteswap.h: Likewise.
85207         * bits/byteswap-16.h: New file.
85208         * sysdeps/i386/bits/byteswap-16.h: Likewise.
85209         * sysdeps/s390/bits/byteswap-16.h: Likewise.
85210         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
85211         * string/Makefile (headers): Add bits/byteswap-16.h.
85213 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
85215         [BZ #13895]
85216         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
85217         extra indirection.
85218         * nss/Makefile (tests-static, tests): Add tst-nss-static.
85219         * nss/tst-nss-static.c: New.
85221 2012-04-06  Robert Millan  <rmh@gnu.org>
85223         [BZ #6486]
85224         * manual/llio.texi (File Position Primitive): lseek
85225         refers to WHENCE when it really means OFFSET.
85227 2012-04-06  Andreas Jaeger  <aj@suse.de>
85229         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
85230         strncmp declarations.
85232         * abilist/libc.abilist: Add __poll and __ppoll.
85234 2012-04-05  David S. Miller  <davem@davemloft.net>
85236         * scripts/check-local-headers.sh: Accept a host triplet in the
85237         path matched by the exclude regexp.
85239         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
85240         definition.
85241         * sysdeps/powerpc/powerpc32/dl-machine.h
85242         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
85243         * sysdeps/s390/s390-32/dl-machine.h
85244         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85245         * sysdeps/sparc/sparc32/dl-machine.h
85246         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85247         * sysdeps/sparc/sparc64/dl-machine.h
85248         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85250         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
85251         lazy binding.
85252         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
85253         undefined symbol errors.
85255         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
85256         DT_NEEDED entries.
85258 2012-04-05  Michael Matz  <matz@suse.de>
85260         [BZ #13592]
85261         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
85263 2012-04-05  Andreas Jaeger  <aj@suse.de>
85265         [BZ #13908]
85266         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
85267         comment.
85269 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85271         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
85272         which ROUND is no valid rounding mode.
85274 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85276         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
85277         read again.
85278         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
85280 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85282         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
85283         an exception using FPU order intentionally.
85285 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85287         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
85288         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
85289         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
85290         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
85292 2012-04-05  Simon Josefsson  <simon@josefsson.org>
85294         [BZ #12340]
85295         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
85296         EINVAL when BUFLEN is too smal.
85298 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
85300         [BZ #13553]
85301         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
85302         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
85304 2012-04-03  Andreas Jaeger  <aj@suse.de>
85306         [BZ #13938]
85307         * manual/setjmp.texi (System V contexts): Fix sentence.
85309         [BZ #13926]
85310         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
85311         New macro for this case.
85312         [!__GNUC__] (__bswap_64): New inline function for this case.
85313         * sysdeps/x86_64/bits/byteswap.h: Likewise.
85314         * bits/byteswap.h: Likewise.
85315         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
85316         ull, guard with __GLIBC_HAVE_LONG_LONG.
85318         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
85319         __GLIBC_HAVE_LONG_LONG.
85321         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
85322         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
85324 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85326         [BZ #13691]
85327         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
85328         inptr and inend, rather than using last_ch.
85330 2012-04-02  David S. Miller  <davem@davemloft.net>
85332         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
85333         * stdio-common/printf-parse.h (read_int): Change return type to
85334         'int', return -1 on INT_MAX overflow.
85335         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
85336         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
85337         overflows INT_MAX.  Check for overflow of in-format-string precision
85338         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
85339         SIZE_MAX not INT_MAX for integer overflow test.
85340         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
85341         skip the construct in the format string but do not record anything.
85342         * stdio-common/bug22.c: Adjust to test both width/prevision
85343         INT_MAX overflow as well as total length INT_MAX overflow.  Check
85344         explicitly for proper errno values.
85346 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
85348         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
85349         CHAR_MAX.
85350         * string/test-strcmp.c [! WIDE]: Likewise.
85351         * time/tst-mktime2.c: Likewise for INT_MAX.
85352         * string/test-string.h: #include <sys/param.h> for MIN.
85354         * csu/init-first.c (__libc_init_first): Call __ctype_init.
85355         * sysdeps/i386/init-first.c (init): Likewise.
85356         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
85357         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
85358         * sysdeps/sh/init-first.c (init): Likewise.
85360 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
85362         * po/ru.po: Update from translation team.
85363         * po/vi.po: Likewise.
85365 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
85367         * resolv/nss_dns/dns-host.c: Merge copyright years.
85369 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85371         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85372         Optimize memcpy with prefetch if
85373         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
85374         src, dst pointers have unequal 16 byte alignments.
85376 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
85378         [BZ #13928]
85379         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
85380         from a CNAME entry and return the minimum ttl for the query.
85381         (gaih_getanswer_slice): Likewise.
85383 2012-03-30  Jeff Law  <law@redhat.com>
85385         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
85386         due to long keys.
85387         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
85388         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
85390         * resolv/nss_dns/dns-host.c: Update copyright year.
85392 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
85394         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
85395         requests to save a system call.  Fix check that all bytes are sent.
85397         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
85398         comments for sendmmsg.
85400 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
85402         [BZ #13691]
85403         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
85404         with only 1 character between 0x0041 and 0x01b0.
85405         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
85406         * wcsmbs/tst-mbsnrtowcs.c: New file.
85408 2012-03-29  David S. Miller  <davem@davemloft.net>
85410         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
85411         small copies by hand.
85413 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
85415         [BZ #13761]
85416         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
85417         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
85418         group memberships.
85420 2012-03-28  David S. Miller  <davem@davemloft.net>
85422         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
85423         that branches into memcpy.
85424         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
85425         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
85426         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
85427         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
85428         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
85429         bits.
85430         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
85431         implementation too.
85432         * sysdeps/sparc/mempcpy.S: New file.
85434         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
85435         the IFUNC routine in the libc case.
85436         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85438         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
85439         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
85440         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
85441         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
85442         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
85443         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
85444         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
85445         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
85447         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
85448         loop to 256 bytes instead of 64 bytes and fix test signedness.
85450         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
85451         * sysdeps/sparc/sparc32/Makefile: rather than here...
85452         * sysdeps/sparc/sparc64/Makefile: and here.
85454 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
85456         * malloc/mallocbug.c: Avoid warnings about unused variables.
85458 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
85460         [BZ #13760]
85461         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
85462         in the right place. Discard and retry query if response is
85463         larger than input buffer size.
85465 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
85467         [BZ #369]
85468         [BZ #2678]
85469         [BZ #3866]
85470         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
85471         x for large integer exponent.
85472         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
85473         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
85474         sign of result as needed afterwards.
85475         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
85476         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
85477         result for underflowing pow the same as for overflow.
85478         (__kernel_standard_l): Handle powl overflow and underflow here
85479         rather than calling __kernel_standard.
85480         * math/libm-test.inc (pow_test): Add more tests.
85482         [BZ #3868]
85483         [BZ #13879]
85484         [BZ #13910]
85485         [BZ #13911]
85486         [BZ #13912]
85487         [BZ #13913]
85488         [BZ #13915]
85489         [BZ #13916]
85490         [BZ #13917]
85491         [BZ #13918]
85492         [BZ #13919]
85493         [BZ #13920]
85494         [BZ #13921]
85495         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
85496         * sysdeps/ieee754/k_standard.c: Include <float.h>.
85497         (__kernel_standard_l): New function.
85498         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
85499         __kernel_standard.
85500         * math/w_acosl.c (__acosl): Likewise.
85501         * math/w_asinl.c (__asinl): Likewise.
85502         * math/w_atan2l.c (__atan2l): Likewise.
85503         * math/w_atanhl.c (__atanhl): Likewise.
85504         * math/w_coshl.c (__coshl): Likewise.
85505         * math/w_exp10l.c (__exp10l): Likewise.
85506         * math/w_exp2l.c (__exp2l): Likewise.
85507         * math/w_fmodl.c (__fmodl): Likewise.
85508         * math/w_hypotl.c (__hypotl): Likewise.
85509         * math/w_j0l.c (__j0l, __y0l): Likewise.
85510         * math/w_j1l.c (__j1l, __y1l): Likewise.
85511         * math/w_jnl.c (__jnl, __ynl): Likewise.
85512         * math/w_lgammal.c (__lgammal): Likewise.
85513         * math/w_log10l.c (__log10l): Likewise.
85514         * math/w_log2l.c (__log2l): Likewise.
85515         * math/w_logl.c (__logl): Likewise.
85516         * math/w_powl.c (__powl): Likewise.
85517         * math/w_remainderl.c (__remainderl): Likewise.
85518         * math/w_scalbl.c (sysv_scalbl): Likewise.
85519         * math/w_sinhl.c (__sinhl): Likewise.
85520         * math/w_sqrtl.c (__sqrtl): Likewise.
85521         * math/w_tgammal.c (__tgammal): Likewise.
85522         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
85523         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
85524         * math/libm-test.inc (acos_test): Add more tests.
85525         (acosh_test): Likewise.
85526         (asin_test): Likewise.
85527         (atanh_test): Likewise.
85528         (exp_test): Likewise.
85529         (exp10_test): Likewise.
85530         (exp2_test): Likewise.
85531         (expm1_test): Likewise.
85532         (lgamma_test): Likewise.
85533         (log_test): Likewise.
85534         (log10_test): Likewise.
85535         (log1p_test): Likewise.
85536         (log2_test): Likewise.
85537         (pow_test): Do not allow some spurious overflow exceptions.
85538         (sqrt_test): Add more tests.
85539         (tgamma_test): Likewise.
85540         (y0_test): Likewise.
85541         (y1_test): Likewise.
85542         (yn_test): Likewise.
85544 2012-03-27  Anton Blanchard  <anton@samba.org>
85546         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
85547         MAP_HUGETLB.
85548         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
85549         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
85550         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
85552 2012-03-27  David S. Miller  <davem@davemloft.net>
85554         * conform/Makefile: Run run-conformtest.sh using $(BASH).
85556         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
85557         have-as-vis3 check.
85559 2012-03-27  Andreas Jaeger  <aj@suse.de>
85561         * sysdeps/x86_64/elf/configure.in: Moved to ...
85562         * sysdeps/x86_64/configure.in: ... here.
85563         * sysdeps/x86_64/elf/start.S: Moved to ...
85564         * sysdeps/x86_64/start.S: ... here.
85565         * sysdeps/x86_64/elf/configure: Delete.
85567         * sysdeps/x86_64/configure.in: Merge contents from
85568         sysdeps/i386/configure.in (without i686 check).
85570         * sysdeps/i386/elf/Versions: Merge into ...
85571         * sysdeps/i386/Versions: ... this.
85572         * sysdeps/i386/elf/Versions: Delete file.
85573         * sysdeps/i386/elf/start.S: Moved to ...
85574         * sysdeps/i386/start.S: ...here.
85575         * sysdeps/i386/elf/configure.in: Merge into...
85576         * sysdeps/i386/configure.in: ...here.
85577         * sysdeps/i386/elf/configure.in: Delete file.
85578         * sysdeps/i386/elf/configure: Delete file.
85580         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
85581         * debug/backtracesyms.c: ... here.
85582         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
85583         * debug/backtracesymsfd.c: ... here.
85584         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
85585         * sysdeps/generic/ifunc-sel.h: ... here.
85587         * sysdeps/unix/i386/start.c: Delete file.
85588         * sysdeps/unix/sparc/start.c: Delete file.
85589         * sysdeps/unix/start.c: Delete file.
85591         * sysdeps/sh/elf/configure.in: Moved to ...
85592         * sysdeps/sh/configure.in: ... here.
85593         * sysdeps/sh/elf/start.S: Moved to ...
85594         * sysdeps/sh/start.S: ... here.
85595         * sysdeps/sh/elf/configure: Delete file.
85597         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
85598         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
85599         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
85600         * sysdeps/powerpc/powerpc64/entry.h: ... here.
85601         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
85602         * sysdeps/powerpc/powerpc64/start.S: here.
85603         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
85604         * sysdeps/powerpc/powerpc64/Makefile: ... this.
85605         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
85606         * sysdeps/powerpc/powerpc64/configure.in: ... this.
85607         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
85609         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
85610         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
85611         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
85612         * sysdeps/powerpc/powerpc32/start.S: ... here.
85613         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
85614         * sysdeps/powerpc/powerpc32/configure.in: ... this.
85615         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
85617         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
85618         * sysdeps/powerpc/ifunc-sel.h: ... here.
85619         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
85620         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
85622         * sysdeps/sparc/elf/configure.in: Moved to ...
85623         * sysdeps/sparc/configure.in: ... here.
85624         * sysdeps/sparc/elf/configure: Delete file.
85625         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
85626         * sysdeps/sparc/sparc32/start.S: ... here.
85627         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
85628         * sysdeps/sparc/sparc64/start.S: ... here.
85629         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
85630         * sysdeps/sparc/sparc32/Makefile: ... this.
85631         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
85632         * sysdeps/sparc/sparc64/Makefile: ... this.
85634         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
85635         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
85636         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
85637         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
85638         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
85639         * sysdeps/s390/s390-32/setjmp.S: ... here.
85640         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
85641         * sysdeps/s390/s390-32/configure.in: ... here.
85642         * sysdeps/s390/s390-32/elf/configure: Delete file.
85643         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
85644         * sysdeps/s390/s390-32/start.S: ... here.
85646         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
85647         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
85648         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
85649         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
85650         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
85651         * sysdeps/s390/s390-64/setjmp.S: ... here.
85652         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
85653         * sysdeps/s390/s390-64/configure.in: ... here
85654         * sysdeps/s390/s390-64/elf/configure: Delete file.
85655         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
85656         * sysdeps/s390/s390-64/start.S: ... here.
85657         * sysdeps/s390/s390-64/elf/configure: Delete.
85659         * configure.in: Remove support for elf directories in sysdeps.
85661         * configure: Regenerated.
85662         * sysdeps/i386/configure: Regenerated.
85663         * sysdeps/powerpc/powerpc32/configure: Regenerated.
85664         * sysdeps/powerpc/powerpc64/configure: Regenerated.
85665         * sysdeps/s390/s390-32/configure: Regenerated.
85666         * sysdeps/s390/s390-64/configure: Regenerated.
85667         * sysdeps/sh/configure: Regenerated.
85668         * sysdeps/sparc/configure: Regenerated.
85669         * sysdeps/x86_64/configure: Regenerated.
85671 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
85673         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85675         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
85676         denormal result into account.
85678 2012-03-25  Roland McGrath  <roland@hack.frob.com>
85680         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
85681         Reported by Allan McRae <allan@archlinux.org>.
85683 2012-03-23  Jeff Law  <law@redhat.com>
85685         * nss/getnssent.c (__nss_getent): Fix typo.
85687 2012-03-23  David S. Miller  <davem@davemloft.net>
85689         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85691 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
85693         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
85694         to pad to uint64_t for each field.
85695         (dl_tls_index): Replace unsigned long with uint64_t.
85697 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
85698         Paul Pluzhnikov  <ppluzhnikov@google.com>
85700         [BZ #6528]
85701         * grp/Makefile (otherlibs): Don't set it.
85702         * inet/Makefile (otherlibs): Likewise.
85703         * login/Makefile (otherlibs): Likewise.
85704         * nscd/Makefile (otherlibs): Likewise.
85705         * posix/Makefile (otherlibs): Likewise.
85706         * pwd/Makefile (otherlibs): Likewise.
85707         * rt/Makefile (otherlibs): Likewise.
85708         * sunrpc/Makefile (otherlibs): Likewise.
85709         * nss/Makefile (otherlibs): Likewise.
85710         Add libnss_files to routines and static-only-routines.
85711         ($(objpfx)getent): Remove rule.
85712         * resolv/Makefile: Add libnss_dns and libresolv to routines and
85713         static-only-routines.
85715 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
85717         [BZ #13892]
85718         * math/s_cexp.c: Include <float.h>.
85719         (__cexp): Handle exp result overflowing not necessarily
85720         overflowing both real and imaginary parts of result.
85721         * math/s_cexpf.c: Likewise.
85722         * math/s_cexpl.c: Likewise.
85723         * math/libm-test.inc (cexp_test): Add more tests.
85724         * sysdeps/i386/fpu/libm-test-ulps: Update.
85725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85727 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85729         * include/link.h (ELFW): New macro.
85730         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
85731         Replace ELF64_R_TYPE with ELFW(R_TYPE).
85733 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85735         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
85736         with uint64_t.
85738 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85740         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
85741         declaration.
85742         (struct La_x32_retval): Likewise.
85744 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85746         * sysdeps/x86_64/preconfigure.in: New file.
85747         * sysdeps/x86_64/preconfigure: New generated file.
85749 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
85751         [BZ #13824]
85752         * math/e_exp2l.c: Include <float.h>.
85753         (__ieee754_exp2l): Handle overflow and underflow cases
85754         separately.  Only pass fractional part of argument to
85755         __ieee754_expl.
85756         * math/libm-test.inc (exp2_test): Add more tests.
85758         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
85759         negating x to take absolute value.
85760         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
85761         Likewise.
85762         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
85763         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
85764         Likewise.
85765         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
85766         computing low part if x was negated.
85767         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
85769 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85771         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
85772         la_x32_gnu_pltexit.
85773         (pltexit): Cast int_retval to ptrdiff_t.
85774         * elf/tst-auditmod3b.c: Likewise.
85775         * elf/tst-auditmod4b.c: Likewise.
85776         * elf/tst-auditmod5b.c: Likewise.
85777         * elf/tst-auditmod6b.c: Likewise.
85778         * elf/tst-auditmod6c.c: Likewise.
85779         * elf/tst-auditmod7b.c: Likewise.
85781         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
85782         and x32_gnu_pltexit.
85784         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
85785         __ELF_NATIVE_CLASS.
85786         (La_x32_regs): New macro.
85787         (La_x32_retval): Likewise.
85788         (la_x32_gnu_pltenter): New function prototype.
85789         (la_x32_gnu_pltexit): Likewise.
85791 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
85793         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
85794         exponent.
85796         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85798         * configure.in (libc_cv_cc_nofma): Check for option to disable
85799         generation of FMA instructions.
85800         * configure: Regenerate.
85801         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
85802         * sysdeps/ieee754/dbl-64/Makefile: New file.
85803         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
85804         Remove brandred-fma4.
85805         (CFLAGS-brandred-fma4.c): Remove.
85806         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
85807         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
85808         define.
85809         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
85810         define.
85812 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85814         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
85815         LLONG_MAX != LONG_MAX.
85816         (_itoa_word): Use _ITOA_WORD_TYPE on value.
85817         (_fitoa_word): Likewise.
85818         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
85819         LLONG_MAX != LONG_MAX.
85820         * stdio-common/_itowa.h: Include <_itoa.h>.
85821         (_itowa_word): Use _ITOA_WORD_TYPE on value.
85822         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
85823         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
85824         only if not defined.
85825         (_ITOA_WORD_TYPE): Likewise.
85826         (_itoa_word): Use _ITOA_WORD_TYPE on value.
85827         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
85829 2012-03-21  David S. Miller  <davem@davemloft.net>
85831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85833 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85835         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
85836         of x86_64 when setting libc_cv_slibdir, libdir and
85837         libc_cv_localedir.
85838         * sysdeps/unix/sysv/linux/configure: Regenerated.
85840 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85842         * manual/lang.texi (Old Varargs): Remove section.
85843         (How Variadic): Update menu.
85844         (va_start): Do not mention varargs.h.
85846 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
85847             Joseph Myers  <joseph@codesourcery.com>
85849         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
85850         link test.
85851         * configure: Regenerated.
85853 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
85855         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
85856         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
85857         conformtest.pl
85859 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85861         * NOTES: Remove.
85862         * Makefile (files-for-dist): Remove NOTES.
85863         (NOTES): Remove rule.
85864         * README: Don't refer to NOTES.
85865         * manual/creature.texi: Don't include macros.texi.
85866         * manual/intro.texi (creature.texi): Remove comment referring to
85867         NOTES.
85869         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
85870         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
85871         * configure: Regenerated.
85872         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
85873         LIBC_TRY_CC_OPTION.
85874         (libc_cv_as_i686): Likewise.
85875         (libc_cv_cc_avx): Likewise.
85876         (libc_cv_cc_sse2avx): Likewise.
85877         (libc_cv_cc_fma4): Likewise.
85878         (libc_cv_cc_novzeroupper): Likewise.
85879         * sysdeps/i386/configure: Regenerated.
85881         [BZ #13883]
85882         * sysdeps/i386/fpu/s_cexp.S: Remove.
85883         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85884         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85885         * math/libm-test.inc (cexp_test): Add more tests.
85886         * sysdeps/i386/fpu/libm-test-ulps: Update.
85887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85889 2012-03-21  Allan McRae  <allan@archlinux.org>
85891         * timezone/Makefile: Do not install iso3166.tab and zone.tab
85893 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85895         [BZ #13871]
85896         * math/w_exp2.c: Do not include <float.h>.
85897         (o_threshold, u_threshold): Remove.
85898         (__exp2): Calculate result before checking finiteness and calling
85899         __kernel_standard.
85900         * math/w_exp2f.c: Likewise.
85901         * math/w_exp2l.c: Likewise.
85902         * math/libm-test.inc (exp2_test): Require overflow exception for
85903         1e6 input.
85905         [BZ #3866]
85906         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
85907         range of signed 64-bit integers before using fistpll.  Remove
85908         checks for whether integers fit in mantissa bits.
85909         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
85910         the range of signed 32-bit integers before using fistpl.  Remove
85911         checks for whether integers fit in mantissa bits.
85912         * sysdeps/i386/fpu/e_powl.S (p64): New object.
85913         (__ieee754_powl): Test for y outside the range of signed 64-bit
85914         integers before using fistpll.  Reduce 64-bit values to 63-bit
85915         ones as needed.
85916         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
85917         divide-by-zero is raised for zero to large negative powers.
85918         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
85919         (__ieee754_powl): Test for y outside the range of signed 64-bit
85920         integers before using fistpll.  Reduce 64-bit values to 63-bit
85921         ones as needed.
85922         * math/libm-test.inc (pow_test): Add more tests.
85924 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85926         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
85927         <stdio-common/_itoa.h>.
85928         * debug/segfault.c: Likewise.
85929         * elf/dl-cache.c: Likewise.
85930         * elf/dl-minimal.c: Likewise.
85931         * elf/dl-misc.c: Likewise.
85932         * elf/dl-sysdep.c: Likewise.
85933         * elf/dl-version.c: Likewise.
85934         * elf/rtld.c: Likewise.
85935         * hurd/hurdsock.c: Likewise.
85936         * hurd/lookup-retry.c: Likewise.
85937         * malloc/malloc.c: Likewise.
85938         * malloc/mtrace.c: Likewise.
85939         * nscd/nscd_getgr_r.c: Likewise.
85940         * nscd/nscd_getpw_r.c: Likewise.
85941         * nscd/nscd_getserv_r.c: Likewise.
85942         * posix/getopt_init.c: Likewise.
85943         * posix/wordexp.c: Likewise.
85944         * stdio-common/_itoa.c: Likewise.
85945         * stdio-common/printf_fphex.c: Likewise.
85946         * stdio-common/vfprintf.c: Likewise.
85947         * string/_strerror.c: Likewise.
85948         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
85949         * sysdeps/i386/i686/hp-timing.h: Likewise.
85950         * sysdeps/mach/_strerror.c: Likewise.
85951         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
85952         * sysdeps/mach/hurd/sethostid.c: Likewise.
85953         * sysdeps/mach/hurd/xmknodat.c: Likewise.
85954         * sysdeps/mach/xpg-strerror.c: Likewise.
85955         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
85956         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
85957         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
85958         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
85959         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
85960         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
85961         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
85962         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
85963         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
85964         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
85965         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
85966         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
85967         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
85968         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
85969         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
85970         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
85971         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
85972         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
85973         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
85974         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
85975         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
85977         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
85979         * stdio-common/_itoa.h: Moved to ...
85980         * sysdeps/generic/_itoa.h: Here.
85982         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
85984         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
85985         instead of "_itoa.h" and "_itowa.h".
85986         * stdio-common/vfprintf.: Likewise.
85988 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85990         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
85991         <bits/wordsize.h>.
85992         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
85993         (__signbit): Likewise.
85994         (llrintf): Likewise.
85995         (llrint): Likewise.
85997 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85999         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
86000         __WORDSIZE != 64.
86002 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
86004         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
86005         OVERFLOW_EXCEPTION_OK.
86006         * math/libm-test.inc ("Philosophy"): Update comment about
86007         exception testing.
86008         (OVERFLOW_EXCEPTION): Define.
86009         (OVERFLOW_EXCEPTION_OK): Likewise.
86010         (INVALID_EXCEPTION_OK): Renumber.
86011         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
86012         (IGNORE_ZERO_INF_SIGN): Likewise.
86013         (test_exceptions): Handle FE_OVERFLOW.
86014         (exp10_test): Expect overflow exceptions.
86015         (exp2_test): Likewise.
86016         (expm1_test): Likewise.
86017         (nextafter_test): Likewise.
86018         (pow_test): Likewise.
86019         (scalbn_test): Likewise.
86020         (scalbln_test): Likewise.
86022 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86024         * sysdeps/x86_64/bits/atomic.h
86025         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
86026         64bit integer.
86027         (atomic_exchange_acq): Likewise.
86028         (__arch_exchange_and_add_body): Likewise.
86029         (__arch_add_body): Likewise.
86030         (atomic_add_negative): Likewise.
86031         (atomic_add_zero): Likewise.
86033 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86035         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
86036         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
86038 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86040         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
86041         Check __x86_64__ instead of __WORDSIZE.
86043 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86045         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
86047 2012-03-19  David S. Miller  <davem@davemloft.net>
86049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86051         * sysdeps/sparc/fpu/fenv_private.h: New file.
86052         * sysdeps/sparc/fpu/math_private.h: Use it.
86053         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
86054         Remove.
86055         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
86056         (libc_feholdexcept_setroundl): Remove.
86057         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
86058         Remove.
86059         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
86060         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
86062 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86064         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
86065         int64_t instead of long int.
86066         (INSERT_WORDS64): Likewise.
86068 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86070         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
86071         _Unwind_GetCFA return to _Unwind_Ptr first.
86073 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
86075         [BZ #13629]
86076         * math/s_clog.c: Include <float.h>.
86077         (__clog): Scale large or subnormal inputs.
86078         * math/s_clogf.c: Likewise.
86079         * math/s_clogl.c: Likewise.
86080         * math/s_clog10.c: Include <float.h>.
86081         (M_LOG10_2): Define.
86082         (__clog10): Scale large or subnormal inputs.
86083         * math/s_clog10f.c: Likewise.
86084         * math/s_clog10l.c: Likewise.
86085         * math/libm-test.inc (clog_test): Add more tests.
86086         (clog10_test): Likewise.
86087         * sysdeps/i386/fpu/libm-test-ulps: Update.
86088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86090         [BZ #11451]
86091         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
86092         x and y.
86093         * math/libm-test.inc (atan2_test): Add another test.
86095         * Makerules (common-objdir-compile): Remove.
86096         * sysdeps/unix/Makefile (config-generated): Do not add
86097         $(unix-generated) to variable.
86098         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
86099         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
86100         Remove rule.
86101         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
86102         Likewise.
86103         [generic bits/local_lim.h] (before-compile): Do not append to
86104         variable.
86105         [generic bits/local_lim.h] (common-generated): Likewise.
86106         [generic sys/param.h] (before-compile): Do not append to variable.
86107         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
86108         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
86109         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
86110         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
86111         include.
86112         [generic sys/param.h] (sys/param.h-includes): Remove variable.
86113         [generic sys/param.h] (sys/param.h-includes): Remove rule.
86114         [generic sys/param.h] ($(addprefix
86115         $(common-objpfx),$(sys/param.h-includes))): Likewise.
86116         [generic sys/param.h] (common-generated): Do not append to
86117         variable.
86118         [generic sys/param.h] (sysdep_headers): Likewise.
86119         [generic bits/errno.h] (before-compile): Do not append to
86120         variable.
86121         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
86122         rule.
86123         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
86124         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
86125         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
86126         [generic bits/errno.h] (common-generated): Do not append to
86127         variable.
86128         [generic bits/ioctls.h] (before-compile): Do not append to
86129         variable.
86130         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
86131         rule.
86132         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
86133         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
86134         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
86135         rule.
86136         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
86137         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
86138         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
86139         [generic bits/ioctls.h] (common-generated): Do not append to
86140         variable.
86141         [generic sys/syscall.h] (syscall.h): Remove variable.
86142         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
86143         rule.
86144         [generic sys/syscall.h] (before-compile): Do not append to
86145         variable.
86146         [generic sys/syscall.h] (common-generated): Likewise.
86147         * sysdeps/unix/errnos-tmpl.c: Remove file.
86148         * sysdeps/unix/errnos.awk: Likewise.
86149         * sysdeps/unix/ioctls-tmpl.c: Likewise.
86150         * sysdeps/unix/ioctls.awk: Likewise.
86151         * sysdeps/unix/mk-local_lim.c: Likewise.
86152         * sysdeps/unix/snarf-ioctls: Likewise.
86154 2012-03-19  Richard Henderson  <rth@twiddle.net>
86156         * sysdeps/i386/fpu/fenv_private.h: New file.
86157         * sysdeps/i386/fpu/math_private.h: Use it.
86158         (math_opt_barrier, math_force_eval): Remove.
86159         (libc_feholdexcept_setround_53bit): Remove.
86160         (libc_feupdateenv_53bit): Remove.
86161         * sysdeps/x86_64/fpu/math_private.h: Likewise.
86162         (math_opt_barrier, math_force_eval): Remove.
86163         (libc_feholdexcept): Remove.
86164         (libc_feholdexcept_setround): Remove.
86165         (libc_fetestexcept, libc_fesetenv): Remove.
86166         (libc_feupdateenv_test): Remove.
86167         (libc_feupdateenv, libc_feholdsetround): Remove.
86168         (libc_feresetround): Remove.
86170         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
86171         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
86173         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
86174         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
86175         (libc_feupdateenv_testl): New.
86176         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
86177         (libc_feupdateenv_testf): New.
86178         (libc_feupdateenv): Use libc_feupdateenv_test.
86179         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
86180         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
86182         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
86183         (libc_feholdsetroundf, libc_feholdsetroundl): New.
86184         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
86185         (libc_feresetround_noex): New.
86186         (libc_feresetround_noexf): New.
86187         (libc_feresetround_noexl): New.
86188         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
86189         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
86190         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
86191         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
86192         SET_RESTORE_ROUND.
86193         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
86194         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
86195         (__cos): Likewise.
86196         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
86197         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
86198         SET_RESTORE_ROUND_NOEX.
86199         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
86200         SET_RESTORE_ROUND_NOEXF.
86201         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
86202         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
86203         (libc_feholdsetroundf): New.
86204         (libc_feresetround, libc_feresetroundf): New.
86206         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
86207         (libc_feholdexcept_setround_53bit): Convert from macro to function.
86208         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
86210         * sysdeps/generic/math_private.h: Include <fenv.h>.
86211         (default_libc_feholdexcept): New.
86212         (default_libc_feholdexcept_setround): New.
86213         (default_libc_fesetenv, default_libc_feupdateenv): New.
86214         (libc_feholdexcept): Only define if undefined.
86215         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
86216         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
86217         (libc_feholdexcept_setroundl): Likewise.
86218         (libc_feholdexcept_setround_53bit): Likewise.
86219         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
86220         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
86221         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
86222         (libc_feupdateenv_53bit): Likewise.
86223         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
86224         (libc_feholdexcept): Convert from macro to inline function.
86225         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
86226         (libc_fesetenv, libc_feupdateenv): Likewise.
86228         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
86229         not previously defined.
86230         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
86231         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
86232         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
86233         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
86234         * sysdeps/ieee754/flt-32/math_private.h: New file.
86235         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
86236         math_private.h below SET_FLOAT_WORD.
86237         (__isnan, __isinf_ns, __finite): Remove.
86238         (__isnanf, __isinf_nsf, __finitef): Remove.
86240 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
86242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86244 2012-03-17  David S. Miller  <davem@davemloft.net>
86246         [BZ #6471]
86247         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
86248         for 2.16.
86250 2012-03-16  David S. Miller  <davem@davemloft.net>
86252         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
86253         warnings.
86255         [BZ #6471]
86256         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
86257         properly.
86258         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
86259         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
86260         sysdep_routines when subdir is sysvipc.
86261         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
86262         __getshmlba helper.
86264         * sysdeps/sparc/fpu/libm-test/ulps: Update.
86266 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86268         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
86269         [__LP64__].
86271 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86273         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
86274         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
86275         (__lround): Renamed to ...
86276         (__llround): This.  Replace long int with long long int.
86277         Define lround functions as aliases of llround functions.
86278         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
86280 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86282         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
86283         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
86284         adresses to uintptr_t.  Replace "long int" and "unsigned long
86285         int" with "greg_t" on va_arg.
86287 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86289         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
86290         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
86292         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
86293         Move e_machine check before EI_CLASS check.  Handle x32
86294         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
86295         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
86296         SKIP_EM_IA_64 and include
86297         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
86299         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
86300         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
86301         (add_system_dir): New macro.
86303         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
86304         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
86306 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
86308         [BZ #2551]
86309         [BZ #2552]
86310         [BZ #2553]
86311         [BZ #2554]
86312         [BZ #2562]
86313         [BZ #2563]
86314         [BZ #2565]
86315         [BZ #2566]
86316         [BZ #2576]
86317         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
86318         (y0): Likewise.
86319         * math/w_j0f.c (j0f): Likewise.
86320         (y0f): Likewise.
86321         * math/w_j0l.c (__j0l): Likewise.
86322         (__y0l): Likewise.
86323         * math/w_j1.c (j1): Likewise.
86324         (y1): Likewise.
86325         * math/w_j1f.c (j1f): Likewise.
86326         (y1f): Likewise.
86327         * math/w_j1l.c (__j1l): Likewise.
86328         (__y1l): Likewise.
86329         * math/w_jn.c (jn): Likewise.
86330         (yn): Likewise.
86331         * math/w_jnf.c (jnf): Likewise.
86332         (ynf): Likewise.
86333         * math/w_jnl.c (__jnl): Likewise.
86334         (__ynl): Likewise.
86335         * math/libm-test.inc (j0_test): Add more tests.
86336         (j1_test): Likewise.
86337         (jn_test): Likewise.  Add trailing semicolon to existing test.
86338         (y0_test): Likewise.
86339         (y1_test): Likewise.
86340         * sysdeps/i386/fpu/libm-test-ulps: Update.
86341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86343         [BZ #13851]
86344         [BZ #13854]
86345         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
86346         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
86347         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
86348         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
86349         (__tanl): Set errno for infinite argument.
86350         * sysdeps/i386/fpu/mptan.c: Remove.
86351         * sysdeps/i386/fpu/s_tan.S: Likewise.
86352         * sysdeps/i386/fpu/s_tanl.S: Likewise.
86353         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
86354         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
86355         * math/libm-test.inc (tan_test): Add more tests and enable more
86356         tests for double and long double.
86357         * sysdeps/i386/fpu/libm-test-ulps: Update.
86358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86360 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
86362         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
86363         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
86365 2012-03-16  Roland McGrath  <roland@hack.frob.com>
86367         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
86368         * configure.in: Use it for both main tree and add-ons.
86369         * configure: Regenerated.
86371 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86373         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
86375 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
86377         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
86378         in comment.
86380         [BZ #13851]
86381         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
86382         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
86383         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
86384         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
86385         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
86386         infinite argument.
86387         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
86388         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
86389         != 0 for prec == 2.
86390         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
86391         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
86392         * sysdeps/i386/fpu/s_cosl.S: Likewise.
86393         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
86394         * sysdeps/i386/fpu/s_sinl.S: Likewise.
86395         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
86396         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
86397         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
86398         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
86399         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
86400         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
86401         * math/libm-test.inc (cos_test): Add more tests and enable more
86402         tests for long double.
86403         (sin_test): Likewise.
86404         (sincos_test): Likewise.
86405         * sysdeps/i386/fpu/libm-test-ulps: Update.
86406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86408 2012-03-16  David S. Miller  <davem@davemloft.net>
86410         * sysdeps/sparc/fpu/math_private.h: New file.
86412 2012-03-15  David S. Miller  <davem@davemloft.net>
86414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
86415         file.
86416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
86417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
86418         file.
86419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
86420         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
86421         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
86422         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
86423         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
86424         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
86425         sysdep routines.
86426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86428         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
86429         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
86431         * sysdeps/sparc/sparc-ifunc.h: New file.
86432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
86433         sparc-ifunc.h
86434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
86435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
86436         Likewise.
86437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
86438         Likewise.
86439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
86440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
86441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
86442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
86443         Likewise.
86444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
86445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
86446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
86447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
86448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
86449         Likewise.
86450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
86451         Likewise.
86452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
86453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
86454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
86455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
86456         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
86457         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
86458         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
86459         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
86460         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
86461         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
86462         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
86463         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
86464         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
86465         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
86466         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
86467         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
86468         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
86469         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
86470         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
86471         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
86472         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
86473         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
86474         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
86475         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
86477 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
86479         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
86480         scaling.
86481         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86483 2012-03-15  Andreas Jaeger  <aj@suse.de>
86485         [BZ #13852]
86486         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
86487         ieee754/flt-32 implementation for sin, cos and sincos.
86488         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
86489         * sysdeps/i386/fpu/s_cosf.S: Likewise.
86490         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
86491         * sysdeps/i386/fpu/s_sinf.S: Likewise.
86492         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
86493         ieee754/flt-32 implementation for tan.
86495         * math/libm-test.inc (cos_test): Enable some large input tests for
86496         float as well
86497         (sin_test): Likewise.
86498         (sincos_test): Likewise.
86499         (tan_test): Add tests for large input.
86501         * sysdeps/i386/fpu/libm-test-ulps: Update.
86503 2012-03-15  Andreas Jaeger  <aj@suse.de>
86505         [BZ #13658]
86506         * math/libm-test.inc (cos_test): Add more test cases.
86507         (sin_test): Likewise.
86508         (sincos_test): Likewise.
86510 2012-03-15  Andreas Jaeger  <aj@suse.de>
86512         [BZ #13837]
86513         * math/libm-test.inc (cos_test): Add a test case for large input
86514         value.
86515         (sin_test): Likewise.
86516         (sincos_test): Likewise.
86518 2012-03-15  Andreas Jaeger  <aj@suse.de>
86519             Joseph Myers  <joseph@codesourcery.com>
86521         [BZ #13658]
86522         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
86523         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
86524         * sysdeps/i386/fpu/branred.c: Likewise.
86525         * sysdeps/i386/fpu/dosincos.c: Likewise.
86526         * sysdeps/i386/fpu/mpa.c: Likewise.
86527         * sysdeps/i386/fpu/s_cos.S: Likewise.
86528         * sysdeps/i386/fpu/s_sin.S: Likewise.
86529         * sysdeps/i386/fpu/s_sincos.S: Likewise.
86530         * sysdeps/i386/fpu/sincos32.c: Likewise.
86532         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
86533         Define.
86534         (libc_feupdateenv_53bit): Define.
86535         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
86536         Define.
86537         (libc_feupdateenv_53bit): Define.
86539         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
86540         53 bit (without extend i386 double precision).
86542         * math/libm-test.inc (sincos_test): Add tests for large input.
86543         (sin): Likewise.
86544         (cos): Likewise.
86546         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
86548 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
86550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86552 2012-03-15  David S. Miller  <davem@davemloft.net>
86554         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
86555         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
86556         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
86557         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
86558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
86559         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
86560         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
86561         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
86562         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
86563         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
86564         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
86565         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
86566         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
86567         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
86568         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
86569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
86570         file.
86571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
86572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
86573         file.
86574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
86575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
86576         file.
86577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
86578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
86579         file.
86580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
86581         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
86582         fmin/fmax sysdep routines.
86583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86585 2012-03-14  David S. Miller  <davem@davemloft.net>
86587         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
86588         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
86589         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
86590         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
86591         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
86592         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
86593         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
86594         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
86595         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
86596         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
86597         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
86598         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
86599         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
86600         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
86601         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
86602         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
86603         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
86604         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
86605         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
86606         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
86607         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
86608         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
86609         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
86610         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
86611         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
86612         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
86613         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
86614         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
86615         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
86616         routines.
86617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
86618         file.
86619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
86620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
86621         file.
86622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
86623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
86624         file.
86625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
86626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
86627         file.
86628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
86629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
86630         file.
86631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
86632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
86633         file.
86634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
86635         file.
86636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
86637         file.
86638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
86639         file.
86640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
86641         New file.
86642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
86643         file.
86644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
86645         file.
86646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
86647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
86648         file.
86649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
86650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
86651         file.
86652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
86653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
86654         file.
86655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
86656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
86657         VIS3 routines.
86659         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
86660         New file.
86662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86664         * sysdeps/sparc/configure.in: New file.
86665         * sysdeps/sparc/configure: Generate.
86666         * configure.in (libc_cv_sparc_as_vis3): Substitute.
86667         * configure: Regenerate.
86668         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
86669         * config.make.in (have-as-vis3): New.
86670         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
86671         available use -Av9d instead of -Av9a.
86672         * sysdeps/sparc/sparc64/Makefile: Likewise.
86673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
86674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
86675         New file.
86676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
86677         file.
86678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
86679         New file.
86680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
86681         file.
86682         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
86683         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
86684         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
86685         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
86686         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
86688         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
86689         fzeros/fnegs to load 0x80000000 into a float register instead of
86690         using the stack.
86691         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
86693 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
86695         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86696         bits/syscall.h.
86697         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
86698         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
86699         ($(inst_includedir)/bits/syscall.h): Remove rule.
86700         ($(objpfx)bits/syscall.d): Include instead of
86701         $(objpfx)syscall-list.d.
86702         (generated): Change syscall-list.h and syscall-list.d to
86703         bits/syscall.h and bits/syscall.d.
86705 2012-03-14  Roland McGrath  <roland@hack.frob.com>
86707         [BZ #13846]
86708         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
86710 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
86712         [BZ #13841]
86713         * math/s_csqrt.c: Include <float.h>.
86714         (__csqrt): Scale large or subnormal inputs.
86715         * math/s_csqrtf.c: Likewise.
86716         * math/s_csqrtl.c: Likewise.
86717         * math/libm-test.inc (csqrt_test): Add more tests.
86718         * sysdeps/i386/fpu/libm-test-ulps: Update.
86719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86721         [BZ #13840]
86722         * math/libm-test.inc (hypot_test): Add more tests.
86724 2012-03-13  David S. Miller  <davem@davemloft.net>
86726         [BZ #13840]
86727         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
86728         double-precision for the calculation instead of scaling.
86730 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
86732         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
86733         manipulate bits before adding and subtracting TWO52[sx].
86734         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
86735         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
86736         Likewise.
86737         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
86739 2012-03-13  David S. Miller  <davem@davemloft.net>
86741         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
86742         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
86743         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
86744         rtld-global-offsets.h
86745         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86747         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
86748         large parameters.
86750         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
86752         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
86753         'err' in the ifdef scope in which it is actually used.
86755         * nss/nss_db/db-init.c: Include string.h
86757 2012-03-12  David S. Miller  <davem@davemloft.net>
86759         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86760         masking out of the most significant byte of random value used.
86761         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86762         Fix coding style in previous change.
86764         * sysdeps/unix/sysv/linux/kernel-features.h
86765         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
86766         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
86767         expression.
86768         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
86769         later.
86771 2012-03-11  David S. Miller  <davem@davemloft.net>
86773         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
86774         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
86775         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
86776         for 'resultvar' otherwise things get truncated on 64-bit.
86778         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86779         Fix masking out of the most significant byte of random value used.
86781         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86783 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
86785         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86787 2012-03-09  David S. Miller  <davem@davemloft.net>
86789         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
86790         variables with appropriate CPP guards.
86791         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
86792         from the frame pointer, not the stack pointer.  Correct layout
86793         comments.  Fix test on resulting framesize and the management of
86794         the outregs buffer for pltexit.  Preserve floating point return
86795         values across _dl_call_pltexit call.
86796         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
86797         framesize and the management of the outregs buffer for pltexit.
86798         Preserve floating point return values across _dl_call_pltexit
86799         call.
86800         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
86801         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
86802         (la_sparc64_gnu_pltexit): New functions.
86803         (print_exit): Fix format string for return register value.
86805 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
86807         * sunrpc/Makefile (others): Add rpcgen.
86808         ($(objpfx)rpcgen): Remove special build rule and dependency on
86809         libc.
86810         * sunrpc/rpcgen.c: New file.
86812 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
86814         [BZ #13673]
86815         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
86816         * stdio-common/bug-vfprintf-nargs.c: Likewise.
86817         * sysdeps/i386/crti.S: Likewise.
86818         * sysdeps/i386/crtn.S: Likewise.
86819         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
86820         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
86821         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
86822         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
86823         * sysdeps/sh/crti.S: Likewise.
86824         * sysdeps/sh/crtn.S: Likewise.
86825         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
86827         [BZ #13673]
86828         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
86829         with URL.
86830         * locale/programs/locfile-kw.gperf: Likewise.
86831         * locale/programs/charmap-kw.h: Regenerated.
86832         * locale/programs/locfile-kw.h: Likewise.
86834         [BZ #13673]
86835         * intl/plural.y: Replace FSF snail mail address with URL.
86836         * intl/plural.c: Regenerated.
86838 2012-03-09  Richard Henderson  <rth@twiddle.net>
86840         * include/math_private.h: Remove file.
86841         * math/math_private.h: Move file ...
86842         * sysdeps/generic/math_private.h: ... here.
86844         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
86845         * sysdeps/powerpc/fpu/math_private.h: Likewise.
86846         * sysdeps/x86_64/fpu/math_private.h: Likewise.
86848         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
86849         and <math_private.h>.
86850         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86851         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86852         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86853         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86854         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86855         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
86856         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86857         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86858         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
86859         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86860         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86861         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86862         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
86863         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86864         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
86865         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
86866         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86867         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
86868         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
86869         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
86870         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86871         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
86872         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
86873         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86874         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
86875         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
86876         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
86877         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86878         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86879         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86880         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
86881         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86882         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
86883         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86884         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86885         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86886         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86887         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86888         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86889         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86890         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
86891         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86892         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86893         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
86894         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
86895         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86896         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
86897         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
86898         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86899         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86900         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
86901         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
86902         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
86903         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86904         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
86905         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86906         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86907         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
86908         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
86909         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
86910         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86911         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
86912         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86913         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86914         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
86915         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86916         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86917         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86918         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
86919         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
86920         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
86921         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86922         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
86923         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86924         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
86925         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
86926         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
86927         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
86928         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
86929         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
86930         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
86931         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
86932         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
86933         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
86934         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86935         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
86936         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
86937         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
86938         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
86939         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86940         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86941         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
86942         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86943         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
86944         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
86945         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
86946         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86947         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
86948         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86949         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
86950         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
86951         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
86952         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
86953         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
86954         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
86955         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
86956         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
86957         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
86958         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
86959         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
86960         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
86961         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
86962         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
86963         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
86964         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
86965         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86966         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
86967         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
86968         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
86969         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86970         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
86971         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
86972         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86973         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
86974         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
86975         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86976         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
86977         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
86978         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
86979         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
86980         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
86981         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86982         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
86983         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
86984         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
86985         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
86986         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
86987         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
86988         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
86989         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
86990         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86991         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
86992         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
86993         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
86994         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
86995         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
86996         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
86997         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
86998         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
86999         * sysdeps/ieee754/k_standard.c: Likewise.
87000         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
87001         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
87002         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87003         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
87004         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
87005         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
87006         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
87007         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
87008         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
87009         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
87010         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
87011         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
87012         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
87013         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
87014         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
87015         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
87016         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
87017         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
87018         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
87019         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
87020         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
87021         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
87022         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
87023         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
87024         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
87025         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
87026         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
87027         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
87028         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
87029         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
87030         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
87031         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
87032         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
87033         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
87034         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
87035         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
87036         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
87037         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
87038         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
87039         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
87040         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
87041         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
87042         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
87043         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
87044         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
87045         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
87046         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
87047         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
87048         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
87049         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
87050         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
87051         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
87052         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
87053         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
87054         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
87055         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
87056         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
87057         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
87058         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
87059         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
87060         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
87061         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
87062         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
87063         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
87064         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87065         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87066         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
87067         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
87068         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
87069         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
87070         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
87071         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87072         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
87073         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
87074         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
87075         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
87076         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
87077         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
87078         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87079         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
87080         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
87081         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
87082         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
87083         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
87084         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
87085         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
87086         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
87087         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
87088         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
87089         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
87090         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
87091         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
87092         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
87093         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
87094         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
87095         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
87096         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
87097         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
87098         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
87099         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
87100         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
87101         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
87102         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
87103         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
87104         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
87105         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
87106         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
87107         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
87108         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
87109         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
87110         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
87111         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
87112         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
87113         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87114         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
87115         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87116         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
87117         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87118         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87119         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
87120         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87121         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
87122         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
87123         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
87124         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87125         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
87126         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
87127         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
87128         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
87129         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
87130         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
87131         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
87132         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
87133         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
87134         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
87135         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
87136         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
87137         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
87138         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
87139         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
87140         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
87141         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
87142         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
87143         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
87144         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
87145         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
87146         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
87147         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
87148         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
87149         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
87150         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
87151         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
87152         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
87153         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
87154         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
87155         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
87156         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
87157         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
87158         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
87159         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
87160         * sysdeps/ieee754/s_lib_version.c: Likewise.
87161         * sysdeps/ieee754/s_matherr.c: Likewise.
87162         * sysdeps/ieee754/s_signgam.c: Likewise.
87163         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
87164         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
87165         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
87166         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
87167         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
87168         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
87169         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
87170         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
87171         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
87172         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
87173         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
87174         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
87175         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
87176         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
87177         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
87178         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
87179         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
87180         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
87181         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
87182         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
87183         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
87185 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
87187         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
87188         * sunrpc/rpc_main.c: Likewise.
87189         * sunrpc/rpc_svcout.c: Likewise.
87191 2012-03-09  David S. Miller  <davem@davemloft.net>
87193         * include/math_private.h: New file.
87195 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
87197         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
87198         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
87199         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
87200         from <bits/socket_type.h>.
87201         (enum __socket_type): Don't define here.
87202         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
87203         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87204         bits/socket_type.h.
87206         [BZ #13566]
87207         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
87208         checking __USE_GNU.
87210         * Makerules ($(inst_includedir)/%.h): New rule.
87211         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
87212         (install-others): Remove variable setting.
87213         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
87215 2012-03-08  Richard Henderson  <rth@twiddle.net>
87217         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
87218         from macro to inline function; merge with the
87219         !__LIBC_INTERNAL_MATH_INLINES version.
87220         (__ieee754_sqrtf): Likewise.
87222         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
87223         to inline function.
87224         (__rintf, __floor, __floorf): Likewise.
87226         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
87227         macro to inline function.
87228         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
87230         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
87231         not <math/math_private.h>.
87233 2012-03-08  David S. Miller  <davem@davemloft.net>
87235         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
87236         copyright year.
87237         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
87239 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
87241         * resolv/gai_misc.c (handle_requests): Fix struct timespec
87242         normalization.
87243         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
87244         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
87246 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
87248         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
87249         be defined individually, they must be defined as a block.  Define
87250         S for printing a string instead of hidint the different by using a
87251         macro for adding the 'l'.
87252         * stdio-common/tst-fphex-wide.c: Adjust.
87254 2012-03-07  Marek Polacek  <polacek@redhat.com>
87256         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
87258 2012-03-08  Marek Polacek  <polacek@redhat.com>
87260         [BZ #13806]
87261         * stdio-common/Makefile (tests): Add tst-fphex-wide.
87262         * stdio-common/tst-fphex.c: Define a few macros to make the
87263         test reusable.  Use them.
87264         * stdio-common/tst-fphex-wide.c: New file.
87266 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
87268         [BZ #6911]
87269         * manual/macros.texi (gnusystems): New macro.
87270         (nongnusystems): Likewise.
87271         (gnulinuxhurdsystems): Likewise.
87272         (gnuhurdsystems): Likewise..
87273         (gnulinuxsystems): Likewise.
87274         * manual/charset.texi: Use new macros or @theglibc{} to refer to
87275         variants of the GNU system, not "GNU system".
87276         * manual/conf.texi: Likewise.
87277         * manual/errno.texi: Likewise.  Update example of errno macro
87278         expansion.
87279         * manual/filesys.texi: Likewise.
87280         (getumask): Document as specific to GNU/Hurd.
87281         * manual/install.texi: Likewise.  Reword some references to
87282         GNU/Linux.
87283         * manual/intro.texi: Likewise.
87284         * manual/io.texi: Likewise.
87285         (File Name Portability): Detail which constraints are inapplicable
87286         to all GNU systems and which are only inapplicable to GNU/Hurd.
87287         * manual/job.texi: Likewise.
87288         * manual/llio.texi: Likewise.
87289         (O_NOCTTY): Document as present on GNU/Linux.
87290         * manual/maint.texi: Likewise.
87291         * manual/memory.texi: Likewise.
87292         * manual/pattern.texi: Likewise.
87293         * manual/pipe.texi: Likewise.
87294         * manual/process.texi: Likewise.
87295         * manual/resource.texi: Likewise.
87296         (RUSAGE_CHILDREN): Remove statement about specifying a particular
87297         child on GNU/Hurd.
87298         * manual/setjmp.texi: Likewise.
87299         * manual/signal.texi: Likewise.
87300         * manual/startup.texi: Likewise.
87301         * manual/stdio.texi: Likewise.
87302         * manual/terminal.texi: Likewise.
87303         (ONLCR): Document as POSIX.
87304         (OXTABS): Document availability on GNU/Linux as XTABS.
87305         (ONOEOT): Document availability separately from other bits.
87306         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
87307         * manual/time.texi: Likewise.
87308         * manual/users.texi: Likewise.
87309         * INSTALL: Regenerated.
87310         * sysdeps/gnu/errlist.c: Regenerated.
87312         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
87313         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
87314         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
87315         puts.
87316         * configure: Regenerated.
87318 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
87320         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
87321         default includes instead of AC_HEADER_CHECK.
87322         * sysdeps/i386/configure: Regenerated.
87324         [BZ #10716]
87325         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
87326         * math/s_cacoshf.c (__cacoshf): Likewise.
87327         * math/s_cacoshl.c (__cacoshl): Likewise.
87328         * math/s_casinh.c (__casinh): Set signs of result from argument.
87329         * math/s_casinhf.c (__casinhf): Likewise.
87330         * math/s_casinhl.c (__casinhl): Likewise.
87331         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
87332         (casinh_test): Add more tests.
87333         * sysdeps/i386/fpu/libm-test-ulps: Update.
87334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87336 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
87338         * po/zh_TW.po: Update from translation team.
87340         * login/Makefile (distribute): Remove variable.
87341         * catgets/Makefile: Likewise.
87342         * mach/Makefile: Likewise.
87343         * malloc/Makefile: Likewise.
87344         * misc/Makefile: Likewise.
87345         * iconv/Makefile: Likewise.
87346         * nscd/Makefile: Likewise.
87347         * hurd/Makefile: Likewise.
87348         * manual/Makefile: Likewise.
87349         * locale/Makefile: Likewise.
87350         * intl/Makefile: Likewise.
87351         * conform/Makefile: Likewise.
87352         * nss/Makefile: Likewise.
87353         * time/Makefile: Likewise.
87354         * soft-fp/Makefile: Likewise.
87355         * dirent/Makefile: Likewise.
87356         * gmon/Makefile: Likewise.
87357         * po/Makefile: Likewise.
87358         * rt/Makefile: Likewise.
87359         * socket/Makefile: Likewise.
87360         * math/Makefile: Likewise.
87361         * signal/Makefile: Likewise.
87362         * debug/Makefile: Likewise.
87363         * elf/Makefile: Likewise.
87364         * timezone/Makefile: Likewise.
87365         * stdlib/Makefile: Likewise.
87366         * iconvdata/Makefile: Likewise.
87367         * sunrpc/Makefile: Likewise.
87368         * io/Makefile: Likewise.
87369         * argp/Makefile: Likewise.
87370         * inet/Makefile: Likewise.
87371         * hesiod/Makefile: Likewise.
87372         * grp/Makefile: Likewise.
87373         * csu/Makefile: Likewise.
87374         * wctype/Makefile: Likewise.
87375         * crypt/Makefile: Likewise.
87376         * libio/Makefile: Likewise.
87377         * string/Makefile: Likewise.
87378         * nis/Makefile: Likewise.
87379         * resolv/Makefile: Likewise.
87380         * stdio-common/Makefile: Likewise.
87381         * wcsmbs/Makefile: Likewise.
87382         * dlfcn/Makefile: Likewise.
87383         * posix/Makefile: Likewise.
87385         [BZ #6959]
87386         * timezone/Makefile: Don't install timezone files, just the programs
87387         and scripts.
87389 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
87391         * nss/databases.def: Add missing gshadow entry.
87393         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
87395 2012-03-06  Marek Polacek  <polacek@redhat.com>
87397         [BZ #13726]
87398         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
87399         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
87400         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
87401         * stdio-common/tst-long-dbl-fphex.c: New file.
87403 2012-03-06  David S. Miller  <davem@davemloft.net>
87405         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
87406         (set_obp_int): New function.
87407         (get_obp_int): New function.
87408         (__get_clockfreq_via_dev_openprom): Likewise.
87409         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
87410         Avoid unused variable warnings on 'val' and use builtin_expect.
87411         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
87412         __builtin_expect.
87413         (INLINE_CLONE_SYSCALL): Likewise.
87415 2012-03-05  David S. Miller  <davem@davemloft.net>
87417         * sysdeps/sparc/fpu/libm-test-ulps: Update.
87419 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
87421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87423         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
87424         only for |x| >= 40.
87425         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87427 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
87429         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
87430         Replace gettimeofday with __vdso_gettimeofday.
87432         * sysdeps/unix/sysv/linux/x86_64/init-first.c
87433         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
87434         __vdso_clock_gettime and __vdso_getcpu.
87436         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
87437         time with __vdso_time.
87439 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
87441         * manual/lang.texi (size_t): Note types to which size_t may be
87442         equivalent with the GNU C Library, but do not describe when
87443         differences between them are significant.
87445 2012-03-05  Andreas Jaeger  <aj@suse.de>
87447         * sysdeps/i386/fpu/libm-test-ulps: Update.
87449 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
87451         [BZ #3976]
87452         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
87453         (__ieee754_pow): Save and restore rounding mode and use
87454         round-to-nearest for main computations.
87455         * math/libm-test.inc (pow_test_tonearest): New function.
87456         (pow_test_towardzero): Likewise.
87457         (pow_test_downward): Likewise.
87458         (pow_test_upward): Likewise.
87459         (main): Call the new functions.
87460         * sysdeps/i386/fpu/libm-test-ulps: Update.
87461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87463         [BZ #3976]
87464         * math/libm-test.inc (cosh_test_tonearest): New function.
87465         (cosh_test_towardzero): Likewise.
87466         (cosh_test_downward): Likewise.
87467         (cosh_test_upward): Likewise.
87468         (sinh_test_tonearest): Likewise.
87469         (sinh_test_towardzero): Likewise.
87470         (sinh_test_downward): Likewise.
87471         (sinh_test_upward): Likewise.
87472         (main): Call the new functions.
87473         * sysdeps/i386/fpu/libm-test-ulps: Update.
87474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87476 2012-03-05  Tom de Vries  <tom@codesourcery.com>
87478         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
87479         default stack guard is set in last bytes.
87480         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
87482 2012-03-05  Kees Cook  <keescook@chromium.org>
87484         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
87486         [BZ #13656]
87487         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
87488         possibly allocate from heap instead of stack.
87489         * stdio-common/bug-vfprintf-nargs.c: New file.
87490         * stdio-common/Makefile (tests): Add nargs overflow test.
87492 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
87494         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87496 2012-03-03  Marek Polacek  <polacek@redhat.com>
87498         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
87499         * math/math_private.h: Likewise.
87500         * stdlib/tst-strtod.c: Likewise.
87501         * sysdeps/i386/i486/bits/atomic.h: Likewise.
87502         * sysdeps/x86_64/bits/atomic.h: Likewise.
87504 2012-03-02  David S. Miller  <davem@davemloft.net>
87506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
87507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
87508         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
87509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
87510         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
87511         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
87512         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
87513         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
87515 2012-03-02  Roland McGrath  <roland@hack.frob.com>
87517         [BZ #13792]
87518         * manual/examples/README: New file, says the example source files
87519         can be used under GPL>=2.
87520         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
87521         line containing just "*/".
87522         * manual/examples/add.c: Add copyright header (GPL>=2).
87523         * manual/examples/argp-ex1.c: Likewise.
87524         * manual/examples/argp-ex2.c: Likewise.
87525         * manual/examples/argp-ex3.c: Likewise.
87526         * manual/examples/argp-ex4.c: Likewise.
87527         * manual/examples/atexit.c: Likewise.
87528         * manual/examples/db.c: Likewise.
87529         * manual/examples/dir.c: Likewise.
87530         * manual/examples/dir2.c: Likewise.
87531         * manual/examples/execinfo.c: Likewise.
87532         * manual/examples/filecli.c: Likewise.
87533         * manual/examples/filesrv.c: Likewise.
87534         * manual/examples/fmtmsgexpl.c: Likewise.
87535         * manual/examples/genpass.c: Likewise.
87536         * manual/examples/inetcli.c: Likewise.
87537         * manual/examples/inetsrv.c: Likewise.
87538         * manual/examples/isockad.c: Likewise.
87539         * manual/examples/longopt.c: Likewise.
87540         * manual/examples/memopen.c: Likewise.
87541         * manual/examples/memstrm.c: Likewise.
87542         * manual/examples/mkfsock.c: Likewise.
87543         * manual/examples/mkisock.c: Likewise.
87544         * manual/examples/mygetpass.c: Likewise.
87545         * manual/examples/pipe.c: Likewise.
87546         * manual/examples/popen.c: Likewise.
87547         * manual/examples/rprintf.c: Likewise.
87548         * manual/examples/search.c: Likewise.
87549         * manual/examples/select.c: Likewise.
87550         * manual/examples/setjmp.c: Likewise.
87551         * manual/examples/sigh1.c: Likewise.
87552         * manual/examples/sigusr.c: Likewise.
87553         * manual/examples/stpcpy.c: Likewise.
87554         * manual/examples/strdupa.c: Likewise.
87555         * manual/examples/strftim.c: Likewise.
87556         * manual/examples/strncat.c: Likewise.
87557         * manual/examples/subopt.c: Likewise.
87558         * manual/examples/swapcontext.c: Likewise.
87559         * manual/examples/termios.c: Likewise.
87560         * manual/examples/testopt.c: Likewise.
87561         * manual/examples/testpass.c: Likewise.
87562         * manual/examples/timeval_subtract.c: Likewise.
87564         [BZ #13792]
87565         * manual/time.texi (Elapsed Time): Move timeval_subtract example
87566         function to ...
87567         * manual/timeval_subtract.c.texi: ... here, new file.
87569 2012-03-02  David S. Miller  <davem@davemloft.net>
87571         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
87573 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
87575         [BZ #3976]
87576         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
87577         (__sin): Save and restore rounding mode and use round-to-nearest
87578         for all computations.
87579         (__cos): Save and restore rounding mode and use round-to-nearest
87580         for all computations.
87581         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
87582         <fenv.h>.
87583         (tan): Save and restore rounding mode and use round-to-nearest for
87584         all computations.
87585         * math/libm-test.inc (cos_test_tonearest): New function.
87586         (cos_test_towardzero): Likewise.
87587         (cos_test_downward): Likewise.
87588         (cos_test_upward): Likewise.
87589         (sin_test_tonearest): Likewise.
87590         (sin_test_towardzero): Likewise.
87591         (sin_test_downward): Likewise.
87592         (sin_test_upward): Likewise.
87593         (tan_test_tonearest): Likewise.
87594         (tan_test_towardzero): Likewise.
87595         (tan_test_downward): Likewise.
87596         (tan_test_upward): Likewise.
87597         (main): Call the new functions.
87598         * sysdeps/i386/fpu/libm-test-ulps: Update.
87599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87601         [BZ #10135]
87602         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
87603         small n, then large n, before computing and testing k+n.
87604         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
87605         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
87606         Likewise.
87607         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
87608         Likewise.
87609         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
87610         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
87611         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
87612         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
87613         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
87614         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
87615         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
87616         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
87617         * math/libm-test.inc (scalbn_test): Add more tests.
87618         (scalbln_test): Likewise.
87620         * manual/filesys.texi (mode_t): Describe constraints on size and
87621         signedness, not exact equivalence to a particular type.
87622         (ino_t): Likewise.
87623         (ino64_t): Likewise.
87624         (dev_t): Likewise.
87625         (nlink_t): Likewise.
87626         (blkcnt_t): Likewise.
87627         (blkcnt64_t): Likewise.
87628         * manual/llio.texi (off_t): Likewise.
87630         [BZ #3976]
87631         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
87632         (__ieee754_exp): Save and restore rounding mode and use
87633         round-to-nearest for all computations.
87634         * math/libm-test.inc (exp_test_tonearest): New function.
87635         (exp_test_towardzero): Likewise.
87636         (exp_test_downward): Likewise.
87637         (exp_test_upward): Likewise.
87638         (main): Call the new functions.
87639         * sysdeps/i386/fpu/libm-test-ulps: Update.
87640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87642 2012-03-01  Chris Demetriou  <cgd@google.com>
87644         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
87645         have predictable order.
87647 2012-03-01  David S. Miller  <davem@davemloft.net>
87649         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
87651         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
87652         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
87653         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
87654         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
87656         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
87657         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
87658         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
87659         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
87660         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
87661         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
87662         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
87663         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
87664         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
87666         * sysdeps/sparc/fpu/libm-test-ulps: Update.
87668         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
87669         * sysdeps/sparc/fpu/libm-test-ulps: to here.
87670         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
87672         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
87673         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87674         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87675         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
87676         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
87677         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
87678         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
87679         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87680         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87681         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
87682         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
87683         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87684         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87685         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87686         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87687         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87688         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
87689         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
87690         * sysdeps/sparc/elf/configure: Regenerated.
87692 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
87694         * configure.in (AS, LD): Require binutils 2.20 or later.
87695         * configure: Regenerated.
87696         * manual/install.texi (Tools for Compilation): Give binutils 2.20
87697         as required minimum version.
87698         * INSTALL: Regenerated.
87700         [BZ #2541]
87701         [BZ #4108]
87702         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
87703         before squaring exponent.
87704         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
87705         bottom long double and 27 bits of top long double before squaring
87706         exponent.
87707         * math/libm-test.inc (erfc_test): Add more tests.
87708         * sysdeps/i386/fpu/libm-test-ulps: Update.
87709         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87712 2012-03-01  Kai Tietz  <ktietz@redhat.com>
87714         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
87715         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
87716         containing bit-fields.
87717         * soft-fp/extended.h (_FP_UNION_E): Likewise.
87718         * soft-fp/single.h (_FP_UNION_S): Likewise.
87719         * soft-fp/double.h (_FP_UNION_D): Likewise.
87721 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
87723         [BZ #13786]
87724         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
87725         not include ../strcmp.S.
87726         [USE_AS_STRNCASECMP_L]: Likewise.
87727         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
87728         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
87729         * sysdeps/i386/i686/multiarch/strncase_l-c.c
87730         (__strncasecmp_l_ia32): Define as alias to
87731         __strncasecmp_l_nonascii.
87733         [BZ #5794]
87734         * math/libm-test.inc (expm1_test): Add test for bug 5794.
87735         * sysdeps/i386/fpu/libm-test-ulps: Update.
87736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87738         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
87739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87741 2012-02-29  Jeff Law  <law@redhat.com>
87743         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
87744         out of bounds read.
87746 2012-02-29  Marek Polacek  <polacek@redhat.com>
87748         [BZ #13706]
87749         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
87750         * elf/Makefile: Add rules to run tst-unused-dep.out.
87752 2012-02-28  David S. Miller  <davem@davemloft.net>
87754         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
87755         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
87756         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
87757         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
87758         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
87759         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
87761 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
87763         * math/libm-test.inc (llround_test): Move one test from
87764         lround_test.  Use TEST_f_L in moved test.
87765         (lround_test): Move misplaced test to llround_test.  Add testcase
87766         from bug 2561.
87768 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
87770         * sysdeps/x86_64/fpu/e_expf.S: New file.
87771         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
87773 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
87775         [BZ #13637]
87776         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
87777         of remain_len that may cause incomplete multi-byte character and
87778         false match.
87779         * posix/bug-regex33.c: New file.
87780         * posix/Makefile (tests): Add bug-regex33.
87782 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
87784         * manual/macros.texi: New file.
87785         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
87786         * manual/libc.texinfo: Include macros.texi.
87787         * manual/creatute.texi: Likewise.
87788         * manual/install.texi: Likewise.
87789         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
87790         @glibcadj{} in references to the GNU C Library.
87791         * manual/charset.texi: Likewise.
87792         * manual/conf.texi: Likewise.
87793         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
87794         when not using those macros.
87795         * manual/creature.texi: Likewise.
87796         * manual/crypt.texi: Likewise.
87797         * manual/errno.texi: Likewise.
87798         * manual/filesys.texi: Likewise.
87799         * manual/header.texi: Likewise.
87800         * manual/install.texi: Likewise.
87801         * manual/intro.texi: Likewise.
87802         * manual/io.texi: Likewise.
87803         * manual/job.texi: Likewise.
87804         * manual/lang.texi: Likewise.
87805         * manual/libc.texiinfo: Likewise.
87806         * manual/llio.texi: Likewise.
87807         * manual/locale.texi: Likewise.
87808         * manual/maint.texi: Likewise.
87809         * manual/math.texi: Likewise.
87810         * manual/memory.texi: Likewise.
87811         * manual/message.texi: Likewise.
87812         * manual/nss.texi: Likewise.
87813         * manual/pattern.texi: Likewise.
87814         * manual/process.texi: Likewise.
87815         * manual/resource.texi: Likewise.
87816         * manual/search.texi: Likewise.
87817         * manual/setjmp.texi: Likewise.
87818         * manual/signal.texi: Likewise.
87819         * manual/socket.texi: Likewise.
87820         * manual/startup.texi: Likewise.
87821         * manual/stdio.texi: Likewise.
87822         * manual/string.texi: Likewise.
87823         * manual/sysinfo.texi: Likewise.
87824         * manual/syslog.texi: Likewise.
87825         * manual/terminal.texi: Likewise.
87826         * manual/time.texi: Likewise.
87827         * manual/users.texi: Likewise.
87828         * INSTALL: Regenerated.
87829         * NOTES: Regenerated.
87830         * sysdeps/gnu/errlist.c: Regenerated.
87832 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
87834         * include/dirent.h: Include <dirstream.h> before
87835         <dirent/dirent.h>.
87837 2012-02-28  David S. Miller  <davem@davemloft.net>
87839         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
87840         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
87841         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
87842         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
87844 2012-02-27  David S. Miller  <davem@davemloft.net>
87846         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
87847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
87848         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
87849         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
87851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
87852         frame pointer instead of stack pointer relative arg slot.
87853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87854         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87855         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87857 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
87859         [BZ #3992]
87860         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
87862 2012-02-27  David S. Miller  <davem@davemloft.net>
87864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
87865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87866         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
87867         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
87868         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87869         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87870         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
87871         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
87873 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
87875         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
87876         later.  Allow versions 5-9.
87877         * configure: Regenerated.
87878         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
87879         required minimum version and 4.6 as recommended version.  Do not
87880         mention bugs in GCC 2.7 and 2.8.
87881         * INSTALL: Regenerated.
87883 2012-02-27  David S. Miller  <davem@davemloft.net>
87885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
87886         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
87887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
87888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
87889         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
87890         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
87891         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
87892         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
87894         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
87895         manipulate bits before adding and subtracting TWO112[sx].
87896         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
87898 2012-02-27  Roland McGrath  <roland@hack.frob.com>
87900         [BZ #13775]
87901         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
87902         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
87903         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
87904         being in POSIX, because they are in 1003.1-2008.
87906         * rt/tst-aio.c: Include <fcntl.h>.
87907         * rt/tst-aio7.c: Likewise.
87908         * rt/tst-aio64.c: Likewise.
87910         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
87912 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
87914         * manual/install.texi (--with-headers): Describe headers as
87915         interface headers, not private headers.
87916         (Specific advice for GNU/Linux systems): Describe use of headers
87917         from "make headers_install", not private headers from older
87918         kernels.
87919         * INSTALL: Regenerated.
87920         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
87921         Change to 2.6.19.
87922         * sysdeps/unix/sysv/linux/configure: Regenerated.
87924         * manual/llio.texi (fclean): Remove documentation.
87926         * manual/Makefile (libc-texi-generated): New variable.  Include
87927         version.texi.
87928         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
87929         $(libc-texi-generated), not duplicated list of files.
87930         (version.texi, stamp-version): New rules.
87931         (realclean): Remove $(libc-texi-generated), not individual files
87932         from that list.  Do not remove dir-add.texinfo.
87933         * manual/libc.texinfo: Comment out uses of edition numbers and
87934         references to printed manual.  Remove last-updated dates.
87935         (EDITION): Comment out.
87936         (ISBN): Likewise.
87937         (VERSION, UPDATED): Remove.
87938         (version.texi): Include.
87940 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
87942         * sysdeps/posix/spawni.c: Include <signal.h>.
87943         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
87944         * sysdeps/pthread/aio_fsync.c: Likewise.
87946 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
87948         * conform/Makefile (tests): Run only when not cross-compiling and
87949         when fast-check is not defined.
87951         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
87952         * conform/data/limits.h-data: Fixes for POSIX2008.
87953         * conform/run-conformtest.sh: Run all tests.
87954         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
87955         headers.
87956         * include/bits/dlfcn.h: Likewise.
87957         * include/langinfo.h: Likewise.
87958         * include/monetary.h: Likewise.
87959         * include/sys/poll.h: Likewise.
87961         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
87962         for __USE_GNU.
87963         * posix/spawn.h: Define __need_sigset_t.
87964         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
87965         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
87966         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
87967         to get sigevent_t only.
87968         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
87969         only for __USE_GNU.
87970         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87971         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87972         process_vm_writev only for __USE_GNU.
87973         * termios/termios.h: Declare tcgetsid also for POSIX2008.
87975         * conform/Makefile: For now ignore errors from run-conformtest.
87976         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
87977         POSIX to avoid namespace pollution.  Don't prepend headers.
87978         * conform/data/aio.h-data: Fixes for POSIX testing.
87979         * conform/data/fcntl.h-data: Likewise.
87980         * conform/data/glob.h-data: Likewise.
87981         * conform/data/grp.h-data: Likewise.
87982         * conform/data/pthread.h-data: Likewise.
87983         * conform/data/pwd.h-data: Likewise.
87984         * conform/data/signal.h-data: Likewise.
87985         * conform/data/spawn.h-data: Likewise.
87986         * conform/data/stdio.h-data: Likewise.
87987         * conform/data/stdlib.h-data: Likewise.
87988         * conform/data/stropts.h-data: Likewise.
87989         * conform/data/sys/mman.h-data: Likewise.
87990         * conform/data/sys/stat.h-data: Likewise.
87991         * conform/data/sys/types.h-data: Likewise.
87992         * conform/data/sys/wait.h-data: Likewise.
87993         * conform/data/time.h-data: Likewise.
87994         * conform/data/unistd.h-data: Likewise.
87995         * conform/data/utime.h-data: Likewise.
87997         * io/sys/stat.h: fchmod was always in POSIX.
87998         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
87999         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
88000         * rt/aio.h: Define __need_timespec before including <time.h>.
88001         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
88002         struct.  Add forward declaration of pthread_attr_t and use it in
88003         sigevent.
88004         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
88005         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
88006         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
88007         always remove CLK_TCK definition.
88009 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
88011         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
88013 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
88015         * conform/run-conformtest.sh: New file.
88016         * conform/Makefile: Run run-conformtest for tests.
88017         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
88018         support.
88020         * conform/data/uchar.h-data: New file.
88021         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
88022         * conform/data/arpa/inet.h-data: Likewise.
88023         * conform/data/assert.h-data: Likewise.
88024         * conform/data/complex.h-data: Likewise.
88025         * conform/data/cpio.h-data: Likewise.
88026         * conform/data/ctype.h-data: Likewise.
88027         * conform/data/dirent.h-data: Likewise.
88028         * conform/data/dlfcn.h-data: Likewise.
88029         * conform/data/errno.h-data: Likewise.
88030         * conform/data/fcntl.h-data: Likewise.
88031         * conform/data/float.h-data: Likewise.
88032         * conform/data/fmtmsg.h-data: Likewise.
88033         * conform/data/fnmatch.h-data: Likewise.
88034         * conform/data/ftw.h-data: Likewise.
88035         * conform/data/glob.h-data: Likewise.
88036         * conform/data/grp.h-data: Likewise.
88037         * conform/data/iconv.h-data: Likewise.
88038         * conform/data/inttypes.h-data: Likewise.
88039         * conform/data/langinfo.h-data: Likewise.
88040         * conform/data/libgen.h-data: Likewise.
88041         * conform/data/limits.h-data: Likewise.
88042         * conform/data/locale.h-data: Likewise.
88043         * conform/data/math.h-data: Likewise.
88044         * conform/data/monetary.h-data: Likewise.
88045         * conform/data/mqueue.h-data: Likewise.
88046         * conform/data/ndbm.h-data: Likewise.
88047         * conform/data/net/if.h-data: Likewise.
88048         * conform/data/netdb.h-data: Likewise.
88049         * conform/data/netinet/in.h-data: Likewise.
88050         * conform/data/nl_types.h-data: Likewise.
88051         * conform/data/poll.h-data: Likewise.
88052         * conform/data/pthread.h-data: Likewise.
88053         * conform/data/pwd.h-data: Likewise.
88054         * conform/data/regex.h-data: Likewise.
88055         * conform/data/sched.h-data: Likewise.
88056         * conform/data/search.h-data: Likewise.
88057         * conform/data/semaphore.h-data: Likewise.
88058         * conform/data/setjmp.h-data: Likewise.
88059         * conform/data/signal.h-data: Likewise.
88060         * conform/data/spawn.h-data: Likewise.
88061         * conform/data/stdarg.h-data: Likewise.
88062         * conform/data/stdio.h-data: Likewise.
88063         * conform/data/stdlib.h-data: Likewise.
88064         * conform/data/string.h-data: Likewise.
88065         * conform/data/strings.h-data: Likewise.
88066         * conform/data/stropts.h-data: Likewise.
88067         * conform/data/sys/ipc.h-data: Likewise.
88068         * conform/data/sys/mman.h-data: Likewise.
88069         * conform/data/sys/msg.h-data: Likewise.
88070         * conform/data/sys/resource.h-data: Likewise.
88071         * conform/data/sys/select.h-data: Likewise.
88072         * conform/data/sys/sem.h-data: Likewise.
88073         * conform/data/sys/shm.h-data: Likewise.
88074         * conform/data/sys/socket.h-data: Likewise.
88075         * conform/data/sys/stat.h-data: Likewise.
88076         * conform/data/sys/statvfs.h-data: Likewise.
88077         * conform/data/sys/time.h-data: Likewise.
88078         * conform/data/sys/timeb.h-data: Likewise.
88079         * conform/data/sys/times.h-data: Likewise.
88080         * conform/data/sys/types.h-data: Likewise.
88081         * conform/data/sys/uio.h-data: Likewise.
88082         * conform/data/sys/un.h-data: Likewise.
88083         * conform/data/sys/utsname.h-data: Likewise.
88084         * conform/data/sys/wait.h-data: Likewise.
88085         * conform/data/syslog.h-data: Likewise.
88086         * conform/data/tar.h-data: Likewise.
88087         * conform/data/termios.h-data: Likewise.
88088         * conform/data/utime.h-data: Likewise.
88089         * conform/data/utmpx.h-data: Likewise.
88090         * conform/data/varargs.h-data: Likewise.
88091         * conform/data/wchar.h-data: Likewise.
88092         * conform/data/wctype.h-data: Likewise.
88093         * conform/data/wordexp.h-data: Likewise.
88095         * include/stropts.h: New file.
88096         * include/uchar.h: New file.
88097         * include/aio.h: Changes to allow conformtest.pl to use the headers.
88098         * include/assert.h: Likewise.
88099         * include/ctype.h: Likewise.
88100         * include/dirent.h: Likewise.
88101         * include/dlfcn.h: Likewise.
88102         * include/fcntl.h: Likewise.
88103         * include/fnmatch.h: Likewise.
88104         * include/glob.h: Likewise.
88105         * include/grp.h: Likewise.
88106         * include/libio.h: Likewise.
88107         * include/locale.h: Likewise.
88108         * include/math.h: Likewise.
88109         * include/net/if.h: Likewise.
88110         * include/netdb.h: Likewise.
88111         * include/netinet/in.h: Likewise.
88112         * include/pthread.h: Likewise.
88113         * include/pwd.h: Likewise.
88114         * include/regex.h: Likewise.
88115         * include/sched.h: Likewise.
88116         * include/search.h: Likewise.
88117         * include/setjmp.h: Likewise.
88118         * include/signal.h: Likewise.
88119         * include/stdio.h: Likewise.
88120         * include/stdlib.h: Likewise.
88121         * include/string.h: Likewise.
88122         * include/sys/cdefs.h: Likewise.
88123         * include/sys/mman.h: Likewise.
88124         * include/sys/msg.h: Likewise.
88125         * include/sys/resource.h: Likewise.
88126         * include/sys/select.h: Likewise.
88127         * include/sys/socket.h: Likewise.
88128         * include/sys/stat.h: Likewise.
88129         * include/sys/statvfs.h: Likewise.
88130         * include/sys/time.h: Likewise.
88131         * include/sys/times.h: Likewise.
88132         * include/sys/uio.h: Likewise.
88133         * include/sys/utsname.h: Likewise.
88134         * include/sys/wait.h: Likewise.
88135         * include/termios.h: Likewise.
88136         * include/time.h: Likewise.
88137         * include/ulimit.h: Likewise.
88138         * include/unistd.h: Likewise.
88139         * include/utime.h: Likewise.
88140         * include/wchar.h: Likewise.
88141         * include/wctype.h: Likewise.
88142         * include/wordexp.h: Likewise.
88144         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
88146         * time/time.h: TIME_UTC must be a macro.
88147         Make timespec_get available for ISO C11 only as well.
88149 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
88151         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
88152         Reported by Peng Haitao <penght@cn.fujitsu.com>.
88154 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
88156         * configure.in: Use -o not -a in test for unsupported multi-arch.
88158 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
88160         * manual/texinfo.tex: Update to version 2012-01-19.16.
88162 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
88164         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
88166 2012-02-24  Roland McGrath  <roland@hack.frob.com>
88168         [BZ #13738]
88169         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
88170         * manual/fdl-1.3.texi: New file.
88171         * manual/fdl-1.1.texi: File removed.
88173         [BZ #13738]
88174         * manual/libc.texinfo (FDL_VERSION): New @set.
88175         Use it for mention of FDL in cover text.
88176         (Documentation License): Use it in @include file name.
88178 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88179             Roland McGrath  <roland@hack.frob.com>
88181         [BZ #5461]
88182         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
88183         (not LONG_LONG_MAX and LONG_LONG_MIN.
88184         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
88185         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
88186         name.
88187         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
88189 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88191         [BZ #2547]
88192         [BZ #11365]
88193         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
88194         manipulate bits before adding and subtracting TWO23[sx].
88195         * math/libm-test.inc (nearbyint_test): Add more tests.
88197 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88199         [BZ #2548]
88200         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
88201         bits before adding and subtracting TWO23[sx].
88202         * math/libm-test.inc (rint_test): Add more tests.
88203         (rint_test_tonearest): Likewise.
88204         (rint_test_towardzero): Likewise.
88205         (rint_test_downward): Likewise.
88206         (rint_test_upward: Likewise.
88208 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88210         [BZ #10110]
88211         * include/stdc-predef.h: New file.  Extracted from features.h.
88212         * include/features.h: Include stdc-predef.h.
88213         * Makefile (headers): Add stdc-predef.h.
88214         * CONFORMANCE (Compiler limitations): Update.
88216 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88218         * manual/libc.texinfo (VERSION, UPDATED): Revert.
88220 2012-02-21  David S. Miller  <davem@davemloft.net>
88222         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
88223         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88225 2012-02-20  David S. Miller  <davem@davemloft.net>
88227         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
88228         using a normal save/restore sequence, rather than allocating a
88229         dummy stack frame just to store a frame pointer and restore.
88230         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88232 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
88234         * manual/install.texi: Fix stray word in line-wrapped comment.
88236 2012-02-20  David S. Miller  <davem@davemloft.net>
88238         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
88239         both binutils and gcc support GOTDATA.
88241         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
88242         "rd %pc" in the PIC register setup sequences.
88244         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
88245         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
88246         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
88247         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
88248         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
88249         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
88250         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
88251         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88252         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
88253         (SYSCALL_ERROR_HANDLER): Likewise.
88254         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
88255         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
88256         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
88257         (SYSCALL_ERROR_HANDLER): Likewise.
88259         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
88260         (HAVE_GCC_GOTDATA): New.
88261         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
88262         relocation support in both binutils and gcc.
88263         * sysdeps/sparc/elf/configure: Regenerate.
88265         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
88266         * sysdeps/sparc/sparc32/elf/configure: Delete.
88267         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
88268         * sysdeps/sparc/sparc64/elf/configure: Delete.
88269         * sysdeps/sparc/elf/configure.in: New file.
88270         * sysdeps/sparc/elf/configure: Generate.
88272         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
88273         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
88274         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
88275         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
88276         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
88278 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
88280         * manual/install.texi: Do not mention specific glibc version
88281         numbers.
88282         * manual/libc.texinfo (VERSION, UPDATED): Update.
88283         (@copying): Use @copyright{} and range of years.
88285 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
88287         [BZ #13695]
88288         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
88289         [crti.S not in sysdirs] (generated): Do not append.
88290         [crti.S not in sysdirs] (omit-deps): Likewise.
88291         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
88292         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
88293         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
88294         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
88295         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
88296         Likewise.
88297         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
88298         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
88299         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
88300         * csu/defs.awk: Remove file.
88301         * sysdeps/generic/initfini.c: Likewise.
88302         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
88303         variable.
88304         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
88305         Likewise.
88307 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
88309         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
88310         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
88311         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
88312         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
88313         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88314         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
88315         <bits/epoll.h>.
88316         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
88317         (__EPOLL_PACKED): Define to empty if not defined by
88318         <bits/epoll.h>.
88319         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
88320         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88321         bits/epoll.h.
88323 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
88325         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
88326         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
88327         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
88328         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
88329         <bits/timerfd.h>.
88330         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
88331         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88332         bits/timerfd.h.
88334 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
88336         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
88337         in C locale.
88338         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
88339         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
88340         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
88341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88343 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
88345         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88346         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88348 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
88350         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
88351         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
88352         defined.
88353         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
88354         Likewise.
88355         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
88356         entry for 2.16.
88358 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
88360         * math/w_acos.c: Use non-signaling floating-point comparisons.
88361         * math/w_acosf.c: Likewise.
88362         * math/w_acosh.c: Likewise.
88363         * math/w_acoshf.c: Likewise.
88364         * math/w_acoshl.c: Likewise.
88365         * math/w_acosl.c: Likewise.
88366         * math/w_asin.c: Likewise.
88367         * math/w_asinf.c: Likewise.
88368         * math/w_asinl.c: Likewise.
88369         * math/w_atanh.c: Likewise.
88370         * math/w_atanhf.c: Likewise.
88371         * math/w_atanhl.c: Likewise.
88372         * math/w_exp2.c: Likewise.
88373         * math/w_exp2f.c: Likewise.
88374         * math/w_exp2l.c: Likewise.
88375         * math/w_j0.c: Likewise.
88376         * math/w_j0f.c: Likewise.
88377         * math/w_j0l.c: Likewise.
88378         * math/w_j1.c: Likewise.
88379         * math/w_j1f.c: Likewise.
88380         * math/w_j1l.c: Likewise.
88381         * math/w_jn.c: Likewise.
88382         * math/w_jnf.c: Likewise.
88383         * math/w_log.c: Likewise.
88384         * math/w_log10.c: Likewise.
88385         * math/w_log10f.c: Likewise.
88386         * math/w_log10l.c: Likewise.
88387         * math/w_log2.c: Likewise.
88388         * math/w_log2f.c: Likewise.
88389         * math/w_log2l.c: Likewise.
88390         * math/w_logf.c: Likewise.
88391         * math/w_logl.c: Likewise.
88392         * math/w_sqrt.c: Likewise.
88393         * math/w_sqrtf.c: Likewise.
88394         * math/w_sqrtl.c: Likewise.
88395         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88396         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
88397         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88398         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88399         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88401 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88403         [BZ #9739]
88404         * manual/string.texi (strnlen): Use correct parameter name in
88405         equivalent expression.
88407 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88409         [BZ #11174]
88410         * manual/users.texi (seteuid): Consistently use neweuid for
88411         argument name.
88413 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88415         [BZ #13704]
88416         * manual/nss.texi (Services in the NSS configuration): Correct
88417         list of services in example configuration file.
88419 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
88421         [BZ #11322]
88422         * manual/arith.texi: Remove statements about negative zero
88423         behaving identically to zero.
88425 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
88427         [BZ #5993]
88428         * manual/install.texi: Do not document upgrading from libc5.
88430 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
88432         [BZ #4596]
88433         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
88435 2012-02-18  David S. Miller  <davem@davemloft.net>
88437         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
88438         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
88439         %o7 across the call.
88440         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
88441         instead.
88442         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
88443         SETUP_PIC_REG_LEAF.
88444         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88445         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
88446         * sysdeps/sparc/crtn.S: Likewise.
88448 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
88450         * aout/Makefile: Remove.
88452 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
88454         [BZ #13058]
88455         * manual/examples/argp-ex1.c (main): Format definition in GNU
88456         style.
88457         * manual/examples/argp-ex2.c (main): Likewise.
88458         * manual/examples/argp-ex3.c (main): Likewise.
88459         * manual/examples/argp-ex4.c (main): Likewise.
88460         * manual/examples/longopt.c (main): Use new-style prototype
88461         definition.
88462         * manual/examples/strncat.c (main): Specify return type and use
88463         (void) for arguments.
88464         * manual/examples/subopt.c (main): Use char **argv argument.
88466 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88468         [BZ #5077]
88469         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
88470         rounding modes.
88472 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
88474         [BZ #6907]
88475         * manual/string.texi (strchr): Change when strchrnul is
88476         recommended.
88478 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
88480         [BZ #174]
88481         * manual/locale.texi (setlocale): Document LOCPATH.
88483 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88485         [BZ #10210]
88486         * manual/process.texi (execle): Move @dots{} before last argument.
88488 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
88490         [BZ #12047]
88491         * manual/charset.texi (Generic Charset Conversion): Fix typo
88492         (LC_TYPE -> LC_CTYPE).
88494 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
88496         [BZ #5805]
88497         * manual/arith.texi (scalbn): Use @var{} on parameter names.
88498         (scalbnf): Likewise.
88499         (scalbnl): Likewise.
88500         (scalbln): Likewise.
88501         (scalblnf): Likewise.
88502         (scalblnl): Likewise.
88503         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
88504         (vwarnx): Likewise.
88505         (verr): Likewise.
88506         (verrx): Likewise.
88507         * manual/filesys.texi (telldir): Use braces around return type.
88508         * manual/llio.texi (mmap): Add space after comma.
88509         (mmap64): Likewise.
88510         * manual/math.texi (jn): Use @var{} on parameter names.
88511         (jnf): Likewise.
88512         (jnl): Likewise.
88513         (yn): Likewise.
88514         (ynf): Likewise.
88515         (ynl): Likewise.
88516         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
88517         line.
88518         * manual/resource.texi (ulimit): Use @dots{} instead of literal
88519         "...".
88520         (sched_get_priority_min): Remove semicolon on @deftypefun line.
88521         (sched_get_priority_max): Likewise.
88522         * manual/signal.texi (sigvec): Add space after comma.
88523         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
88524         names.
88525         (if_indextoname): Likewise.
88526         (if_freenameindex): Likewise.
88527         (sendto): Use ',' instead of '.' in prototype.
88528         * manual/startup.texi (syscall): Use @dots{} instead of literal
88529         "...".
88530         * manual/stdio.texi (__fpending): Separate initial words of
88531         paragraph from @deftypefun line.
88532         * manual/syslog.texi (syslog): Use @dots{} instead of literal
88533         "...".
88534         (vsyslog): Use @var{} on parameter names.
88535         * manual/terminal.texi (stty): Use @var{} on parameter names.
88536         * manual/users.texi (getutmp): Use @var{} on parameter names.
88537         (getutmpx): Likewise.
88539 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88541         [BZ #6884]
88542         * manual/stdio.texi (fopen): Fix typos in description of
88543         ",ccs=STRING".
88545 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
88547         [BZ #4026]
88548         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
88549         get clock_id definition.
88551 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
88553         [BZ #4822]
88554         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
88555         (madvise): Cast every argument to void on its own.
88557 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88559         [BZ #9902]
88560         * manual/startup.texi (Exit Status): Fix typo.
88562 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88564         [BZ #10140]
88565         * manual/examples/argp-ex1.c: Include <stdlib.h>.
88566         * manual/examples/argp-ex2.c: Likewise.
88567         * manual/examples/argp-ex3.c: Likewise.
88569 2012-02-16  Richard Henderson  <rth@redhat.com>
88571         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
88572         * sysdeps/s390/s390-32/initfini.c: Remove.
88573         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
88574         * sysdeps/s390/s390-64/initfini.c: Remove.
88576 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
88578         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
88579         compiler output for sysdeps/generic/initfini.c.
88580         * sysdeps/sh/elf/initfini.c: Remove file.
88582 2012-02-16  David S. Miller  <davem@davemloft.net>
88584         [BZ #11494]
88585         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
88587         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
88588         * sysdeps/sparc/crti.S: New file.
88589         * sysdeps/sparc/crtn.S: New file.
88590         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
88591         * sysdeps/sparc/sparc64/Makefile: Likewise.
88593 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
88595         [BZ #3335]
88596         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
88598 2012-02-15  Roland McGrath  <roland@hack.frob.com>
88600         [BZ #4822]
88601         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
88603         * mach/devstream.c (cookie_io_functions_t): Macro removed.
88604         (write, read, close): Likewise.
88605         Patch by Aurelien Jarno <aurelien@aurel32.net>.
88607 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
88609         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
88610         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
88611         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
88612         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
88613         <bits/signalfd.h>.
88614         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
88615         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88616         bits/signalfd.h.
88618 2012-02-14  Marek Polacek  <polacek@redhat.com>
88620         * sysdeps/x86_64/crti.S: New file.
88621         * sysdeps/x86_64/crtn.S: New file.
88622         * sysdeps/x86_64/elf/initfini.c: Remove file.
88624 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
88626         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
88627         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
88628         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
88629         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
88630         <bits/inotify.h>.
88631         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
88632         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88633         bits/inotify.h.
88635 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
88637         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
88638         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
88639         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
88640         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
88641         <bits/eventfd.h>.
88642         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
88643         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88644         bits/eventfd.h.
88646 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
88648         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
88649         __feraiseexcept instead of feraiseexcept.
88651         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
88652         nanosleep invocations.
88653         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
88654         strings, and add error checking for a nanosleep invocations.
88656 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
88658         Replace FSF snail mail address with URLs, as per GNU coding standards.
88659         Most of the snail mail addresses were wrong anyway, and omitting
88660         them makes the source code easier to maintain.  Almost all of the
88661         changes are to license notices and to locale LC_IDENTIFICATION
88662         addresses, except for this one:
88663         * manual/libc.texinfo: In "Published by", give the FSF's URL,
88664         not its snail mail address.
88666 2012-02-09  Richard Henderson  <rth@twiddle.net>
88668         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
88669         of kernel-features.h.
88671         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
88673 2012-02-08  Marek Polacek  <polacek@redhat.com>
88675         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
88676         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
88677         * sysdeps/gnu/_G_config.h: Likewise.
88678         * sysdeps/generic/_G_config.h: Likewise.
88680 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
88682         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
88683         tests.
88684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88686         * sysdeps/powerpc/powerpc32/crti.S: New file.
88687         * sysdeps/powerpc/powerpc32/crtn.S: New file.
88688         * sysdeps/powerpc/powerpc64/crti.S: New file.
88689         * sysdeps/powerpc/powerpc64/crtn.S: New file.
88691         * Makeconfig (have-initfini): Don't set.
88692         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
88693         * configure.in (nopic_initfini): Don't substitute.
88694         * config.h.in (HAVE_INITFINI): Don't #undef.
88695         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
88696         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
88698 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
88700         Support crti.S and crtn.S provided directly by architectures.
88701         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
88702         [crti.S in sysdirs] (omit-deps): Likewise.
88703         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
88704         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
88705         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
88706         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
88707         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
88708         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
88709         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
88710         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
88711         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
88712         compiler output for sysdeps/generic/initfini.c.
88713         * sysdeps/i386/elf/Makefile: Remove file.
88714         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
88716 2012-02-07  Marek Polacek  <polacek@redhat.com>
88718         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
88719         * sysdeps/gnu/_G_config.h: Likewise.
88720         * sysdeps/mach/hurd/_G_config.h: Likewise.
88722 2012-02-07  Marek Polacek  <polacek@redhat.com>
88724         * math/Makefile (tests): Add tst-CMPLX2.
88725         * math/tst-CMPLX2.c: New file.
88727 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
88729         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88731         * math/libm-test.inc (jn_test): Add missing L suffix.
88733 2012-02-06  Marek Polacek  <polacek@redhat.com>
88735         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
88736         * sysdeps/i386/fpu/e_powf.S: Likewise.
88737         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88738         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
88739         * sysdeps/i386/fpu/e_acosh.S: Likewise.
88740         * sysdeps/i386/fpu/e_pow.S: Likewise.
88741         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
88742         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88743         * sysdeps/i386/fpu/s_expm1.S: Likewise.
88744         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
88745         * sysdeps/i386/fpu/e_log2.S: Likewise.
88746         * sysdeps/i386/fpu/e_log2l.S: Likewise.
88747         * sysdeps/i386/fpu/e_scalb.S: Likewise.
88748         * sysdeps/i386/fpu/e_powl.S: Likewise.
88749         * sysdeps/i386/fpu/s_log1p.S: Likewise.
88750         * sysdeps/i386/fpu/e_log10f.S: Likewise.
88751         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
88752         * sysdeps/i386/fpu/e_logl.S: Likewise.
88753         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
88754         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
88755         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
88756         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
88757         * sysdeps/i386/fpu/e_log2f.S: Likewise.
88758         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88759         * sysdeps/i386/fpu/e_log.S: Likewise.
88760         * sysdeps/i386/fpu/s_cexp.S: Likewise.
88761         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88762         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
88763         * sysdeps/i386/fpu/e_logf.S: Likewise.
88764         * sysdeps/i386/fpu/e_log10l.S: Likewise.
88765         * sysdeps/i386/fpu/e_atanh.S: Likewise.
88766         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
88767         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
88768         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
88769         * sysdeps/i386/fpu/e_log10.S: Likewise.
88770         * sysdeps/i386/fpu/s_frexp.S: Likewise.
88771         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88772         * sysdeps/i386/fpu/s_asinh.S: Likewise.
88773         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
88774         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88775         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
88776         * sysdeps/i386/asm-syntax.h: Likewise.
88777         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88778         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88779         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88780         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
88781         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
88782         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88783         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
88784         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
88785         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88786         * sysdeps/powerpc/sysdep.h: Likewise.
88787         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
88788         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
88790 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
88792         [BZ #411]
88793         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
88795 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
88797         * sysdeps/i386/sysdep.h: Include <features.h>.
88798         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
88799         version.
88801 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
88803         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
88804         Define.
88805         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
88806         LOAD_PIC_REG_STR.
88808 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88810         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
88811         (SETUP_PIC_REG): Use GET_PC_THUNK.
88812         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
88813         macro.
88815 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88817         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
88818         for non-PIC compilation.
88819         (SETUP_PIC_REG): Add .p2align directive.
88820         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
88821         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
88822         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
88823         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
88824         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
88825         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
88826         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
88827         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88828         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
88829         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
88830         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
88831         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
88832         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
88833         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
88834         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
88835         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
88836         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
88837         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
88838         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
88839         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
88840         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
88841         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
88842         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
88843         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
88844         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
88845         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
88846         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88847         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
88848         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
88849         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
88850         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
88851         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88852         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
88853         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
88854         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
88855         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
88856         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
88857         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
88858         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
88859         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
88860         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
88862 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88864         * math/tst-CMPLX.c: Include <stdio.h>.
88866 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
88868         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
88869         float.
88870         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88871         * sysdeps/sparc/bits/mathdef.h: Likewise.
88873 2012-01-31  Marek Polacek  <polacek@redhat.com>
88875         * libio/libio.h: Don't define _PARAMS.
88876         * locale/programs/config.h: Don't define PARAMS.
88877         * stdlib/strtol_l.c: Likewise.
88878         (__strtol_l): Remove PARAMS from the prototype.
88880 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
88882         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
88883         names.  Just use the correct names.  Remove unnecessary wrapper
88884         functions.
88885         * malloc/arena.c: Likewise.
88886         * malloc/hooks.c: Likewise.
88888         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
88889         ARENA_TEST says not to.  Simplify test for creation of a new arena.
88890         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
88892 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
88894         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
88895         into tail calls.
88896         (update_get_addr): New function.
88897         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
88898         GET_ADDR_MODULE parameter.
88900 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
88902         * crypt/cert.c: Remove __STDC__ conditionals.
88903         * crypt/crypt-entry.c: Likewise.
88904         * crypt/crypt_util.c: Likewise.
88905         * libio/filedoalloc.c: Likewise.
88906         * libio/fileops.c: Likewise.
88907         * libio/genops.c: Likewise.
88908         * libio/iofclose.c: Likewise.
88909         * libio/iofdopen.c: Likewise.
88910         * libio/iofopen.c: Likewise.
88911         * libio/iofopen64.c: Likewise.
88912         * libio/iogetdelim.c: Likewise.
88913         * libio/iopopen.c: Likewise.
88914         * libio/obprintf.c: Likewise.
88915         * libio/oldfileops.c: Likewise.
88916         * libio/oldiofclose.c: Likewise.
88917         * libio/oldiofdopen.c: Likewise.
88918         * libio/oldiofopen.c: Likewise.
88919         * libio/oldiopopen.c: Likewise.
88920         * libio/wfiledoalloc.c: Likewise.
88921         * libio/wgenops.c: Likewise.
88922         * locale/programs/xmalloc.c: Likewise.
88923         * misc/syslog.c: Likewise.
88924         * stdio-common/xbug.c: Likewise.
88925         * string/memchr.c: Likewise.
88926         * string/memcmp.c: Likewise.
88927         * string/memrchr.c: Likewise.
88928         * string/rawmemchr.c: Likewise.
88929         * sysdeps/posix/getcwd.c: Likewise.
88930         * time/strftime_l.c: Likewise.
88932 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
88934         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
88935         * config.make.in (config-cflags-sse2avx): Define.
88936         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
88937         Fix typo.
88939 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
88941         * scripts/config.guess: Update from upstream config git repository.
88942         * scripts/config.sub: Likewise.
88944 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
88946         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
88947         (EM_NUM): Update.
88948         (R_TILEPRO_*, R_TILEGX_*): New macros.
88950         * scripts/firstversions.awk: Fix bug in version range handling.
88952         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
88954         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
88956         * include/sys/epoll.h: New file.
88957         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
88958         libc_hidden_def.
88960 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
88962         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
88963         Avoid unnecessary __WORDSIZE == 64 test.
88964         (fmaxf): Use VEX format if possible.
88965         (fmax): Likewise.
88966         (fminf): Likewise.
88967         (fmin): Likewise.
88969         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
88970         * math/math_private.h: Remove libc_fegetround* and
88971         libc_fesetround*.
88972         * sysdeps/i386/configure.in: Check for -msse2avx.
88973         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
88974         also if SSE2AVX is defined.
88975         Remove libc_fegetround* and libc_fesetround*.
88976         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
88977         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
88978         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
88979         of HAS_YMM_USABLE.
88980         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88981         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88982         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88983         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88984         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88986         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
88988 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88990         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
88991         size is not set.
88992         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88994 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
88996         [BZ #13618]
88997         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
88998         relocation.
88999         * Makeconfig (libm): Define.
89000         * elf/Makefile: Add rules to build and run tst-relsort1.
89001         * elf/tst-relsort1.c: New file.
89002         * elf/tst-relsort1mod1.c: New file.
89003         * elf/tst-relsort1mod2.c: New file.
89005 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
89007         * math/s_ldexp.c: Remove __STDC__ conditionals.
89008         * math/s_ldexpf.c: Likewise.
89009         * math/s_ldexpl.c: Likewise.
89010         * math/s_nextafter.c: Likewise.
89011         * math/s_nexttowardf.c: Likewise.
89012         * math/s_significand.c: Likewise.
89013         * math/s_significandf.c: Likewise.
89014         * math/s_significandl.c: Likewise.
89015         * math/w_jnl.c: Likewise.
89016         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
89017         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
89018         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
89019         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
89020         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
89021         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
89022         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
89023         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
89024         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
89025         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
89026         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
89027         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89028         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
89029         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
89030         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
89031         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
89032         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
89033         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
89034         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
89035         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
89036         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
89037         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
89038         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
89039         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
89040         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
89041         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
89042         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
89043         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
89044         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
89045         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
89046         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
89047         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
89048         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
89049         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
89050         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
89051         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
89052         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
89053         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
89054         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
89055         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
89056         * sysdeps/ieee754/k_standard.c: Likewise.
89057         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
89058         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
89059         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
89060         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
89061         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
89062         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
89063         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
89064         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
89065         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
89066         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
89067         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
89068         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
89069         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
89070         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
89071         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
89072         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
89073         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
89074         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
89075         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
89076         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
89077         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
89078         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
89079         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
89080         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
89081         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
89082         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
89083         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
89084         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
89085         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
89086         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
89087         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
89088         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
89089         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
89090         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
89091         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
89092         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
89093         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
89094         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
89095         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
89096         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
89097         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
89098         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
89099         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
89100         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
89101         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
89102         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
89103         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
89104         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
89105         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
89106         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
89107         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
89108         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
89109         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
89110         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
89111         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
89112         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
89113         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
89114         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
89115         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
89116         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
89117         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
89118         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
89119         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
89120         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
89121         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
89122         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
89123         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
89124         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
89125         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
89126         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
89127         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
89128         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
89129         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
89130         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
89131         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
89132         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
89133         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
89134         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
89135         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
89136         * sysdeps/ieee754/s_matherr.c: Likewise.
89137         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
89138         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
89139         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
89140         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
89142 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
89144         * crypt/md5.h: Remove __STDC__ conditionals.
89145         * libio/libioP.h: Likewise.
89146         * locale/programs/config.h: Likewise.
89147         * sysdeps/generic/sysdep.h: Likewise.
89148         * sysdeps/i386/asm-syntax.h: Likewise.
89149         * sysdeps/s390/asm-syntax.h: Likewise.
89150         * sysdeps/unix/sysdep.h: Likewise.
89151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
89152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
89154 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
89156         * libio/libio.h: Remove __STDC__ conditionals.
89157         * malloc/obstack.h: Likewise.
89158         * math/complex.h: Likewise.
89159         * math/math.h: Likewise.
89160         * sysdeps/generic/_G_config.h: Likewise.
89161         * sysdeps/gnu/_G_config.h: Likewise.
89162         * sysdeps/mach/hurd/_G_config.h: Likewise.
89163         * sysdeps/powerpc/bits/mathdef.h: Likewise.
89164         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
89165         * sysdeps/sparc/bits/mathdef.h: Likewise.
89167 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
89169         [BZ #13583]
89170         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
89171         Clean up HAS_* macros.
89172         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
89173         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
89174         possible.
89175         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
89176         HAS_AVX.
89177         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89178         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89179         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89180         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89181         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89183 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
89185         * elf/tst-unique3.cc (gets): Remove declaration.
89186         * elf/tst-unique3lib.cc (gets): Likewise.
89187         * elf/tst-unique3lib2.cc (gets): Likewise.
89188         * elf/tst-unique4.cc (gets): Likewise.
89190 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
89192         * include/stdio.h: Add C++ protection.  Add gets declarations and
89193         definitions.
89194         * debug/tst-chk1.c: Don't declare gets here.
89195         * stdio-common/tst-gets.c: Likewise.
89197 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
89199         * posix/glob: Remove directory.
89201 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
89203         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
89205 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
89207         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
89208         of the non-standard EPFNOSUPPORT.
89210 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89212         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
89213         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
89214         ANYWHERE set to 1 only on KERN_NO_SPACE error.
89216 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
89218         * wcsmbs/uchar.h: Test __STDC_VERSION__.
89220 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
89222         * nscd/aicache.c (addhstaiX): Do not cache negative results of
89223         transient errors.
89224         * nscd/grpcache.c (cache_addgr): Likewise.
89225         * nscd/hstcache.c (cache_addhst): Likewise.
89226         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89227         * nscd/pwdcache.c (cache_addpw): Likewise.
89228         * nscd/servicescache.c (cache_addserv): Likewise.
89230 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
89232         * malloc/malloc.c: Various cleanups.
89233         * malloc/hooks.c: Likewise.
89235         * stdlib/Makefile (tests): Add bug-fmtmsg1.
89236         * stdlib/bug-fmtmsg1.c: New file.
89238         * stdlib/fmtmsg.c (init): Add missing unlock.
89239         Patch by Peng Haitao <penght@cn.fujitsu.com>.
89241 2012-01-12  Marek Polacek  <polacek@redhat.com>
89243         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
89244         and _GNU_SOURCE.
89246 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
89248         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
89249         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
89250         macro to ensure uniqueness of label name.
89251         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89252         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89254 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
89256         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
89258         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
89259         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
89260         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
89261         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
89263 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
89265         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
89267         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
89268         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
89269         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
89271         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
89273         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
89274         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
89275         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
89276         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
89278         * math/bits/math-finite.h: Add ldexp support.
89280 2012-01-10  Marek Polacek  <polacek@redhat.com>
89282         * locale/programs/localedef.h (show_archive_content): Add noreturn
89283         attribute.
89285 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
89287         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
89289 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
89291         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
89293         * io/Makefile (headers): Add bits/poll2.h.
89295 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
89297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
89298         typo #include statement.
89300 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
89302         * include/sys/cdefs.h: Define __attribute_alloc_size.
89303         * catgets/gencat.c: Add alloc_size attribute and apply consistently
89304         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
89305         * elf/pldd.c: Likewise.
89306         * iconv/iconv_charmap.c: Likewise.
89307         * iconv/iconvconfig.c: Likewise.
89308         * iconv/strtab.c: Likewise.
89309         * locale/programs/locale.c: Likewise.
89310         * locale/programs/localedef.h: Likewise.
89311         * locale/programs/simple-hash.c: Likewise.
89312         * nscd/nscd.h: Likewise.
89313         * nss/makedb.c: Likewise.
89314         * sysdeps/generic/ldconfig.h: Likewise.
89315         * locale/programs/localedef.c: Remove xmalloc prototype.
89316         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
89318 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
89320         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
89321         appropriate.
89323 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
89325         * math/Makefile (tests): Add tst-CMPLX.
89326         * math/tst-CMPLX.c: New file.
89328         * math/complex.h (CMPLXL): Fix typo.
89330         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
89331         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
89332         GLIBC_2.16.
89333         * debug/tst-chk1.c: Add poll and ppoll tests.
89334         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
89335         * include/sys/poll.h: Add hidden proto for ppoll.
89336         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
89337         * sysdeps/mach/hurd/ppoll.c: Likewise.
89338         * io/ppoll.c: Likewise.
89339         * debug/poll_chk.c: New file.
89340         * debug/ppoll_chk.c: New file.
89341         * include/bits/poll2.h: New file.
89342         * io/bits/poll2.h: New file.
89344         [BZ #1350]
89345         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
89347         * configure.in: static is always set to yes.  Remove.
89348         * config.make.in: Don't set build-static.
89349         * Makeconfig: Remove use of build-static.
89350         * dlfcn/Makefile: Likewise.
89351         * elf/Makefile: Likewise.
89352         * math/Makefile: Likewise.
89353         * misc/Makefile: Likewise.
89354         * nptl/Makefile: Likewise.
89355         * sysdeps/mach/hurd/Makefile: Likewise.
89357         * configure.in: PWD_P is not used anymore.
89358         * config.make.in: Remove PWD_P entry.
89360         * configure.in: Remove last remnants of RANLIB.
89361         No need to check for signed size_t anymore.
89362         Don't set libc_commonpagesize and libc_relro_required here for Alpha
89363         and IA-64.
89364         Remove __builtin_expect test because we require at least gcc 3.4.
89365         * aclocal.m4: Likewise.
89367         * wcsmbs/mbrtoc16.c: Implement using towc function.
89368         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
89369         * wcsmbs/wcsmbsload.c: Likewise.
89370         * iconv/gconv_simple.c: Likewise.
89371         * iconv/gconv_int.h: Likewise.
89372         * iconv/gconv_builtin.h: Likewise.
89373         * iconv/iconv_prog.c: Remove CHAR16 handling.
89375         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
89377         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
89379         * configure.in: Remove --with-elf and --enable-bounded options.
89380         Dont set base_machine for ia64.  More non-ELF conditions removed.
89381         Remove testing and setting of leading underscore information.
89382         * config.make.in (build-bounded): Set to no.
89383         * config.h.in: Remove NO_UNDERSCORES entry.
89384         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
89385         them.
89386         * csu/start.c: Remove !NO_UNDERSCORE code.
89387         * locale/localeinfo.h: Likewise.
89388         * sysdeps/generic/machine-gmon.h: Likewise.
89389         * sysdeps/generic/sysdep.h: Likewise.
89390         * sysdeps/i386/sysdep.h: Likewise.
89391         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89392         * sysdeps/mach/sysdep.h: Likewise.
89393         * sysdeps/s390/s390-32/sysdep.h: Likewise.
89394         * sysdeps/s390/s390-64/sysdep.h: Likewise.
89395         * sysdeps/sh/sysdep.h: Likewise.
89396         * sysdeps/sparc/sparc32/alloca.S: Likewise.
89397         * sysdeps/unix/i386/sysdep.S: Likewise.
89398         * sysdeps/unix/sparc/start.c: Likewise.
89399         * sysdeps/unix/sparc/sysdep.S: Likewise.
89400         * sysdeps/unix/sparc/sysdep.h: Likewise.
89401         * sysdeps/unix/start.c: Likewise.
89402         * sysdeps/unix/x86_64/sysdep.S: Likewise.
89403         * sysdeps/x86_64/sysdep.h: Likewise.
89405 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
89407         [BZ #13553]
89408         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
89409         for non-gcc.
89410         * argp/argp-fmtstream.h: Use const instead __const.
89411         * argp/argp.h: Likewise.
89412         * assert/assert.h: Likewise.
89413         * bits/fenv.h: Likewise.
89414         * bits/sched.h: Likewise.
89415         * bits/sigset.h: Likewise.
89416         * bits/sigthread.h: Likewise.
89417         * catgets/nl_types.h: Likewise.
89418         * conform/data/pthread.h-data: Likewise.
89419         * crypt/crypt-private.h: Likewise.
89420         * crypt/crypt.h: Likewise.
89421         * crypt/crypt_util.c: Likewise.
89422         * ctype/ctype.h: Likewise.
89423         * debug/execinfo.h: Likewise.
89424         * debug/mbsnrtowcs_chk.c: Likewise.
89425         * debug/mbsrtowcs_chk.c: Likewise.
89426         * debug/wcsnrtombs_chk.c: Likewise.
89427         * debug/wcsrtombs_chk.c: Likewise.
89428         * debug/wcstombs_chk.c: Likewise.
89429         * dirent/dirent.h: Likewise.
89430         * dlfcn/dlfcn.h: Likewise.
89431         * elf/neededtest4.c: Likewise.
89432         * grp/grp.h: Likewise.
89433         * gshadow/gshadow.h: Likewise.
89434         * iconv/gconv.h: Likewise.
89435         * iconv/gconv_int.h: Likewise.
89436         * iconv/gconv_simple.c: Likewise.
89437         * iconv/iconv.h: Likewise.
89438         * iconv/loop.c: Likewise.
89439         * iconv/skeleton.c: Likewise.
89440         * include/aio.h: Likewise.
89441         * include/aliases.h: Likewise.
89442         * include/argz.h: Likewise.
89443         * include/arpa/inet.h: Likewise.
89444         * include/assert.h: Likewise.
89445         * include/dirent.h: Likewise.
89446         * include/dlfcn.h: Likewise.
89447         * include/execinfo.h: Likewise.
89448         * include/fcntl.h: Likewise.
89449         * include/fenv.h: Likewise.
89450         * include/glob.h: Likewise.
89451         * include/grp.h: Likewise.
89452         * include/libintl.h: Likewise.
89453         * include/mntent.h: Likewise.
89454         * include/netdb.h: Likewise.
89455         * include/pwd.h: Likewise.
89456         * include/rpc/netdb.h: Likewise.
89457         * include/sched.h: Likewise.
89458         * include/search.h: Likewise.
89459         * include/shadow.h: Likewise.
89460         * include/signal.h: Likewise.
89461         * include/stdio.h: Likewise.
89462         * include/stdlib.h: Likewise.
89463         * include/string.h: Likewise.
89464         * include/sys/socket.h: Likewise.
89465         * include/sys/stat.h: Likewise.
89466         * include/sys/statfs.h: Likewise.
89467         * include/sys/statvfs.h: Likewise.
89468         * include/sys/syslog.h: Likewise.
89469         * include/sys/time.h: Likewise.
89470         * include/sys/uio.h: Likewise.
89471         * include/time.h: Likewise.
89472         * include/unistd.h: Likewise.
89473         * include/utmp.h: Likewise.
89474         * include/wchar.h: Likewise.
89475         * include/wctype.h: Likewise.
89476         * inet/aliases.h: Likewise.
89477         * inet/arpa/inet.h: Likewise.
89478         * inet/netinet/ether.h: Likewise.
89479         * inet/netinet/in.h: Likewise.
89480         * intl/libintl.h: Likewise.
89481         * io/bits/fcntl2.h: Likewise.
89482         * io/fcntl.h: Likewise.
89483         * io/ftw.h: Likewise.
89484         * io/sys/poll.h: Likewise.
89485         * io/sys/stat.h: Likewise.
89486         * io/sys/statfs.h: Likewise.
89487         * io/sys/statvfs.h: Likewise.
89488         * io/utime.h: Likewise.
89489         * libio/bits/stdio.h: Likewise.
89490         * libio/bits/stdio2.h: Likewise.
89491         * libio/libio.h: Likewise.
89492         * libio/libioP.h: Likewise.
89493         * libio/stdio.h: Likewise.
89494         * locale/lc-ctype.c: Likewise.
89495         * locale/locale.h: Likewise.
89496         * login/utmp.h: Likewise.
89497         * malloc/arena.c: Likewise.
89498         * malloc/malloc.c: Likewise.
89499         * malloc/malloc.h: Likewise.
89500         * malloc/mcheck.c: Likewise.
89501         * malloc/mtrace.c: Likewise.
89502         * math/bits/mathcalls.h: Likewise.
89503         * math/fenv.h: Likewise.
89504         * math/math_private.h: Likewise.
89505         * misc/bits/error.h: Likewise.
89506         * misc/bits/syslog.h: Likewise.
89507         * misc/err.h: Likewise.
89508         * misc/error.h: Likewise.
89509         * misc/fstab.h: Likewise.
89510         * misc/mntent.h: Likewise.
89511         * misc/regexp.h: Likewise.
89512         * misc/search.h: Likewise.
89513         * misc/sgtty.h: Likewise.
89514         * misc/sys/mman.h: Likewise.
89515         * misc/sys/syslog.h: Likewise.
89516         * misc/sys/uio.h: Likewise.
89517         * misc/sys/xattr.h: Likewise.
89518         * misc/ttyent.h: Likewise.
89519         * nis/rpcsvc/ypclnt.h: Likewise.
89520         * nss/nss.h: Likewise.
89521         * posix/bits/unistd.h: Likewise.
89522         * posix/fnmatch.h: Likewise.
89523         * posix/glob.h: Likewise.
89524         * posix/sched.h: Likewise.
89525         * posix/spawn.h: Likewise.
89526         * posix/sys/wait.h: Likewise.
89527         * posix/unistd.h: Likewise.
89528         * posix/wordexp.h: Likewise.
89529         * pwd/pwd.h: Likewise.
89530         * resolv/netdb.h: Likewise.
89531         * resource/sys/resource.h: Likewise.
89532         * rt/aio.h: Likewise.
89533         * rt/bits/mqueue2.h: Likewise.
89534         * rt/mqueue.h: Likewise.
89535         * shadow/shadow.h: Likewise.
89536         * signal/signal.h: Likewise.
89537         * socket/send.c: Likewise.
89538         * socket/sendto.c: Likewise.
89539         * socket/sys/socket.h: Likewise.
89540         * stdio-common/printf.h: Likewise.
89541         * stdlib/bits/stdlib.h: Likewise.
89542         * stdlib/fmtmsg.h: Likewise.
89543         * stdlib/monetary.h: Likewise.
89544         * stdlib/stdlib.h: Likewise.
89545         * stdlib/ucontext.h: Likewise.
89546         * streams/stropts.h: Likewise.
89547         * string/argz.h: Likewise.
89548         * string/bits/string2.h: Likewise.
89549         * string/string.h: Likewise.
89550         * string/strings.h: Likewise.
89551         * sunrpc/rpc/auth.h: Likewise.
89552         * sunrpc/rpc/auth_des.h: Likewise.
89553         * sunrpc/rpc/clnt.h: Likewise.
89554         * sunrpc/rpc/netdb.h: Likewise.
89555         * sunrpc/rpc/pmap_clnt.h: Likewise.
89556         * sunrpc/rpc/xdr.h: Likewise.
89557         * sysdeps/generic/inttypes.h: Likewise.
89558         * sysdeps/generic/net/if.h: Likewise.
89559         * sysdeps/generic/sys/swap.h: Likewise.
89560         * sysdeps/gnu/net/if.h: Likewise.
89561         * sysdeps/gnu/utmpx.h: Likewise.
89562         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
89563         * sysdeps/i386/i486/bits/string.h: Likewise.
89564         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
89565         * sysdeps/s390/bits/string.h: Likewise.
89566         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
89567         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
89568         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
89569         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
89570         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
89571         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
89572         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
89573         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
89574         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
89575         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
89576         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
89577         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
89578         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
89579         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
89580         * sysdeps/unix/sysv/linux/readv.c: Likewise.
89581         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
89582         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
89583         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89584         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
89585         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
89586         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89587         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
89588         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
89589         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
89590         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
89591         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
89592         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
89593         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89594         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
89595         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
89596         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
89597         * sysvipc/sys/ipc.h: Likewise.
89598         * sysvipc/sys/msg.h: Likewise.
89599         * sysvipc/sys/sem.h: Likewise.
89600         * sysvipc/sys/shm.h: Likewise.
89601         * termios/termios.h: Likewise.
89602         * time/sys/time.h: Likewise.
89603         * time/time.h: Likewise.
89604         * wcsmbs/bits/wchar2.h: Likewise.
89605         * wcsmbs/uchar.h: Likewise.
89606         * wcsmbs/wchar.h: Likewise.
89607         * wctype/wctype.h: Likewise.
89609         [BZ #13551]
89610         * Makeconfig: Remove all but ELF support including AIX support.
89611         * Makerules: Likewise.
89612         * config.h.in: Likewise.
89613         * config.make.in: Likewise.
89614         * configure: Likewise.
89615         * configure.in: Likewise.
89616         * csu/Makefile: Likewise.
89617         * csu/version.c: Likewise.
89618         * debug/Makefile: Likewise.
89619         * dlfcn/Makefile: Likewise.
89620         * elf/Makefile: Likewise.
89621         * extra-lib.mk: Likewise.
89622         * iconv/Makefile: Likewise.
89623         * include/libc-symbols.h: Likewise.
89624         * include/shlib-compat.h: Likewise.
89625         * resolv/Makefile: Likewise.
89626         * resolv/res_libc.c: Likewise.
89627         * rt/Makefile: Likewise.
89628         * sysdeps/i386/asm-syntax.h: Likewise.
89629         * sysdeps/i386/sysdep.h: Likewise.
89630         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89631         * sysdeps/mach/sysdep.h: Likewise.
89632         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
89633         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
89634         * sysdeps/s390/asm-syntax.h: Likewise.
89635         * sysdeps/s390/s390-32/sysdep.h: Likewise.
89636         * sysdeps/s390/s390-64/sysdep.h: Likewise.
89637         * sysdeps/sh/sysdep.h: Likewise.
89638         * sysdeps/unix/sparc/sysdep.h: Likewise.
89639         * sysdeps/wordsize-32/divdi3.c: Likewise.
89640         * sysdeps/x86_64/sysdep.h: Likewise.
89642         * argp/Versions: Remove _argp_unlock_xxx.
89644         [BZ #13559]
89645         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
89646         * abilist/libBrokenLocale.abilist: Likewise.
89647         * abilist/libanl.abilist: Likewise.
89648         * abilist/libc.abilist: Likewise.
89649         * abilist/libcrypt.abilist: Likewise.
89650         * abilist/libdl.abilist: Likewise.
89651         * abilist/libm.abilist: Likewise.
89652         * abilist/libnsl.abilist: Likewise.
89653         * abilist/libpthread.abilist: Likewise.
89654         * abilist/libresolv.abilist: Likewise.
89655         * abilist/librt.abilist: Likewise.
89656         * abilist/libthread_db.abilist: Likewise.
89657         * abilist/libutil.abilist: Likewise.
89658         * abilist/libnss_db.abilist: New file.
89660         * scripts/abilist.awk: Add support for indirect functions.
89662         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
89664         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
89666         * shlib-versions: Remove entries for ports architectures.
89668         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
89669         files in ports.
89670         * elf/stackguard-macros.h: Remove support for IA-64.
89671         * elf/tst-auditmod1.c: Likewise.
89672         * sysdeps/generic/ldsodefs.h: Likewise.
89674         * sysdeps/unix/sysv/linux/configure.in: Ports should define
89675         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
89676         configure files.
89678         [BZ #13552]
89679         * configure.in: Remove --enable-omitfp support.
89680         * FAQ.in: Adjust.
89681         * config.make.in: Likewise.
89682         * Makeconfig: Likewise.
89683         * manual/install.texi: Likewise.
89685         In case anyone cares, the IA-64 architecture could move to ports.
89686         * sysdeps/ia64/*: Removed.
89687         * sysdeps/unix/sysv/linux/ia64/*: Removed.
89688         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
89690         [BZ #13555]
89691         * configure.in: Remove entries for unsupported architectures.
89693         [BZ #13533]
89694         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
89695         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
89696         routines.
89697         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
89698         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
89699         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
89700         fall back to using wcrtomb.
89701         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
89702         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
89703         renaming.
89704         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
89705         * wcsmbs/tst-c16c32-1.c: New file.
89707         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
89708         local variable.
89710         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
89712         * elf/tst-unique3.cc: Add explicit declaration of gets.
89713         * elf/tst-unique3lib.cc: Likewise.
89714         * elf/tst-unique3lib2.cc: Likewise.
89715         * elf/tst-unique4.cc: Likewise.
89717         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
89719 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
89721         [BZ #13566]
89722         * assert/assert.h (static_assert): Don't define for C++.
89723         * libio/stdio.h (gets): Do declare for C++ <= C++11.
89724         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
89726 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
89728         * iconv/loop.c (single loop): Fix assertion in storing of
89729         remaining bytes.
89731         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
89733 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
89735         * posix/getconf.c: Update copyright year.
89736         * nss/getent.c: Likewise.
89737         * nss/makedb.c: Likewise.
89738         * iconv/iconvconfig.c: Likewise.
89739         * iconv/iconv_prog.c: Likewise.
89740         * elf/ldconfig.c: Likewise.
89741         * elf/pldd.c: Likewise.
89742         * elf/sotruss.ksh: Likewise.
89743         * catgets/gencat.c: Likewise.
89744         * csu/version.c: Likewise.
89745         * elf/ldd.bash.in: Likewise.
89746         * elf/sprof.c (print_version): Likewise.
89747         * locale/programs/locale.c: Likewise.
89748         * locale/programs/localedef.c: Likewise.
89749         * login/programs/pt_chown.c: Likewise.
89750         * nscd/nscd.c (print_version): Likewise.
89751         * debug/xtrace.sh: Likewise.
89752         * malloc/memusage.sh: Likewise.
89753         * malloc/mtrace.pl: Likewise.
89754         * debug/catchsegv.sh: Likewise.
89756 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
89758         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
89759         pure attribute.
89761 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
89763         [BZ #13533]
89764         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
89765         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
89766         transformations.
89767         * iconv/gconv_int.h: Likewise.
89768         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
89769         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
89770         from libc for GLIBC_2.16.
89771         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
89772         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
89773         * wcsmbs/uchar.h: Really define mbstate_t.
89774         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
89775         * wcsmbs/c16rtomb.c: New file.
89776         * wcsmbs/mbrtoc16.c: New file.
89777         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
89778         for C/POSIX locale.
89779         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
89780         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
89782         * wcsmbs/wchar.h: Add missing __restrict.
89784 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
89786         [BZ #13532]
89787         * time/Makefile (routines): Add timespec_get.
89788         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
89789         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
89790         timespec for ISO C11.
89791         * time/timespec_get.c: New file.
89792         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
89793         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
89795         [BZ #13531]
89796         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
89797         * stdlib/stdlib.h: Declare aligned_alloc.
89798         * Versions.def: Add GLIBC_2.16 for libc.
89799         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
89801         [BZ 13527]
89802         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
89803         ISO C11.
89805         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
89806         code.
89808         [BZ #13528]
89809         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
89811         [BZ #13529]
89812         * assert/assert.h (static_assert): Define.
89814         * version.h: Update for 2.16 development version.
89816         [BZ #13526]
89817         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
89818         _ISOC11_SOURCE.
89820         * version.h (RELEASE): Bump for 2.15 release.
89821         * include/features.h (__GLIBC_MINOR__): Bump to 15.
89823         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
89824         Patch by Marek Polacek <mpolacek@redhat.com>.
89826         * bits/byteswap.h: Protect long long constants with __extension__.
89827         * sysdeps/i386/bits/byteswap.h: Likewise.
89828         * sysdeps/ia64/bits/byteswap.h: Likewise.
89829         * sysdeps/s390/bits/byteswap.h: Likewise.
89830         * sysdeps/x86_64/bits/byteswap.h: Likewise.
89832 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89834         [BZ #13540]
89835         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
89836         destination buffer.
89837         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
89839 2011-12-23  Marek Polacek  <polacek@redhat.com>
89841         * elf/dl-addr.c (determine_info): Add inline keyword.
89842         * elf/tst-auditmod4b.c (check_avx): Likewise.
89843         * elf/tst-auditmod6b.c (check_avx): Likewise.
89844         * elf/tst-auditmod6c.c (check_avx): Likewise.
89845         * elf/tst-auditmod7b.c (check_avx): Likewise.
89847 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
89849         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
89850         !__SSE_MATH__.
89852 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89854         [BZ #13540]
89855         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
89856         processing for last bytes.
89858 2011-08-06  Bruno Haible  <bruno@clisp.org>
89860         [BZ #13061]
89861         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
89862         U+0385, not to U+1FEE.
89864         [BZ #13062]
89865         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
89866         entry for U+00A5 U+0301.
89868 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
89870         [BZ #13166]
89871         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
89872         buffer for the output is too small.
89874         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
89875         optimization.
89877         [BZ #13185]
89878         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
89879         SSE flags if possible.
89881 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89883         [BZ #13540]
89884         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
89885         processing for last bytes.
89887 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
89889         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
89890         (syscall-list-default-options, syscall-list-default-condition)
89891         (syscall-list-includes): Define.
89892         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
89893         list of ABIs and options and #if conditions for each ABI.  Do not
89894         handle common syscalls between ABIs specially.
89895         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
89896         Remove.
89897         (syscall-list-variants, syscall-list-32bit-options)
89898         (syscall-list-32bit-condition, syscall-list-64bit-options)
89899         (syscall-list-64bit-condition): Define.
89900         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/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.
89909         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
89910         Remove.
89911         (syscall-list-variants, syscall-list-32bit-options)
89912         (syscall-list-32bit-condition, syscall-list-64bit-options)
89913         (syscall-list-64bit-condition): Define.
89915 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
89917         * locale/iso-639.def: Add brx entry.
89919         [BZ #13328]
89920         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
89921         Proposed by Mariusz_Cukr <marcukr@op.pl>.
89923         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
89924         __feraiseexcept_renamed.
89926 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
89928         [BZ #13538]
89929         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
89930         EPOLLET with unsigned values.
89931         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89932         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89934         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
89935         to large cancellation.
89936         * math/s_cacoshf.c: Likewise.
89937         * math/s_cacoshl.c: Likewise.
89939 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
89941         [BZ #13305]
89942         [BZ #12786]
89943         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
89944         * math/s_cacoshf.c: Likewise.
89945         * math/s_cacoshl.c: Likewise.
89947 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
89949         [BZ #13439]
89950         * iconv/gconv.h: Define __GCONV_SWAP.
89951         * iconvdata/unicode.c: The swap bit must be stored in __flags.
89952         * iconvdata/utf-16.c: Likewise.
89953         * iconvdata/utf-32.c: Likewise.
89955 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
89957         [BZ #13524]
89958         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
89959         numerator after shifting it by one limb.
89961 2011-12-19  Rafael Ăvila de EspĂ­ndola  <rafael.espindola@gmail.com>
89963         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
89964         under [__USE_EXTERN_INLINES].
89966 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
89968         [BZ #13446]
89969         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
89971 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89973         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
89974         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
89975         optimized code.
89976         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
89977         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
89978         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
89979         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
89980         for strncasecmp/strncasecmp_l compilation.
89981         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
89982         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
89984 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
89986         [BZ #13484]
89987         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
89988         of __asm__.
89990 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
89992         [BZ #13506]
89993         * time/tzfile.c (__tzfile_read): Check values from file header.
89995 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
89997         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
89998         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
89999         * powerpc/powerpc32/dl-start.S: Likewise.
90000         * powerpc/powerpc32/elf/start.S: Likewise.
90001         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
90002         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
90003         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
90004         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
90005         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
90006         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
90007         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
90008         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
90009         * powerpc/powerpc32/fpu/s_round.S: Likewise.
90010         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
90011         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
90012         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
90013         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
90014         * powerpc/powerpc32/memset.S: Likewise.
90015         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
90016         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
90017         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
90018         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
90019         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
90020         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
90021         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
90022         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
90023         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
90024         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
90025         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
90026         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
90027         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
90029 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
90031         * math/libm-test.inc: Added more nearbyint tests.
90032         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
90033         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
90034         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
90035         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
90037 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
90039         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
90040         FD_CLOEXEC.
90042 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90044         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
90045         Add wcscpy-ssse3 wcscpy-c.
90046         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
90047         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
90048         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
90049         * sysdeps/x86_64/wcschr.S: New file.
90050         * sysdeps/x86_64/wcsrchr.S: New file.
90051         * string/test-strcmp.c: Remove checking of wcscmp function for
90052         wrong alignments.
90053         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
90054         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
90055         wcsrchr-sse2 wcsrchr-c.
90056         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
90057         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
90058         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
90059         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
90060         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
90061         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
90062         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
90063         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
90064         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
90065         * wcsmbc/wcschr.c (WCSCHR): New macro.
90067 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90069         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
90070         * wcsmbs/test-wcsrchr.c: New file.
90071         * string/test-strrchr.c: Add wcsrchr support.
90072         (WIDE): New macro.
90073         * wcsmbs/test-wcscpy.c: New file.
90074         * string/test-strcpy.c: Add wcscpy support.
90075         (WIDE): New macro.
90077 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
90079         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
90080         the inner loop.
90082 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
90084         [BZ #13472]
90085         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
90087 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
90089         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
90090         Minor optimizations.
90092         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
90093         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
90094         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
90096 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
90098         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
90099         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
90100         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
90101         for gcc to avoid warnings.
90102         * inet/Makefile (tests): Add tst-checks.
90103         * inet/tst-checks.c: New file.
90105         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
90106         warning.
90108         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
90109         __wmemcmp_sse2.
90111         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
90112         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
90114         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
90116 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
90118         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
90119         problem.
90121         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
90123 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
90125         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
90126         conditional on GCC version.
90127         (__arch_compare_and_exchange_val_8_acq)
90128         (__arch_compare_and_exchange_val_16_acq)
90129         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
90130         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
90131         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
90133 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
90135         * sysdeps/sh/backtrace.c: New file.
90137 2011-12-02  Andreas Schwab  <schwab@redhat.com>
90139         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
90140         parenthesis.
90142 2011-12-01  Andreas Schwab  <schwab@redhat.com>
90144         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
90145         falling back to utime.
90147 2011-11-30  Andreas Schwab  <schwab@redhat.com>
90149         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
90150         expectations for float.
90152 2011-11-29  Andreas Schwab  <schwab@redhat.com>
90154         * locale/weight.h (findidx): Add parameter len.
90155         * locale/weightwc.h (findidx): Likewise.
90156         * posix/fnmatch_loop.c (FCT): Adjust caller.
90157         * posix/regcomp.c (build_equiv_class): Likewise.
90158         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
90159         * posix/regexec.c (check_node_accept_bytes): Likewise.
90160         * string/strcoll_l.c (STRCOLL): Likewise.
90161         * string/strxfrm_l.c (STRXFRM): Likewise.
90163 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
90165         * Makefile.in: Remove CVSOPT handling.
90166         * configure.in: Remove use of AC_REVISION.
90167         * iconvdata/Makefile (distribute): No need to filter out CVS.
90168         * scripts/list-sources.sh: Remove CVS, subversion and monotone
90169         handling.
90171 2011-11-16  Andreas Schwab  <schwab@redhat.com>
90173         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
90174         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
90175         [USE_AS_STRNCASECMP_L]: Likewise.
90176         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
90177         NO_TLS_DIRECT_SEG_REFS.
90178         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
90179         Fix argument offsets for non-PIC.
90180         [USE_AS_STRNCASECMP_L]: Likewise.
90181         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
90182         NO_TLS_DIRECT_SEG_REFS.
90184 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
90186         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
90187         O_CLOEXEC.
90188         * locale/loadlocale.c (_nl_load_locale): Likewise.
90190 2011-11-15  Andreas Schwab  <schwab@redhat.com>
90192         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
90193         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
90194         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
90195         (SYSCALL_GETTIME): Set errno on error.
90197         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
90198         count references to noai6ai_cached.
90200 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
90202         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
90204         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
90205         FD_CLOEXEC for /proc/self/maps.
90207         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
90208         FD_CLOEXEC for /proc/meminfo.
90210         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
90211         gai.conf.
90213         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
90214         FD_CLOEXEC for given file.
90216         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
90218         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
90219         FD_CLOEXEC for /etc/hosts.
90220         (_gethtent): Likewise.
90222         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
90224         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
90225         cancellation and set FD_CLOEXEC for /etc/netgroup.
90227         * nss/nss_files/files-key.c (search): Don't allow cancellation when
90228         reading /etc/publickey.
90230         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
90231         allow cancellation when reading /etc/group.
90233         * nss/nss_files/files-alias.c (internal_setent): Don't allow
90234         cancellation.
90235         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
90237         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
90238         when using data file.
90240         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
90242         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
90243         (write_nis_obj): Use "c" and "e" in fopen.
90245         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
90247         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
90249         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
90251         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
90253         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
90254         locale.alias.
90256         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
90258         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
90260         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
90262         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
90263         file parsing and set FD_CLOEXEC.
90265 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
90267         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
90269 2011-11-14  Andreas Schwab  <schwab@redhat.com>
90271         * malloc/arena.c (arena_get2): Don't call reused_arena when
90272         _int_new_arena failed.
90274 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
90276         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
90277         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
90278         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
90279         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
90280         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
90281         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
90282         to compile strcasecmp and strncasecmp.
90283         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
90284         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
90286         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
90288 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
90290         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
90291         locale-defines.sym to gen-as-const-headers.
90292         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
90293         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
90294         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
90295         to compile strcasecmp and strncasecmp.
90296         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
90297         strcasecmp_l and strncasecmp_l.
90298         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
90299         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
90300         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
90301         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
90302         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
90303         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
90304         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
90305         * sysdeps/i386/i686/multiarch/strncase.S: New file.
90306         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
90307         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
90308         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
90310 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
90312         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
90313         result of SYSDEP_GETTIME_CPU to retval.
90314         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
90315         parameter list to macro.  Remove trailing semicolon.  Adjust users.
90317         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
90318         variable.
90320         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
90321         mantissa words.
90322         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
90324         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
90325         from unused variable.
90327         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
90328         DWARF definitions.
90329         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
90330         for assembling.
90332         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
90333         over namespaces.
90335         * sunrpc/rpc_prot.c (rejected): Fix case value.
90337         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
90338         unsigned long long int to avoid warnings in shift.
90340         * posix/regex_internal.c (re_string_reconstruct): Actually use result
90341         of use of trans.
90342         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
90343         variable tmp.
90345         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
90346         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
90347         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
90349         * nis/nis_table.c (nis_list): Use variable of correct type for
90350         result of __follow_path call.
90352 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
90354         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
90355         of math functions ceil, trunc, floor, round, and sqrt, when
90356         avaliable on the platform.
90357         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
90358         name clash.
90359         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
90360         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
90361         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
90363 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
90365         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
90366         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
90368 2011-11-11  Roland McGrath  <roland@hack.frob.com>
90370         * include/unistd.h: Fix __readlink return type.
90371         Reported by Chris Metcalf <cmetcalf@tilera.com>.
90373 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
90375         * stdlib/ucontext.h: Undo last change for makecontext.
90377 2011-11-11  Andreas Schwab  <schwab@redhat.com>
90379         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
90381         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
90382         * setjmp/setjmp.h: Mark functions as non-leaf.
90383         * setjmp/bits/setjmp2.h: Likewise.
90384         * stdlib/ucontext.h: Likewise.
90386 2011-11-10  Andreas Schwab  <schwab@redhat.com>
90388         * malloc/arena.c (_int_new_arena): Don't increment narenas.
90389         (reused_arena): Don't check arena limit.
90390         (arena_get2): Atomically check arena limit.
90392 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
90394         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
90395         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
90397         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
90398         instructions.
90400 2011-11-07  Andreas Schwab  <schwab@redhat.com>
90402         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
90403         handler when locking.
90405         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90406         Fix size of allocated buffer.
90408 2011-11-04  Andreas Schwab  <schwab@redhat.com>
90410         [BZ #10103]
90411         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
90412         declarations for long double functions.
90413         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
90415         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
90417 2011-11-03  Andreas Schwab  <schwab@redhat.com>
90419         * nscd/nscd.c (main): Don't start AVC thread until credentials are
90420         installed.
90422         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
90423         is disabled.
90425 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90427         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
90429 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
90431         * include/alloca.h (stackinfo_alloca_round): Define.
90432         (extend_alloca): Use it.
90433         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
90434         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
90435         here.
90437         * scripts/check-local-headers.sh: Ignore libaudit.h.
90439         * nscd/Makefile (extra-objs): Make recursively expanded.
90441 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
90443         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
90444         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
90446         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
90447         * posix/tst-rfc3484-2.c: Likewise.
90448         * posix/tst-rfc3484-3.c: Likewise.
90450         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
90451         process_vm_writev.
90452         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
90453         process_vm_writev.
90454         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
90455         process_vm_writev from libc using GLIBC_2.15 version.
90457         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
90459 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
90461         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
90462         stack usage.
90464 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
90466         [BZ #13367]
90467         * nss/getent.c (initgroups_keys): Show error message in case no group
90468         names are given.
90470         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
90471         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
90472         __bump_nl_timestamp.
90473         * nscd/connections (nscd_init): When host database is served open
90474         netlink socket and request notification about configuration changes.
90475         (main_loop_poll): Track netlink file descriptor and bump timestamp
90476         in case data becomes available.
90477         (main_loop_epoll): Likewise.
90478         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
90479         (database_pers_head): Add extra_data fileds.
90480         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
90481         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
90482         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
90483         Adjust caller.
90484         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
90485         in6ai data, call __free_in6ai.
90486         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
90487         Add -DHAVE_NETLINK.
90488         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
90489         interface information.  Reuse previous data if netlink timestamp
90490         is not changed.
90491         (__bump_nl_timestamp): New function.
90492         (__free_in6ai): New function.
90494 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
90496         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
90497         close_not_cancel_no_status here.
90498         (__check_pf): Reorganize code a bit to not call close twice if OOM.
90500 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
90502         [BZ #13276]
90503         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
90504         return value.
90506         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
90507         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
90508         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
90510 2011-07-03  Andreas Jaeger  <aj@suse.de>
90512         [BZ #10709]
90513         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
90514         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
90515         * math/libm-test.inc (sin_test): Add test case.
90517 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
90519         [BZ #13337]
90520         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
90521         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90523         * elf/chroot_canon.c (chroot_canon): Cleanups.
90525         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
90527         [BZ #13335]
90528         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
90529         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90531         * string/test-strchr.c: Make usable for strchrnul testing.
90532         * string/test-strchrnul.c: New file.
90533         * string/Makefile (strop-tests): Add strchrnul.
90535         * po/it.po: Update from translation team.
90536         * po/es.po: Likewise.
90538 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
90540         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
90541         the three constants needed as parameters.  Drop the others.
90542         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
90543         __m128i_strloadu_tolower.
90544         Create and initialize variable zero and use it in all the places
90545         where _mm_setzero_si128 was used.
90547         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
90548         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
90549         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
90550         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
90551         anymore.
90552         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
90553         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
90554         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
90555         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
90556         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
90557         __mpranred, __mptan.
90558         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
90559         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
90560         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
90561         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
90562         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
90563         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
90564         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
90565         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
90566         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
90568 2011-10-28  Andreas Schwab  <schwab@redhat.com>
90570         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
90571         redefine if SHARED.
90572         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
90574         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
90575         wide char related routines to wcsmbs subdir.
90577 2011-10-27  Andreas Schwab  <schwab@redhat.com>
90579         [BZ #13344]
90580         * misc/sys/cdefs.h (__THROWNL): Define.
90581         * posix/unistd.h: Use __THREADNL instead of __THREAD
90582         for memory synchronization functions.
90584 2011-10-26  Roland McGrath  <roland@hack.frob.com>
90586         [BZ #13349]
90587         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
90588         doesn't exist.
90589         * manual/stdio.texi (Obstack Streams): Node removed.
90591 2011-10-26  Andreas Schwab  <schwab@redhat.com>
90593         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
90594         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90595         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90597         * math/math_private.h (math_force_eval): Allow non-addressable
90598         arguments.
90599         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
90601 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90603         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
90604         file is not needed.
90606         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
90607         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
90608         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
90609         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
90610         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
90611         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
90612         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
90613         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
90614         Add AVX variants.
90615         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
90616         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
90617         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
90618         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
90619         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
90620         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
90621         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
90622         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
90623         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
90624         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
90625         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
90626         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
90627         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
90628         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
90629         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
90630         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
90631         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
90632         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
90633         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
90635         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
90636         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
90638         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
90639         place.  Use VEX encoding when compiling for AVX.
90641 2011-10-25  Andreas Schwab  <schwab@redhat.com>
90643         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
90644         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
90646         * string/test-strchr.c (do_test): Don't generate NUL bytes.
90648 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90650         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
90651         useless if() expression.
90652         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90653         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
90654         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
90655         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90656         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
90657         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90658         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90659         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90660         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
90661         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90662         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90663         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90664         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
90665         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90666         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
90667         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90668         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90669         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90670         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
90672         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
90674 2011-10-25  Andreas Schwab  <schwab@redhat.com>
90676         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
90677         condition.
90678         * elf/dl-fini.c (_dl_sort_fini): Likewise.
90680 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90682         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
90683         .text section.  Avoid duplicate constants.
90684         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
90685         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90686         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90687         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90688         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90689         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90690         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90691         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90692         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
90693         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
90694         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
90695         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
90696         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
90697         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
90698         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
90699         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
90700         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
90701         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
90702         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
90703         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90704         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
90705         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
90706         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
90707         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
90708         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
90709         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
90710         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
90711         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
90712         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
90713         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
90714         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
90715         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
90716         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
90717         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
90718         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
90719         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
90720         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
90721         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
90722         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
90723         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
90724         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
90725         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
90726         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
90727         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
90728         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
90730 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
90732         * sysdeps/x86_64/dla.h: Move to ...
90733         * sysdeps/x86_64/fpu/dla.h: ...here.
90734         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
90735         situations.  Use __builtin_fma only for gcc 4.6 and up.
90737         * config.make.in: Add have-mfma4 entry.
90738         * configure.in: Substitute libc_cv_cc_fma4.
90739         * math/Makefile (dbl-only-routines): Add sincostab.
90740         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
90741         Use __sincostab not sincos.
90742         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
90743         name is a macro.
90744         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90745         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90746         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90747         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
90748         using __copysign.
90749         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
90750         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
90751         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
90752         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
90753         and __inv.
90754         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
90755         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
90756         __copysign.
90757         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
90758         define aliases when function name is a macro.
90759         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
90760         sysdeps/ieee754/dbl-64/sincos.tbl.
90761         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
90762         fma4-enabled routines.
90763         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
90764         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
90765         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
90766         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
90767         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
90768         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
90769         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
90770         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
90771         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
90772         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
90773         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
90774         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
90775         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
90776         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
90777         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
90778         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
90779         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
90780         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
90781         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
90782         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
90783         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
90784         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
90785         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
90786         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
90787         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
90788         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
90789         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
90790         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
90791         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
90792         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
90794         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
90795         rename.
90796         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90797         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90798         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90799         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90800         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90801         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90802         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90803         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90805 2011-10-24  Andreas Schwab  <schwab@redhat.com>
90807         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
90809 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90811         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
90813         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
90814         prediction.
90815         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
90817         * string/strnlen.c: Don't define STRNLEN, reverse logic.
90818         Remove unused variable magic_bits.
90819         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
90821         * string/strnlen.c: Define and use STRNLEN macro.
90822         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
90823         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
90824         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
90825         * wcsmbs/wcslen.c: Define and use WCSLEN.
90826         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
90827         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
90828         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
90829         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
90830         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
90831         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
90832         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90834 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90836         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90837         strnlen-sse2-no-bsf.
90838         Rename strlen-no-bsf to strlen-sse2-no-bsf.
90839         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
90840         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
90841         Add strnlen support.
90842         (USE_AS_STRNLEN): New macro.
90843         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
90844         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
90845         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
90846         * sysdeps/x86_64/wcslen.S: New file.
90848 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
90850         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
90851         XMM-moves are used for copying on small sizes.
90853 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90855         * wcsmbs/Makefile (strop-tests): Add wcschr.
90856         * wcsmbs/test-wcschr.c: New file.
90857         * string/test-strchr.c: Update.
90858         Add wcschr support.
90859         (WIDE): New macro.
90861 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90863         * wcsmbs/Makefile (strop-tests): Add wcslen.
90864         * wcsmbs/test-wcslen.c: New file.
90865         * string/test-strlen.c: Update.
90866         Add wcslen support.
90867         (WIDE): New macro.
90869 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90871         * po/it.po: Update from translation team.
90873 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90875         * sysdeps/x86_64/wcscmp.S: Update.
90876         Fix wrong comparison semantics.
90877         wcscmp shall use signed comparison not unsigned.
90878         Don't use substraction to avoid overflow bug.
90879         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
90880         * wcsmbc/wcscmp.c: Likewise.
90881         * string/test-strcmp.c: Likewise.
90882         Add new tests to check cases with negative values.
90884 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90886         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
90887         * sysdeps/x86_64/dla.h: ...here.  New file.
90888         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
90889         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90890         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90891         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90892         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90893         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
90894         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90895         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90896         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90898 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
90900         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
90901         __ynl_finite aliases.
90903 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
90905         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
90907         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
90908         define DLA_FMA.
90909         [DLA_FMA] (EMULV): Use DLA_FMA.
90910         [DLA_FMA] (MUL12): Use EMULV.
90911         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
90912         that are not needed.
90913         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90914         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90915         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90916         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90917         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90918         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90919         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90921 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
90923         * math/s_nan.c: Undef __nan.
90924         * math/s_nanf.c: Undef __nanf.
90925         * math/s_nanl.c: Undef __nanl.
90926         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
90927         "math_private.h".
90929 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
90931         * math/s_catan.c: Add branch predictions.
90932         * math/s_catanf.c: Likewise.
90933         * math/s_catanh.c: Likewise.
90934         * math/s_catanhf.c: Likewise.
90935         * math/s_catanhl.c: Likewise.
90936         * math/s_catanl.c: Likewise.
90937         * math/s_cexp.c: Likewise.
90938         * math/s_cexpf.c: Likewise.
90939         * math/s_cexpl.c: Likewise.
90940         * math/s_clog.c: Likewise.
90941         * math/s_clog10.c: Likewise.
90942         * math/s_clog10f.c: Likewise.
90943         * math/s_clog10l.c: Likewise.
90944         * math/s_clogf.c: Likewise.
90945         * math/s_clogl.c: Likewise.
90946         * math/s_csqrt.c: Likewise.
90947         * math/s_csqrtf.c: Likewise.
90948         * math/s_csqrtl.c: Likewise.
90949         * math/s_ctanf.c: Likewise.
90950         * math/s_ctanh.c: Likewise.
90951         * math/s_ctanhf.c: Likewise.
90952         * math/s_ctanhl.c: Likewise.
90953         * math/s_ctanl.c: Likewise.
90955         * math/math_private.h: Define __nan, __nanf, __nanl.
90956         * math/s_cacosh.c: Include <math_private.h>.
90957         * math/s_cacoshl.c: Likewise.
90958         * math/s_casinh.c: Likewise.
90959         * math/s_casinhf.c: Likewise.
90960         * math/s_casinhl.c: Likewise.
90961         * math/s_ccos.c: Rely entire on ccosh.
90962         * math/s_ccosf.c: Rely entire on ccoshf.
90963         * math/s_ccosl.c: Rely entirely on ccoshl.
90964         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
90965         Remove tests for FE_INVALID.
90966         * math/s_ccoshf.c: Likewise.
90967         * math/s_ccoshl.c: Likewise.
90968         * math/s_csin.c: Likewise.
90969         * math/s_csinf.c: Likewise.
90970         * math/s_csinh.c Likewise.
90971         * math/s_csinhf.c: Likewise.
90972         * math/s_csinhl.c: Likewise.
90973         * math/s_csinl.c: Likewise.
90974         * math/s_ctan.c: Likewise.
90975         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
90976         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
90977         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
90979 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
90981         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
90982         compilation problems.
90984         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
90985         __builtin_expect.
90987 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
90989         * sysdeps/i386/configure.in: Test for -mfma4 option.
90990         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
90991         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
90992         COMMON_CPUID_INDEX_80000001.
90993         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
90994         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
90995         use it if FMA3 is not supported.
90996         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
90998         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
90999         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
91001 2011-10-20  Andreas Schwab  <schwab@redhat.com>
91003         [BZ #12892]
91004         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
91005         it would create a cycle with a link time dependency.
91007 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
91009         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
91010         instruction.
91011         * string/Makefile (strop-tests): Add rawmemchr.
91012         * string/test-rawmemchr.c: New file.
91014         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
91015         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
91016         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
91017         when compiling str{,n}casecmp and when AVX is available.  Hook up
91018         new optimized code in initializers.
91020 2011-10-19  Andreas Schwab  <schwab@redhat.com>
91022         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
91023         __feraiseexcept instead of feraiseexcept.
91025 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
91027         * math/math_private.h: Define defaults for libc_fetestexcept and
91028         libc_feupdateenv.
91029         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
91030         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
91031         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91032         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
91033         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
91034         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
91035         libc_fetestexcept and libc_feupdateenv.
91037         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
91038         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
91039         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
91040         * sysdeps/x86_64/fpu/math_private.h: Define special version of
91041         libc_feholdexcept_setround.
91043         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
91044         Add s_nearbyint-c and s_nearbyintf-c.
91045         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
91046         nearbyintf inlines.
91047         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
91048         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
91049         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
91050         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
91052         * math/math_private.h: Define defaults for libc_fegetround,
91053         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
91054         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
91055         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
91056         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
91057         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
91058         standard functions.
91059         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91060         Remove comments and hacks for old compiler versions.
91061         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
91062         libc_fegetround, libc_fesetround, libc_feholdexcept, and
91063         libc_feholdexceptl.
91065 2011-10-18  Andreas Schwab  <schwab@redhat.com>
91067         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
91068         (__feraiseexcept_renamed): Add __NTH.
91069         (feraiseexcept): Add __NTH.  Rename local variables to fix
91070         namespace violations.
91072 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
91074         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
91076         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
91078         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
91079         recently added interfaces.
91080         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
91082         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
91083         about macro parameter expansion.
91085         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
91086         __NO_MATH_INLINES is defined.  Cleanups.
91088         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
91089         and __floorf is target has SSE4.1.
91090         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
91091         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
91092         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
91093         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
91095         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
91096         name.
91097         (floorf): Likewise.
91099         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
91101 2011-10-17  Andreas Schwab  <schwab@redhat.com>
91103         * misc/sys/cdefs.h: Fix last change.
91105         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
91106         database lookup.
91108 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
91110         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
91112         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
91113         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
91114         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
91115         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
91116         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
91117         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
91118         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
91119         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
91120         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
91121         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
91122         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
91123         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
91124         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
91125         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
91126         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
91127         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
91128         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
91129         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
91130         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
91131         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
91132         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
91133         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
91135         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
91136         ceil, ceilf, floor, floorf.
91138         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
91139         Perform IRELATIVE relocations last.
91141         * elf/do-rel.h: Add another parameter nrelative, replacing the
91142         local variable with the same name.  Change name of the function
91143         to end in Rel or Rela (uppercase).
91144         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
91145         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
91146         elf_dynamic_do_##reloc function.
91148 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
91150         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
91151         is sufficient, at least on modern CPUs.
91153         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
91155         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
91156         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
91158         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
91159         __expl_finite.
91160         * math/bits/math-finite.h: Add entries for exp.
91161         * math/e_expl.c: Add __*_finite alias.
91162         * sysdeps/i386/fpu/e_exp.S: Likewise.
91163         * sysdeps/i386/fpu/e_expf.S: Likewise.
91164         * sysdeps/i386/fpu/e_expl.c: Likewise.
91165         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
91166         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
91167         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
91168         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
91169         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
91170         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
91171         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
91173         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
91174         is sufficient, at least on modern CPUs.
91176         * ctype/ctype-info.c (__ctype_init): Define.
91177         * include/ctype.h (__ctype_init): Declare.
91178         (__ctype_b_loc): The variable is always initialized.
91179         (__ctype_toupper_loc): Likewise.
91180         (__ctype_tolower_loc): Likewise.
91181         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
91182         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
91184 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
91186         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
91188         * configure.in: Also look in $cxxmachine/include for C++ system
91189         headers.
91191 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91193         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
91194         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
91195         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
91196         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
91197         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
91198         (USE_AS_WMEMCMP): New macro.
91199         Fixing indents.
91200         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
91201         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
91202         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
91203         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
91204         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91205         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
91206         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
91207         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
91208         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
91209         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
91210         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
91211         (USE_AS_WMEMCMP): New macro.
91212         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
91213         * sysdeps/string/test-memcmp.c: Update.
91214         Fix simple_wmemcmp.
91215         Add new tests.
91216         * wcsmbs/wmemcmp.c: Update.
91217         (WMEMCMP): New macro.
91218         Fix overflow bug.
91220 2011-10-12  Andreas Jaeger  <aj@suse.de>
91222         [BZ #13268]
91223         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
91225 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
91227         * libio/iofwide.c (do_length): Avoid warning.
91229         * ctype/ctype.h (__isctype_f): Add missing __THROW.
91231 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
91233         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
91235         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
91236         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
91237         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
91238         * sysdeps/i386/i686/fpu/e_log.S: New file.
91239         * sysdeps/i386/i686/fpu/e_logf.S: New file.
91240         * sysdeps/i386/i686/fpu/e_logl.S: New file.
91242         * ctype/ctype.h: Add support for inlined isXXX functions when
91243         compiling C++ code.
91245 2011-10-14  Andreas Schwab  <schwab@redhat.com>
91247         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91249         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
91251 2011-10-13  Roland McGrath  <roland@hack.frob.com>
91253         [BZ #13291]
91254         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
91256 2011-10-13  Andreas Schwab  <schwab@redhat.com>
91258         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
91259         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
91260         feraiseexcept.
91262         * sysdeps/x86_64/memrchr.S: Check for zero size.
91264         * string/stratcliff.c: Add memrchr tests.
91266 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91268         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91269         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
91270         rawmemchr-sse2 rawmemchr-sse2-bsf.
91271         * sysdeps/i386/i686/multiarch/memchr.S: New file.
91272         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
91273         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
91274         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
91275         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
91276         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
91277         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
91278         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
91279         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
91280         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
91281         * string/memrchr.c (MEMRCHR): New macro.
91283 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
91285         Add integration with gcc's -ffinite-math-only and optimize wrapper
91286         functions in libm.
91287         * Versions.def: Define GLIBC_2.15 version for libm.
91288         * math/Makefile (headers): Add bits/math-finite.h.
91289         * math/bits/math-finite.h: New file.
91290         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
91291         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
91292         * math/e_acoshl.c: Add __*_finite alias.
91293         * math/e_acosl.c: Likewise.
91294         * math/e_asinl.c: Likewise.
91295         * math/e_atan2l.c: Likewise.
91296         * math/e_atanhl.c: Likewise.
91297         * math/e_coshl.c: Likewise.
91298         * math/e_exp10.c: Likewise.
91299         * math/e_exp10f.c: Likewise.
91300         * math/e_exp10l.c: Likewise.
91301         * math/e_exp2l.c: Likewise.
91302         * math/e_fmodl.c: Likewise.
91303         * math/e_gammal_r.c: Likewise.
91304         * math/e_hypotl.c: Likewise.
91305         * math/e_j0l.c: Likewise.
91306         * math/e_j1l.c: Likewise.
91307         * math/e_jnl.c: Likewise.
91308         * math/e_lgammal_r.c: Likewise.
91309         * math/e_log10l.c: Likewise.
91310         * math/e_log2l.c: Likewise.
91311         * math/e_logl.c: Likewise.
91312         * math/e_powl.c: Likewise.
91313         * math/e_sinhl.c: Likewise.
91314         * math/e_sqrtl.c: Likewise.
91315         * math/e_scalb.c: Completely rewritten and optimized.
91316         * math/e_scalbf.c: Likewise.
91317         * math/e_scalbl.c: Likewise.
91318         * math/w_acos.c: Likewise.
91319         * math/w_acosf.c: Likewise.
91320         * math/w_acosl.c: Likewise.
91321         * math/w_acosh.c: Likewise.
91322         * math/w_acoshf.c: Likewise.
91323         * math/w_acoshl.c: Likewise.
91324         * math/w_asin.c: Likewise.
91325         * math/w_asinf.c: Likewise.
91326         * math/w_asinl.c: Likewise.
91327         * math/w_atan2.c: Likewise.
91328         * math/w_atan2f.c: Likewise.
91329         * math/w_atan2l.c: Likewise.
91330         * math/w_atanh.c: Likewise.
91331         * math/w_atanhf.c: Likewise.
91332         * math/w_atanhl.c: Likewise.
91333         * math/w_exp10.c: Likewise.
91334         * math/w_exp10f.c: Likewise.
91335         * math/w_exp10l.c: Likewise.
91336         * math/w_fmod.c: Likewise.
91337         * math/w_fmodf.c: Likewise.
91338         * math/w_fmodl.c: Likewise.
91339         * math/w_j0.c: Likewise.
91340         * math/w_j0f.c: Likewise.
91341         * math/w_j0l.c: Likewise.
91342         * math/w_j1.c: Likewise.
91343         * math/w_j1f.c: Likewise.
91344         * math/w_j1l.c: Likewise.
91345         * math/w_jn.c: Likewise.
91346         * math/w_jnf.c: Likewise.
91347         * math/w_log.c: Likewise.
91348         * math/w_logf.c: Likewise.
91349         * math/w_logl.c: Likewise.
91350         * math/w_log10.c: Likewise.
91351         * math/w_log10f.c: Likewise.
91352         * math/w_log10l.c: Likewise.
91353         * math/w_log2.c: Likewise.
91354         * math/w_log2f.c: Likewise.
91355         * math/w_log2l.c: Likewise.
91356         * math/w_pow.c: Likewise.
91357         * math/w_powf.c: Likewise.
91358         * math/w_powl.c: Likewise.
91359         * math/w_remainder.c: Likewise.
91360         * math/w_remainderf.c: Likewise.
91361         * math/w_remainderl.c: Likewise.
91362         * math/w_scalb.c: Likewise.
91363         * math/w_scalbf.c: Likewise.
91364         * math/w_scalbl.c: Likewise.
91365         * math/w_sqrt.c: Likewise.
91366         * math/w_sqrtf.c: Likewise.
91367         * math/w_sqrtl.c: Likewise.
91368         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
91369         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
91370         used.
91371         * math/math_private.h: Declare __kernel_standard_f.
91372         * math/w_cosh.c: Remove cruft and optimize a bit.
91373         * math/w_coshf.c: Likewise.
91374         * math/w_coshl.c: Likewise.
91375         * math/w_exp2.c: Likewise.
91376         * math/w_exp2f.c: Likewise.
91377         * math/w_exp2l.c: Likewise.
91378         * math/w_hypot.c: Likewise.
91379         * math/w_hypotf.c: Likewise.
91380         * math/w_hypotl.c: Likewise.
91381         * math/w_lgamma.c: Likewise.
91382         * math/w_lgamma_r.c: Likewise.
91383         * math/w_lgammaf.c: Likewise.
91384         * math/w_lgammaf_r.c: Likewise.
91385         * math/w_lgammal.c: Likewise.
91386         * math/w_lgammal_r.c: Likewise.
91387         * math/w_sinh.c: Likewise.
91388         * math/w_sinhf.c: Likewise.
91389         * math/w_sinhl.c: Likewise.
91390         * math/w_tgamma.c: Likewise.
91391         * math/w_tgammaf.c: Likewise.
91392         * math/w_tgammal.c: Likewise.
91393         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
91394         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
91395         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
91396         Minor optimizations.  Pretty printing.  Remove cruft.
91397         * sysdeps/i386/fpu/e_acosf.S: Likewise.
91398         * sysdeps/i386/fpu/e_acosh.S: Likewise.
91399         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
91400         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
91401         * sysdeps/i386/fpu/e_acosl.c: Likewise.
91402         * sysdeps/i386/fpu/e_asin.S: Likewise.
91403         * sysdeps/i386/fpu/e_asinf.S: Likewise.
91404         * sysdeps/i386/fpu/e_atan2.S: Likewise.
91405         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
91406         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
91407         * sysdeps/i386/fpu/e_atanh.S: Likewise.
91408         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
91409         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
91410         * sysdeps/i386/fpu/e_exp10.S: Likewise.
91411         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
91412         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
91413         * sysdeps/i386/fpu/e_exp2.S: Likewise.
91414         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
91415         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
91416         * sysdeps/i386/fpu/e_fmod.S: Likewise.
91417         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
91418         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
91419         * sysdeps/i386/fpu/e_hypot.S: Likewise.
91420         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
91421         * sysdeps/i386/fpu/e_log.S: Likewise.
91422         * sysdeps/i386/fpu/e_log10.S: Likewise.
91423         * sysdeps/i386/fpu/e_log10f.S: Likewise.
91424         * sysdeps/i386/fpu/e_log10l.S: Likewise.
91425         * sysdeps/i386/fpu/e_log2.S: Likewise.
91426         * sysdeps/i386/fpu/e_log2f.S: Likewise.
91427         * sysdeps/i386/fpu/e_log2l.S: Likewise.
91428         * sysdeps/i386/fpu/e_logf.S: Likewise.
91429         * sysdeps/i386/fpu/e_logl.S: Likewise.
91430         * sysdeps/i386/fpu/e_pow.S: Likewise.
91431         * sysdeps/i386/fpu/e_powf.S: Likewise.
91432         * sysdeps/i386/fpu/e_powl.S: Likewise.
91433         * sysdeps/i386/fpu/e_remainder.S: Likewise.
91434         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
91435         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
91436         * sysdeps/i386/fpu/e_scalb.S: Likewise.
91437         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
91438         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
91439         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
91440         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
91441         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
91442         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
91443         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
91444         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91445         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
91446         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91447         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
91448         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
91449         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
91450         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
91451         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
91452         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
91453         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
91454         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91455         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
91456         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
91457         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91458         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
91459         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
91460         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
91461         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91462         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
91463         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
91464         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
91465         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
91466         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
91467         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
91468         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91469         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
91470         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
91471         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
91472         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
91473         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
91474         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91475         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
91476         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
91477         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
91478         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
91479         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
91480         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
91481         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
91482         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
91483         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
91484         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
91485         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
91486         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
91487         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
91488         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
91489         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
91490         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
91491         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
91492         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
91493         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
91494         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
91495         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91496         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
91497         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
91498         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
91499         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
91500         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
91501         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
91502         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
91503         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
91504         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
91505         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
91506         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
91507         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
91508         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
91509         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
91510         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
91511         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
91512         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
91513         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
91514         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
91515         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
91516         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
91517         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
91518         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
91519         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
91520         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
91521         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
91522         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
91523         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
91524         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
91525         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
91526         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
91527         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
91528         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91529         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
91530         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
91531         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
91532         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
91533         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
91534         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
91535         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
91536         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
91537         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
91538         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
91539         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
91540         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
91541         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
91542         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
91543         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
91544         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
91545         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
91546         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
91547         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
91548         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
91549         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
91550         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
91551         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
91552         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
91553         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
91554         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
91555         (__isnanf): Likewise.
91556         (__isinf_ns): Likewise.
91557         (__isinf_nsf): Likewise.
91558         (__finite): Likewise.
91559         (__finitef): Likewise.
91560         (__ieee754_sqrt): Define as macro.
91561         (__ieee754_sqrtf): Define as macro.
91562         (__ieee754_sqrtl): Define as macro.
91563         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
91564         inlined copy.
91565         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
91566         __FINITE_MATH_ONLY__ consistent.
91567         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
91569 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
91571         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
91572         of rawmemchr.
91574         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
91576 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
91578         * po/ja.po: Update from translation team.
91580 2011-10-08  Roland McGrath  <roland@hack.frob.com>
91582         * locale/programs/locarchive.c (prepare_address_space): New function.
91583         (create_archive, enlarge_archive, open_archive): Use it.
91585         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
91586         inside [SHARED], where it is used.
91588         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
91590         * nss/getent.c (netgroup_keys): Remove unused variable.
91591         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
91593 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
91595         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
91596         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
91597         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
91598         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
91599         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
91600         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
91601         * math/Makefile (libm-calls): Add s_isinf_ns.
91602         * math/divtc3.c: Use __isinf_nsl instead of isinf.
91603         * math/multc3.c: Likewise.
91604         * math/s_casin.c: Likewise.
91605         * math/s_casinf.c: Likewise.
91606         * math/s_casinl.c: Likewise.
91607         * math/s_ccos.c: Likewise.
91608         * math/s_ccosf.c: Likewise.
91609         * math/s_ccosl.c: Likewise.
91610         * math/s_ctan.c: Likewise.
91611         * math/s_ctanf.c: Likewise.
91612         * math/s_ctanh.c: Likewise.
91613         * math/s_ctanhf.c: Likewise.
91614         * math/s_ctanhl.c: Likewise.
91615         * math/s_ctanl.c: Likewise.
91616         * math/w_fmod.c: Likewise.
91617         * math/w_fmodf.c: Likewise.
91618         * math/w_fmodl.c: Likewise.
91619         * math/w_remainder.c: Likewise.
91620         * math/w_remainderf.c: Likewise.
91621         * math/w_remainderl.c: Likewise.
91622         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
91623         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
91624         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
91625         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
91626         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
91627         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
91628         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
91629         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
91631         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
91632         of the number.
91633         * stdio-common/printf_fphex.c: Likewise.
91634         * stdio-common/printf_size.c: Likewise.
91636         * math/e_exp10.c: Include math_private.h using <...> not "...".
91637         * math/e_exp10f.c: Likewise.
91638         * math/e_exp10l.c: Likewise.
91639         * math/e_exp2l.c: Likewise.
91640         * math/e_j0l.c: Likewise.
91641         * math/e_j1l.c: Likewise.
91642         * math/e_jnl.c: Likewise.
91643         * math/e_lgammal_r.c: Likewise.
91644         * math/e_rem_pio2l.c: Likewise.
91645         * math/e_scalb.c: Likewise.
91646         * math/e_scalbf.c: Likewise.
91647         * math/e_scalbl.c: Likewise.
91648         * math/k_cosl.c: Likewise.
91649         * math/k_sinl.c: Likewise.
91650         * math/k_tanl.c: Likewise.
91651         * math/s_cacoshf.c: Likewise.
91652         * math/s_catan.c: Likewise.
91653         * math/s_catanf.c: Likewise.
91654         * math/s_catanh.c: Likewise.
91655         * math/s_catanhf.c: Likewise.
91656         * math/s_catanhl.c: Likewise.
91657         * math/s_catanl.c: Likewise.
91658         * math/s_ccosh.c: Likewise.
91659         * math/s_ccoshf.c: Likewise.
91660         * math/s_ccoshl.c: Likewise.
91661         * math/s_cexp.c: Likewise.
91662         * math/s_cexpf.c: Likewise.
91663         * math/s_cexpl.c: Likewise.
91664         * math/s_clog.c: Likewise.
91665         * math/s_clog10.c: Likewise.
91666         * math/s_clog10f.c: Likewise.
91667         * math/s_clog10l.c: Likewise.
91668         * math/s_clogf.c: Likewise.
91669         * math/s_clogl.c: Likewise.
91670         * math/s_csin.c: Likewise.
91671         * math/s_csinf.c: Likewise.
91672         * math/s_csinh.c: Likewise.
91673         * math/s_csinhf.c: Likewise.
91674         * math/s_csinhl.c: Likewise.
91675         * math/s_csinl.c: Likewise.
91676         * math/s_csqrt.c: Likewise.
91677         * math/s_csqrtf.c: Likewise.
91678         * math/s_csqrtl.c: Likewise.
91679         * math/s_ctan.c: Likewise.
91680         * math/s_ctanf.c: Likewise.
91681         * math/s_ctanh.c: Likewise.
91682         * math/s_ctanhf.c: Likewise.
91683         * math/s_ctanhl.c: Likewise.
91684         * math/s_ctanl.c: Likewise.
91685         * math/s_ldexp.c: Likewise.
91686         * math/s_ldexpf.c: Likewise.
91687         * math/s_ldexpl.c: Likewise.
91688         * math/s_significand.c: Likewise.
91689         * math/s_significandf.c: Likewise.
91690         * math/s_significandl.c: Likewise.
91691         * math/w_acos.c: Likewise.
91692         * math/w_acosf.c: Likewise.
91693         * math/w_acosh.c: Likewise.
91694         * math/w_acoshf.c: Likewise.
91695         * math/w_acoshl.c: Likewise.
91696         * math/w_acosl.c: Likewise.
91697         * math/w_asin.c: Likewise.
91698         * math/w_asinf.c: Likewise.
91699         * math/w_asinl.c: Likewise.
91700         * math/w_atan2.c: Likewise.
91701         * math/w_atan2f.c: Likewise.
91702         * math/w_atan2l.c: Likewise.
91703         * math/w_atanh.c: Likewise.
91704         * math/w_atanhf.c: Likewise.
91705         * math/w_atanhl.c: Likewise.
91706         * math/w_cosh.c: Likewise.
91707         * math/w_coshf.c: Likewise.
91708         * math/w_coshl.c: Likewise.
91709         * math/w_dremf.c: Likewise.
91710         * math/w_exp10.c: Likewise.
91711         * math/w_exp10f.c: Likewise.
91712         * math/w_exp10l.c: Likewise.
91713         * math/w_exp2.c: Likewise.
91714         * math/w_exp2f.c: Likewise.
91715         * math/w_fmod.c: Likewise.
91716         * math/w_fmodf.c: Likewise.
91717         * math/w_fmodl.c: Likewise.
91718         * math/w_hypot.c: Likewise.
91719         * math/w_hypotf.c: Likewise.
91720         * math/w_hypotl.c: Likewise.
91721         * math/w_j0.c: Likewise.
91722         * math/w_j0f.c: Likewise.
91723         * math/w_j0l.c: Likewise.
91724         * math/w_j1.c: Likewise.
91725         * math/w_j1f.c: Likewise.
91726         * math/w_j1l.c: Likewise.
91727         * math/w_jn.c: Likewise.
91728         * math/w_jnf.c: Likewise.
91729         * math/w_jnl.c: Likewise.
91730         * math/w_lgamma.c: Likewise.
91731         * math/w_lgamma_r.c: Likewise.
91732         * math/w_lgammaf.c: Likewise.
91733         * math/w_lgammaf_r.c: Likewise.
91734         * math/w_lgammal.c: Likewise.
91735         * math/w_lgammal_r.c: Likewise.
91736         * math/w_log.c: Likewise.
91737         * math/w_log10.c: Likewise.
91738         * math/w_log10f.c: Likewise.
91739         * math/w_log10l.c: Likewise.
91740         * math/w_log2.c: Likewise.
91741         * math/w_log2f.c: Likewise.
91742         * math/w_log2l.c: Likewise.
91743         * math/w_logf.c: Likewise.
91744         * math/w_logl.c: Likewise.
91745         * math/w_pow.c: Likewise.
91746         * math/w_powf.c: Likewise.
91747         * math/w_powl.c: Likewise.
91748         * math/w_remainder.c: Likewise.
91749         * math/w_remainderf.c: Likewise.
91750         * math/w_remainderl.c: Likewise.
91751         * math/w_scalb.c: Likewise.
91752         * math/w_scalbf.c: Likewise.
91753         * math/w_scalbl.c: Likewise.
91754         * math/w_sinh.c: Likewise.
91755         * math/w_sinhf.c: Likewise.
91756         * math/w_sinhl.c: Likewise.
91757         * math/w_sqrt.c: Likewise.
91758         * math/w_sqrtf.c: Likewise.
91759         * math/w_sqrtl.c: Likewise.
91760         * math/w_tgamma.c: Likewise.
91761         * math/w_tgammaf.c: Likewise.
91762         * math/w_tgammal.c: Likewise.
91764         * po/ja.po: Update from translation team.
91766 2011-09-29  Andreas Jaeger  <aj@suse.de>
91768         [BZ #13179]
91769         * sunrpc/netname.c (netname2host): Fix logic.
91771         [BZ #6779]
91772         [BZ #6783]
91773         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
91774         correctly.
91775         * math/w_remainder.c (__remainder): Likewise.
91776         * math/w_remainderf.c (__remainderf): Likewise.
91777         * math/libm-test.inc (remainder_test): Add test cases.
91779 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91781         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
91782         sdiv_qrnnd.
91784 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
91786         * string/test-memcmp.c: Avoid unncessary #defines.
91787         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91789 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91791         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
91792         Use new sse2 version for core i3 - i7 as it's faster
91793         than sse42 version.
91794         (bit_Prefer_PMINUB_for_stringop): New.
91795         * sysdeps/x86_64/rawmemchr.S: Update.
91796         Replace with faster SSE2 version.
91797         * sysdeps/x86_64/memrchr.S: New file.
91798         * sysdeps/x86_64/memchr.S: Update.
91799         Replace with faster SSE2 version.
91801 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
91803         * elf/dl-load.c (lose): Add cast to avoid warning.
91805 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
91807         * po/ca.po: Update from translation team.
91809         * inet/getnetgrent_r.c: Hook up nscd.
91810         * nscd/Makefile (routines): Add nscd_netgroup.
91811         (nscd-modules): Add netgroupcache.
91812         (CFLAGS-netgroupcache.c): Define.
91813         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
91814         (cache_search): Add const to second parameter.
91815         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
91816         INNETGR.
91817         (dbs): Add netgrdb entry.
91818         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
91819         (verify_persistent_db): Handle netgrdb.
91820         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
91821         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
91822         GETFDNETGR.
91823         (netgroup_response_header): Define.
91824         (innetgroup_response_header): Define.
91825         (datahead): Add netgroup_response_header and innetgroup_response_header
91826         elements.
91827         * nscd/nscd.conf: Add entries for netgroup cache.
91828         * nscd/nscd.h (dbtype): Add netgrdb.
91829         (_PATH_NSCD_NETGROUP_DB): Define.
91830         (netgroup_iov_disabled): Declare.
91831         (xmalloc, xcalloc, xrealloc): Move declarations here.
91832         (cache_search): Adjust prototype.
91833         Add netgroup-related prototypes.
91834         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
91835         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
91836         (__nscd_innetgr): Declare.
91837         * nscd/selinux.c (perms): Use access_vector_t as element type and
91838         add netgroup-related initializers.
91839         * nscd/netgroupcache.c: New file.
91840         * nscd/nscd_netgroup.c: New file.
91841         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
91842         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
91843         For four parameters use innetgr.
91844         * nss/nss_files/files-init.c: Add definition and callback for netgr.
91845         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
91846         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
91847         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
91849         * nscd/connections.c (register_traced_file): Don't register file
91850         for disabled databases.
91852 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
91854         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
91856         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
91857         from tree and freeing node.
91859 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
91861         * nss/nsswitch.c (__nss_database_lookup): Handle
91862         nss_parse_service_list out of memory case.
91864 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
91866         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
91867         out of memory case.
91869 2011-10-04  Andreas Schwab  <schwab@redhat.com>
91871         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
91872         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
91873         pass it down.
91874         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
91875         elf_machine_rela, elf_machine_lazy_rel.
91876         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
91877         (ELF_DYNAMIC_DO_REL): Likewise.
91878         (ELF_DYNAMIC_DO_RELA): Likewise.
91879         (ELF_DYNAMIC_RELOCATE): Likewise.
91880         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
91881         to ELF_DYNAMIC_DO_REL.
91882         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
91883         (dl_main): In trace mode always set __RTLD_NOIFUNC.
91884         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
91885         elf_machine_rela.
91886         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
91887         skip_ifunc, don't call ifunc function if non-zero.
91888         (elf_machine_rela): Likewise.
91889         (elf_machine_lazy_rel): Likewise.
91890         (elf_machine_lazy_rela): Likewise.
91891         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
91892         (elf_machine_lazy_rel): Likewise.
91893         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
91894         Likewise.
91895         (elf_machine_lazy_rel): Likewise.
91896         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91897         Likewise.
91898         (elf_machine_lazy_rel): Likewise.
91899         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
91900         (elf_machine_lazy_rel): Likewise.
91901         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
91902         (elf_machine_lazy_rel): Likewise.
91903         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
91904         (elf_machine_lazy_rel): Likewise.
91905         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
91906         (elf_machine_lazy_rel): Likewise.
91907         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
91908         (elf_machine_lazy_rel): Likewise.
91909         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
91910         (elf_machine_lazy_rel): Likewise.
91912 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
91914         * nss/nss_files/files-init.c (_nss_files_init): Use static
91915         initialization for all the *_traced_file variables.
91917 2011-09-28  Andreas Schwab  <schwab@redhat.com>
91919         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91921 2011-09-27  Roland McGrath  <roland@hack.frob.com>
91923         [BZ #13226]
91924         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
91926 2011-09-27  Andreas Schwab  <schwab@redhat.com>
91928         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
91929         Reread the line before reparsing it.
91931 2011-09-26  Andreas Schwab  <schwab@redhat.com>
91933         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
91935 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
91936             Maxim Kuvyrkov  <maxim@codesourcery.com>
91937             Joseph Myers  <joseph@codesourcery.com>
91939         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
91940         if needed for __stack_chk_guard.
91942 2011-09-19  Roland McGrath  <roland@hack.frob.com>
91944         * sysdeps/posix/spawni.c (script_execute): Always define it.
91945         It will be optimized away if unused.
91946         (maybe_script_execute): New function.
91947         (__spawni): Call it.
91949         * Makerules: Don't include tls.make.
91950         (config-tls): Always set to thread.
91951         * tls.make.c: File removed.
91953 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
91955         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
91956         * config.make.in (CPPFLAGS-config): New substituted variable.
91958 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
91960         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
91962         [BZ #13192]
91963         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
91964         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
91966 2011-09-15  Roland McGrath  <roland@hack.frob.com>
91968         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
91969         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
91970         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91971         (CALL_FAIL): Likewise.
91972         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
91973         (CALL_FAIL): Macro removed.
91974         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
91976 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
91978         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
91979         for __FINITE_MATH_ONLY__ == 1.
91981 2011-09-15  Andreas Schwab  <schwab@redhat.com>
91983         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
91984         __ieee754_sqrt instead of sqrt.
91985         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
91986         __ieee754_sqrtf instead of sqrtf.
91987         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
91988         __floorf instead of floorf.
91989         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
91990         __floorf, __truncf instead of floorf, truncf.
91992 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
91994         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
91996         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
91997         __extern_always_inline.
91998         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
91999         32-bit.
92001 2011-09-14  Andreas Schwab  <schwab@redhat.com>
92003         * elf/rtld.c (dl_main): Also relocate in dependency order when
92004         doing symbol dependency testing.
92006 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
92008         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
92009         Always define `refsym'.
92011 2011-09-13  Andreas Schwab  <schwab@redhat.com>
92013         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
92014         (__FD_ELT): Renamed from __FDELT.
92015         * misc/bits/select2.h (__FD_ELT): Likewise.
92016         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
92017         __FD_MASK instead of __FDELT, __FDMASK.
92018         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
92019         Likewise.
92020         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
92021         Likewise.
92023         * elf/Makefile (gen-ldd): Fix pattern.
92025         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
92026         (init_tls): Likewise.
92028 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
92030         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
92032 2011-09-12  Andreas Schwab  <schwab@redhat.com>
92034         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
92035         `struct cmsghdr *' instead of `void *'.
92036         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
92037         Likewise.
92039 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
92041         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
92042         if non-absolute.
92043         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
92044         ldd_rewrite_script.
92046 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
92048         * configure.in: Remove --with-tls option.
92049         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
92050         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
92051         out in case it is missing.
92052         * sysdeps/ia64/elf/configure.in: Likewise.
92053         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
92054         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
92055         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
92056         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
92057         * sysdeps/sh/elf/configure.in: Likewise.
92058         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
92059         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
92060         * sysdeps/x86_64/elf/configure.in: Likewise.
92061         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
92062         * sysdeps/mach/hurd/tls.h: Likewise.
92064         [BZ #13067]
92065         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
92067         [BZ #13090]
92068         * configure.in: Fix use of AC_INIT.
92070         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
92072 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
92074         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
92075         __set_errno.
92076         * malloc/hooks.c: Likewise.
92078         [BZ #11929]
92079         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
92080         variables statically.
92081         (narenas): Initialize.
92082         (list_lock): Initialize.
92083         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
92084         initializtion of main_arena and list_lock.  Small cleanups.
92085         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
92086         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
92087         Add initializers to main_arena and mp_.
92088         (malloc_state): Remove pagesize member.  Change all users to use
92089         GLRO(dl_pagesize).
92091         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
92092         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
92093         is always initialized.
92095         * malloc/malloc.c: Removed unused configurations and dead code.
92096         * malloc/arena.c: Likewise.
92097         * malloc/hooks.c: Likewise.
92098         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
92100         * include/tls.h: Removed.  USE___THREAD must always be defined.
92101         * bits/libc-tsd.h: Don't handle !USE___THREAD.
92102         * elf/dl-libc.c: Likewise.
92103         * elf/dl-tsd.c: Likewise.
92104         * include/errno.h: Likewise.
92105         * include/netdb.h: Likewise.
92106         * include/resolv.h: Likewise.
92107         * inet/herrno-loc.c: Likewise.
92108         * inet/herrno.c: Likewise.
92109         * malloc/arena.c: Likewise.
92110         * malloc/hooks.c: Likewise.
92111         * malloc/malloc.c: Likewise.
92112         * resolv/res-state.c: Likewise.
92113         * resolv/res_libc.c: Likewise.
92114         * sysdeps/i386/dl-machine.h: Likewise.
92115         * sysdeps/ia64/dl-machine.h: Likewise.
92116         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
92117         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
92118         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
92119         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
92120         * sysdeps/sh/dl-machine.h: Likewise.
92121         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
92122         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
92123         * sysdeps/unix/i386/sysdep.S: Likewise.
92124         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
92125         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
92126         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
92127         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
92128         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
92129         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
92130         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
92131         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
92132         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
92133         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
92134         * sysdeps/unix/x86_64/sysdep.S: Likewise.
92135         * sysdeps/x86_64/dl-machine.h: Likewise.
92136         * tls.make.c: Likewise.
92138         * configure.in: Remove --with-__thread option.  Make tests for
92139         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
92140         tls_model attribute fail if no support is available.  Remove
92141         USE_IN_LIBIO.
92142         * Makeconfig: Adjust for dropped configure option.  All features are
92143         now mandatory.
92144         * Makerules: Likewise.
92145         * Versions.def: Likewise.
92146         * argp/argp-fmtstream.c: Likewise.
92147         * argp/argp-fmtstream.h: Likewise.
92148         * argp/argp-help.c: Likewise.
92149         * assert/assert.c: Likewise.
92150         * config.h.in: Likewise.
92151         * config.make.in: Likewise.
92152         * configure: Likewise.
92153         * configure.in: Likewise.
92154         * csu/Versions: Likewise.
92155         * csu/init.c: Likewise.
92156         * elf/tst-audit2.c: Likewise.
92157         * elf/tst-tls10.c: Likewise.
92158         * elf/tst-tls10.h: Likewise.
92159         * elf/tst-tls11.c: Likewise.
92160         * elf/tst-tls12.c: Likewise.
92161         * elf/tst-tls14.c: Likewise.
92162         * elf/tst-tlsmod11.c: Likewise.
92163         * elf/tst-tlsmod12.c: Likewise.
92164         * elf/tst-tlsmod13.c: Likewise.
92165         * elf/tst-tlsmod13a.c: Likewise.
92166         * elf/tst-tlsmod14a.c: Likewise.
92167         * elf/tst-tlsmod15b.c: Likewise.
92168         * elf/tst-tlsmod16a.c: Likewise.
92169         * elf/tst-tlsmod16b.c: Likewise.
92170         * elf/tst-tlsmod7.c: Likewise.
92171         * elf/tst-tlsmod8.c: Likewise.
92172         * elf/tst-tlsmod9.c: Likewise.
92173         * gmon/gmon.c: Likewise.
92174         * grp/fgetgrent_r.c: Likewise.
92175         * grp/putgrent.c: Likewise.
92176         * hurd/fopenport.c: Likewise.
92177         * include/libc-symbols.h: Likewise.
92178         * include/tls.h: Likewise.
92179         * intl/gettextP.h: Likewise.
92180         * intl/loadinfo.h: Likewise.
92181         * locale/global-locale.c: Likewise.
92182         * locale/localeinfo.h: Likewise.
92183         * mach/devstream.c: Likewise.
92184         * malloc/arena.c: Likewise.
92185         * malloc/set-freeres.c: Likewise.
92186         * misc/err.c: Likewise.
92187         * misc/getttyent.c: Likewise.
92188         * misc/mntent_r.c: Likewise.
92189         * posix/getopt.c: Likewise.
92190         * posix/wordexp.c: Likewise.
92191         * pwd/fgetpwent_r.c: Likewise.
92192         * resolv/Versions: Likewise.
92193         * resolv/res_hconf.c: Likewise.
92194         * shadow/fgetspent_r.c: Likewise.
92195         * shadow/putspent.c: Likewise.
92196         * stdio-common/printf_fphex.c: Likewise.
92197         * stdio-common/tmpfile.c: Likewise.
92198         * stdlib/abort.c: Likewise.
92199         * stdlib/fmtmsg.c: Likewise.
92200         * sunrpc/auth_unix.c: Likewise.
92201         * sunrpc/clnt_perr.c: Likewise.
92202         * sunrpc/clnt_tcp.c: Likewise.
92203         * sunrpc/clnt_udp.c: Likewise.
92204         * sunrpc/clnt_unix.c: Likewise.
92205         * sunrpc/openchild.c: Likewise.
92206         * sunrpc/svc_simple.c: Likewise.
92207         * sunrpc/svc_tcp.c: Likewise.
92208         * sunrpc/svc_udp.c: Likewise.
92209         * sunrpc/svc_unix.c: Likewise.
92210         * sunrpc/xdr.c: Likewise.
92211         * sunrpc/xdr_array.c: Likewise.
92212         * sunrpc/xdr_rec.c: Likewise.
92213         * sunrpc/xdr_ref.c: Likewise.
92214         * sunrpc/xdr_stdio.c: Likewise.
92216 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
92218         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
92220 2011-07-03  Andreas Jaeger  <aj@suse.de>
92222         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
92223         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
92224         regenerate with gen-libm-tests.pl.
92226 2010-05-12  Petr Baudis  <pasky@suse.cz>
92228         [BZ #11589]
92229         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
92230         around j0() zero points by switching to j1().
92231         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
92232         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
92233         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
92234         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
92236 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
92238         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
92239         instead of 0.
92240         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
92241         instead of 0.
92242         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
92243         Patch in part by Pavel Roskin <proski@gnu.org>.
92245         [BZ #13138]
92246         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
92247         realloc.
92248         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
92249         Free memory block if necessary.
92251         [BZ #12847]
92252         * libio/genops.c (INTDEF): For string streams the _lock pointer can
92253         be NULL.  Don't lock in this case.
92255 2011-09-09  Roland McGrath  <roland@hack.frob.com>
92257         * elf/elf.h (ELFOSABI_GNU): New macro.
92258         (ELFOSABI_LINUX): Define to that.
92260 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
92262         * string/strncat.c (strncat): Undef the symbol in case it has been
92263         defined in bits/string.h.
92265 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
92267         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
92269         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
92270         link map.
92272 2011-08-17  Andreas Jaeger  <aj@suse.de>
92274         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
92276 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
92277             Ian Lance Taylor  <iant@google.com>
92279         * math/libm-test.inc (lround_test): New testcase.
92280         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
92282 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
92284         * Makefile: Remove support for automatic cvs check-ins.
92285         * Makerules: Likewise.
92286         * config.make.in: Likewise.
92287         * configure.in: Likewise.
92288         * intl/Makefile: Likewise.
92289         * locale/Makefile: Likewise.
92290         * po/Makefile: Likewise.
92291         * posix/Makefile: Likewise.
92292         * sysdeps/gnu/Makefile: Likewise.
92293         * sysdeps/mach/hurd/Makefile: Likewise.
92294         * sysdeps/sparc/sparc32/Makefile: Likewise.
92296         [BZ #13118]
92297         * posix/Makefile (bug-regex32-ENV): Define.
92298         Patch by John Stanley <jpsinthemix@verizon.net>.
92300         * misc/Makefile (headers): Add bits/select2.h.
92301         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
92302         * misc/bits/select2.h: New file.
92303         * include/bits/select2.h: New file.
92304         * debug/Makefile (routines): Add fdelt_chk.
92305         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
92306         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
92307         FD_ISSET.
92308         * debug/fdelt_chk.c: New file.
92310         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
92311         * wcsmbs/test-wmemcmp.c: Likewise.
92312         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
92313         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
92315 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92317         * string/Makefile (strop-tests): Add memcmp.
92318         * string/test-wmemcmp.c: New file.
92319         * string/test-memcmp.c: Add wmemcmp support.
92321 2011-09-08  Roland McGrath  <roland@hack.frob.com>
92323         [BZ #13153]
92324         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
92325         2011-07-19 change.
92327         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
92328         garbage value in a __mach_port_mod_refs call in the cases of the
92329         task-self and thread-self ports.
92331 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92333         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
92335 2011-09-08  Andreas Schwab  <schwab@redhat.com>
92337         * elf/dl-load.c (lose): Check for non-null L.
92339 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
92341         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
92343         * elf/dl-libc.c (dlerror_run): Pass back error code from
92344         dl_catch_error.
92346         [BZ #13123]
92347         * elf/dl-load.c (lose): Free l_origin if it is valid.
92349         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
92350         names.
92351         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
92352         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92353         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92354         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92355         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
92356         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
92358 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
92360         * sysdeps/powerpc/fpu/e_hypot.c: New file.
92361         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
92362         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
92363         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
92364         * sysdeps/powerpc/fpu/k_cosf.c: New file.
92365         * sysdeps/powerpc/fpu/k_sinf.c: New file.
92366         * sysdeps/powerpc/fpu/s_cosf.c: New file.
92367         * sysdeps/powerpc/fpu/s_sinf.c: New file.
92368         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
92369         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
92371 2011-08-15  Alan Modra  <amodra@gmail.com>
92373         [BZ #13092]
92374         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
92375         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
92376         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
92377         ppc_mcount to static-only-routines.
92378         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
92379         __mcount_internal.
92380         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
92381         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
92383 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
92385         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
92386         for finite and infinity parameters.
92388 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
92390         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
92391         and add nop instructions for throughput optimization.
92392         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92394 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
92396         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
92397         aligned copy for power7 with vector-scalar instructions.
92398         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
92400 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
92402         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
92403         AVX check.
92405 2011-09-07  Andreas Schwab  <schwab@redhat.com>
92407         [BZ #13144]
92408         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
92409         last change.
92411 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
92413         * sysdeps/unix/sysv/linux/x86_64/init-first.c
92414         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
92415         syscall wrapper around clock_gettime in __vdso_clock_gettime.
92416         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
92417         clock_gettime.
92419 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
92421         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
92422         Forgot to demangle the pointer.
92424         * sysdeps/i386/sysdep.h: Define atom_text_section.
92425         * sysdeps/x86_64/sysdep.h: Likewise.
92426         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
92427         section with atom_text_section.
92428         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92429         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92430         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
92431         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92432         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
92434         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
92435         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
92436         already be defined.  Change to take two parameters and don't assign
92437         result to variable.  Adjust all users.
92438         Define INTERNAL_GETTIME if not already defined.
92439         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
92440         call.
92441         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
92442         HAVE_CLOCK_GETTIME_VSYSCALL.
92443         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
92445         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
92446         gettimeofday vsyscall, just use time.
92448 2011-09-06  Andreas Schwab  <schwab@redhat.com>
92450         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
92451         <errno.h>.
92453 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
92455         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
92456         syscall on x86-64.
92457         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
92458         syscall.
92459         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
92460         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
92461         syscall if possible.
92463 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92465         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
92466         e_ident.  Don't pass to find_mapsXX.
92467         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
92469 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92471         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92472         strchr-sse2-no-bsf strrchr-sse2-no-bsf
92473         * sysdeps/x86_64/multiarch/strchr.S: Update.
92474         Check bit_slow_BSF bit.
92475         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
92476         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
92477         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
92479 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92481         [BZ #13134]
92482         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
92483         before glibc 2.15.
92484         (tryshell): Define.
92485         (__spawni): Change last parameter to be flag.  Test
92486         SPAWN_XFLAGS_USE_PATH flag to use path or not.
92487         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
92488         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
92489         * posix/spawni.c: Likewise.
92490         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
92491         * posix/spawnp.c: Likewise.  Change normal version to use
92492         SPAWN_XFLAGS_USE_PATH.
92493         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
92494         SPAWN_XFLAGS_TRY_SHELL.
92496         [BZ #13150]
92497         * posix/glob.h: Remove gcc 1.x support.
92499         [BZ #13068]
92500         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
92502 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92504         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92505         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
92506         strrchr-sse2-bsf
92507         * sysdeps/i386/i686/multiarch/strchr.S: New file.
92508         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
92509         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
92510         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
92511         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
92512         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
92514 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92516         * sysdeps/x86_64/wcscmp.S: New file.
92518         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
92519         wcscmp-c wcscmp-sse2
92520         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
92521         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
92522         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
92523         * wcsmbs/wcscmp.c: Allow renaming.
92525 2011-09-05  David S. Miller  <davem@davemloft.net>
92527         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
92528         stack slot, rather than the struct return pointer slot.
92529         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
92530         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
92531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
92532         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
92534 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92536         * po/ja.po: Update from translation team.
92538         [BZ #13144]
92539         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
92540         kernel in 64-bit binaries.
92542 2011-09-01  David S. Miller  <davem@davemloft.net>
92544         * elf/elf.h (HWCAP_SPARC_*): Move to..
92545         * sysdeps/sparc/sysdep.h: this new file and add new values.
92546         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
92547         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
92548         _DL_HWCAP_COUNT to 24.
92549         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
92550         entries.
92551         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
92552         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
92553         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
92554         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
92555         instead of magic constants.
92556         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
92558 2011-08-31  David S. Miller  <davem@davemloft.net>
92560         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
92561         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
92562         Reimplement to do errno handling inline.
92563         (SYSCALL_ERROR_HANDLER): New macro.
92564         (__SYSCALL_STRING): Do not do errno handling in asm.
92565         (__CLONE_SYSCALL_STRING): Delete.
92566         (__INTERNAL_SYSCALL_STRING): Delete.
92567         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
92568         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
92569         (PSEUDO): Reimplement to do errno handling inline.
92570         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
92571         (SYSCALL_ERROR_HANDLER): New macro.
92572         (__SYSCALL_STRING): Do not do errno handling in asm.
92573         (__CLONE_SYSCALL_STRING): Delete.
92574         (__INTERNAL_SYSCALL_STRING): Delete.
92575         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
92576         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
92577         i386.
92578         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
92579         (inline_syscall*): Add 'err' argument.
92580         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
92581         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
92582         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
92583         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
92585         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
92586         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
92588 2011-08-30  Andreas Schwab  <schwab@redhat.com>
92590         * elf/rtld.c (dl_main): Relocate objects in dependency order.
92592 2011-08-29  Jiri Olsa <jolsa@redhat.com>
92594         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
92595         directive.
92597 2011-08-24  David S. Miller  <davem@davemloft.net>
92599         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
92601 2011-08-24  Andreas Schwab  <schwab@redhat.com>
92603         * elf/Makefile: Add rules to build and run unload8 test.
92604         * elf/unload8.c: New file.
92605         * elf/unload8mod1.c: New file.
92606         * elf/unload8mod1x.c: New file.
92607         * elf/unload8mod2.c: New file.
92608         * elf/unload8mod3.c: New file.
92610         * elf/dl-close.c (_dl_close_worker): Reset private search list if
92611         it wasn't used.
92613 2011-08-23  David S. Miller  <davem@davemloft.net>
92615         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
92616         subtract stack bias.
92617         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
92618         %sp not %fp in calculations.
92619         (_JMPBUF_UNWINDS_ADJ): Likewise.
92621         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
92622         (aio_suspend): Call it to force an exception region around the
92623         AIO_MISC_WAIT() invocation.
92625 2011-08-23  Andreas Schwab  <schwab@redhat.com>
92627         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
92628         backslash.
92630 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
92632         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
92633         protection macro.
92634         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
92635         and <dl-machine.h>.
92636         (Elf64_FuncDesc): Remove.
92638 2011-08-22  David S. Miller  <davem@davemloft.net>
92640         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
92641         sigaltstack check, add missing cfi directives.
92642         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
92643         missing cfi directives, and sigaltstack handling.
92645 2011-08-16  Andreas Schwab  <schwab@redhat.com>
92647         [BZ #11724]
92648         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
92649         object is seen twice.
92650         * elf/dl-fini.c (_dl_sort_fini): Likewise.
92652         * elf/Makefile (distribute): Add tst-initorder2.c.
92653         (tests): Add tst-initorder2.
92654         (modules-names): Add tst-initorder2a tst-initorder2b
92655         tst-initorder2c tst-initorder2d.  Add rules to build them.
92656         ($(objpfx)tst-initorder2.out): New rule.
92657         * elf/tst-initorder2.c: New file.
92658         * elf/tst-initorder2.exp: New file.
92660 2011-08-22  Andreas Schwab  <schwab@redhat.com>
92662         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
92664         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
92665         dependencies back to end of function.
92667         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92668         $(elfobjdir)/ld.so.
92670 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
92672         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
92673         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
92674         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
92675         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
92676         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
92677         of __vdso_gettimeofday.
92678         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
92679         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
92680         attribute_hidden.
92681         (_libc_vdso_platform_setup): Remove initialization of
92682         __vdso_gettimeofday and __vdso_time.
92684 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
92686         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
92687         and fgetc_unlocked.
92688         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
92689         getc_unlocked.
92691         * elf/dl-open.c (add_to_global): Report additions to the global scope
92692         for LD_DEBUG=scopes.
92693         (dl_open_worker): Also print scope of newly loaded dependencies.
92694         (_dl_show_scope): Indicate if there is no scope.
92696         [BZ #13114]
92697         * stdio-common/Makefile (tests): Add bug24.
92698         * stdio-common/bug24.c: New file.
92700 2011-08-19  Andreas Jaeger  <aj@suse.de>
92702         [BZ #13114]
92703         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
92704         non-existant file when using close-on-exec mode.
92706 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
92708         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
92709         the very first instruction.
92711         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
92712         the CFI state in the end.
92713         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
92714         inclusion of dl-trampoline.h.
92715         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
92717 2011-08-19  Andreas Schwab  <schwab@redhat.com>
92719         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
92720         expectations for long double.
92722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
92723         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
92725 2011-08-14  David S. Miller  <davem@davemloft.net>
92727         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
92728         artificual limit depends upon the system page size.
92730 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
92732         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
92733         * resolv/Makefile: Define CFLAGS-libresolv.
92735 2011-08-17  Andreas Schwab  <schwab@redhat.com>
92737         * nss/makedb.c (compute_tables): Make variables used in nested
92738         function static.
92740 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
92742         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
92743         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
92744         if buffer was too small.
92746         * elf/pldd.c (main): Attach to all threads in the process.
92747         Rewrite /proc handling to use *at functions.
92749 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
92751         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
92752         specifies first scope to show.
92753         (dl_open_worker): Update callers.  Move printing scope of new
92754         object to before the relocation.
92755         * elf/rtld.c (dl_main): Update _dl_show_scope call.
92756         * sysdeps/generic/ldsodefs.h: Update declaration.
92758         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
92759         string for the scope number.
92761 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
92763         * nscd/servicescache.c (cache_addserv): Make sure written is always
92764         initialized.
92766 2011-08-14  Roland McGrath  <roland@hack.frob.com>
92768         * sysdeps/i386/i486/bits/atomic.h
92769         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
92770         statement expression, so as to suppress "set but not used" warning.
92771         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
92773         * string/strncat.c (STRNCAT): Use prototype definition.
92775         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
92776         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
92777         -Iprograms here.
92778         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
92779         (localedef-modules): Add localedef.
92780         (locale-modules): Add locale.
92782         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
92783         * elf/rtld.c (dl_main): Invert order of assignment in last change,
92784         to avoid a warning.
92786 2011-08-14  David S. Miller  <davem@davemloft.net>
92788         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
92789         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
92791 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
92793         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
92794         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
92795         * elf/rtld.c (dl_main): Set l_name of vDSO.
92796         Call _dl_show_scope when DL_DEBUG_SCOPES.
92797         (process_dl_debug): Recognize scopes flag and also set it for all.
92798         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
92799         Declare _dl_show_scope.
92801         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
92802         (do_dlopen): Pass caller_dlopen to dl_open.
92803         (__libc_dlopen_mode): Initialize caller_dlopen.
92805         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
92806         of libc.  Make tolower call locale-independent.  Optimize a bit by
92807         using isdigit instead of isalnum.
92808         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
92810 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
92812         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
92813         was a dependency or dynamically loaded.
92815 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
92817         * intl/l10nflist.c: Allow architecture-specific pop function.
92818         * sysdeps/x86_64/l10nflist.c: New file.
92820         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
92821         classification.
92823 2011-08-10  Andreas Schwab  <schwab@redhat.com>
92825         * include/dirent.h: Add libc_hidden_proto for scandirat and
92826         scandirat64.  Don't declare __scandirat64.
92827         * dirent/scandirat.c: Add libc_hidden_def.
92828         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
92829         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
92831 2011-08-10  David S. Miller  <davem@davemloft.net>
92833         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
92834         enum.
92835         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92836         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92837         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92839 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
92841         * Versions.def [libc]: Add GLIBC_2.15.
92842         * dirent/Makefile (routines): Add scandirat and scandirat64.
92843         * dirent/Versions [libc]: Export scandirat and scandirat64 for
92844         GLIBC_2.15.
92845         * dirent/dirent.h: Declare scandirat and scandirat64.
92846         * dirent/scandirat.c: New file.
92847         * dirent/scandirat64.c: New file.
92848         * sysdeps/wordsize-64/scandirat.c: New file.
92849         * sysdeps/wordsize-64/scandirat64.c: New file.
92850         * dirent/opendir.c: Define opendirat.
92851         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
92852         using scandirat.
92853         * dirent/scandir64.c: Adjust for scandir.c change.
92854         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
92855         __scandirat64, and __scandir_cancel_handler.
92856         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
92857         additional parameter and use openat instead of open (outside of ld.so).
92858         Add new __opendir as wrapper around __opendirat.
92859         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
92860         here without requiring old scandirat implementation.
92862 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
92864         * dirent/scandir.c (cancel_handler): Renamed to
92865         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
92866         defined.  Adjust users.
92867         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
92868         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
92870 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
92872         * string/test-string.h (IMPL): Use __STRING to expand name and then
92873         stringify it.
92875         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
92876         of cleanups.
92878 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92880         * string/Makefile: Update.
92881         (strop-tests): Append strncat.
92882         * string/test-wcscmp.c: New file.
92883         New comprehensive test for wcscmp.
92884         * string/test-strcmp.c: Update.
92885         (WIDE): New define.
92887 2011-07-22  Andreas Schwab  <schwab@redhat.com>
92889         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
92890         line.
92892 2011-07-26  Andreas Schwab  <schwab@redhat.com>
92894         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
92895         encoding to ACE if AI_IDN.
92897 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
92899         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
92900         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
92902 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92904         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
92905         Fix overflow bug in strncat.
92906         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
92908         * string/test-strncat.c: Update.
92909         Add new tests for checking overflow bugs.
92911 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92913         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92914         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
92915         * sysdeps/i386/i686/multiarch/strcat.S: New file.
92916         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
92917         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
92918         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
92919         * sysdeps/i386/i686/multiarch/strncat.S: New file.
92920         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
92921         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
92923         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
92924         (USE_AS_STRCAT): Define.
92925         Add strcat and strncat support.
92926         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92928 2011-07-25  Andreas Schwab  <schwab@redhat.com>
92930         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
92931         __n bigger than INT_MAX+1.
92932         (__strncmp_g): Likewise.
92934 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
92936         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
92937         * libio/stido.h: Likewise.
92939         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
92940         (AF_NFC): Define.
92941         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
92942         (AF_NFC): Define.
92944         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
92945         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92946         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92947         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
92948         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92950         [BZ #13021]
92951         * scripts/test-installation.pl: Don't expect libnss_test1 to be
92952         installed.
92954         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
92955         typo.
92956         (_dl_x86_64_save_sse): Likewise.
92958 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
92960         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
92961         OSXSAVE.
92962         (_dl_x86_64_save_sse): Likewise.
92964         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
92966         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
92968 2011-07-21  Andreas Schwab  <schwab@redhat.com>
92970         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
92971         change.
92972         (_dl_x86_64_save_sse): Use correct AVX check.
92974 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92976         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
92977         bug in strncpy/strncat.
92978         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
92980 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
92982         * string/tester.c (test_strcat): Add tests for different alignments
92983         of source and destination.
92984         (test_strncat): Likewise.
92986 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
92988         [BZ #12852]
92989         * posix/glob.c (glob): Check passed in values before using them in
92990         expressions to avoid some overflows.
92991         (glob_in_dir): Likewise.
92993         [BZ #13007]
92994         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
92995         check for AVX enablement so that we don't crash with old kernels and
92996         new hardware.
92997         * elf/tst-audit4.c: Add same checks here.
92998         * elf/tst-audit6.c: Likewise.
93000         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
93002 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
93004         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
93006 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
93008         * po/cs.po: Update from translation team.
93009         * po/bg.po: Likewise.
93011 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
93013         * misc/sys/cdefs.h: Add support for const attribute.
93014         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
93015         to gnu_dev_{major,minor,makedev} functions.
93017 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
93019         * intl/dcigettext.c (get_output_charset): Add missing bracket.
93021 2011-07-20  Andreas Schwab  <schwab@redhat.com>
93023         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
93024         strlen results.
93026 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93028         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
93029         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
93030         register in order to avoid conflicts with the soft frame pointer
93031         being held in r11 when necessary.
93032         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
93033         (INTERNAL_VSYSCALL_NCS): Likewise.
93035 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
93037         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
93038         * elf/dl-fini.c (_dl_fini): Adjust caller.
93039         * elf/dl-close.c (_dl_close_worker): Likewise.
93040         * sysdeps/generic/ldsodefs.h: Adjust declaration.
93042 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
93044         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
93045         "aux_cache->nlibs < 0".
93047         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
93048         in the reload-count case.
93050 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
93052         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93053         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
93054         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
93055         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
93056         * sysdeps/x86_64/multiarch/strcat.S: New file.
93057         * sysdeps/x86_64/multiarch/strncat.S: New file.
93058         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
93059         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
93060         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
93061         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
93062         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
93063         (USE_AS_STRCAT): Define.
93064         Add strcat and strncat support.
93065         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
93066         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
93067         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
93068         * string/strncat.c: Update.
93069         (USE_AS_STRNCAT): Define.
93070         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93071         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
93072         and i7.
93073         * sysdeps/x86_64/multiarch/init-arch.h
93074         (bit_Prefer_PMINUB_for_stringop): New.
93075         (index_Prefer_PMINUB_for_stringop): Likewise.
93076         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
93077         bit_Prefer_PMINUB_for_stringop.
93079 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
93081         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
93082         buffer64.
93083         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
93084         of casting of buffer.
93085         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
93086         buffer32 and buffer64.
93087         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
93088         writes instead of casting of buffer.
93089         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
93090         buffer32.
93091         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
93092         casting of buffer.
93094 2011-07-19  Andreas Schwab  <schwab@redhat.com>
93096         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
93098 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
93100         * nscd/nscd.c (termination_handler): Don't do anything for a database
93101         if it has not yet been initialized.
93103 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
93105         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
93107 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
93109         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
93111 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
93113         * po/nl.po: Update from translation team.
93114         * po/sv.po: Likewise.
93116 2011-07-16  Roland McGrath  <roland@hack.frob.com>
93118         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
93119         now disallowed by GCC.
93121         * configure.in (use-default-link): Default to yes if a test -shared
93122         link meets our qualifications.
93123         * configure: Regenerated.
93125         * config.make.in (output-format): New variable.
93126         * configure.in: Check for ld --print-output-format support.
93127         * configure: Regenerated.
93128         * Makerules ($(common-objpfx)format.lds)
93129         [$(output-format) != unknown]: Just use $(output-format),
93130         instead of the linker-script munging.
93132 2011-07-14  Roland McGrath  <roland@hack.frob.com>
93134         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
93135         of $(common-objpfx)shlib.lds.
93136         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
93138         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
93139         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
93141         * configure.in (-z relro check): Adjust test code to add a large
93142         writable data section after it.
93143         * configure: Regenerated.
93145 2011-07-11  Roland McGrath  <roland@hack.frob.com>
93147         * configure.in (-z relro check): Fix test code to make the variable
93148         truly const.
93149         * configure: Regenerated.
93151 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
93153         * nscd/nscd.h (struct traced_file): Define.
93154         (struct database_dyn): Remove inotify_descr, reset_res, and filename
93155         elements.  Add traced_files.
93156         (inotify_fd): Declare.
93157         (register_traced_file): Declare.
93158         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
93159         (inotify_fd): Export.
93160         (resolv_conf_descr): Remove.
93161         (nscd_init): Move inotify descriptor creation to main.
93162         Don't register files for notification here.
93163         (register_traced_file): New function.
93164         (invalidate_cache): Don't use reset_res to determine whether to call
93165         res_init, go through the list of registered files.
93166         (main_loop_poll): The inotify descriptors are now stored in the
93167         structures for the traced files.
93168         (main_loop_epoll): Likewise.
93169         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
93170         to __nss_disable_nscd.
93171         * nscd/cache.c (prune_cache): There is no single inotify descriptor
93172         for a database anymore.  Check the records for all the registered
93173         files instead.
93174         * nss/Makefile (libnss_files-routines): Add files-init.
93175         (libnss_db-routines): Add db-init.
93176         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
93177         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
93178         * nss/nss_db/db-init.c: New file.
93179         * nss/nss_files/files-init.c: New file.
93180         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
93181         __nss_lookup_function.
93182         (__nss_lookup_function): Call nss_load_library.
93183         (nss_load_all_libraries): New function.
93184         (__nss_disable_nscd): Take parameter with callback function for files
93185         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
93186         used for the cached services.
93187         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
93188         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
93189         options for features to all the files in nscd.
93191         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
93193 2011-07-10  Roland McGrath  <roland@hack.frob.com>
93195         * csu/elf-init.c (__libc_csu_init): Comment typo.
93197 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
93199         * po/pl.po: Update from translation team.
93200         * po/ja.po: Likewise.
93201         * po/ru.po: Likewise.
93202         * po/ko.po: Likewise.
93203         * po/fr.po: Likewise.
93205 2011-07-09  Roland McGrath  <roland@hack.frob.com>
93207         * configure.in (.ctors/.dtors header and trailer check):
93208         Use an empirical test on a built program.
93209         * configure: Regenerated.
93211         * configure.in (-z relro check): Use an empirical test on a built DSO.
93212         Detect, but do not require, on ia64.
93213         * configure: Regenerated.
93215         * configure.in (READELF): Find it with AC_CHECK_TOOL.
93216         Update tests that use readelf to use $READELF instead.
93217         * configure: Regenerated.
93219 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
93221         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
93222         if the result is not used.
93224 2011-07-05  Andreas Jaeger  <aj@suse.de>
93226         [BZ #9696]
93227         * stdlib/tst-strtod.c: Add testcase.
93229 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
93231         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
93232         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
93233         The latter has a higher limit.  Take additional parameter to pass to
93234         the new function.
93235         (__pathconf): Pass file to __statfs_link_max.
93236         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
93237         __statfs_link_max.
93238         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
93239         __statfs_link_max.
93241         [BZ #12868]
93242         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
93243         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93244         Handle Lustre.
93245         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
93246         (__statfs_filesize_max): Likewise.
93247         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
93249 2011-07-05  Andreas Jaeger  <aj@suse.de>
93251         * resolv/res_comp.c (dn_skipname): Remove unused variable.
93253 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
93255         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
93256         `status' variable.
93257         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
93258         Likewise.
93260 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
93262         * Makefile (strop-tests): Add strncat.
93263         * string/test-strncat.c: New file.
93265 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
93267         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
93269 2011-06-21  Andreas Jaeger  <aj@suse.de>
93271         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
93272         Copy rule from iconvdata/Makefile.
93274 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
93276         [BZ #12922]
93277         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
93278         but no long options are defined, just return 'W'.
93280 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
93282         [BZ #9696]
93283         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
93285 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
93287         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
93288         netgroups to read.
93289         (innetgr): Likewise.
93291 2011-07-05  Roland McGrath  <roland@hack.frob.com>
93293         * config.make.in (install_root): Default to $(DESTDIR).
93295 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
93297         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
93299 2011-07-02  Roland McGrath  <roland@hack.frob.com>
93301         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
93303         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
93304         containing directory rather than embedding absolute directory names.
93306         * scripts/check-local-headers.sh: Rewritten using awk.
93307         Match by word, not by line.  Print error messages for matches.
93308         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
93310         * Makerules [shlib-lds-flags empty]:
93311         ($(common-objpfx)libc_pic.opts): New target.
93312         ($(common-objpfx)libc_pic.os.clean): New target.
93313         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
93315         * config.make.in (OBJCOPY): New variable.
93316         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
93317         * configure: Regenerated.
93319         * config.make.in (use-default-link): New variable.
93320         * configure.in (use_default_link): Grok --with-default-link to set it.
93321         * configure: Regenerated.
93322         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
93323         (shlib-lds, shlib-lds-flags): Define to empty.
93325         * Makerules (shlib-lds): New variable.
93326         (shlib-lds-flags): New variable.
93327         (build-shlib, build-moduile, build-module-asneeded): Use it.
93328         ($(common-objpfx)libc.so): Use $(shlib-lds).
93329         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
93330         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
93332         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
93333         DT_FLAGS/DT_FLAGS_1 with zero flags.
93335         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
93336         linker script munging.
93338 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
93340         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
93341         as 128-bit value.
93342         * crypt/sha512.c (sha512_process_block): Perform total addition using
93343         128-bit if possible.
93344         (__sha512_finish_ctx): Likewise.
93345         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
93346         as 64-bit value.
93347         * crypt/sha256.c (SWAP64): Define.
93348         (sha256_process_block): Perform total addition using 64-bit if
93349         possible.
93350         (__sha256_finish_ctx): Likewise.
93352 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
93354         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
93355         * nscd/initgrcache.c (addinitgroupsX): Likewise.
93356         * nscd/hstcache.c (cache_addhst): Likewise.
93357         * nscd/grpcache.c (cache_addgr): Likewise.
93358         * nscd/aicache.c (addhstaiX): Likewise.
93359         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
93361 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
93363         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
93364         * nscd/initgrcache.c (addinitgroupsX): Likewise.
93365         * nscd/hstcache.c (cache_addhst): Likewise.
93366         * nscd/grpcache.c (cache_addgr): Likewise.
93367         * nscd/aicache.c (addhstaiX): Likewise.
93369 2011-07-01  Andreas Schwab  <schwab@redhat.com>
93371         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
93372         domain only when needed.
93374 2011-06-30  Andreas Schwab  <schwab@redhat.com>
93376         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
93377         is always restored.
93379 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
93381         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
93382         are re-adding the entry.
93383         * nscd/servicescache.c (cache_addserv): Likewise.
93385 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
93387         * sysdeps/generic/dl-irel.h: fix protection against multiple
93388         inclusions.
93389         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
93391 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
93393         [BZ #12935]
93394         * malloc/memusage.sh: Fix quoting in message.
93395         * debug/xtrace.sh: Likewise.
93397         * configure.in: Remove support for --experimental-malloc option, make
93398         it the default.
93399         * config.make.in: Likewise.
93400         * malloc/Makefile: Likewise.
93402 2011-06-27  Andreas Schwab  <schwab@redhat.com>
93404         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
93405         two-byte characters.
93407 2011-06-27  Roland McGrath  <roland@hack.frob.com>
93409         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
93410         AC_CACHE_CHECK invocation.
93411         * configure: Regenerated.
93413         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
93415 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
93417         [BZ #12350]
93418         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
93419         bit from old_res_options.
93421         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
93423         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
93424         value type for setfct.
93426 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
93428         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93429         __gettimeofday instead of gettimeofday.
93431 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
93433         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
93435 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
93437         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
93439         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
93440         info.
93442 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
93444         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93445         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93446         strcpy-sse2-unaligned strncpy-sse2-unaligned
93447         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
93448         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
93449         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
93450         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
93451         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
93452         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
93453         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
93454         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
93455         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
93456         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
93457         (STRCPY): Support SSE2 and SSSE3 versions.
93459 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
93461         [BZ #12874]
93462         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
93463         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
93464         kernels which artificially limit size of requests.
93466 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
93468         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93469         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93470         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
93471         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
93472         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
93473         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
93474         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
93475         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
93476         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
93477         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
93478         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
93479         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
93480         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
93481         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
93482         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
93483         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93484         Enable unaligned load optimization for Intel Core i3, i5 and i7
93485         processors.
93486         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
93487         Define.
93488         (index_Fast_Unaligned_Load): Define.
93489         (HAS_FAST_UNALIGNED_LOAD): Define.
93491 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
93493         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
93495 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
93497         [BZ #12907]
93498         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
93499         until it is clear that the information is realy needed.
93500         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
93502 2011-06-22  Andreas Schwab  <schwab@redhat.com>
93504         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
93506 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
93508         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93509         /sys/devices/system/cpu/online if it is usable.
93511         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
93512         reading the information from the /proc filesystem to once a second.
93514 2011-06-21  Andreas Jaeger  <aj@suse.de>
93516         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
93517         NULL after inclusion of kernel headers.
93519 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
93521         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
93522         calls to internal_setent.
93524         [BZ #12885]
93525         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
93526         addresses using gethostbyname4_r ignore IPv4 addresses.
93528         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
93529         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
93531         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
93533 2011-06-20  David S. Miller  <davem@davemloft.net>
93535         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
93536         inclusions.
93537         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
93539         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
93540         (elf_irel): Use it.
93541         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
93542         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
93543         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
93544         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
93545         * sysdeps/x86_64/dl-irel.h: Likewise.
93547         * elf/dl-runtime.c: Use elf_ifunc_invoke.
93548         * elf/dl-sym.c: Likewise.
93550 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
93552         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
93553         need to dereference resplen2.
93555 2011-06-14  Andreas Schwab  <schwab@redhat.com>
93557         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
93559 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
93561         * Makeconfig: Define vardbdir and inst_vardbdir.
93562         * nss/Makefile: Add rules to install db-Makefile.
93564         * nss/nss_db/db-XXX.c: Cleanup.
93566         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
93567         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
93568         GLIBC_PRIVATE.
93569         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
93570         * nss/makedb.c: Implement -g option to specify that value strings
93571         are generated and should not be added to table iterated over for
93572         get*ent calls.
93573         * nss/nss_db/db-initgroups.c: New file.
93575         * nss/getent.c: Add support for initgroups lookups through getgrouplist
93576         interface.
93578         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
93579         (internal_getgrouplist): Adjust to name change.
93580         Update use_initgroups_entry if this is not the first call.
93581         * nss/databases.def: Add initgroups entry.
93583         * nss/makedb.c (compute_tables): Check result of multiple hash table
93584         sizes to minimize maximum chain length.
93586 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
93588         * Versions.def: Add entry for libnss_db.
93589         * shlib-versions: Likewise.
93590         * nss/Makefile: Add rules to build libnss_db.
93591         * nss/Versions: Add libnss_db information.  Organize libnss_files
93592         entries better.
93593         * nss/db-Makefile: Add gshadow support.  Change rules for the new
93594         makedb progra.  Some minor improvements to generate smaller files.
93595         * nss/nss_db/nss_db.h: Move NSS database header data structures to
93596         here from...
93597         * nss/makedb.c: ...here.
93598         Improve database format to be smaller and require less memory at
93599         runtime.
93600         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
93601         db anymore.
93602         * nss/nss_db/db-netgrp.c: Likewise.
93603         * nss/nss_db/db-open.c: Likewise.
93604         * nss/nss_files/flies-XXX.x: Adjust comments.
93605         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
93606         * nss/nss_files/files-grp.c: Likewise.
93607         * nss/nss_files/files-hosts.c: Likewise.
93608         * nss/nss_files/files-network.c: Likewise.
93609         * nss/nss_files/files-proto.c: Likewise.
93610         * nss/nss_files/files-pwd.c: Likewise.
93611         * nss/nss_files/files-rpc.c: Likewise.
93612         * nss/nss_files/files-service.c: Likewise.
93613         * nss/nss_files/files-sgrp.c: Likewise.
93614         * nss/nss_files/files-spwd.c: Likewise.
93615         * nss/nss_db/db-alias.c: Removed.
93616         * nss/nss_db/dummy-db.h: Removed.
93618 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
93620         * nss/makedb.c: Rewritten to not use database library.
93621         * nss/Makefile: Update to build new makedb program.
93623 2011-06-14  Andreas Jaeger  <aj@suse.de>
93625         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
93626         memset declaration.
93628 2011-06-10  Andreas Schwab  <schwab@redhat.com>
93630         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
93631         tmpbuf.
93633 2011-06-10  Roland McGrath  <roland@hack.frob.com>
93635         * Makerules (shlib.lds): Fail if the linker script comes out empty.
93636         * elf/Makefile ($(objpfx)ld.so): Likewise.
93638         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
93639         Don't list ld.so twice in dependencies.
93641         * posix/bug-regex31.c: Include <stdlib.h>.
93643         * nscd/hstcache.c (cache_addhst): Remove unused variable.
93645         * nis/nss_compat/compat-spwd.c
93646         (getspent_next_nss_netgr): Remove unused variable.
93647         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
93649         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
93650         nonmembers" output to use the right array.
93652         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
93654         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
93656         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
93657         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
93658         * catgets/gencat.c (read_input_file): Likewise.
93659         * locale/programs/locarchive.c (enlarge_archive): Likewise.
93661         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
93662         variable definition inside #if's controlling its use.
93664         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
93666         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
93668         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
93670         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
93671         unreachable code.
93673         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
93675         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
93676         * configure: Regenerated.
93678         * Makerules: Revert last change.
93679         * elf/Makefile: Likewise.
93681 2011-06-09  Roland McGrath  <roland@hack.frob.com>
93683         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
93684         * elf/Makefile ($(objpfx)librtld.os): Likewise.
93685         (reloc-link): Likewise.
93687 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
93689         * elf/Makefile: Add rules to build pldd.
93690         * elf/pldd.c: New file.
93691         * elf/pldd-xx.c: New file.
93693 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
93695         * version.h: Update for 2.15 development version.
93697 2011-06-07  David S. Miller  <davem@davemloft.net>
93699         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
93700         ifuncs.
93701         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
93702         elf_machine_lazy_rel): Likewise.
93703         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
93704         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
93705         elf_machine_lazy_rel): Likewise.
93706         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
93707         dl_hwcap via passed in argument.
93708         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
93709         Likewise.
93711 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93713         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
93715 2011-06-06  Roland McGrath  <roland@hack.frob.com>
93717         [BZ #12849]
93718         * manual/fdl-1.1.texi: New file, verbatim from:
93719         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
93720         * manual/lgpl-2.1.texi: New file, verbatim from:
93721         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
93722         * manual/Makefile (licenses): New variable, list those new file names.
93723         (texis): Use it.
93724         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
93726         * manual/fdl.texi: File removed.
93727         * manual/lesser.texi: File removed.
93728         * manual/libc.texinfo (Copying, Documentation License):
93729         Use new @include file names, put @appendix directive before @include.
93731 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
93733         [BZ #12841]
93734         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
93735         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
93736         (mq_open): Add __NTH.
93738 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
93740         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93741         Assume Intel Core i3/i5/i7 processor if AVX is available.
93743 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
93745         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
93746         typo.
93748 2011-05-31  Andreas Schwab  <schwab@redhat.com>
93750         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
93751         memory.  Use alloca_account.  Fix memory leak when retrying.
93753 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
93755         * version.h (RELEASE): Bump for 2.14 release.
93756         * include/features.h (__GLIBC_MINOR__): Bump to 14.
93758         * config.make.in (RANLIB): Remove entry.
93760 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
93762         * po/Makefile (po-sed-cmd): Add ksh to extensions.
93763         (libc.pot): Work around missing support for .ksh extension in xgettext.
93765         [BZ #12684]
93766         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
93767         if both request failed.
93768         (send_dg): In case of server errors clear resplen or *resplen2.
93770         [BZ #12454]
93771         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
93772         when there are multiple maps.
93773         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
93774         (_dl_fini): Remove test here.
93776         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
93778 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
93780         [BZ #12350]
93781         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
93782         bit from old_res_options.
93783         (gaih_inet): Likewise.
93785         [BZ #11099]
93786         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
93787         as signed.
93789         * resolv/res_init.c (res_setoptions): Make the code more compact.
93791         [BZ #11558]
93792         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
93793         set RES_USEVC.
93795         [BZ #11634]
93796         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
93798         * malloc/malloc.h: Mark malloc hook variables as deprecated.
93800         [BZ #11781]
93801         * malloc/malloc.h: Declare malloc hook variables as volatile.
93803         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
93804         in last patch.
93806         [BZ #11799]
93807         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
93808         raise in the comment.
93809         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
93810         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
93811         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
93813 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
93815         [BZ #12811]
93816         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
93817         grow the buffers more if it already has to be sufficient.
93818         (build_wcs_upper_buffer): Likewise.
93819         * posix/regexec.c (check_matching): Likewise.
93820         (clean_state_log_if_needed): Likewise.
93821         (extend_buffers): Don't enlarge buffers beyond size of the input
93822         buffer.
93823         Patches mostly by Emil Wojak <emil@wojak.eu>.
93824         * posix/bug-regex32.c: New file.
93825         * posix/Makefile (tests): Add bug-regex32.
93827         * locale/findlocale.c (_nl_find_locale): Return right away if
93828         _nl_explode_name failed.
93829         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
93831         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
93833         * debug/xtrace.sh: Unify messages.
93834         * malloc/memusage.sh: Likewise.
93836         [BZ #12813]
93837         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
93838         time symbol from vDSO.  Substitute with vsyscall if not available.
93839         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
93840         __vdso_time.
93842         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
93843         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
93844         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
93845         Add sendmmsg and internal_sendmmsg.
93846         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
93847         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
93848         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
93850         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
93851         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
93852         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
93854 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
93856         [BZ #12813]
93857         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
93858         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
93859         available.
93860         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
93861         __vdso_getcpu.
93863         [BZ #12814]
93864         * iconvdata/Makefile (tests): Add bug-iconv9.
93865         * iconvdata/bug-iconv9.c: New file.
93867 2011-05-27  Andreas Schwab  <schwab@redhat.com>
93869         [BZ #12814]
93870         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
93872 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
93874         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93875         (struct user_regs_struct): Change intcs field back to cs.
93877 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
93879         * po/ja.po: Update from translation team.
93881 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
93883         [BZ #12795]
93884         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
93885         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
93887 2011-05-20  Andreas Schwab  <schwab@redhat.com>
93889         * stdlib/longlong.h: Update from GCC.
93891 2011-05-23  Andreas Schwab  <schwab@redhat.com>
93893         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
93894         parameter name.
93895         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
93896         Add parameter name.
93897         (__sysconf): Pass it down.
93899 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
93901         [BZ #12671]
93902         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
93903         some situations.
93904         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
93905         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
93906         add in in __libc_use_alloca calls.  Adjust callers.
93907         (glob): Use malloc in some situations.
93909         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
93910         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
93911         pltexit.
93913 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
93915         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
93916         and CLOCK_BOOTTIME_ALARM.
93918         [BZ #12782]
93919         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
93920         is returned.
93922         * string/_strerror.c (__strerror_r): Print negative errors as signed
93923         numbers.
93925         [BZ #12777]
93926         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
93927         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
93928         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
93930         * configure.in: Fix typo in redirection and correct removal of test
93931         files in two cases.
93933         [BZ #12788]
93934         * locale/setlocale.c (new_composite_name): Fix test to check for
93935         identical name of all categories.
93937         [BZ #12792]
93938         * libio/filedoalloc.c (local_isatty): New function.
93939         (_IO_file_doallocate): Use local_isatty.
93940         * stdio-common/perror.c (perror): In case a new stream is used
93941         forward the stream error.
93942         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
93943         error flag.
93945 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
93947         [BZ #11884]
93948         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
93949         alloca.
93950         * include/alloca.h (extend_alloca_account): Define.
93952         [BZ #11857]
93953         * posix/regex.h: Fix comments with documentation of user-accessible
93954         fields after compilation and describe correct free'ing of pattern
93955         after re_compile_pattern.
93956         Patch by Reuben Thomas <rrt@sc3d.org>.
93958 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
93960         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
93961         and -mno-altivec to prevent the compiler from using Altivec and/or
93962         VSX instructions when the corresponding registers are not available.
93964 2011-05-19  Andreas Schwab  <schwab@redhat.com>
93966         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
93968 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
93970         * libio/freopen.c (freopen): Use __dup2, not dup2.
93971         * libio/freopen64.c (freopen64): Likewise.
93973 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
93975         [BZ #12775]
93976         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
93977         * math/Makefile (tests): Add test-powl.
93978         (CFLAGS-test-powl.c): Define.
93979         * math/test-powl.c: New file.
93981 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
93983         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
93985 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
93987         [BZ #11837]
93988         * iconvdata/gb18030.c: Update to GB18020-2005.
93990 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
93992         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
93993         RE_SYNTAX_POSIX_AWK): Update to match recent development.
93994         Patch by Aharon Robbins <arnold@skeeve.com>.
93996         [BZ #11892]
93997         * stdlib/putenv.c (putenv): Don't always create copy of the variable
93998         on the stack.
94000         [BZ #11895]
94001         * misc/pselect.c (__pselect): Handle timeout value errors hidden
94002         through underflows.
94004         [BZ #12766]
94005         * misc/error.c (error_at_line): Ensure file_name and old_file_name
94006         point to strings before performing equality test for error_one_per_line
94007         mode.
94009         [BZ #11697]
94010         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
94012         [BZ #11820]
94013         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
94014         (struct user_fpregs_struct): Avoid __uint*_t types.
94016         [BZ #6420]
94017         * malloc/mtrace.c (tr_where): Add additional parameter to point to
94018         symbol info.  Use it instead of calling _dl_addr locally.
94019         (lock_and_info): New function.
94020         (tr_freehook): Call lock_and_info and pass symbol info as additional
94021         parameter to tr_where.
94022         (tr_mallochook): Likewise.
94023         (tr_reallochook): Likewise.
94024         (tr_memalignhook): Likewise.
94026         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
94027         used and couldn't be at all thread-safe.
94029 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
94031         * libio/freopen.c (freopen): Don't close old file descriptor
94032         before the new one is opened.  Instead dup the new file descriptor
94033         to the old one after the new stream is created.
94034         * libio/freopen64.c (freopen64): Likewise.
94035         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
94036         * libio/fileops.c (_IO_new_file_close_it): Handle new
94037         _IO_FLAGS2_NOCLOSE flag.
94038         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
94039         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
94040         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
94041         _IO_FLAGS2_NOCLOSE flag.
94042         * include/unistd.h: Add hidden_proto for dup3.
94043         Define __have_dup3.
94044         * io/dup3.c: Define hidden symbol.
94045         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
94047         [BZ #7101]
94048         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
94049         when an incomplete long option is used.
94050         * posix/tst-getopt_long1.c: New file.
94051         * posix/Makefile (tests): Add tst-getopt_long1.
94053         [BZ #10138]
94054         * scripts/config.guess: Update from autoconf-2.68.
94055         * scripts/config.sub: Likewise.
94057         [BZ #10157]
94058         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
94059         tests into ...
94060         (has_cpuclock): ...this.  New function.
94061         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
94062         macro here based on has_cpuclock code.
94064         [BZ #10149]
94065         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
94066         First byte (not low byte) is now always NUL.
94067         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
94069         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
94070         Use non-cancelable interfaces.
94072         [BZ #9809]
94073         * locale/iso-639.def: Add entry for Sorani.
94075         [BZ #11901]
94076         * include/stdlib.h: Move include protection to the right place.
94077         Define abort_msg_s.  Declare __abort_msg with it.
94078         * stdlib/abort.c (__abort_msg): Adjust type.
94079         * assert/assert.c (__assert_fail_base): New function.  Majority
94080         of code from __assert_fail.  Allocate memory for __abort_msg with
94081         mmap.
94082         (__assert_fail): Now call __assert_fail_base.
94083         * assert/assert-perr.c: Remove bulk of implementation.  Use
94084         __assert_fail_base.
94085         * include/assert.hL Declare __assert_fail_base.
94086         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
94087         mmap.
94088         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
94090 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
94092         [BZ #11952]
94093         [BZ #12453]
94094         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
94095         until all modules are registered in the DTV.
94096         * elf/Makefile: Add rules to build and run tst-tls19.
94097         * elf/tst-tls19.c: New file.
94098         * elf/tst-tls19mod1.c: New file.
94099         * elf/tst-tls19mod2.c: New file.
94100         * elf/tst-tls19mod3.c: New file.
94101         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
94103         [BZ #12083]
94104         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
94105         correctly.
94107         [BZ #12601]
94108         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
94109         two-byte sequence errors.
94110         * iconvdata/Makefile (tests): Add bug-iconv8.
94111         * iconvdata/bug-iconv8.c: New file.
94113         [BZ #12626]
94114         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
94115         buf2 definition.
94117         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
94119         [BZ #12432]
94120         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
94121         (dummy_getcfa): New function.
94122         (init): Get _Unwind_GetCFA address, use dummy if not found.
94123         (backtrace_helper): In recursion check, also check whether CFA changes.
94124         (__backtrace): Completely initialize arg.
94126         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
94127         storing incomplete byte sequence in state object.  Avoid testing for
94128         guaranteed too small input if we know there is enough data available.
94130 2011-05-11  Andreas Schwab  <schwab@redhat.com>
94132         * Makeconfig (+link-pie): Indent.
94133         * Rules (binaries-pie): Define if $(have-fpie) and
94134         $(build-shared).
94135         (binaries-shared): Also filter out $(binaries-pie).
94136         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
94137         * nscd/Makefile (others-pie): Add nscd.
94138         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
94139         ($(objpfx)nscd): Remove command override.
94140         * login/Makefile (others-pie): Add pt_chown.
94141         ($(objpfx)pt_chown): Remove command override.
94142         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
94143         remove command overrides.
94145 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
94147         * libio/tst_putwc.c: Fix error messages.
94149         [BZ #12724]
94150         * libio/fileops.c (_IO_new_file_close_it): Always flush when
94151         currently writing and seek to current position when not.
94152         * libio/Makefile (tests): Add bug-fclose1.
94153         * libio/bug-fclose1.c: New file.
94155 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
94157         [BZ #12511]
94158         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
94159         don't set DF_1_NODELETE here.
94160         (do_lookup_x): When entering new entry test for copy relocation
94161         and if necessary set DF_1_NODELETE flag.
94162         * elf/tst-unique4.cc: New file.
94163         * elf/tst-unique4.h: New file.
94164         * elf/tst-unique4lib.cc: New file.
94165         * elf/Makefile: Add rules to build and run tst-unique4.
94166         Patch by Piotr Bury <pbury@goahead.com>.
94168 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
94170         [BZ #12052]
94171         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
94173         [BZ #12625]
94174         * misc/mntent_r.c (addmntent): Flush the stream after the output
94176         [BZ #12393]
94177         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
94178         (is_trusted_path_normalize): Skip initial colon.  Append slash
94179         to empty buffer.  Duplicate is_trusted_path code but allow
94180         constructed patch to be prefix.
94181         (is_dst): Allow $ORIGIN followed by /.
94182         (_dl_dst_substitute): Correct clearing of check_for_trusted.
94183         Correct testing of result of is_trusted_path_normalize
94184         (decompose_rpath): Fix warning.
94186 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
94188         [BZ #11257]
94189         * grp/initgroups.c (internal_getgrouplist): When we found the service
94190         list through the initgroups entry in nsswitch.conf do not always
94191         continue on a successful lookup.  Don't always use the
94192         __nss_group_database value if it is set.
94193         * nss/nsswitch.conf (initgroups): Change action for successful db
94194         lookup to continue for compatibility.
94196 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
94198         [BZ #11532]
94199         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
94200         and CP774 modules.
94201         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
94202         and CP774 modules.
94203         * iconvdata/tst-tables.sh: Likewise.
94204         * iconvdata/cp770.c: New file.
94205         * iconvdata/cp771.c: New file.
94206         * iconvdata/cp772.c: New file.
94207         * iconvdata/cp773.c: New file.
94208         * iconvdata/cp774.c: New file.
94209         * iconvdata/testdata/CP770: New file.
94210         * iconvdata/testdata/CP770..UTF8: New file.
94211         * iconvdata/testdata/CP771: New file.
94212         * iconvdata/testdata/CP771..UTF8: New file.
94213         * iconvdata/testdata/CP772: New file.
94214         * iconvdata/testdata/CP772..UTF8: New file.
94215         * iconvdata/testdata/CP773: New file.
94216         * iconvdata/testdata/CP773..UTF8: New file.
94217         * iconvdata/testdata/CP774: New file.
94218         * iconvdata/testdata/CP774..UTF8: New file.
94220         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
94221         END CHARMAP line.
94222         * iconvdata/gen-8bit-gap.sh: Likewise.
94223         * iconvdata/gen-8bit.sh: Likewise.
94225         * locale/iso-639.def: Add ary entry.
94227         [BZ #11258]
94228         * locale/C-translit.h.in: Add U20A1 transliteration.
94230         [BZ #12178]
94231         * locale/iso-639.def: Add wae entry.
94232         Patch by Kevin Bortis <bortis@translate-wae.ch>.
94234         [BZ #12545]
94235         * locale/programs/localedef.c (construct_output_path): Use ssize_t
94236         for n.
94238         [BZ #12711]
94239         * locale/C-translit.h.in: Add entry for U20B9.
94240         Patch by pravin.d.s@gmail.com.
94242 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
94244         [BZ #12713]
94245         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
94246         ENAMETOOLONG use generic getcwd.
94247         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
94248         in rtld.  Use *stat64.
94249         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
94250         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
94251         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
94252         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
94253         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
94254         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
94255         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
94256         __fstatat64 macros.
94257         * include/dirent.h: Add libc_hidden_proto for rewinddir.
94258         * dirent/rewinddir.c: Add libc_hidden_def.
94259         * sysdeps/mach/hurd/rewinddir.c: Likewise.
94260         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
94262         * include/dirent.h (__alloc_dir): Add flags parameter.
94263         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
94264         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
94265         __alloc_dir.
94266         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
94267         from fdopendir if O_CLOEXEC is already set.
94269 2011-03-15  Alan Modra  <amodra@gmail.com>
94271         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
94272         l_tls_firstbyte_offset non-zero.  Save padding offset in
94273         l_tls_firstbyte_offset for later use.
94274         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
94275         freeing static tls block.
94277 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
94279         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
94280         where #ifdef was intended.  The intent is to prevent ARG_MAX from
94281         being defined by the kernel headers.
94283 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
94285         [BZ #12734]
94286         * resolv/resolv.h: Define RES_NOTLDQUERY.
94287         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
94288         no-tld-query and set RES_NOTLDQUERY.
94289         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
94290         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
94291         modern BIND to search name as TLD unless forbidden.
94293 2011-05-07  Petr Baudis  <pasky@suse.cz>
94294             Ulrich Drepper  <drepper@gmail.com>
94296         [BZ #12393]
94297         * elf/dl-load.c (fillin_rpath): Move trusted path check...
94298         (is_trusted_path): ...to here.
94299         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
94300         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
94301         using is_trusted_path_normalize() in setuid scripts.
94303 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
94305         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
94306         __BEGIN/__END_DECLS.
94308 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
94310         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
94311         NSS_STATUS_NOTFOUND if no record was found.
94313 2011-05-05  Andreas Schwab  <schwab@redhat.com>
94315         * sunrpc/Makefile (headers): Add rpc/netdb.h.
94316         (headers-not-in-tirpc): Remove rpc/netdb.h
94317         * resolv/netdb.h: Revert last change.
94319 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
94321         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
94322         circular dependency between libgcc.a and libc.a.
94324 2011-05-05  Andreas Schwab  <schwab@redhat.com>
94326         * resolv/netdb.h: Don't include <rpc/netdb.h>.
94327         * nis/Makefile: Don't install rpcsvc/*.
94328         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
94329         instead of <rpc/types.h>.
94330         (MAXHOSTNAMELEN): Define.
94332 2011-05-03  Andreas Schwab  <schwab@redhat.com>
94334         * elf/ldconfig.c (add_dir): Don't crash on empty path.
94336 2011-04-28  Maciej Babinski  <mbabinski@google.com>
94338         [BZ #12714]
94339         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
94340         gethostbyname4_r when IPv6 results are possible.
94342 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
94344         [BZ #12723]
94345         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
94346         _PC_PIPE_BUF handling.
94348 2011-04-30  Bruno Haible  <bruno@clisp.org>
94350         [BZ #12717]
94351         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
94352         * resolv/netdb.h (getnameinfo): Change type of flags parameter
94353         to 'int'.
94354         * inet/getnameinfo.c (getnameinfo): Likewise.
94356 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
94358         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
94359         to groups setting in database lookup.
94360         * nss/nsswitch.conf: Add initgroups entry.
94362 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
94364         [BZ #12685]
94365         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
94366         mode string.
94367         Patch by Eric Blake <eblake@redhat.com>.
94369 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
94371         * sunrpc/Makefile (need-export-routines): Add svc_run.
94372         (routines): Remove svc_run.
94373         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
94374         * sunrpc/clnt_perr.c (clnt_perrno): Export.
94375         * sunrpc/svc_run.c (svc_run): Likewise.
94376         * sunrpc/svc_udp.c (svcudp_create): Likewise.
94378 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
94380         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
94381         problem in reallocation in last patch.
94383 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
94385         * sunrpc/Makefile: Move inclusion of Rules.
94387 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
94389         * nss/nss_files/files-initgroups.c: New file.
94390         * nss/Makefile (libnss_files-routines): Add files-initgroups.
94391         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
94392         _nss_files_initgroups_dyn.
94394 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
94396         * elf/elf.h (R_ARM_IRELATIVE): Define.
94398 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
94400         * po/ru.po: Update from translation team.
94402 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
94404         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
94405         dependencies.
94407 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
94409         [BZ #12653]
94410         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
94411         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
94412         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
94413         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
94414         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
94416 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
94418         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
94419         differing bytes.
94420         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
94421         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
94422         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
94424 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
94426         [BZ #12420]
94427         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
94428         storing it.
94429         * stdlib/bug-getcontext.c: New file.
94430         * stdlib/Makefile: Add rules to build and run bug-getcontext.
94432 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94434         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
94435         instructions into .machine "z9-109".
94436         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
94437         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
94439 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94441         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
94442         between environment variables and auxiliary vector.
94444 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
94446         * Makefile: Add rules to build linkobj/libc.so.
94447         * include/libc-symbols.h: Define libc_hidden_nolink.
94448         * include/rpc/auth.h: Mark functions which are to be hidden.
94449         * include/rpc/auth_des.h: Likewise.
94450         * include/rpc/auth_unix.h: Likewise.
94451         * include/rpc/clnt.h: Likewise.
94452         * include/rpc/des_crypt.h: Likewise.
94453         * include/rpc/key_prot.h: Likewise.
94454         * include/rpc/pmap_clnt.h: Likewise.
94455         * include/rpc/pmap_prot.h: Likewise.
94456         * include/rpc/pmap_rmt.h: Likewise.
94457         * include/rpc/rpc_msg.h: Likewise.
94458         * include/rpc/svc.h: Likewise.
94459         * include/rpc/svc_auth.h: Likewise.
94460         * include/rpc/xdr.h: Likewise.
94461         * nis/Makefile: Link all DSOs against linkobj/libc.so.
94462         * nss/Makefile: Likewise.
94463         * sunrpc/Makefile: Don't install headers.  Build library with normal
94464         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
94465         * sunrpc/auth_des.c: Hide exported symbols by default, export some
94466         for the compat linking library.  Remove use of INTDEF/INTUSE.
94467         * sunrpc/auth_none.c: Likewise.
94468         * sunrpc/auth_unix.c: Likewise.
94469         * sunrpc/authdes_prot.c: Likewise.
94470         * sunrpc/authuxprot.c: Likewise.
94471         * sunrpc/clnt_gen.c: Likewise.
94472         * sunrpc/clnt_perr.c: Likewise.
94473         * sunrpc/clnt_raw.c: Likewise.
94474         * sunrpc/clnt_simp.c: Likewise.
94475         * sunrpc/clnt_tcp.c: Likewise.
94476         * sunrpc/clnt_udp.c: Likewise.
94477         * sunrpc/clnt_unix.c: Likewise.
94478         * sunrpc/des_crypt.c: Likewise.
94479         * sunrpc/des_soft.c: Likewise.
94480         * sunrpc/get_myaddr.c: Likewise.
94481         * sunrpc/key_call.c: Likewise.
94482         * sunrpc/key_prot.c: Likewise.
94483         * sunrpc/netname.c: Likewise.
94484         * sunrpc/pm_getmaps.c: Likewise.
94485         * sunrpc/pm_getport.c: Likewise.
94486         * sunrpc/pmap_clnt.c: Likewise.
94487         * sunrpc/pmap_prot.c: Likewise.
94488         * sunrpc/pmap_prot2.c: Likewise.
94489         * sunrpc/pmap_rmt.c: Likewise.
94490         * sunrpc/publickey.c: Likewise.
94491         * sunrpc/rpc_cmsg.c: Likewise.
94492         * sunrpc/rpc_common.c: Likewise.
94493         * sunrpc/rpc_dtable.c: Likewise.
94494         * sunrpc/rpc_prot.c: Likewise.
94495         * sunrpc/rpc_thread.c: Likewise.
94496         * sunrpc/rtime.c: Likewise.
94497         * sunrpc/svc.c: Likewise.
94498         * sunrpc/svc_auth.c: Likewise.
94499         * sunrpc/svc_authux.c: Likewise.
94500         * sunrpc/svc_raw.c: Likewise.
94501         * sunrpc/svc_run.c: Likewise.
94502         * sunrpc/svc_simple.c: Likewise.
94503         * sunrpc/svc_tcp.c: Likewise.
94504         * sunrpc/svc_udp.c: Likewise.
94505         * sunrpc/svc_unix.c: Likewise.
94506         * sunrpc/svcauth_des.c: Likewise.
94507         * sunrpc/xcrypt.c: Likewise.
94508         * sunrpc/xdr.c: Likewise.
94509         * sunrpc/xdr_array.c: Likewise.
94510         * sunrpc/xdr_float.c: Likewise.
94511         * sunrpc/xdr_intXX_t.c: Likewise.
94512         * sunrpc/xdr_mem.c: Likewise.
94513         * sunrpc/xdr_rec.c: Likewise.
94514         * sunrpc/xdr_ref.c: Likewise.
94515         * sunrpc/xdr_sizeof.c: Likewise.
94516         * sunrpc/xdr_stdio.c: Likewise.
94518 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
94520         [BZ #12650]
94521         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
94522         * sysdeps/ia64/dl-tls.h: Likewise.
94523         * sysdeps/powerpc/dl-tls.h: Likewise.
94524         * sysdeps/s390/dl-tls.h: Likewise.
94525         * sysdeps/sh/dl-tls.h: Likewise.
94526         * sysdeps/sparc/dl-tls.h: Likewise.
94527         * sysdeps/x86_64/dl-tls.h: Likewise.
94528         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
94530 2011-03-14  Andreas Schwab  <schwab@redhat.com>
94532         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
94533         rpath element also skip the following colon.
94534         (expand_dynamic_string_token): Add is_path parameter and pass
94535         down to DL_DST_REQUIRED and _dl_dst_substitute.
94536         (decompose_rpath): Call expand_dynamic_string_token with
94537         non-zero is_path.  Ignore empty rpaths.
94538         (_dl_map_object_from_fd): Call expand_dynamic_string_token
94539         with zero is_path.
94541 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
94543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
94544         Make cancelable.
94546 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
94548         [BZ #12655]
94549         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
94550         Patch by Filipe David Manana <fdmanana@apache.org>.
94552 2011-04-07  Andreas Schwab  <schwab@redhat.com>
94554         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
94555         Maintain aligned stack.
94556         (CHECK_RSP): Remove unused macro.
94558 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
94560         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
94561         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
94563 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
94565         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
94567         * include/features.h: Mention __USE_XOPEN2K8 in comment.
94569 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
94571         [BZ #12518]
94572         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
94573         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
94574         * sysdeps/x86_64/memmove.c: New file.
94575         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
94576         (memcpy): Renamed to ...
94577         (__new_memcpy): This.
94578         (memcpy): Provide GLIBC_2_14 memcpy.
94579         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
94580         (memcpy): Provide GLIBC_2_2_5 memcpy.
94582 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94584         [BZ #12631]
94585         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
94587 2011-03-30  Andreas Schwab  <schwab@redhat.com>
94589         * misc/syncfs.c: New file.
94590         * misc/Makefile (routines): Add syncfs.
94591         * posix/unistd.h: Declare syncfs.
94592         * sysdeps/unix/syscalls.list: Add syncfs.
94594 2011-04-01  Andreas Schwab  <schwab@redhat.com>
94596         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
94597         open_by_handle_at.
94598         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94599         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94600         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94601         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94602         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94603         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
94604         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94606 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94608         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
94609         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94610         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
94611         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94612         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94613         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94614         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94616         * io/Makefile: Compile fallocate.c, fallocate64.c, and
94617         sync_file_range.c with -fexceptions.
94618         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
94619         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
94620         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
94621         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
94622         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
94623         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
94624         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
94625         sync_file_range as cancellation point
94626         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
94627         now a wrapper around __call_sync_file_range with cancellation handling.
94628         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
94629         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
94630         function name to __call_sync_file_range.
94631         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
94632         Add call_sync_file_range.
94634 2011-04-01  Andreas Schwab  <schwab@redhat.com>
94636         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
94637         bits/timex.h.
94639 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94641         * iconv/iconv.h: Fix typo in comment.
94642         * io/fcntl.h: Likewise.
94643         * libio/stdio.h: Likewise.
94644         * posix/spawn.h: Likewise.
94645         * posix/unistd.h: Likewise.
94646         * stdlib/stdlib.h: Likewise.
94647         * time/time.h: Likewise.
94648         * wcsmbs/wchar.h: Likewise.
94650         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
94651         open_by_handle): Add.
94652         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
94653         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
94654         Augment a few comments.
94655         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94656         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94657         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94658         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94659         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94660         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
94661         open_by_handle.
94663         * io/fcntl.h (AT_EMPTY_PATH): Define.
94665 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
94667         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
94668         * sysdeps/unix/sysv/linux/bits/time.h: New file.
94669         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
94670         to...
94671         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
94672         * Versions.def: Add GLIBC_2.14.
94673         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
94674         Export.
94676 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
94678         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
94679         round counter.
94680         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94682 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
94684         [BZ #12597]
94685         * string/test-strncmp.c (do_page_test): New function.
94686         (check2): Likewise.
94687         (test_main): Call check2.
94688         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
94690 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
94692         [BZ #12587]
94693         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
94694         Handle cache information in CPU leaf 4.
94695         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94697 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
94699         [BZ #12583]
94700         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
94701         character representation.
94702         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
94704 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
94706         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
94707         END(__isnan) to END(__isnanf) to match function entry point/label
94708         EALIGN(__isnanf,...).
94710 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
94712         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
94714 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
94716         [BZ #12510]
94717         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
94718         copy from the symbol referenced in the relocation to initialize the
94719         used variable.
94720         Patch by Piotr Bury <pbury@goahead.com>.
94721         * elf/Makefile: Add rules to build and tst-unique3.
94722         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
94723         * elf/tst-unique3.cc: New file.
94724         * elf/tst-unique3.h: New file.
94725         * elf/tst-unique3lib.cc: New file.
94726         * elf/tst-unique3lib2.cc: New file.
94728         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
94730 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
94732         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
94733         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
94734         to _start.
94736 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
94738         * elf/dl-load.c (_dl_map_object): If we are looking for the first
94739         to-be-loaded object along a path to loader is ld.so.
94741 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
94742             Ulrich Drepper  <drepper@gmail.com>
94744         * sysdeps/x86_64/memset.S: After aligning destination, code
94745         branches to different locations depending on the value of
94746         misalignment, when multiarch is enabled. Fix this.
94748 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
94750         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
94751         Set _x86_64_preferred_memory_instruction for AMD processsors.
94752         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94753         Set bit_Prefer_SSE_for_memop for AMD processors.
94755 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
94757         * libio/fmemopen.c (fmemopen): Optimize a bit.
94759 2011-03-03  Andreas Schwab  <schwab@redhat.com>
94761         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
94763 2011-03-03  Roland McGrath  <roland@redhat.com>
94765         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
94767 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
94769         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
94770         __bzero_ultra1 instead of __memset_ultra1.
94772 2011-02-23  Andreas Schwab  <schwab@redhat.com>
94773             Ulrich Drepper  <drepper@gmail.com>
94775         [BZ #12509]
94776         * include/link.h (struct link_map): Add l_orig_initfini.
94777         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
94778         returning unsuccessfully.
94779         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
94780         close of a file loaded at startup, restore the original l_initfini
94781         list.
94782         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
94783         list, store the pointer.
94784         * elf/Makefile ($(objpfx)noload-mem): New rule.
94785         (noload-ENV): Define.
94786         (tests): Add $(objpfx)noload-mem.
94787         * elf/noload.c: Include <memcheck.h>.
94788         (main): Call mtrace.  Close all opened handles.
94790 2011-02-17  Andreas Schwab  <schwab@redhat.com>
94792         [BZ #12454]
94793         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
94794         dependencies are missing.
94796 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94798         Fix __if_freereq crash: Unlike the generic version which uses free,
94799         Hurd needs munmap.
94800         * sysdeps/mach/hurd/ifreq.h: New file.
94802 2011-01-27  Petr Baudis  <pasky@suse.cz>
94803             Ulrich Drepper  <drepper@gmail.com>
94805         [BZ 12445]#
94806         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
94807         to extend_alloca().
94808         * stdio-common/bug23.c: New file.
94809         * stdio-common/Makefile (tests): Add bug23.
94811 2010-09-28  Andreas Schwab  <schwab@redhat.com>
94812             Ulrich Drepper  <drepper@gmail.com>
94814         [BZ #12489]
94815         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
94816         before performing relro protection.  At old place add assertion
94817         to make sure nothing changed.
94819 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
94820             Glauber de Oliveira Costa  <glommer@gmail.com>
94822         * elf/elf.h: Add new ARM TLS relocs.
94824 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
94826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
94827         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
94828         cast from r3.
94829         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
94830         'tests' variable.
94831         * sysdeps/wordsize-64/tst-writev.c: New file.
94833 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
94835         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
94836         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
94837         insns in _dl_start to prevent a TOC reference before relocs are
94838         resolved.
94840 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
94842         [BZ #12469]
94843         * Makeconfig: Remove RANLIB definition.
94844         * Makerules: Don't use RANLIB.
94845         * aclocal.m4: Remove ranlib test.
94846         * configure.in: No need to check for ranlib.
94847         * elf/rtld-Rules: Don't use RANLIB.
94849 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94851         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
94852         protection macro.
94853         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
94854         inclusion protection macro.
94856         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
94857         SIGRTMIN and SIGRTMAX and print information in that case only when
94858         SIGRTMIN is defined.
94860 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
94862         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
94863         arginfo fn returning -1.
94865         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
94866         and thousands string is zero terminated.
94868 2011-02-03  Andreas Schwab  <schwab@redhat.com>
94870         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
94871         sysdeps/unix/sysv/linux/bits/socket.h.
94873 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94875         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
94876         (__CPU_COUNT): Remove old macros.
94877         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
94878         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
94879         (__CPU_ALLOC, __CPU_FREE): Add macros.
94880         (__sched_cpualloc, __sched_cpufree): Add declarations.
94882 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
94884         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
94885         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
94886         * nscd/aicache.c (addhstaiX): Return timeout of added value.
94887         (readdhstai): Return value of addhstaiX call.
94888         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
94889         (addgrbyX): Return value returned by cache_addgr.
94890         (readdgrbyname): Return value returned by addgrbyX.
94891         (readdgrbygid): Likewise.
94892         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
94893         (addpwbyX): Return value returned by cache_addpw.
94894         (readdpwbyname): Return value returned by addhstbyX.
94895         (readdpwbyuid): Likewise.
94896         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
94897         (addservbyX): Return value returned by cache_addserv.
94898         (readdservbyname): Return value returned by addservbyX:
94899         (readdservbyport): Likewise.
94900         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
94901         (addhstbyX): Return value returned by cache_addhst.
94902         (readdhstbyname): Return value returned by addhstbyX.
94903         (readdhstbyaddr): Likewise.
94904         (readdhstbynamev6): Likewise.
94905         (readdhstbyaddrv6): Likewise.
94906         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
94907         (readdinitgroups): Return value returned by addinitgroupsX.
94908         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
94909         (prune_cache): Keep track of timeout value of re-added entries.
94910         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
94911         * nscd/nscd.h: Adjust prototypes of readd* functions.
94913 2011-02-04  Roland McGrath  <roland@redhat.com>
94915         * nis/nis_server.c (nis_servstate): Use the right name for 0.
94916         (nis_stats): Likewise.
94917         * nis/nis_modify.c (nis_modify): Likewise.
94918         * nis/nis_remove.c (nis_remove): Likewise.
94919         * nis/nis_add.c (nis_add): Likewise.
94921         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
94923         * posix/fnmatch_loop.c: Add some consts.
94925         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
94927 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
94929         [BZ #12460]
94930         * config.make.in (config-cflags-novzeroupper): Define.
94931         * configure.in: Substitute libc_cv_cc_novzeroupper.
94932         * elf/Makefile (AVX-CFLAGS): Define.
94933         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
94934         (CFLAGS-tst-auditmod4a.c): Likewise.
94935         (CFLAGS-tst-auditmod4b.c): Likewise.
94936         (CFLAGS-tst-auditmod6b.c): Likewise.
94937         (CFLAGS-tst-auditmod6c.c): Likewise.
94938         (CFLAGS-tst-auditmod7b.c): Likewise.
94939         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
94941 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
94943         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
94944         function to the callback.
94945         Patch partly by Jiri Olsa <jolsa@redhat.com>.
94947 2011-02-02  Andreas Schwab  <schwab@redhat.com>
94949         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
94950         of errno.
94952 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
94954         [BZ #11724]
94955         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
94956         of constructors.
94957         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
94958         of destructors.
94959         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
94961         [BZ #11724]
94962         * elf/Makefile: Add rules to build and run new test.
94963         * elf/tst-initorder.c: New file.
94964         * elf/tst-initorder.exp: New file.
94965         * elf/tst-initordera1.c: New file.
94966         * elf/tst-initordera2.c: New file.
94967         * elf/tst-initordera3.c: New file.
94968         * elf/tst-initordera4.c: New file.
94969         * elf/tst-initorderb1.c: New file.
94970         * elf/tst-initorderb2.c: New file.
94971         * elf/tst-order-a1.c: New file.
94972         * elf/tst-order-a2.c: New file.
94973         * elf/tst-order-a3.c: New file.
94974         * elf/tst-order-a4.c: New file.
94975         * elf/tst-order-b1.c: New file.
94976         * elf/tst-order-b2.c: New file.
94977         * elf/tst-order-main.c: New file.
94978         New test case by George Gensure <werkt0@gmail.com>.
94980 2010-10-01  Andreas Schwab  <schwab@redhat.com>
94982         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
94983         decoding ACE if AI_CANONIDN.
94985 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
94987         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
94989 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
94991         * version.h (RELEASE): Bump for 2.13 release.
94992         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
94994         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
94996         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
94997         MADV_NOHUGEPAGE.
94998         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
94999         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
95000         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
95001         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
95002         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
95003         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
95005         * posix/getconf.c: Update copyright year.
95006         * catgets/gencat.c: Likewise.
95007         * csu/version.c: Likewise.
95008         * debug/catchsegv.sh: Likewise.
95009         * debug/xtrace.sh: Likewise.
95010         * elf/ldconfig.c: Likewise.
95011         * elf/ldd.bash.in: Likewise.
95012         * elf/sprof.c (print_version): Likewise.
95013         * iconv/iconv_prog.c: Likewise.
95014         * iconv/iconvconfig.c: Likewise.
95015         * locale/programs/locale.c: Likewise.
95016         * locale/programs/localedef.c: Likewise.
95017         * malloc/memusage.sh: Likewise.
95018         * malloc/mtrace.pl: Likewise.
95019         * nscd/nscd.c (print_version): Likewise.
95020         * nss/getent.c: Likewise.
95022         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
95023         PF_CAIF, and PF_ALG.
95024         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
95026 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
95028         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
95029         (modules-names): Use them.
95030         (ifunc-test-modules, ifunc-pie-tests): Define.
95031         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
95032         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
95033         (test-extras): Likewise.
95034         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
95035         $(compile-command.c).
95036         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
95037         (all-built-dso): Define.
95038         (check-textrel.out, check-execstack.out): Depend on it.
95040         * configure.in: Don't override --enable-multi-arch.
95042 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
95044         [BZ #6812]
95045         * nscd/hstcache.c (tryagain): Define.
95046         (cache_addhst): Return tryagain not notfound for temporary errors.
95047         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
95048         failed.
95050 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
95052         [BZ #10563]
95053         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
95054         to make the syscall.
95055         * sysdeps/unix/sysv/linux/setgroups.c: New file.
95057         [BZ #12378]
95058         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
95059         and fall back to matching as normal character if the string ends before
95060         the matching ']' is found.  This is what POSIX requires.
95061         * posix/testfnm.c: Adjust test result.
95062         * posix/globtest.sh: Adjust test result.  Add new test.
95063         * posix/tst-fnmatch.input: Likewise.
95064         * posix/tst-fnmatch2.c: Add new test.
95066 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
95068         * elf/Makefile (check-execstack): Revert last change.  Depend on
95069         check-execstack.h.
95070         (check-execstack.h): New target.
95071         (generated): Add check-execstack.h.
95072         * elf/check-execstack.c: Include "check-execstack.h".
95073         (main): Revert last change.
95074         (handle_file): Return zero if GNU_STACK is absent and
95075         DEFAULT_STACK_PERMS doesn't include PF_X.
95077 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
95079         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
95080         in child fails because the descriptor is already closed.
95081         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
95082         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
95083         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
95085         [BZ #12397]
95086         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
95087         syscall.
95089         [BZ #10484]
95090         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
95091         temporary buffer used to handle multi lookups locally.
95092         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
95094 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
95096         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
95097         loader is ld.so.
95099 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
95101         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
95102         alignment for SSE2.
95104 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
95106         [BZ #12394]
95107         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
95108         characters.  When rounding increased number of integer digits recompute
95109         number of groups.
95110         * stdio-common/tst-grouping.c: New file.
95111         * stdio-common/Makefile: Add rules to build and run tst-grouping.
95113 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
95115         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
95116         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
95118         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
95119         void.
95120         * bits/select.h: Likewise.
95122 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
95124         * po/ja.po: Update from translation team.
95126 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
95128         [BZ #11155]
95129         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
95130         implementation just like for lxstat, fxstatat, et al.
95132 2010-12-27  Jim Meyering  <meyering@redhat.com>
95134         [BZ #12348]
95135         * posix/regexec.c (build_trtable): Return failure indication upon
95136         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
95138 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
95140         [BZ #12201]
95141         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
95142         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
95143         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
95144         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
95146         [BZ #12207]
95147         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
95149         [BZ #12204]
95150         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
95151         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
95153 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
95155         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
95156         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
95157         script has SORT_BY_INIT_PRIORITY.
95158         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
95159         NO_CTORS_DTORS_SECTIONS is defined.
95160         * elf/soinit.c: Likewise.
95161         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
95162         NO_CTORS_DTORS_SECTIONS is defined.
95163         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
95164         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
95165         * sysdeps/sh/init-first.c: Likewise.
95166         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
95168 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
95170         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
95171         always use the slow path.
95173 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
95175         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
95176         similar rule which adds the sysdep directories to the header search in
95177         order to pick up the correct platform stackinfo.h.
95178         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
95179         perform test if it is, otherwise return successfully without testing.
95180         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
95181         DEFAULT_STACK_PERMS define in stackinfo.h.
95182         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
95183         defined in stackinfo.h.
95184         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
95185         DEFAULT_STACK_PERMS defined in stackinfo.h.
95186         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
95187         * sysdeps/ia64/stackinfo.h: Likewise.
95188         * sysdeps/s390/stackinfo.h: Likewise.
95189         * sysdeps/sh/stackinfo.h: Likewise.
95190         * sysdeps/sparc/stackinfo.h: Likewise.
95191         * sysdeps/x86_64/stackinfo.h: Likewise.
95192         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
95193         PF_X for powerpc64.  Retain PF_X for powerpc32.
95195 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
95197         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
95198         accurately.
95199         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
95200         GETDENTS_64BIT_ALIGNED.
95202 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
95204         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
95206 2010-12-10  Andreas Schwab  <schwab@redhat.com>
95208         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
95209         _GNU_SOURCE.
95211         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
95212         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
95213         Remove __restrict.
95214         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
95215         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
95217 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
95219         [BZ #11655]
95220         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
95221         are initialized.
95223 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
95225         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
95227 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
95229         * po/it.po: Update from translation team.
95231 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
95233         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
95234         unused codes.
95236 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
95238         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
95240 2010-11-24  Andreas Schwab  <schwab@redhat.com>
95242         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
95243         specially.
95244         (gaih_getanswer_slice): Likewise.
95246 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
95248         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
95250 2010-05-31  Petr Baudis  <pasky@suse.cz>
95252         [BZ #11149]
95253         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
95254         silently even in the chroot mode.
95256 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
95258         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
95259         last patch a bit.  Pretty printing
95261 2010-05-31  Petr Baudis <pasky@suse.cz>
95263         [BZ #10085]
95264         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
95265         initialization of skip_initgroups_dyn.
95267 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
95269         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
95270         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
95272 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
95274         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
95276 2010-11-11  Andreas Schwab  <schwab@redhat.com>
95278         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
95279         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
95280         (tst-fnmatch-ENV): Set MALLOC_TRACE.
95281         ($(objpfx)tst-fnmatch-mem): New rule.
95282         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
95283         * posix/tst-fnmatch.c (main): Call mtrace.
95285 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
95287         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95288         Support Intel processor model 6 and model 0x2c.
95290 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
95292         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
95293           signed comparison.
95295 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
95297         [BZ #12205]
95298         * string/test-strncasecmp.c (check_result): New function.
95299         (do_one_test): Use it.
95300         (check1): New function.
95301         (test_main): Use it.
95302         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
95303         Support strcasecmp and strncasecmp.
95305 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
95307         [BZ #12194]
95308         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
95309         * sysdeps/x86_64/bits/byteswap.h: Likewise.
95311 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
95313         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
95314         IFUNC support.
95315         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95316         memset-x86-64.
95317         * sysdeps/x86_64/multiarch/bzero.S: New file.
95318         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
95319         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
95320         * sysdeps/x86_64/multiarch/memset.S: New file.
95321         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
95322         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95323         Set bit_Prefer_SSE_for_memop for Intel processors.
95324         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
95325         Define.
95326         (index_Prefer_SSE_for_memop): Define.
95327         (HAS_PREFER_SSE_FOR_MEMOP): Define.
95329 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
95331         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
95332         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
95334 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
95336         [BZ #12191]
95337         * sysdeps/i386/i686/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.
95342         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95343         (__x86_64_raw_data_cache_size_half): Likewise.
95344         (__x86_64_raw_shared_cache_size): Likewise.
95345         (__x86_64_raw_shared_cache_size_half): Likewise.
95346         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
95347         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
95348         and __x86_64_raw_shared_cache_size_half.  Round
95349         __x86_64_data_cache_size_half, __x86_64_data_cache_size
95350         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
95351         to multiple of 256 bytes.
95353 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
95355         [BZ #12167]
95356         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
95357         of inacessible symlinks.  Verify result of symlink before returning it.
95358         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
95359         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
95361 2010-10-28  Erich Ritz  <erichritz@gmail.com>
95363         * math/math.h (isinf): Fix typo in comment.
95365 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
95367         * po/da.po: Update from translation team.
95369 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
95371         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
95372         is added to the list.
95374 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
95375             Ulrich Drepper  <drepper@gmail.com>
95377         * elf/dl-object.c (_dl_new_object): Don't append the new object to
95378         the global list here.  Move code to...
95379         (_dl_add_to_namespace_list): ...here.  New function.
95380         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
95381         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
95382         * elf/dl-load.c (lose): Don't remove the element from the list.
95383         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
95384         (_dl_map_object): Likewise.
95386 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
95388         [BZ #12159]
95389         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
95390         into all bytes of SSE register.
95391         Patch by Richard Li <richardpku@gmail.com>.
95393 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
95395         [BZ #12140]
95396         * malloc/malloc.c (_int_free): Fill correct number of bytes when
95397         perturbing.
95399 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
95401         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
95402         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
95403         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
95404         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
95405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
95406         submachine.
95407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
95409 2010-10-22  Andreas Schwab  <schwab@redhat.com>
95411         * include/dlfcn.h (__RTLD_SECURE): Define.
95412         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
95413         mode & __RTLD_SECURE instead.
95414         (open_path): Rename preloaded parameter to secure.
95415         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
95416         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
95417         * elf/dl-deps.c (openaux): Likewise.
95418         * elf/rtld.c (struct map_args): Remove is_preloaded.
95419         (map_doit): Don't use it.
95420         (dl_main): Likewise.
95421         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
95422         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
95424 2010-09-09  Andreas Schwab  <schwab@redhat.com>
95426         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
95427         (sysd-rules-targets): Remove duplicates.
95428         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
95429         rtld-%.$o dependency.
95431 2010-10-18  Andreas Schwab  <schwab@redhat.com>
95433         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
95434         _dl_map_object do it.
95436 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
95438         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
95439         fast fma builtins, define the macros in the C99 standard.
95440         (FP_FAST_FMAF): Likewise.
95441         (FP_FAST_FMAL): Likewise.
95442         * sysdeps/x86_64/bits/mathdef.h: Likewise.
95444         * bits/mathdef.h: Update copyright year.
95445         * sysdeps/powerpc/bits/mathdef.h: Likewise.
95447 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
95449         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
95450         builtins, define the macros in the C99 standard.
95451         (FP_FAST_FMAF): Likewise.
95452         (FP_FAST_FMAL): Likewise.
95453         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
95454         multiply/add.
95455         (FP_FAST_FMAF): Likewise.
95457 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
95459         [BZ #3268]
95460         * math/libm-test.inc (fma_test): Some new testcases.
95461         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
95462         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
95463         y and infinite z.  Do multiplication by C already in long double.
95464         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
95465         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
95466         y and infinite z.  Do bitwise or of inexact bit into u.d.
95467         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
95468         * sysdeps/i386/fpu/s_fmaf.S: Removed.
95469         * sysdeps/i386/fpu/s_fma.S: Removed.
95470         * sysdeps/i386/fpu/s_fmal.S: Removed.
95472 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
95474         [BZ #3268]
95475         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
95476         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
95477         computation is not scheduled after fetestexcept.  Fix value
95478         of minimum denormal long double.
95480 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
95482         [BZ #3268]
95483         * math/libm-test.inc (fma_test): Add some more tests.
95484         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
95485         correctly.
95487 2010-10-15  Andreas Schwab  <schwab@redhat.com>
95489         * scripts/data/localplt-s390-linux-gnu.data: New file.
95490         * scripts/data/localplt-s390x-linux-gnu.data: New file.
95492 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
95494         [BZ #3268]
95495         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
95496         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
95497         instead of dbl-64.
95498         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
95499         inlines.
95500         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
95501         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
95502         if one of x and y is very large and the other is subnormal.
95503         * sysdeps/s390/fpu/s_fmaf.c: New file.
95504         * sysdeps/s390/fpu/s_fma.c: New file.
95505         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
95506         * sysdeps/powerpc/fpu/s_fma.S: New file.
95507         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
95508         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
95509         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
95511 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
95513         [BZ #3268]
95514         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
95515         fma tests.
95516         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
95517         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
95518         * sysdeps/i386/i686/multiarch/s_fma.c: Include
95519         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
95520         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
95521         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
95522         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
95524 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
95526         [BZ #12078]
95527         * posix/regcomp.c (parse_branch): One more memory leak plugged.
95528         * posix/bug-regex31.input: Add test case.
95530 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
95532         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
95533         * posix/bug-regex31.input: New file.
95535         [BZ #12078]
95536         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
95537         (parse_sub_exp): Fix last change, use postorder.
95539         * posix/bug-regex31.c: New file.
95540         * posix/Makefile: Add rules to build and run bug-regex31.
95542         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
95544         [BZ #12078]
95545         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
95547         [BZ #12108]
95548         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
95549         to have entries in sys_siglist.
95551         [BZ #12093]
95552         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
95553         be NULL.
95555 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
95557         [BZ #3268]
95558         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
95559         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
95560         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
95561         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
95562         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
95563         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
95564         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
95565         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
95566         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
95567         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
95568         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
95569         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
95570         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
95571         * math/ftestexcept.c (fetestexcept): Likewise.
95572         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
95573         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
95574         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
95575         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
95576         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
95577         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
95578         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
95580 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
95582         [BZ #12107]
95583         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
95584         newline.
95586 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
95588         * string/bug-strstr1.c: New file.
95589         * string/Makefile: Add rules to build and run bug-strstr1.
95591 2010-10-05  Eric Blake  <eblake@redhat.com>
95593         [BZ #12092]
95594         * string/str-two-way.h (two_way_long_needle): Always clear memory
95595         when skipping input due to the shift table.
95597 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
95599         [BZ #12005]
95600         * malloc/mcheck.c: Handle large requests.
95602         [BZ #12077]
95603         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
95604         for strncmp and strncasecmp.
95605         * string/stratcliff.c: Add tests for strcmp and strncmp.
95606         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
95608 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
95610         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
95611         __set_fpscr.
95613 2010-09-30  Andreas Jaeger  <aj@suse.de>
95615         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
95616         (CGROUP_SUPER_MAGIC): Define.
95617         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95618         Handle btrfs and cgroup file systems.
95619         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
95620         Likewise.
95622 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
95624         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
95625         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
95627 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
95629         [BZ #12067]
95630         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
95631         trying to locate the ELF header.
95633 2010-09-27  Andreas Schwab  <schwab@redhat.com>
95635         [BZ #11611]
95636         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
95637         Mask out sign-bit copies when constructing f_fsid.
95639 2010-09-24  Petr Baudis <pasky@suse.cz>
95641         * debug/stack_chk_fail_local.c: Add missing licence exception.
95642         * debug/warning-nop.c: Likewise.
95644 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
95646         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
95647         implementing getdents64 using getdents syscall, set d_type if
95648         __ASSUME_GETDENTS32_D_TYPE.
95650 2010-09-16  Andreas Schwab  <schwab@redhat.com>
95652         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
95653         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
95655 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
95657         [BZ #12037]
95658         * posix/unistd.h: Undo change of feature selection for ftruncate from
95659         2010-01-11.
95661 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
95663         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
95664         detection.
95666 2010-09-20  Andreas Schwab  <schwab@redhat.com>
95668         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
95669         fanotify_mark.
95670         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95672 2010-09-14  Andreas Schwab  <schwab@redhat.com>
95674         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
95675         variables after CHECK_SP call.
95676         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
95678 2010-09-13  Andreas Schwab  <schwab@redhat.com>
95679             Ulrich Drepper  <drepper@redhat.com>
95681         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
95682         re-relocationg ld.so.
95683         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
95684         _dl_init_paths call.
95685         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
95686         here anymore.
95688 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
95690         * resolv/res_init.c (__res_vinit): Count the default server we added.
95692 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
95693             Ulrich Drepper  <drepper@redhat.com>
95695         [BZ #11968]
95696         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
95697         (____longjmp_chk): Use %ebx for saving value across system call.
95698         Add unwind info.
95700 2010-09-06  Andreas Schwab  <schwab@redhat.com>
95702         * manual/Makefile: Don't mix pattern rules with normal rules.
95704 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
95706         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
95707         operation.
95708         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
95709         * libio/iofopncook.c (_IO_cookie_init): Likewise.
95710         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
95711         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
95712         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
95713         Likewise.
95715 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
95717         [BZ #11979]
95718         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
95719         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
95721 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
95723         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
95724         * sysdeps/x86_64/addmul_1.S: Likewise.
95725         * sysdeps/x86_64/lshift.S: Likewise.
95726         * sysdeps/x86_64/mul_1.S: Likewise.
95727         * sysdeps/x86_64/rshift.S: Likewise.
95728         * sysdeps/x86_64/sub_n.S: Likewise.
95729         * sysdeps/x86_64/submul_1.S: Likewise.
95731 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
95733         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
95734         Define __sched_param instead of SCHED_* and sched_param when
95735         <bits/sched.h> is included with __need_schedparam defined.
95736         * bits/sched.h [__need_schedparam]
95737         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
95738         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
95739         (__defined_schedparam): Define to 1.
95740         (__sched_param): New structure, identical to sched_param.
95741         (__need_schedparam): Undefine.
95743 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
95745         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
95746         (epoll_create1): Declare.
95748         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
95750 2010-08-31  Andreas Schwab  <schwab@redhat.com>
95752         [BZ #7066]
95753         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
95754         shifting retval into place.
95756 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
95758         * nis/rpcsvc/nis.h: Update copyright notice.
95759         * nis/rpcsvc/nis.x: Likewise.
95760         * nis/rpcsvc/nis_callback.h: Likewise.
95761         * nis/rpcsvc/nis_callback.x: Likewise.
95762         * nis/rpcsvc/nis_object.x: Likewise.
95763         * nis/rpcsvc/nis_tags.h: Likewise.
95764         * nis/rpcsvc/yp.h: Likewise.
95765         * nis/rpcsvc/yp.x: Likewise.
95766         * nis/rpcsvc/ypupd.h: Likewise.
95767         * nis/yp_xdr.c: Likewise.
95768         * nis/ypupdate_xdr.c: Likewise.
95770         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
95771         mainly the body of pmap_getport.  Add parameters to specify timeouts.
95772         (pmap_getport): Use __libc_rpc_getport.
95773         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
95774         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
95775         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
95777 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
95779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
95780         fanotify_mark.
95782 2010-08-27  Roland McGrath  <roland@redhat.com>
95784         * sysdeps/i386/i686/multiarch/Makefile
95785         (CFLAGS-varshift.c): New variable.
95787 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
95789         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
95790         * sysdeps/i386/i686/multiarch/varshift.c: New file.
95792         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
95794         * sysdeps/x86_64/strlen.S: Minimal code improvement.
95796 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
95798         * sysdeps/x86_64/strlen.S: Unroll the loop.
95799         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95800         strlen-sse2 strlen-sse2-bsf.
95801         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
95802         __strlen_no_bsf if bit_Slow_BSF is set.
95803         (__strlen_sse42): Removed.
95804         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
95805         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
95807 2010-08-25  Roland McGrath  <roland@redhat.com>
95809         * sysdeps/x86_64/multiarch/varshift.S: File removed.
95810         * sysdeps/x86_64/multiarch/varshift.c: New file.
95811         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
95812         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
95813         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
95814         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
95816 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
95818         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95819         strlen-sse2 strlen-sse2-bsf.
95820         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
95821         __strlen_sse2_bsf if bit_Slow_BSF is unset.
95822         (__strlen_sse2): Removed.
95823         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
95824         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
95825         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
95826         bit_Slow_BSF for Atom.
95827         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
95828         (index_Slow_BSF): Define.
95829         (HAS_SLOW_BSF): Define.
95831 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
95833         [BZ #10851]
95834         * resolv/res_init.c (__res_vinit): When no server address at all
95835         is given default to loopback.
95837 2010-08-24  Roland McGrath  <roland@redhat.com>
95839         * configure.in: Remove config-name.h generation.
95840         * configure: Regenerated.
95841         * config-name.in: File removed.
95842         * scripts/config-uname.sh: New file.
95843         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
95844         ($(objdir)config-name.h): New target.
95846         * sunrpc/rpc_parse.h: Avoid nested comment.
95848 2010-08-24  Richard Henderson  <rth@redhat.com>
95849             Ulrich Drepper  <drepper@redhat.com>
95850             H.J. Lu  <hongjiu.lu@intel.com>
95852         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
95853         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
95854         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
95855         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
95856         _mm_alignr_epi8 with _mm_loadu_si128.
95857         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
95858         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
95859         (__m128i_shift_right): Removed.
95860         * sysdeps/i386/i686/multiarch/varshift.h: New file.
95861         * sysdeps/i386/i686/multiarch/varshift.S: New file.
95862         * sysdeps/x86_64/multiarch/varshift.h: New file.
95863         * sysdeps/x86_64/multiarch/varshift.S: New file.
95865 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
95867         * configure.in: Move assembler checks to before sysdep dir checking.
95869 2010-08-20  Petr Baudis  <pasky@suse.cz>
95871         * LICENSES: Sync the sunrpc license.
95873 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
95875         * sunrpc/auth_des.c: Update copyright notice once again.
95876         * sunrpc/auth_none.c: Likewise.
95877         * sunrpc/auth_unix.c: Likewise.
95878         * sunrpc/authdes_prot.c: Likewise.
95879         * sunrpc/authuxprot.c: Likewise.
95880         * sunrpc/bindrsvprt.c: Likewise.
95881         * sunrpc/clnt_gen.c: Likewise.
95882         * sunrpc/clnt_perr.c: Likewise.
95883         * sunrpc/clnt_raw.c: Likewise.
95884         * sunrpc/clnt_simp.c: Likewise.
95885         * sunrpc/clnt_tcp.c: Likewise.
95886         * sunrpc/clnt_udp.c: Likewise.
95887         * sunrpc/clnt_unix.c: Likewise.
95888         * sunrpc/des_crypt.c: Likewise.
95889         * sunrpc/des_soft.c: Likewise.
95890         * sunrpc/get_myaddr.c: Likewise.
95891         * sunrpc/getrpcport.c: Likewise.
95892         * sunrpc/key_call.c: Likewise.
95893         * sunrpc/key_prot.c: Likewise.
95894         * sunrpc/openchild.c: Likewise.
95895         * sunrpc/pm_getmaps.c: Likewise.
95896         * sunrpc/pm_getport.c: Likewise.
95897         * sunrpc/pmap_clnt.c: Likewise.
95898         * sunrpc/pmap_prot.c: Likewise.
95899         * sunrpc/pmap_prot2.c: Likewise.
95900         * sunrpc/pmap_rmt.c: Likewise.
95901         * sunrpc/rpc/auth.h: Likewise.
95902         * sunrpc/rpc/auth_unix.h: Likewise.
95903         * sunrpc/rpc/clnt.h: Likewise.
95904         * sunrpc/rpc/des_crypt.h: Likewise.
95905         * sunrpc/rpc/key_prot.h: Likewise.
95906         * sunrpc/rpc/netdb.h: Likewise.
95907         * sunrpc/rpc/pmap_clnt.h: Likewise.
95908         * sunrpc/rpc/pmap_prot.h: Likewise.
95909         * sunrpc/rpc/pmap_rmt.h: Likewise.
95910         * sunrpc/rpc/rpc.h: Likewise.
95911         * sunrpc/rpc/rpc_des.h: Likewise.
95912         * sunrpc/rpc/rpc_msg.h: Likewise.
95913         * sunrpc/rpc/svc.h: Likewise.
95914         * sunrpc/rpc/svc_auth.h: Likewise.
95915         * sunrpc/rpc/types.h: Likewise.
95916         * sunrpc/rpc/xdr.h: Likewise.
95917         * sunrpc/rpc_clntout.c: Likewise.
95918         * sunrpc/rpc_cmsg.c: Likewise.
95919         * sunrpc/rpc_common.c: Likewise.
95920         * sunrpc/rpc_cout.c: Likewise.
95921         * sunrpc/rpc_dtable.c: Likewise.
95922         * sunrpc/rpc_hout.c: Likewise.
95923         * sunrpc/rpc_main.c: Likewise.
95924         * sunrpc/rpc_parse.c: Likewise.
95925         * sunrpc/rpc_parse.h: Likewise.
95926         * sunrpc/rpc_prot.c: Likewise.
95927         * sunrpc/rpc_sample.c: Likewise.
95928         * sunrpc/rpc_scan.c: Likewise.
95929         * sunrpc/rpc_scan.h: Likewise.
95930         * sunrpc/rpc_svcout.c: Likewise.
95931         * sunrpc/rpc_tblout.c: Likewise.
95932         * sunrpc/rpc_util.c: Likewise.
95933         * sunrpc/rpc_util.h: Likewise.
95934         * sunrpc/rpcinfo.c: Likewise.
95935         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
95936         * sunrpc/rpcsvc/key_prot.x: Likewise.
95937         * sunrpc/rpcsvc/klm_prot.x: Likewise.
95938         * sunrpc/rpcsvc/mount.x: Likewise.
95939         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
95940         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
95941         * sunrpc/rpcsvc/rex.x: Likewise.
95942         * sunrpc/rpcsvc/rstat.x: Likewise.
95943         * sunrpc/rpcsvc/rusers.x: Likewise.
95944         * sunrpc/rpcsvc/sm_inter.x: Likewise.
95945         * sunrpc/rpcsvc/spray.x: Likewise.
95946         * sunrpc/rpcsvc/yppasswd.x: Likewise.
95947         * sunrpc/rtime.c: Likewise.
95948         * sunrpc/svc.c: Likewise.
95949         * sunrpc/svc_auth.c: Likewise.
95950         * sunrpc/svc_authux.c: Likewise.
95951         * sunrpc/svc_raw.c: Likewise.
95952         * sunrpc/svc_run.c: Likewise.
95953         * sunrpc/svc_simple.c: Likewise.
95954         * sunrpc/svc_tcp.c: Likewise.
95955         * sunrpc/svc_udp.c: Likewise.
95956         * sunrpc/svc_unix.c: Likewise.
95957         * sunrpc/svcauth_des.c: Likewise.
95958         * sunrpc/xcrypt.c: Likewise.
95959         * sunrpc/xdr.c: Likewise.
95960         * sunrpc/xdr_array.c: Likewise.
95961         * sunrpc/xdr_float.c: Likewise.
95962         * sunrpc/xdr_mem.c: Likewise.
95963         * sunrpc/xdr_rec.c: Likewise.
95964         * sunrpc/xdr_ref.c: Likewise.
95965         * sunrpc/xdr_sizeof.c: Likewise.
95966         * sunrpc/xdr_stdio.c: Likewise.
95968         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
95969         handling.
95971 2010-08-19  Andreas Schwab  <schwab@redhat.com>
95973         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
95975 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
95977         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
95978         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
95979         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
95980         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
95981         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
95982         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
95983         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
95984         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
95985         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
95986         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
95987         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
95988         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
95989         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
95990         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
95992 2010-07-26  Anton Blanchard  <anton@samba.org>
95994         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
95995         * malloc/arena.c (heap_trim): Likewise.
95997 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
95999         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
96000         here.  Not...
96001         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
96002         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
96004 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
96006         * sysdeps/i386/elf/Makefile: New file.
96008 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
96010         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
96011         from fanotify_init.
96012         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
96013         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
96015 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
96017         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
96018         of strncasecmp_l.
96019         * sysdeps/multiarch/strcmp.S: Likewise.
96021 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
96023         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
96024         strncase_l-nonascii.
96025         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
96026         Add strncase_l-ssse3.
96027         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
96028         * sysdeps/x86_64/strcmp.S: Likewise.
96029         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
96030         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
96031         * sysdeps/x86_64/strncase.S: New file.
96032         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
96033         * sysdeps/x86_64/strncase_l.S: New file.
96034         * string/Makefile (strop-tests): Add strncasecmp.
96035         * string/test-strncasecmp.c: New file.
96037         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
96038         warning.
96040         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
96041         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
96043 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
96045         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
96047 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
96049         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
96050         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
96051         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
96053 2010-05-01  Alan Modra  <amodra@gmail.com>
96055         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
96056         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
96057         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
96058         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
96059         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
96060         tidying.  Don't tail-call __sigjmp_save for static lib.
96061         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
96062         save location.
96063         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
96064         (CALL_MCOUNT): Add eh info, and nop after bl.
96065         (TAIL_CALL_SYSCALL_ERROR): New macro.
96066         (PSEUDO_RET): Use it.
96067         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
96068         Correct save location of integer regs and cr.
96069         (_dl_profile_resolve): Correct cr save location.  Delete nops
96070         after bl when SHARED.  Reduce cfi size a little by better
96071         placement of cfi directives.
96072         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
96073         make a stack frame.  Instead use parm save area as a temp.
96074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
96075         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
96076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
96077         Don't make a stack frame for parent, use parm save area.
96078         Increase child stack frame to 112 bytes.  Don't save unused reg,
96079         and adjust reg usage.  Set up cfi on error recovery and
96080         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
96081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
96082         (__makecontext): Add dummy nop after jump to exit.
96083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
96084         Use correct parm save area and cr save, reduce stack frame.
96085         Correct cfi for possible PSEUDO_RET frame setup.
96086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
96087         Branch to local label emitted by PSEUDO_RET rather than
96088         __syscall_error.
96090 2010-08-12  Andreas Schwab  <schwab@redhat.com>
96092         [BZ #11904]
96093         * locale/programs/locale.c (print_assignment): New function.
96094         (show_locale_vars): Use it.
96096 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
96098         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
96099         field.
96100         (struct statfs64): Likewise.
96101         (_STATFS_F_FLAGS): Define.
96102         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
96103         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
96104         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
96105         (ST_VALID): Define locally.
96106         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
96107         __statvfs_getflags, use the provided value.
96108         * sysdeps/unix/sysv/linux/kernel-features.h: Define
96109         __ASSUME_STATFS_F_FLAGS.
96111         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
96113         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
96114         Add sys/fanotify.h.
96115         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
96116         fanotify_mask for GLIBC_2.13.
96117         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
96118         fanotify_init and fanotify_mark.
96119         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
96120         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
96122         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
96123         Add prlimit.
96124         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
96125         prlimit64 for GLIBC_2.13.
96126         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
96127         prlimit64.
96128         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
96129         syscall.
96130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
96131         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
96132         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
96133         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
96134         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
96135         add prlimit alias.
96136         * sysdeps/unix/sysv/linux/prlimit.c: New file.
96138         [BZ #11903]
96139         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
96140         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
96142         * nss/Makefile: Add rules to build and run tst-nss-test1.
96143         * shlib-versions: Add entry for libnss_test1.
96144         * nss/nss_test1.c: New file.
96145         * nss/tst-nss-test1.c: New file.
96147         * nss/nsswitch.c (__nss_database_custom): Define new variable.
96148         (__nss_configure_lookup): Set appropriate entry in
96149         __nss_configure_lookup to true.
96150         * nss/nsswitch.h: Define enum with indeces of databases in
96151         databases and __nss_database_custom arrays.  Declare
96152         __nss_database_custom.
96153         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
96154         to avoid using nscd when custom rules are installed.
96155         * nss/getXXbyYY_r.c: Likewise.
96156         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
96158         * nss/nss_files/files-parse.c: Whitespace fixes.
96160 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
96162         [BZ #11883]
96163         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
96164         * posix/fnmatch_loop.c: Likewise.
96166 2010-07-17  Andi Kleen  <ak@linux.intel.com>
96168         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
96169         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
96170         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
96171         * Versions.def [GLIBC_2.13]: Add.
96173 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
96175         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96176         Also fail if tpwd after pwuid call is NULL.
96178 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
96180         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
96181         when converting to ms.
96183 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
96185         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
96186         EOPNOTSUPP errors with ENOTTY.
96187         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
96188         EOPNOTSUPP errors with ENOTTY.
96190 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
96192         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
96193         Add strcasecmp_l-ssse3.
96194         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
96195         strcasecmp.
96196         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
96197         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
96198         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
96200 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
96202         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
96204         * string/Makefile (strop-tests): Add strcasecmp.
96205         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
96206         strcasecmp_l-nonascii.
96207         (gen-as-const-headers): Add locale-defines.sym.
96208         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
96209         * sysdeps/x86_64/strcasecmp.S: New file.
96210         * sysdeps/x86_64/strcasecmp_l.S: New file.
96211         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
96212         * sysdeps/x86_64/locale-defines.sym: New file.
96213         * string/test-strcasecmp.c: New file.
96215         * string/test-strcasestr.c: Test both ends of the range of characters.
96216         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
96218 2010-07-29  Roland McGrath  <roland@redhat.com>
96220         [BZ #11856]
96221         * manual/locale.texi (Yes-or-No Questions): Fix example code.
96223 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
96225         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
96226         for ld.so.
96228 2010-07-27  Andreas Schwab  <schwab@redhat.com>
96230         * manual/memory.texi (Malloc Tunable Parameters): Document
96231         M_PERTURB.
96233 2010-07-26  Roland McGrath  <roland@redhat.com>
96235         [BZ #11840]
96236         * configure.in (-fgnu89-inline check): Set and substitute
96237         gnu89_inline, not libc_cv_gnu89_inline.
96238         * configure: Regenerated.
96239         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
96241 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
96243         * string/test-strnlen.c: New file.
96244         * string/Makefile (strop-tests): Add strnlen.
96245         * string/tester.c (test_strnlen): Add a few more test cases.
96246         * string/tst-strlen.c: Better error reporting.
96248         * sysdeps/x86_64/strnlen.S: New file.
96250 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
96252         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
96253         lower-latency instructions.
96255 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
96257         * string/test-strcasestr.c: New file.
96258         * string/test-strstr.c: New file.
96259         * string/Makefile (strop-tests): Add strstr and strcasestr.
96260         * string/str-two-way.h: Don't undefine MAX.
96261         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
96263 2010-07-21  Andreas Schwab  <schwab@redhat.com>
96265         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
96266         strcasestr-nonascii.
96267         (CFLAGS-strcasestr-nonascii.c): Define.
96268         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
96269         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
96270         Remove unused attribute.
96272 2010-07-20  Roland McGrath  <roland@redhat.com>
96274         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
96275         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
96276         ld.so.cache was broken.  With it, there is no way to disable dsocaps
96277         like LD_HWCAP_MASK can disable hwcaps.
96279 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
96281         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
96283 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
96285         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
96286         call in strcasestr.
96287         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
96288         __strcasestr_sse42_nonascii.
96289         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
96290         strcasestr-nonascii.c.
96291         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
96293 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
96295         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
96296         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
96297         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
96298         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
96300 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
96302         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
96303         fcntl.
96305 2010-07-06  Andreas Schwab  <schwab@redhat.com>
96307         [BZ #11577]
96308         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
96309         dl_signal_cerror.
96311 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
96313         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
96314         _PC_PIPE_BUF using F_GETPIPE_SZ.
96316 2010-07-05  Roland McGrath  <roland@redhat.com>
96318         * manual/arith.texi (Rounding Functions): Fix rint description
96319         implicit in round description.
96321 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
96323         * elf/Makefile: Fix linking for a few tests to make recent linker
96324         happy.
96326 2010-06-30  Andreas Schwab  <schwab@redhat.com>
96328         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
96329         $(common-objpfx)libc_nonshared.a.
96331 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
96333         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
96334         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
96335         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96336         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96337         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
96338         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
96339         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96340         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
96342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
96343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
96344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
96346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
96348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
96349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
96350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
96351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
96353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
96355         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
96356         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
96357         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
96358         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
96359         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
96360         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
96361         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
96362         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
96363         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
96364         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
96365         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
96366         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
96367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
96368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
96369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
96370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
96371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
96372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
96373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
96374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
96375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
96376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
96377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
96378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
96379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
96380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
96382 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
96384         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
96385         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
96386         * string/memmove.c (memmove): Renamed to ...
96387         (MEMMOVE): ...this.  Default to memmove.
96388         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
96389         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
96390         (END_CHK): Define.
96391         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
96392         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
96393         mempcpy-ssse3-back memmove-ssse3-back.
96394         * sysdeps/x86_64/multiarch/bcopy.S: New file .
96395         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
96396         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
96397         * sysdeps/x86_64/multiarch/memcpy.S: New file.
96398         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
96399         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
96400         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
96401         * sysdeps/x86_64/multiarch/memmove.c: New file.
96402         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
96403         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
96404         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
96405         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
96406         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
96407         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
96408         Define.
96409         (index_Fast_Copy_Backward): Define.
96410         (HAS_ARCH_FEATURE): Define.
96411         (HAS_FAST_REP_STRING): Define.
96412         (HAS_FAST_COPY_BACKWARD): Define.
96414 2010-06-21  Andreas Schwab  <schwab@redhat.com>
96416         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96417         Restore proper fallback handling.
96419 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
96421         [BZ #11701]
96422         * posix/group_member.c (__group_member): Correct checking loop.
96424         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
96425         OOM in getpwuid_r correctly.  Return error number when the caller
96426         should return, otherwise -1.
96427         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
96428         call returning > 0 value.
96429         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
96431 2010-06-07  Andreas Schwab  <schwab@redhat.com>
96433         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
96434         libc_nonshared.a from targets in modules-names.
96436 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
96438         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
96439         requires it.
96441 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
96443         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
96444         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
96445         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
96446         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
96448 2010-06-02  Andreas Schwab  <schwab@redhat.com>
96450         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
96452 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
96454         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
96455         and F_GETPIPE_SZ.
96456         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
96457         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
96458         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
96459         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
96460         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
96461         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
96463 2010-06-14  Roland McGrath  <roland@redhat.com>
96465         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
96467 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
96469         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
96470         __REDIRECT followed by __THROW.
96471         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
96472         * posix/getopt.h (getopt): Likewise.
96474 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
96476         * hurd/lookup-at.c (__file_name_lookup_at): Accept
96477         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
96478         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
96479         in AT_FLAGS.
96480         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
96481         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
96483 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
96485         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
96487 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
96489         [BZ #11640]
96490         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
96491         Properly check family and model.
96493 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
96495         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
96497 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
96499         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
96501 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
96503         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
96504         symbol reference.
96506 2010-05-19  Andreas Schwab  <schwab@redhat.com>
96508         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
96509         symbol reference.
96511 2010-05-21  Andreas Schwab  <schwab@redhat.com>
96513         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
96514         and internal_recvmmsg.
96515         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
96516         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
96517         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
96518         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
96520         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
96521         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
96522         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
96524 2010-05-20  Andreas Schwab  <schwab@redhat.com>
96526         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
96528 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
96530         POWER7 optimizations.
96531         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
96532         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
96534 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
96536         * version.h: Update for 2.13 development version.
96538 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
96540         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
96541         exceptions.  Return 0.
96543 2010-05-07  Roland McGrath  <roland@redhat.com>
96545         * elf/ldconfig.c (main): Add a const.
96547 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
96549         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
96550         (args_options): Add no-idn option.
96551         (ahosts_keys_int): Add idn_flags to ai_flags.
96552         (parse_option): Handle 'i' option to clear idn_flags.
96554         * malloc/malloc.c (_int_free): Possible race in the most recently
96555         added check.  Only act on the data if no current modification
96556         happened.
96558 See ChangeLog.17 for earlier changes.